4912 Commits

Author SHA1 Message Date
UnknownShadow200
0f197708e8 Fix clicking on a '-----' entry in load level list showing a 'maps/----- not found' error in chat 2020-01-12 14:46:58 +11:00
UnknownShadow200
4fed6a6c7a Fix if you change from normal to normalfast render mode, then move to inside a block with fog of some sort like lava/water, then resize the game window, and you are using Direct3D9, your game crashes. (Thanks fam0r)
So for the 87th time, I have permanently fixed the issue of leaking GFX resources for good.
2020-01-09 12:20:43 +11:00
UnknownShadow200
d38f3a67b8 Remove useless EnvRenderer_ prefix in many static functions in EnvRenderer.c 2020-01-09 12:10:43 +11:00
UnknownShadow200
e793332132 Don't abort the game if out of memory allocating data for FreeType 2020-01-05 12:04:29 +11:00
UnknownShadow200
bf13d69f9a Fix on windows, if you maximise the window then press F11, the window completely disappears instead of going fullscreen 2020-01-03 20:06:55 +11:00
UnknownShadow200
b7099de880 Scale fullscreen with DPI in web client. This particularly approves fullscreen on mobile devices. 2020-01-02 13:52:19 +11:00
UnknownShadow200
4c9b7d668a Show an error message in chat when trying to enable sounds/music in web client.
This makes it absolutely clear that sound/music isn't broken, it's intentionally not supported currently.
2020-01-01 22:53:14 +11:00
UnknownShadow200
1432923240 Fix trying to load a map in 'load level' menu that doesn't actually exist on disc anymore doing nothing. Now it logs a 'file not found' error in chat. 2019-12-29 13:32:49 +11:00
UnknownShadow200
5300b8fc49 Fix not being able to load audio/maps/texpacks from within subdirectories (Thanks steve82) 2019-12-29 13:22:53 +11:00
UnknownShadow200
a3a4eb23db Don't forget to check return code of HttpCache_Lookup 2019-12-27 08:22:44 +11:00
UnknownShadow200
5fb2656d03 Cleanup http.h 2019-12-24 19:18:24 +11:00
UnknownShadow200
53f64f348b Remove OnDisplay from LScreen because it was never used anywhere 2019-12-24 07:15:22 +11:00
UnknownShadow200
0540472b2f Minor code cleanup of LWeb 2019-12-23 20:10:34 +11:00
UnknownShadow200
02f65b1c5d Fix OpenGL 1.1 build to not always draw all 6 faces in a chunk.
This also improves performance a bit, which is pretty important since this backend is for incredibly weak or non-existent GPUs.
2019-12-21 15:23:53 +11:00
UnknownShadow200
5fb7817c76 Handle out of video memory error in Gfx_CreateDynamicVb on D3D9 backend 2019-12-20 21:27:42 +11:00
UnknownShadow200
246cc7e288
Merge pull request #614 from UnknownShadow200/GUIGFXRWRTv2
GUI rewrite WIP
2019-12-20 20:04:49 +11:00
UnknownShadow200
c615685eb3 Fix android and webclient builds 2019-12-17 07:28:04 +11:00
UnknownShadow200
60c041c347 Fix dropbox urls 2019-12-17 07:20:24 +11:00
UnknownShadow200
b2c198b1a5 Autochange dl.dropbox.com to dl.dropboxusercontent.com urls
This avoids a pointless 302 redirect, saves up to 200ms for people with sucky connections
2019-12-16 23:49:38 +11:00
UnknownShadow200
c943e7ca33 Release 1.1.1 1.1.1 2019-12-16 14:25:35 +11:00
UnknownShadow200
27a62b9ab1 Fix OpenGL 1.1 build not drawing rewritten menus at all 2019-12-15 11:13:40 +11:00
UnknownShadow200
cb3344c629 Fix linux/EGL build 2019-12-15 07:10:19 +11:00
UnknownShadow200
05a0a6500b Render menu input widget as one texture 2019-12-14 23:36:27 +11:00
UnknownShadow200
bf9d540082 Make it possible for the linux build to compile with EGL/OpenGL ES instead.
This is only really intended for the raspberry pi
2019-12-14 16:13:37 +11:00
UnknownShadow200
c306a7cfdf minor code cleanup 2019-12-14 10:40:16 +11:00
UnknownShadow200
e595f4eb59 Reorganise Window.c and put all the OpenGL context stuff at the bottom of the file. 2019-12-12 23:34:00 +11:00
UnknownShadow200
e154c4cbe0 Fix 64x64 skins not rendering the extended limbs for zombie model 2019-12-12 20:35:29 +11:00
UnknownShadow200
492d4843eb Update download links in readme to working pages 2019-12-12 20:03:10 +11:00
UnknownShadow200
0c0482e9f9 Fix web client 2019-12-09 21:00:25 +11:00
UnknownShadow200
3600c982fe Fix not being able to activate function key keybindings if a texture pack or URL warning overlay is open 2019-12-09 17:45:45 +11:00
UnknownShadow200
b67a9f0a0f Fix 'download size' in texture pack overlay being rendered wrong for a few frames after HEAD response is received 2019-12-09 14:43:29 +11:00
UnknownShadow200
c9ec5fa45a OptionsGroupScreen uses new rendering method 2019-12-07 09:29:16 +11:00
UnknownShadow200
4f0685127f TexPackOverlay uses new rendering method 2019-12-07 07:42:07 +11:00
UnknownShadow200
d374e3f843 UrlWarningOverlay uses new rendering method 2019-12-06 20:49:12 +11:00
UnknownShadow200
086bc1be9f ListScreen uses new rendering method 2019-12-05 21:56:54 +11:00
UnknownShadow200
af6d0c6614 ClassicGenScreen uses new rendering method 2019-12-05 21:36:32 +11:00
UnknownShadow200
5e297b0f8c use widgets in DisconnectScreen instead of trying to duplicate logic 2019-12-05 20:28:20 +11:00
UnknownShadow200
8faccc4c12 Rewrite DisconnectScreen to use new rendering method 2019-12-05 16:22:58 +11:00
UnknownShadow200
e26b649b86 add dirty/BuildMesh to Screen, return 0 from Gfx_CreateDynamicVb if context is lost 2019-12-05 12:06:36 +11:00
UnknownShadow200
b164d3c8d6 Move compiling instructions higher up in the readme 2019-12-05 07:39:35 +11:00
UnknownShadow200
1444a8768c Code cleanup of Models 2019-12-03 22:40:51 +11:00
UnknownShadow200
f965e99a85 Make sure Gfx_LoseContext doesn't raise GfxEvents.ContextLost if context is already lost 2019-12-03 22:18:39 +11:00
UnknownShadow200
5355bd66ca minor code cleanup (LOCATIONUPDATE_FLAG_YAW -> LOCATIONUPDATE_YAW) 2019-12-02 07:32:18 +11:00
UnknownShadow200
bb30a3a372 File_Append -> File_OpenOrCreate 2019-12-01 22:04:19 +11:00
UnknownShadow200
f475eec352 Make selection box rendering a little bit faster 2019-12-01 18:38:45 +11:00
UnknownShadow200
8ce836010a Fix game completely crashing when it couldn't find map blocks pointer in .dat file (thanks cybertoon) 2019-12-01 14:30:13 +11:00
UnknownShadow200
22f205a961 make field names of structs in LWidgets camel case 2019-12-01 10:38:55 +11:00
UnknownShadow200
daa6b26388 Fix web client not compiling 2019-11-30 18:48:14 +11:00
UnknownShadow200
a14ff7cda2 Add /client cleardenied to clear list of denied texture pack URLs.
Since multiple times run into issues where someone accidentally denied a texture pack, and it's not obvious how to undo that, especially when you're using the web client.
2019-11-30 18:40:16 +11:00
UnknownShadow200
ca72cf66a3 Always reset all keyboard and mouse buttons to released when window focus is lost on all platforms.
Previously, this was left up to the platform. On Windows this almost always worked because mouse button state was checked on every mouse move message. On macOS this did nothing, so if you held down left mouse button, went to another application, released left mouse and then came back to the game, it'd still think the left mouse was down, so once you closed the menu, the game started deleting blocks. On linux the window still seemed to get a 'mouse up' even when the window wasn't focused anymore, although I didn't rigorously test this. For the web client, seemed to get 'mouse up' tooin chrome, not sure if other browsers had issues. SDL backend wasn't tested.
2019-11-30 18:24:46 +11:00