6381 Commits

Author SHA1 Message Date
UnknownShadow200
9f76f39cc7 Fix files not being loaded after saving, and fix documentation for changes 2022-09-12 20:23:31 +10:00
UnknownShadow200
96551c620e Make the game load required resources asynchronously, instead of rewriting --preload-file (for texture pack) and prerun (for IndexedDB) 2022-09-12 20:00:36 +10:00
UnknownShadow200
e0658edfd5 Rewrite FS to avoid using directories 2022-09-11 17:27:08 +10:00
UnknownShadow200
bec38c5cf1 Remove more unnecessary stuff 2022-09-11 15:39:41 +10:00
UnknownShadow200
e009bc94a7 Remove stuff don't need 2022-09-11 13:56:06 +10:00
UnknownShadow200
480111d6c1 Integrate emscripten FS directly into interop_web.js, part 1
Breaks loading default.zip currently
2022-09-11 13:23:27 +10:00
UnknownShadow200
21b934a4c6 Mobile: Fix server defined hotkeys still persisting after you quit the server, and then join a different server or singleplayer 2022-09-10 18:10:52 +10:00
UnknownShadow200
3b0f02bb0f Prevent picking grass/double slabs in pure classic mode, fixes getting kicked by vanilla classic server software 2022-09-10 15:33:37 +10:00
UnknownShadow200
3e34665941 Web mobile: Make text input dark instead of light, and don't render chat input behind it at all 2022-09-10 14:19:24 +10:00
UnknownShadow200
e287e8db26 Avoid duplicate entries in input log, to simplify navigation through input history (Thanks Neonium) 2022-09-04 23:35:17 +10:00
UnknownShadow200
9f94ec814b iOS: Add ios-specific app name, and fix User-Agent not being set to app name in http requests 2022-09-03 12:21:17 +10:00
UnknownShadow200
64e27dd570 Simplify OpenGL 1 backend to avoid needing to call Gfx_SetTexturing()
Results in glEnable(GL_TEXTURE_2D) and glDisable(GL_TEXTURE_2D) being called much less often:
23 times --> 4 times (not looking at a block)
23 times --> 6 times (looking at a block)
25 times --> 8 times (all chat with input open)
2022-09-03 10:36:28 +10:00
UnknownShadow200
bf8e52de45
Merge pull request #964 from aurxenon/alpha
Get the game to compile for Alpha architecture
2022-08-29 11:56:46 +10:00
aurxenon
c5f4a49289 Get the game to compile for Alpha architecture 2022-08-28 18:47:58 -04:00
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
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 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
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