6292 Commits

Author SHA1 Message Date
UnknownShadow200
4bc9842e4e Simply block define api again by avoiding need to call Block_SetCollide/Block_RecalculateBB 2022-08-27 17:07:48 +10:00
UnknownShadow200
e525c6ae0e Simplify block define/undefine APIs 2022-08-27 15:44:35 +10:00
UnknownShadow200
36fff5a416 Make block 'blocks TNT' calculation more generic
Note that this means Crate block now no longer blocks TNT, whereas it did before
2022-08-27 15:10:21 +10:00
UnknownShadow200
bc6d1d40e6 Simplify core block declarations by integrating name into default blockdefs table 2022-08-27 14:39:05 +10:00
UnknownShadow200
2cdf7d2969 Remove unused Freetype monochrome rasteriser 2022-08-27 14:08:38 +10:00
UnknownShadow200
720f7af4fa Get undocumented protocol version support working 2022-08-27 13:26:19 +10:00
UnknownShadow200
922110ec43 Add undocumented protocol version (WIP) 2022-08-27 10:39:20 +10:00
UnknownShadow200
dc4bb0caf3 Fix one in a million crash when trying to play music
What happened was that
a) Original thread executes 'music_thread = Thread_Create(Music_RunLoop);'
b) Thread_Create in turn is essentially implemented as
..  StartThread(function)
..  return thread;

The last thing that Music_RunLoop normally does is 'Thread_Deatch(music_thread)'

This meant that in the extremely rare case
1) Original thread was suspended after executing StartThread (i.e. so music_thread had not yet been assigned)
2) Music_RunLoop entirely completed in the rest of the thread's timeslice
..
then Thread_Detach would be called while music_thread was still NULL (since original thread was still suspended), thereby causing the game to crash due to attempting to detach a non-existent thread
2022-08-24 20:59:19 +10:00
UnknownShadow200
c43495b293 Launcher: Split up Options/Updates to two buttons on main menu 2022-08-23 23:13:58 +10:00
UnknownShadow200
345904244f Android/iOS: Options now save immediately after changing instead of after clicking Quit Game, addresses #962 2022-08-21 22:05:11 +10:00
UnknownShadow200
dcbd7d8b94 Simplify mingw compiling instructions 2022-08-21 20:58:12 +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
f645f82297 fix mistake from merge 2022-07-31 13:54:12 +10:00
UnknownShadow200
dfaa93672c fix merge conflicts 2022-07-31 13:52:01 +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
ebdc42ad6b Merge branch 'master' into ModernLighting 2022-07-18 14:59:34 -07: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
Goodlyay
3d6a26bc04 Merge branch 'master' into ModernLighting 2022-07-13 17:34:41 -07: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 f75050b0c7c743ed60403a8fafbef323df31977a
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
dfb5679287 Minorly optimise lighting 2022-07-07 21:30:05 +10:00
UnknownShadow200
c6c0f525c6 Fix memory leak and get rid of redundant Lighting.Color_YMax_Fast function 2022-07-07 21:02:49 +10:00
UnknownShadow200
671f1a36cc style cleanup 2022-07-07 20:36:42 +10:00
UnknownShadow200
f75050b0c7 Windows: Add option for display scaling support 2022-07-07 07:45:37 +10:00
Goodlyay
7226d49c55 Make default block light color brighter and less saturated 2022-07-06 08:07:53 -07:00
Goodlyay
25bd61db18 Make smooth modern lighting respect Blocks.LightOffset 2022-07-06 06:48:30 -07:00
Goodlyay
b2d00b0c2d Implement smooth lighting for modern lighting
Also tweak default sun ramp colors
2022-07-06 06:18:39 -07:00
UnknownShadow200
f6ce731246 Make block lighting a little bit faster 2022-07-05 08:39:39 +10:00
UnknownShadow200
e8f2001054 Save/Load rest of env fields to/from .cw maps (Thanks Neonium) 2022-07-05 07:51:03 +10:00
Goodlyay
f7dbfbadcc Merge branch 'master' into ModernLighting 2022-07-04 03:48:19 -07:00
UnknownShadow200
2a39809116 Fix mass VRAM leak from last commit 2022-07-04 19:53:30 +10:00
Goodlyay
c3593afd54 Make sun light faster*, again
*based on extremely scientific tests of flying around a map and observing double/triple fps while loading chunks
TODO: somehow reign in the unacceptable code duplication
2022-07-03 07:21:14 -07:00