UnknownShadow200
3c9774fe4f
Adjust picked position to account for camera vertical fall tilt when not running in classic mode (Thanks Goodly)
2022-09-29 08:52:55 +10:00
UnknownShadow200
20a40fea27
Webclient: Avoid pointlessly copying default.zip/files loaded from IndexedDB/etc into a new UInt8Array
2022-09-28 22:20:24 +10:00
UnknownShadow200
be022680a1
Fix android build whoops
2022-09-27 22:18:21 +10:00
UnknownShadow200
4a9551e661
Simplify ZIP reader api and make it a little bit faster in most cases
2022-09-27 22:08:05 +10:00
UnknownShadow200
e6a49460eb
curl: force http1.1 to workaround around some temporary issues with http2 requests (most noticable with dropbox)
...
See https://github.com/curl/curl/issues/9526 for more details
2022-09-26 20:38:31 +10:00
UnknownShadow200
f8e4835abf
Fix last commit constantly creating default.zip, also reorganise Resources.c to be tidier
2022-09-26 18:28:30 +10:00
UnknownShadow200
d938083ba9
Fix generated default.zip unable be modified using Windows explorer zip support
...
i.e. can't add/edit/delete files
2022-09-26 07:57:28 +10:00
UnknownShadow200
0950c4d422
curl: Add curl-verbose option for enabling verbose output from libcurl
2022-09-25 21:32:06 +10:00
UnknownShadow200
f6e76f0d20
Reorganise Resources.c to be slightly more understandable
2022-09-24 21:13:43 +10:00
UnknownShadow200
5a0505c0f9
Add 'load file' button to texture packs list menu, to allow loading a texture pack .zip from anywhere on disc
...
Note that unlike clicking on an entry in the texture packs list, this change is only temporary (lasts until you close the game) and isn't saved to options.txt
2022-09-24 15:20:03 +10:00
UnknownShadow200
6f3d40da20
Fix launcher always telling the windowing backend to redraw entire window, not just the actually (usually quite small) changed region
2022-09-23 16:46:16 +10:00
UnknownShadow200
239b800788
SDL: Fix launcher usually overwriting random memory and crashing when framebuffer depth isn't 32 bits per pixel
2022-09-23 13:02:00 +10:00
UnknownShadow200
46a7cc9e25
Make texture pack code better prepared to support texture packs outside of texpacks folder
2022-09-22 20:17:06 +10:00
UnknownShadow200
996bff6430
Webclient: Save uploaded texture packs to IndexedDB too
2022-09-22 17:33:17 +10:00
UnknownShadow200
3f6d9d4d20
Merge pull request #967 from UnknownShadow200/WebStartup1
...
Load IndexedDB and textures asynchronously in webclient
2022-09-22 10:29:26 +10:00
UnknownShadow200
54f14fc650
Fix downloading default.zip from wrong location when game html page isn't at site root
2022-09-22 09:26:53 +10:00
UnknownShadow200
24a54e1b1b
Importing preclassic and classic 0.13 maps now defaults to spawning at above ground in centre of the map
...
Previously you used spawned at same position as spawn position from previous level, which typically resulted in spawning underground somewhere
Also fix Visual Studio Command Line compilation instructions not actually compiling due to missing comdlg32 link library (Thanks popgoesme700)
2022-09-20 20:46:18 +10:00
UnknownShadow200
5a6f356a27
Make NBT parser soft instead of hard error in all cases now and improve error messages, begins to address #966
2022-09-20 08:44:39 +10:00
UnknownShadow200
7366c9a749
WIP on making NBT tag parsing soft instead of hard error when encountering unexpected tag type, begins to address #966
2022-09-19 22:20:29 +10:00
UnknownShadow200
1787c92ca5
Completely obsolete Gfx_SetTexturing, also fixes chat input background sometimes missing on Direct3D9 backend (Thanks Flux3on)
...
Issue was introduced in 3e34665941867cb3b7691a3da864923e4366a3b8
2022-09-14 19:08:07 +10:00
UnknownShadow200
a05aea21ca
more minor documentation/example fixes, and remove some unnecessary code
2022-09-12 23:26:55 +10:00
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