4581 Commits

Author SHA1 Message Date
UnknownShadow200
a2dfccc560 Drop support for 8 bit wav files that were never used anyways. 2020-02-16 09:04:23 +11:00
UnknownShadow200
63a06b0a17 Allow you to change delay between music playing by editing options.txt (thanks wasteland123) 2020-02-14 21:10:30 +11:00
UnknownShadow200
0962e33a55 Fix trying to paste unicode characters in web client showing messed up characters. Match the behaviour of other platforms and just ignore unicode characters that are not in code page 437. 2020-02-13 20:29:34 +11:00
UnknownShadow200
a18de8d585 Slightly optimise Particle_BreakBlockEffect 2020-02-12 20:23:41 +11:00
UnknownShadow200
1a331e5c71
Merge pull request #621 from UnknownShadow200/GUIRE8
More GPU optimisations
2020-02-11 21:00:55 +11:00
UnknownShadow200
9e1f1fca1f Optimise Particle_RainSnowEffect 2020-02-10 22:08:52 +11:00
UnknownShadow200
2a0cc4cf8c Fix menus not rendering in OpenGL 2020-02-10 20:21:50 +11:00
UnknownShadow200
af948f0aed It's pointless for RainParticle to be its own struct, as it contains no extra members compared to base Particle 2020-02-10 18:58:54 +11:00
UnknownShadow200
f64300532b No user left behind. Fix the OpenGL 1.1 build to work too. 2020-02-10 12:45:05 +11:00
UnknownShadow200
dff59b8f9f Fix OpenGL build, add Gfx_CreateAndLockVb shortcut 2020-02-10 12:25:28 +11:00
UnknownShadow200
758b6d3b25 Use Lock/UnlockVb for chunk builder too 2020-02-10 10:46:32 +11:00
UnknownShadow200
881e28d844 Tidy up Builder.c a bit 2020-02-10 08:41:44 +11:00
UnknownShadow200
fc5c7463a0 Switch EnvRenderers to new lock/unlock method. 2020-02-09 23:31:21 +11:00
UnknownShadow200
5b222c5340 More clearly split up vertex and index buffer code in Graphics.c. Also put the OpenGL 1.1 and non OpenGL 1.1 vertex/index buffer code next to each other. 2020-02-09 22:37:01 +11:00
UnknownShadow200
b8b5a09a94 Move TouchMore to new method 2020-02-09 20:09:27 +11:00
UnknownShadow200
1a5f963ef0 Make Math_AbsF/Math_SqrtF defines when compiling with gcc/clang. This way they get compiled to an inline intrinsic instruction, instead of a slow function call 2020-02-09 16:55:12 +11:00
UnknownShadow200
1e7ee30156 Remove some useless includes 2020-02-08 17:28:06 +11:00
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