UnknownShadow200
2de35be8d9
Fix hosting-webclient.md not working with very recent emscripten
...
Emscripten doesn't special case '#canvas' to Module['canvas'] anymore, instead it does document.querySelector('#canvas'). So give the canvas element the id of 'canvas' instead of 'GameCanvas' to make it work.
Also change the 'exception thrown' message to include the actual javascript error message.
2020-08-22 16:18:39 +10:00
UnknownShadow200
0daddd3801
Scale and position the bars in edit hotkey screen with DPI
2020-08-22 12:41:44 +10:00
UnknownShadow200
2939f46df1
Fix progress bar in loading screen not being scaled by DPI and overlapping the motd with high DPI
2020-08-22 00:46:41 +10:00
UnknownShadow200
df9c74cf89
Merge pull request #696 from UnknownShadow200/GuiLayout4
...
Redesign GUI code to split off layout code
2020-08-22 00:16:03 +10:00
UnknownShadow200
e3bc9d1f58
Fix title appearing at wrong position in tex ids overlay
2020-08-21 23:15:31 +10:00
UnknownShadow200
a03dbe2429
Fix some texture pack urls with non-ascii characters not downloading on windows (Thanks cybertoon)
2020-08-21 13:53:48 +10:00
UnknownShadow200
8a64e278e8
According to our top researchers, it is a proven fact that it is better to show an error in chat instead of outright crashing the game
...
Don't crash the game if a .cw map has a bogus uuid length
2020-08-21 12:07:07 +10:00
UnknownShadow200
a174821b28
less use of cc_uintptr
2020-08-20 22:11:21 +10:00
UnknownShadow200
47e85fcc73
fix link in hosting-webclient.md (good old case sensitivity)
2020-08-20 18:56:05 +10:00
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