4664 Commits

Author SHA1 Message Date
UnknownShadow200
7886dbb14e Add support for _NET_WM_PING to X11 backend.
This way if the game is not responding for some reason and you click on X, after a few seconds an 'application not responding' dialog appears. Well, if your window manager supports it that is.
2020-02-08 15:20:38 +11:00
UnknownShadow200
8d3ec0faa0 Fix menu buttons staying highlighted when touch is released on mobile 2020-02-07 19:23:11 +11:00
UnknownShadow200
07b56e6ba3 one step closer to c89 compatibility 2020-02-06 19:17:41 +11:00
UnknownShadow200
4e01518ce2 Don't terminate the game if the server sends a bogus map whosevolume != dimensions 2020-02-06 17:37:34 +11:00
UnknownShadow200
b6f8d739cf Fix crashing if you were disconnected from /hackrank,kick,or ban, and you then tried to resize game window on Direct3D9 backend (Thanks Devin) 2020-02-06 10:23:22 +11:00
UnknownShadow200
8952b4f88c Move EditHotkeyScreen to new rendering method 2020-02-04 22:38:09 +11:00
UnknownShadow200
da9e51176d Move GenLevelScreen to new rendering method 2020-02-04 21:11:14 +11:00
UnknownShadow200
e7f17b7119 Move SaveLevelScreen to new rendering method 2020-02-04 20:49:20 +11:00
UnknownShadow200
e686f0b403 Make screens use Lock/Unlock dynamic vb too
Also try to ensure code still compiles as C++
2020-02-03 23:06:58 +11:00
UnknownShadow200
c013d3952e Fix not compiling with OpenGL, slightly more efficient selectionbox mesh building with clang 2020-02-03 13:44:22 +11:00
UnknownShadow200
cf8526c2fe Make selection box mesh building a bit faster 2020-02-03 12:59:20 +11:00
UnknownShadow200
213b12812e Make SelectionBox use Lock/Unlock too 2020-02-03 12:11:24 +11:00
UnknownShadow200
d4454ef299 Make Gfx_UnlockDynamicVb also bind to be consistent between all backends, move particles to use Lock/Unlock 2020-02-03 09:03:17 +11:00
UnknownShadow200
74e91d688a Add Gfx_LockDynamicVb/Gfx_UnlockDynamicVb 2020-02-02 20:30:40 +11:00
UnknownShadow200
473937be97 Add new rendering method to MenuInputWidget 2020-02-02 14:51:12 +11:00
UnknownShadow200
e181c3ef84 Fix chat still screwing up when only resizing vertically on the OpenGL build 2020-02-02 09:36:25 +11:00
UnknownShadow200
3c06b1e333 Fix minimising or resizing screwing up chat/hotbar position (Thanks Fam0r) 2020-02-02 08:52:56 +11:00
UnknownShadow200
95d8f3803f Fix if you activate 1 button in touch overlay, then activate another button with a different finger, then release first finger, then release second finger, the second button still stays activated on mobile 2020-02-01 23:43:29 +11:00
UnknownShadow200
e2ea5289a0 Scale hotbar with DPI so it's not so hard to use on mobile 2020-02-01 22:15:38 +11:00
UnknownShadow200
fee0e5f8f7 Don't even show the Direct3D9 buttons or 'direct3d9 is recommended' on macOS/linux in launcher updates menu 2020-02-01 21:17:24 +11:00
UnknownShadow200
970e8bbda7 Move platform-specific determining name of update executable to download from classicube.net out of LWeb.c and into Platform.c 2020-02-01 21:09:04 +11:00
UnknownShadow200
2238894968 remove unused code 2020-02-01 19:13:30 +11:00
UnknownShadow200
31b22f2e37
Merge pull request #618 from UnknownShadow200/GUIRE5
Improvements to hotbar on mobile
2020-02-01 12:54:45 +11:00
UnknownShadow200
28812befac Less warnings when compiling on linux 2020-02-01 12:31:42 +11:00
UnknownShadow200
4e367b3cdc Prefer nicer looking default fonts like 'liberation sans' or 'nimbus sans' on linux, with 'century schoolbook l roman' being last fallback 2020-01-31 22:07:59 +11:00
UnknownShadow200
adac7367ef Render chat above HUD 2020-01-30 22:43:22 +11:00
UnknownShadow200
bf6ef9745d Attempt to add support for updates to raspberry pi build 2020-01-29 18:37:32 +11:00
UnknownShadow200
4bde4bef87 Fix < and > being swapped in touch controls overlay, oops 2020-01-28 22:09:07 +11:00
UnknownShadow200
fdb92d5885 Move DPAD over to left side of screen for mobile 2020-01-27 16:31:13 +11:00
UnknownShadow200
d669a104da Release 1.1.2 I guess 1.1.2 2020-01-26 19:55:39 +11:00
UnknownShadow200
19f286c96a Make Builder a component too 2020-01-26 11:56:41 +11:00
UnknownShadow200
9b2373f7d3 Fix smooth lighting option not getting ignored in classic mode (Thanks Goodly) 2020-01-25 22:01:02 +11:00
UnknownShadow200
d7015cf2e9 Fix a few compile errors with metrowerks 2020-01-25 17:58:21 +11:00
UnknownShadow200
018f57945c Make it so you can always click on hotbar (not just in inventory) when on mobile 2020-01-25 13:52:14 +11:00
UnknownShadow200
5268d5b565 Move hotbar to HUDScreen 2020-01-25 12:31:42 +11:00
UnknownShadow200
c5c18c7d98 Cleanup HotbarWidget 2020-01-24 19:41:14 +11:00
UnknownShadow200
c10b2bb87b Give some better variable names in HotbarWidget 2020-01-24 07:32:52 +11:00
UnknownShadow200
f156580b01
Merge pull request #616 from UnknownShadow200/GUIRE4
Improvements to mobile GUI and input
2020-01-23 10:31:56 +11:00
UnknownShadow200
255770ee69 Fix rpi build in buildbot again, this time for sure. Also fix osx64 build deleting wrong file. 2020-01-23 00:26:38 +11:00
UnknownShadow200
fb7f29eea4 Fix icon not being included 2020-01-22 23:55:56 +11:00
UnknownShadow200
0790ac405b Add rpi to buildbot script, fix crashing when rpi system only supports 32 but not 24 bit depth 2020-01-22 23:43:35 +11:00
UnknownShadow200
b923754c86 Add simpler CC_BUILD_RPI define, add compiled icon obj file for arm architecture 2020-01-22 22:24:37 +11:00
UnknownShadow200
746191384d Fix backspace not working properly on some mobile devices 2020-01-22 19:09:53 +11:00
UnknownShadow200
93cdbdd2c5 Fix quickly tapping sometimes triggering double place/delete 2020-01-21 19:46:55 +11:00
UnknownShadow200
614dd26bbd Make it so quickly tapping (touch then release in under 250ms) triggers block place/delete 2020-01-21 19:02:42 +11:00
UnknownShadow200
f337da9d39 Instead of just having the toggle place/delete mode button in Touch overlay always show 'Mode' for text, change its text to toggle between 'Place' and 'Delete'. 2020-01-19 13:04:32 +11:00
UnknownShadow200
cd1d38c83c Move TouchScreen to new rendering way 2020-01-19 09:57:17 +11:00
UnknownShadow200
69ed38fdf9 Don't use CGWindowID because that only exists in 10.5 SDK or later 2020-01-18 11:22:37 +11:00
UnknownShadow200
b2d2ba2974 Make TouchMenu less hacky, and add a 'Cancel' button to chat input on mobile 2020-01-18 11:21:30 +11:00
UnknownShadow200
b03099f8fc Fix if your third person camera is positioned to be under the water outside the map but above the bedrock, but your player's position is still inside the map, translucent blocks above the water appear invisible 2020-01-16 15:12:37 +11:00