5135 Commits

Author SHA1 Message Date
UnknownShadow200
2e06e33679
Merge pull request #694 from SpiralP/more-cm-anims
add more animation types for CustomModels
2020-08-20 11:38:25 +10:00
SpiralP
638cd9bd79 add more animation types for CustomModels
SinSize, FlipRotate, FlipTranslate, FlipSize
Flip meaning only increment, and then jump back to 0 once a max-value is reached
2020-08-19 17:10:10 -07:00
UnknownShadow200
e7f8548f8a Fix gui widgets appearing messed up initially after resizing 2020-08-18 22:30:40 +10:00
UnknownShadow200
085b63532b Cleanup ExtHelp code 2020-08-16 21:53:51 +10:00
UnknownShadow200
635c6fb4ec Initial update of MenuOptionsScreen to use Init/Layout 2020-08-16 21:38:10 +10:00
UnknownShadow200
59160898ad Fix changing hotbar scale not immediately updating GUI 2020-08-16 19:53:29 +10:00
UnknownShadow200
b1e8eb67df Move PauseScreen to new Init/Layout/Rendering 2020-08-16 18:58:19 +10:00
UnknownShadow200
695c76cb6a Move KeyBindsScreen to new rendering method 2020-08-16 18:32:18 +10:00
UnknownShadow200
4beb7e9911 Move KeyBindings to separate Init/Layout 2020-08-16 18:22:33 +10:00
UnknownShadow200
33e126f8c5 And fixup overlays/gen level to use Layout method (last of the simple cases) 2020-08-16 16:34:10 +10:00
UnknownShadow200
d20962b804 Move more gui screens to separate Layout method 2020-08-16 15:37:35 +10:00
UnknownShadow200
6090df4690 Release 1.1.9 1.1.9 2020-08-16 12:41:44 +10:00
UnknownShadow200
51cf84e45e Improve MFA UI a bit I guess 2020-08-16 12:28:10 +10:00
UnknownShadow200
dcd1f6be71 Move chat screen/list screens layout code to Layout method 2020-08-16 11:40:27 +10:00
UnknownShadow200
74c7e4f13d Initial support for entering multifactor authentication code (still WIP) 2020-08-16 10:38:11 +10:00
UnknownShadow200
6f517e6355 Instead of always showing 'unknown error occurred' when login error isn't wrong username/password, show the actual error message 2020-08-16 09:14:37 +10:00
UnknownShadow200
69d8500f25 Always call Layout when adding screen to gui, simplify layout for loading/disconnect screens 2020-08-15 22:55:41 +10:00
UnknownShadow200
59eea41404 Simplify Platform_Encrypt to avoid unnecessary memory allocations
also remove xor fallback for windows
2020-08-15 17:20:13 +10:00
UnknownShadow200
48cc59cfa4 inflate code style cleanup 2020-08-14 20:32:07 +10:00
UnknownShadow200
3f69fa483f Don't reset timestamps in CheckUpdateTask_Run
This way, if we successfully downloaded builds.json initially, but get a http error the next time try to download it, the original latest dev/release build timestamps are still used, instead of being reset to 0.
2020-08-14 10:37:42 +10:00
UnknownShadow200
54c32e29e8 Remove dividing .cw spawn by 32 when spawn is outside map backwards compatibility patch
This means if your position is outside the map and you save the map, when you load the map, you appear at this position again, instead of the position divided by 32.

This was a workaround for ClassicalSharp maps saved before 0.98.6. Considering that was relased on Feb 2016, I think it's an acceptable loss that a few maps from waayyy back then have the wrong spawn when loaded.
2020-08-13 22:28:52 +10:00
UnknownShadow200
2016b4ef7f 1 less error when compiling as C++
also fix mistake in readme (thanks kylbert)
2020-08-12 21:48:19 +10:00
UnknownShadow200
7c977a275b Allow plugins to modify protocl packet sizes/handler functions 2020-08-09 14:36:26 +10:00
UnknownShadow200
223eed4933 fix if you have custom jump height and disconnect from server that doesn't use hackcontrol, your jump height is reset to 1.233 on rejoining the server 2020-08-09 13:15:24 +10:00
UnknownShadow200
7a01d01f81 cleanup naming of some methods in Input.c 2020-08-08 23:39:57 +10:00
UnknownShadow200
11c252ad5e when server removes a hotkey, restore to user's hotkey (if set) instead of leaving it empty 2020-08-08 18:46:27 +10:00
UnknownShadow200
b6261041f6 Fix being too much padding between entries in launcher servers list (thanks Daeslender) 2020-08-06 17:41:32 +10:00
UnknownShadow200
7abb4e8819 Release 1.1.8 1.1.8 2020-08-06 08:36:20 +10:00
UnknownShadow200
7694980c0f Readd the call to XSetWMNormalHints I removed to fix appearing at wrong position with some window managers 2020-08-05 19:58:39 +10:00
UnknownShadow200
a8020928a4 Fix variable indicating whether server supports BlockPermissions not getting reset on disconnect 2020-08-05 19:07:43 +10:00
UnknownShadow200
ac8342a480 Fix block permissions not resetting on disconect (Thanks cybertoon) 2020-08-05 14:52:47 +10:00
UnknownShadow200
49a3ef6139 Don't allow zooming out third person camera if flying is disabled (thanks goodly) 2020-08-05 12:11:41 +10:00
UnknownShadow200
68368e6ba4 fix if you change sounds volume multiple times, you get spammed with 'cannot have more than 10 sounds in a group' (Thanks Kylbert) 2020-08-05 11:44:18 +10:00
UnknownShadow200
5895a5f999 don't forget file extension when saving 2020-08-04 00:37:12 +10:00
UnknownShadow200
87b5a97305 Try to fix taking screenshots on IE11 crashing the game 2020-08-04 00:26:47 +10:00
UnknownShadow200
4f01636a50 F12 now downloads a screenshot for the web client 2020-08-03 23:33:27 +10:00
UnknownShadow200
68f4144cc9 Add module.saveBlob function for web client
Also try to avoid terminating game when invalid huffman code is read when inflating data
2020-08-03 23:12:58 +10:00
UnknownShadow200
4072b62439 if plugin filename ends with _32, ignore it on 64 bit OS (and vice versa) 2020-08-02 12:44:28 +10:00
UnknownShadow200
dcf1b9a49e If the server sends corrupted compressed map data, try to disconnect the game instead of outright crashing 2020-08-02 10:49:04 +10:00
UnknownShadow200
c968d14a75 Expose gui to plugins per request 2020-08-01 15:10:49 +10:00
UnknownShadow200
e13755b1d9 avoid including bitmap.h in h files 2020-08-01 12:28:00 +10:00
UnknownShadow200
e221e9f343 Bitmap shouldn't be typedefed 2020-08-01 12:19:58 +10:00
UnknownShadow200
f2cfdb372d Define custom model parts as they arrive, instead of buffering them all into memory first
For 64 bit, reduces size of custom_models array from 802 to 465 kilobytes
2020-08-01 11:07:48 +10:00
UnknownShadow200
4cf4db4607 Simplify DefineModelPart packet reading 2020-08-01 09:33:45 +10:00
UnknownShadow200
2c191a847b Scale up launcher title with DPI, make it have correct Y offset when drawing it as bitmapped text 2020-07-31 21:09:51 +10:00
UnknownShadow200
8e0dc6db08 Fix some textures persisting from old texture pack on server software that only sends packet with new url, and doesn't send an additional packet with empty url first (Thanks Goodly) 2020-07-31 16:55:13 +10:00
UnknownShadow200
4534e647e9 For auto join server hash, also try to automatically sign in the user too 2020-07-31 12:07:24 +10:00
UnknownShadow200
0da489e82a fix very rare case where launcher process wouldn't terminate after closing the window 2020-07-31 11:46:33 +10:00
UnknownShadow200
fbbe626a97 Fix launcher flags offset and input widget expand at high DPI
Also avoid double checking file existence when extracting launcher texture pack
2020-07-30 23:06:43 +10:00
UnknownShadow200
559ae5ceac Mostly make launcher servers table DPI scale 2020-07-30 22:44:27 +10:00