4645 Commits

Author SHA1 Message Date
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
UnknownShadow200
b26ab73a5e
Remove some junk from style.md and add general guidelines 2019-11-29 20:35:39 +11:00
UnknownShadow200
b154d94348 Check if cursorVisible equals new visibility when calling Cursor_SetVisible, and if so, don't call the OS's changing cursor visibility function. 2019-11-29 08:17:44 +11:00
UnknownShadow200
54962a0e07 Use undocumented methods to get CGS connection and window id for 32 bit macos 2019-11-28 16:11:35 +11:00
UnknownShadow200
7546347e4c Cleanup Protocol.c some more 2019-11-28 09:53:12 +11:00
UnknownShadow200
127df95b2c minor code cleanup 2019-11-27 22:50:27 +11:00
Goodlyay
29b172f2c6 Fix VelocityControl negative values
Change standard from 32 being single block height boost to 1 being
single block height boost
2019-11-27 00:15:55 -08:00
Goodlyay
aed28e8267 Add VelocityControl CPE 2019-11-26 23:02:00 -08:00
UnknownShadow200
d3363f192d HeadX -> Pitch and HeadY -> Yaw 2019-11-26 22:37:19 +11:00
UnknownShadow200
508477b0c6 Use Drawer2D_TextWidth instead of Drawer2D_MeasureText in more places 2019-11-26 20:03:08 +11:00
UnknownShadow200
129999e39f Fix old announcement showing for one frame when changing texture pack (Thanks goodly) 2019-11-24 07:03:53 +11:00
UnknownShadow200
01d94cd3d8 Get rid of GFX_NULL, just use 0 2019-11-23 18:52:47 +11:00
UnknownShadow200
cb908ad026 Fix last two commits causing 32 bit mac build to draw launcher window blue 2019-11-21 12:30:46 +11:00
UnknownShadow200
55ca8b7a91 Fix last commit breaking saving screenshots on PowerPC 2019-11-21 00:05:50 +11:00
UnknownShadow200
b0f926259c Don't byteswap bitmap colours for big endian. This fixes launcher being completely blue in linux PowerPC and uses native order for OSX PowerPC, so should be faster.
as such use GL_UNSIGNED_INT_8_8_8_8_REV for transfer format instead of GL_UNSIGNED_BYTE for big endian
2019-11-20 23:18:02 +11:00
UnknownShadow200
c25a45a6b5 don't bother logging fp and sp for previous stack frames in windows build crash log, this information has never been useful 2019-11-20 19:29:14 +11:00
UnknownShadow200
f75e4b7f18 Only sync fonts cache with system's font when it's actually necessary (like clicking 'select system font' or current system font selected isn't in cache).
This reduces startup time for me (500 system fonts) by 100-130 ms.
2019-11-19 22:45:35 +11:00
Goodlyay
259bc1b3bb Add SetSpawnpoint CPE
This protocol extension allows the server to set the client's spawnpoint
anywhere in the map without respawning the client.
2019-11-19 00:47:42 -08:00