5444 Commits

Author SHA1 Message Date
UnknownShadow200
01eebf8796 Mobile: Fix softlock if speed is on and you open inventory (Thanks bioclassic23)
Also fix last commit breaking webclient whoops
2020-12-27 18:44:38 +11:00
UnknownShadow200
fb4c74d0a0 Opening chat input shouldn't cause 'speed: X' to immediately vanish 2020-12-27 18:32:03 +11:00
UnknownShadow200
1457d1207c Only save the one keybind that changed instead of all keybinds 2020-12-27 16:58:12 +11:00
UnknownShadow200
9e7d19bfd1 Eliminate Mouse_X/Y completely, start work on new keybinding changed event 2020-12-27 16:48:47 +11:00
UnknownShadow200
e26e9887d2 Launcher: Finally make servers table behave properly when cursor goes outside window 2020-12-27 16:39:56 +11:00
UnknownShadow200
07b0086f9e Launcher: Eliminate all uses of Mouse_X/Y 2020-12-27 16:11:05 +11:00
UnknownShadow200
06b4595e95 Launcher: Move a little bit away from the idea of there only being one pointer 2020-12-27 15:55:47 +11:00
UnknownShadow200
44773bc28e Add field to Gui for screen currently grabbing input, faster than having to iterate through all screens 2020-12-27 13:39:08 +11:00
UnknownShadow200
12ee3a1ec6 Make InputUp event non cancellable for screens 2020-12-27 13:25:27 +11:00
UnknownShadow200
0d56db14b1 Try to make default screen functions clearer 2020-12-27 12:31:15 +11:00
UnknownShadow200
6b2766702b Add maxspeed= to MOTD to allow specifying a maximum horizontal speed that overrides -speed per request (Thanks Venk) 2020-12-27 11:17:59 +11:00
UnknownShadow200
801e26b03c Try to workaround rare corner cases where XI_RawMotion returns absolute instead of relative coords 2020-12-27 00:26:32 +11:00
UnknownShadow200
a2d7f4a71a Fix speed: 5X getting stuck shown if you had ctrl pressed before opening chat (Thanks Cybertoon) 2020-12-26 21:52:49 +11:00
UnknownShadow200
b8bf9db131
Add basic documentation on how the 2D gui works 2020-12-26 11:50:50 +11:00
UnknownShadow200
655a468439 X11: Log backtrace for unhandled X errors (Thanks chuyuanzheng3) 2020-12-25 23:10:29 +11:00
UnknownShadow200
93f3be957e Move stuff like SKIN_SERVER into Constants.h to make it easier to rebrand the game 2020-12-25 15:25:38 +11:00
UnknownShadow200
ff404604c6 Webclient: Fix touch controls appearing on some windows laptops (Thanks fam0r) 2020-12-25 02:33:58 +11:00
UnknownShadow200
a8ff5c5b07 Try to fix iPad >= iOS 13 not showing touch controls by default 2020-12-25 01:28:42 +11:00
UnknownShadow200
45fb1d56ab Add an undocumented option to turn off https
Obviously as this is a monumentally bad idea 99% of the time, don't document it or expose it in the GUI
2020-12-23 23:56:16 +11:00
UnknownShadow200
13dcf51f9f Move FOV stuff into Camera module instead 2020-12-21 10:40:47 +11:00
UnknownShadow200
9aba62615d Fix classic pause menu still showing empty quit game button 2020-12-21 00:01:25 +11:00
UnknownShadow200
6fe58feae6 Make the GUI code a little bit less ugly 2020-12-20 21:33:03 +11:00
UnknownShadow200
5801e7888d Mobile: Add hotbar switching as an on-screen control 2020-12-20 14:45:50 +11:00
UnknownShadow200
c18fde0ef0 Mobile: Add delete/pick/place on-screen buttons 2020-12-20 13:46:35 +11:00
UnknownShadow200
91a1603ef0 Fix last commit not compiling 2020-12-20 12:00:58 +11:00
UnknownShadow200
3ec8644c69 Add Mem_Equals function 2020-12-20 11:52:25 +11:00
UnknownShadow200
32dbb2d51a
Merge pull request #769 from timgates42/bugfix_typo_request
docs: fix simple typo, requst -> request
2020-12-20 07:37:49 +11:00
Tim Gates
6b972d06af
docs: fix simple typo, requst -> request
There is a small typo in src/Http.c.

Should read `request` rather than `requst`.
2020-12-20 07:29:10 +11:00
UnknownShadow200
1597ed76d7 remove a little bit of unused freetype code 2020-12-20 00:08:58 +11:00
UnknownShadow200
4c5df56ca6 Mobile: Fix changing touch scale not updating immediately 2020-12-19 15:03:12 +11:00
UnknownShadow200
3f0a2686a9 Use String_AppendUtf8 instead of Platform_DecodeString for non windows platforms 2020-12-19 13:13:37 +11:00
UnknownShadow200
14de95774d Mobile: Now touch controls scale partially works 2020-12-17 20:50:12 +11:00
UnknownShadow200
edae243721 Mobile: Add (disabled) button for setting scale of touch gui 2020-12-17 19:10:41 +11:00
UnknownShadow200
3e2004c5ee Don't abort the game if encounter an invalid huffman code in fast decode loop 2020-12-17 18:28:44 +11:00
UnknownShadow200
71d7abe337 Quick fix for last commit making game crash when using tab list (Thanks get) 2020-12-16 22:14:03 +11:00
UnknownShadow200
a3d2d5405c Don't crash game if server sends invalid huffman tables (Thanks Joseph) 2020-12-16 20:59:48 +11:00
UnknownShadow200
bc66ea9325 Always recreate gfx resources instead of just creating, should prevent any leak 2020-12-16 20:28:30 +11:00
UnknownShadow200
f8c3b2cff8 Fix ze buildbot 2020-12-16 07:36:07 +11:00
UnknownShadow200
86425cb6b1
Merge pull request #767 from UnknownShadow200/MinFetch
Webclient: Use manual XmlHttpRequest implementation
2020-12-16 07:25:50 +11:00
UnknownShadow200
408cb1726e Webclient: Get 'download size for texture packs' to work in firefox for some sites at least 2020-12-16 00:06:04 +11:00
UnknownShadow200
adb314458e Webclient: Change to 'website denied download or doesn't exist' 2020-12-15 07:49:51 +11:00
UnknownShadow200
8aeff27f5a Webclient: Fix saying '0 error when downloading texture pack 2020-12-15 00:12:19 +11:00
UnknownShadow200
0bd713b666 Webclient: WIP on using XMLHttpRequest directly instead of Fetch library 2020-12-14 23:20:48 +11:00
UnknownShadow200
b325bf1686 Webclient: Fix skins/texture packs not downloading in firefox private browsing mode 2020-12-13 23:13:56 +11:00
UnknownShadow200
42c4e1c841 Webclient: Fix being unable to change controls in some browser versions
This was my fault for not implementing pressing buttons on mouse movement properly. Also fixes on Windows where if you pressed on a control and still held down left mouse for a bit, the game would set the control binding to LeftMouse.
2020-12-13 21:58:21 +11:00
UnknownShadow200
155e375f94 Stop exposing Pointer_SetPressed, as it is only supposed to be called from within Input.c so state remains consistent 2020-12-13 18:34:48 +11:00
UnknownShadow200
4f4a20e8ac Mobile: Fix clicking Chat softlocking game
Also fix < wrongly being enabled on initial first page in touch onscreen controls menu
2020-12-13 18:18:04 +11:00
UnknownShadow200
bae3ae543d Mobile: Fix softlock in touch controls menu, also make Hold/Tap buttons closer together 2020-12-13 18:07:21 +11:00
UnknownShadow200
cba3fd587b Mobile: Move 'Chat' and 'Fog' into main touch menu instead of touch controls menu 2020-12-13 17:52:32 +11:00
UnknownShadow200
cfa8944d1a Mobile: Make jump button slightly bigger 2020-12-13 16:30:59 +11:00