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
UnknownShadow200
fdf92e047b
Launcher input widget DPI scales properly
2020-07-30 13:20:33 +10:00
UnknownShadow200
7e7bfb00da
fix always crashing on close
2020-07-29 18:17:41 +10:00
UnknownShadow200
4dc05d82f5
Change Launcher screen MakeInstance methods to call SetScreen directly instead of returning pointer
2020-07-29 18:01:39 +10:00
UnknownShadow200
5bf63e79a3
Use single Event_Register_ macro instead of Event_Register_XYZ macros
...
The Event_Register_XYZ were all just defined to Event_Register_Macro anyway, completely ignoring the type of the arguments given. Therefore it's better to just give a single type unsafe Event_Register_ macro, rather than misleading the user into thinking they were using type safe macros
2020-07-29 17:45:59 +10:00
UnknownShadow200
fd28ce7b27
Add single Event_UnregisterAll method, instead of having code everywhere calling Event_UnregisterXYZ
2020-07-29 11:48:30 +10:00
UnknownShadow200
9afde7d0aa
.. and fix 'position:' textatlas leaking. Finally no more crashing.
2020-07-28 19:45:21 +10:00
UnknownShadow200
4deba8e0d4
Fix index buffer leaking if direct3d9 device creation initially failed
...
Still crashes, but progress at least
2020-07-28 18:59:53 +10:00
UnknownShadow200
386ce44cc8
Fix android makefile to compile, add readme for doc/misc folder
2020-07-27 22:09:37 +10:00
UnknownShadow200
aa85374894
If an attempt is made to extract texture pack while context is lost, add code to reload texture pack when context is recreated
...
The most noticable way this issue manifests is when you try to start the game (direct3d9) while a fullscreen application is already running. This causes creating the device to initially fail, but when the context is later recreated (because you toggled out of the fullscreen application), all the textures would appear white because the initial texture pack had attempted to load while context was initially lost.
Of course, the game still crashes when you try to resize the window next (or something else that causes context to get lost), but progress still.
2020-07-27 20:38:41 +10:00
UnknownShadow200
593b581465
If user's custom default texture zip is missing, still show error in chat instead of just silently falling back to default.zip
2020-07-27 19:08:48 +10:00
UnknownShadow200
1db73db9f2
fix web client
2020-07-27 18:35:57 +10:00
UnknownShadow200
8bcbad56f6
Consistently use OnInit/OnFree/OnReset everywhere
2020-07-27 18:32:01 +10:00
UnknownShadow200
b60cfbb856
Fix wrong textures sometimes if you change server's textures and you are using custom default textures
...
Previously, if you changed server's textures, textures that were not in new textures and were not in custom default textures would retain their texture from the server's old textures, instead of reverting to default.zip.
Now default.zip will always be reloaded too when you have a custom default texture pack. This does make it a little bit slower, but default.zip is simple anyways and always loading it should not really be noticable. (even on my laptop, averages ~40 ms)
2020-07-27 18:14:12 +10:00
UnknownShadow200
5c665ee067
Simplify texture pack loading code, make png/zip detection consistent
2020-07-27 16:59:52 +10:00
UnknownShadow200
56b2986e41
Condense plugin loading failure messages a little bit
2020-07-27 00:07:58 +10:00
UnknownShadow200
149fe29c23
Enforce third person camera clipping when -noclip is in motd (thanks goodly)
2020-07-26 12:50:44 +10:00
UnknownShadow200
d90b06e6a8
minor code cleanup
2020-07-24 19:36:03 +10:00
UnknownShadow200
586e7c4830
Fix when using cmd+c/cmd+v on 32 bit mac, 'c' and 'v' characters are still appended to text input
...
This commit makes all key character input ignored while command key is pressed
2020-07-24 12:10:37 +10:00