UnknownShadow200
f05c275b25
Haiku: Implement partial open file dialog support, and make launcher drawing faster by avoiding unnecessary image blit
...
Also switch over makefile and instructions to use native haiku windowing backend by default
2022-10-06 23:56:54 +11:00
UnknownShadow200
aa1d9fca88
Classic: Fix if server only sends EntityTeleport instead of AddEntity for ID 255, the tablist would be empty
...
In original classic your username would still be in the tablist, so change tablist to also behave that way
2022-10-06 19:46:59 +11:00
UnknownShadow200
209d9e1cab
Haiku: Fix game resizing and fullscreen not working, also switch to using Alt instead of Ctrl as action key
...
This makes ClassiCube behave like other applications on Haiku which e.g. do Alt+C/V instead of Ctrl+C/V for copy/paste
2022-10-06 18:45:00 +11:00
UnknownShadow200
c21af3c4d5
mac: Fix when compiled with recent SDK and when running on high DPI display, that the game would only render in 1/4 of the window. Fixes #888
2022-10-05 23:02:52 +11:00
UnknownShadow200
9b5a3cff70
Haiku: Fix crashing on game close, fix resizing launcher not working properly, fix app not closing, implement clipboard support
2022-10-04 23:04:31 +11:00
UnknownShadow200
be0491534a
Haiku: Fix setting mouse position, mouse scrolling not working
...
Also fix window size being off by 1 pixel, and fix print screen not being detected as a key
2022-10-03 18:30:33 +11:00
UnknownShadow200
9f3abe05bc
Fix sending RemoveEntity with id 255 in classic mode removing your own name from the tablist
...
This now matches behaviour in original classic, where it didn't get removed
2022-10-02 23:11:58 +11:00
UnknownShadow200
cc522d8109
Haiku: Fix key input not working, text input not working, game rendering without a depth buffer, and mouse movement in-game not working
...
Still plenty of problems though
2022-10-01 10:26:15 +10:00
UnknownShadow200
7ac38830d3
Add WIP haiku OS windowing backend
2022-09-30 23:16:29 +10:00
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