Commit graph

6157 commits

Author SHA1 Message Date
UnknownShadow200
4314a4c2cc Mobile: Draw crosshairs at position of fingers being used for block place/delete input, instead of always at centre of the screen 2022-08-22 22:53:14 +10:00
UnknownShadow200
0fae073703 Fix minor water/lava offset being in opposite direction compared to original minecraft classic 2022-08-21 10:33:23 +10:00
UnknownShadow200
4bf0cda6e2 iOS: Get CoreText text rendering backend closer to matching FreeType output 2022-08-20 23:14:20 +10:00
UnknownShadow200
224df71aac Improve ios/android instructions in readme, and also get rid of one redundant frame in stacktraces on some platforms 2022-08-17 21:17:09 +10:00
UnknownShadow200
85bca0cb23 Make stacktraces slightly smaller by avoiding 0x at start, also avoid redundantly logging Logger_Backtrace frame on macOS/iOS
Also fix for commands that specify to split arguments, 'argsCount' was still 1 when command arguments was empty string
2022-08-17 20:33:25 +10:00
UnknownShadow200
543a991559 Save/Load map generation seed to/from .cw files 2022-08-14 15:05:50 +10:00
UnknownShadow200
431c3e427e
Improve plugin compiling instructions and also document for macOS 2022-08-12 23:01:21 +10:00
UnknownShadow200
fa456f991d In classic mode, fix entity positions not being slightly offset into the ground (thanks icanttellyou) 2022-08-08 07:45:29 +10:00
UnknownShadow200
59b70501fa macOS: Add XBUTTON1/2 mouse button support 2022-08-01 19:27:05 +10:00
UnknownShadow200
3bbe889177 Make wrong smooth lighting as wrong as it was before instead of even more wrong 2022-07-31 13:37:15 +10:00
UnknownShadow200
48bf0e3edd Fix light top/bottom face offset calculation being different from other faces (Thanks Goodly, backport from ModernLighting branch) 2022-07-31 13:09:25 +10:00
UnknownShadow200
0f87c2f23f Copy paste fail 2022-07-28 22:23:19 +10:00
UnknownShadow200
6a09a9c662 Android: Fix after going to server list, then going in-game, then quitting game, then going back to server list, all text in the server list is blank/empty (Thanks Action_play) 2022-07-28 22:13:40 +10:00
UnknownShadow200
626b35a993 Change Drawer2D_UNSAFE_NextPart to return color code instead of color 2022-07-28 20:05:08 +10:00
UnknownShadow200
882b437912 Web mobile: Fix test getting pasted twice (Thanks Action_play) 2022-07-27 18:49:45 +10:00
UnknownShadow200
30e27d54f1
Merge pull request #960 from Fam0r/patch-1
Fix .desktop file using $HOME as working directory
2022-07-24 23:16:55 +10:00
Fam0r
c9778de792 Fix .desktop file using $HOME as working directory 2022-07-24 12:32:13 +03:00
Goodlyay
357a1af3b5 Make F7 axis lines smaller and always visible in first person 2022-07-18 14:59:05 -07:00
UnknownShadow200
bd94a9a893 Stop changing working directory on linux/bsd/Haiku/Solaris 2022-07-15 08:53:30 +10:00
UnknownShadow200
f1e1a87d3d Use better method of disabling freetype engine than just checking if __EMSCRIPTEN__ is defined 2022-07-14 22:03:53 +10:00
UnknownShadow200
23cf906203 Change InputEvents.Press to use a unicode character 2022-07-14 19:16:39 +10:00
UnknownShadow200
d90fb2f092 Fix game force exiting if you attempt to add a chat message with over 511 characters (Thanks sethbatman05) 2022-07-11 07:25:12 +10:00
UnknownShadow200
cf4104bd96 Fix options not loading on web/macOS/mobile clients
Oversight from f75050b0c7
2022-07-08 20:15:32 +10:00
UnknownShadow200
202947e4a7 fix ios info.plist not working with command line build 2022-07-08 07:51:02 +10:00
UnknownShadow200
f75050b0c7 Windows: Add option for display scaling support 2022-07-07 07:45:37 +10:00
UnknownShadow200
e8f2001054 Save/Load rest of env fields to/from .cw maps (Thanks Neonium) 2022-07-05 07:51:03 +10:00
UnknownShadow200
2a39809116 Fix mass VRAM leak from last commit 2022-07-04 19:53:30 +10:00
UnknownShadow200
db97e790c3 Move chunks dimensions code from MapRenderer to World 2022-07-02 16:59:01 +10:00
UnknownShadow200
033560a773 Launcher input widget border now bases itself on current theme button highlight color, fies #956 (Thanks TheAwesome98) 2022-07-01 12:06:33 +10:00
UnknownShadow200
8ac52ed497 WIP on making input widget used theme colors instead of hardcoded purple colors, addresses #956 (Thanks TheAwesome98)
Also add new BitmapColor_RGB macro which implicitly sets A to 255, partially addresses #955
2022-07-01 08:55:08 +10:00
UnknownShadow200
57504bf22e Windows: Fix when running in VirtualBox with mouse integration, the game did not respond to cursor movement at all (Thanks LeoKids) 2022-06-30 23:42:24 +10:00
UnknownShadow200
c5298b508c iOS: Fix screen showing partial garbage when rotating device when rendering game, make home swipe bar more difficult to trigger (Thanks Pear) 2022-06-30 21:47:07 +10:00
UnknownShadow200
f2978e2368 iOS: Fix can't see input widget text in dark mode, implement proper fullscreen support, improve view background switching color to use launcher theme background instead of just blue (Thanks Pear) 2022-06-30 20:51:40 +10:00
UnknownShadow200
7d793da679 iOS: WIP on app display name and icon 2022-06-30 18:37:53 +10:00
UnknownShadow200
17740f8664 Fix window showing garbage when resizing on 64 bit macOS (Thanks popdymc, fixes #957). Also change .vcxproj so that you show no longer need to change SDK version/platform toolset when compiling on a platform that isn't Windows 7 + VS 2015
The issue happened because
a) when resizing the window, cocoa runs in the blocking resizing window event loop (i.e. effectively pauses/suspends the launcher's event loop)
b) due to recent changes to the launcher content drawing until absolutely necessary, the contents would only get redrawn when LBackend_Tick was called

However because of a), this meant that although resize events were delivered to the game which hence reallocated the framebuffer, the framebuffer did not actually get drawn to because LBackend_Tick never got called - hence why garbage appeared on screen
2022-06-30 17:14:45 +10:00
UnknownShadow200
d3d31a874c iOS: Add xcode project and WIP CoreText text rendering backend 2022-06-24 08:12:55 +10:00
UnknownShadow200
57a8699152 OpenBSD: Fix being unable to start due to unable being able to find a supported font (Thanks zielony12, addresses #954) 2022-06-21 21:17:22 +10:00
UnknownShadow200
c3b10668ff NetBSD: Fix libcurl and libopenal not being found, addresses #953 2022-06-21 20:11:45 +10:00
UnknownShadow200
9d7acd034d
Merge pull request #952 from UnknownShadow200/Context2D
Refactor 2D drawing to take Context2D instead of just plain Bitmap
2022-06-20 20:31:33 +10:00
UnknownShadow200
1ae86627b8 Refactor font code to move font_candidates into just CC_BUILD_FREETYPE backend 2022-06-20 19:23:29 +10:00
UnknownShadow200
e2ed4884ba Fix iOS compilation issues 2022-06-19 17:13:13 +10:00
UnknownShadow200
548924c854 Move must previous usages of Bitmap to newer Context2D 2022-06-19 13:39:26 +10:00
UnknownShadow200
e45fad71cd Start moving Drawer2D functions to Context2D which takes Context2D* instead of just Bitmap* 2022-06-18 11:10:40 +10:00
UnknownShadow200
af8106c97a whoops 2022-06-17 11:57:51 +10:00
UnknownShadow200
bc91ddaae4 Rename font related functions in Drawer2D.h 2022-06-17 11:47:49 +10:00
UnknownShadow200
fa1350b1f7 Fix last commit 2022-06-16 22:31:44 +10:00
UnknownShadow200
bf6a3d83cd Fix install-desktop-entry requiring root to run 2022-06-16 22:21:30 +10:00
UnknownShadow200
ec2d69a6d9 Update some headers to 2022 and improve their comments 2022-06-14 21:13:23 +10:00
UnknownShadow200
2ee4a911d0 Some minor optimisations 2022-06-13 21:45:07 +10:00
UnknownShadow200
1fa0e789c0 Part 1 of lighting refactor 2022-06-13 19:04:36 +10:00