Commit graph

1057 commits

Author SHA1 Message Date
Alibek Omarov
d15949d2e8 Rename _format to FORMAT_CHECK 2024-11-07 14:24:07 +03:00
Alibek Omarov
3917e096ea engine: client: the most important change since forever, move downloading message a bit to the right so it looks better on 640x480 2024-11-07 14:12:10 +03:00
Alibek Omarov
d1a571201b engine: client: s_mix: attempt to fix S_InterpolateCubic2x buffer overflow 2024-11-07 14:12:10 +03:00
Alibek Omarov
8a8cdd2927 engine: client: another possible null pointer dereference 2024-11-07 14:12:10 +03:00
Alibek Omarov
6a2a2c33ee engine: client: don't go out of bounds if studio model don't have any sequences
Fixes models/null.mdl in Master Sword Rebirth. It's technically a valid model, though
completely useless for renderer.
2024-11-07 07:13:20 +03:00
Alibek Omarov
0d2a8488ae engine: client: replace illegal for infostring characters in server info got from TSource Engine Query 2024-11-06 19:46:22 +03:00
Alibek Omarov
41b78c26ef engine: client: s_vox: fix incorrect check in VOX_FreeWord 2024-11-06 01:39:46 +03:00
Alibek Omarov
ca93c5b666 engine: client: touch: use FillRGBA to draw edit grid 2024-11-06 01:39:46 +03:00
Alibek Omarov
80f8b778a9 engine: client: cl_tent: more accurate R_FizzEffect 2024-11-06 01:39:46 +03:00
Alibek Omarov
8c5db5f980 engine: client: turn some asserts in texture remap code into proper nullptr checks 2024-11-06 01:39:46 +03:00
Alibek Omarov
3756361cfe engine: client: fix possible NULL dereference when setting up bbox for non-solid visent that somehow doesn't have a model 2024-11-06 01:39:46 +03:00
Alibek Omarov
5f3e167799 engine: client: prevent possible null dereference with malformed consistency info packet 2024-11-06 01:39:45 +03:00
Alibek Omarov
fa6f564c12 engine: client: allow extended amount of commands to be sent for newer GoldSrc server. Also refactoring 2024-11-06 01:39:45 +03:00
Alibek Omarov
ad457f717b engine: client: no sense to check for position history pointers for NULL in CL_FindInterpolationUpdates, as they never are 2024-11-06 01:39:45 +03:00
Alibek Omarov
f95ce7f52d engine: client: cl_font: fix possible NULL dereference 2024-11-06 01:39:45 +03:00
Alibek Omarov
ec73f23e4a engine: client: rewrite R_RocketTrail for accuracy and fix potential uninitialized vectors 2024-11-05 17:43:09 +03:00
Alibek Omarov
4cb11861e4 engine: client: reimplement Mod_LoadMapSprite on engine side 2024-11-03 02:58:31 +03:00
Alibek Omarov
addd50467e engine: remove FillRGBABlend from RefAPI. FillRGBA now accepts rendermode parameter 2024-11-03 02:24:36 +03:00
Alibek Omarov
f079e63737 engine: client: reimplement R_DrawTileClear on engine-side 2024-11-03 02:19:49 +03:00
Alibek Omarov
d807041aa5 engine: client: register sound cvars even if audio was disabled 2024-11-03 01:20:30 +03:00
Alibek Omarov
6153d7f168 engine: make CL_RunLightStyles accept lightstyles array pointer as an argument. Make necessary changes in renderers. 2024-11-03 01:20:30 +03:00
Alibek Omarov
e37feece4d engine: finally remove GetLightStyle, GetDynamicLight and GetEntityLight from RefAPI 2024-11-03 01:20:30 +03:00
Alibek Omarov
9ed55776a9 engine: add PARM_GET_*_PTR for lightstyles and dlights arrays 2024-11-03 01:20:30 +03:00
Alibek Omarov
b45bc9af67 engine: remove gamma functions from RefAPI 2024-11-03 01:20:30 +03:00
Alibek Omarov
2227e487c0 engine: client: explicitly set rendermode for R_ShowTree 2024-11-03 01:20:30 +03:00
Alibek Omarov
1f49ce599f engine: client: fix out of bound read in gamma table access functions 2024-11-03 01:20:30 +03:00
Alibek Omarov
8af995cc28 engine: introduce REF_GET_*_PTR for gamma tables 2024-11-03 01:20:30 +03:00
Alibek Omarov
9608da5bf9 engine: move debug hulls rendering from renderer, implement through TriAPI
Bump RefAPI version to 9.
2024-11-02 22:57:26 +03:00
Alibek Omarov
9e1908fc6f engine: client: rewrite stupid comma separated single-line operations into more sane code 2024-10-30 22:01:41 +03:00
Alibek Omarov
371639f0dc engine: introduce fps_override to unlock the 200 FPS limit in multiplayer games to 1000 2024-10-30 18:28:55 +03:00
Alibek Omarov
f88d424ecd engine: client: don't make useless comparison, cl_cmdrate is always clamped between 10 and 100. 2024-10-30 18:16:47 +03:00
Alibek Omarov
c2ca80c889 engine: client: don't immediately send client packet after receiveing server packet or full update
It doesn't seem to be useful for anything. Instead, it completely breaks cl_cmdrate behavior, constantly
spamming server with move commands
2024-10-30 18:11:48 +03:00
Alibek Omarov
7b02c37fa7 engine: add generated by version line to the config and help.txt files
Remove an attempt to copyright generated files came from the original Xash3D.
2024-10-29 16:13:31 +03:00
Alibek Omarov
2ea0b0d60c engine: client: fix fire field additive transparency from 80 to 180 (thanks @autisoid!) 2024-10-28 20:13:52 +03:00
Alibek Omarov
85b0273911 engine: client: check resource nIndex before writing it to the precache arrays 2024-10-28 12:22:10 +03:00
Alibek Omarov
4a58be2aa0 ref: gl: deregister timerefresh command in renderer, as it's renderer-specific 2024-10-28 01:59:39 +03:00
Alibek Omarov
562b54839c engine: client: console: fix printing multiline messages with CRLF, like HTTP headers 2024-10-28 01:58:47 +03:00
Alibek Omarov
2656eb1aeb engine: fix A2S_GOLDSRC_INFO, it must always include Source Engine Query and a null terminator 2024-10-26 20:24:31 +03:00
Alibek Omarov
fa1e92b127 engine: request file from server if HTTP locations failed 2024-10-26 20:24:31 +03:00
Alibek Omarov
cff8ee13e6 engine: rcon refactoring. Use sizebuf_t to concatenate commands. Only call redirect when we're executing command. 2024-10-26 19:37:30 +03:00
Alibek Omarov
9600218757 engine: client: send tempdecal.wad to GoldSrc servers 2024-10-26 19:16:59 +03:00
Alibek Omarov
2db7cb0d64 engine: client: when validating, we're supposed to send move and delta commands 2024-10-26 19:12:52 +03:00
Alibek Omarov
667bedab82 engine: client: allow reading upper directories for clc_fileconsistency. Initialize md5 digest, add note about servers relying on uninitialized md5 value in some cases. 2024-10-26 05:17:24 +03:00
Alibek Omarov
f7c4cd9398 engine: client: allow case-insensitive goldsrc proto argument in connect and queryserver commands 2024-10-26 05:15:46 +03:00
Alibek Omarov
0a24ca3fe2 engine: client: fix svc_updateuserinfo for inactive player on GoldSrc servers 2024-10-26 05:13:22 +03:00
Alibek Omarov
8c93a0d247 engine: client: allow playing back demos recorded on GoldSrc servers 2024-10-26 05:12:11 +03:00
Alibek Omarov
55bdded6a4 engine: add pfnIsCvarReadOnly to mainui API 2024-10-25 05:09:02 +03:00
Alibek Omarov
6ab2c9dbbf engine: client: fix out of bounds access with some ticket generators
* Update MultiEmulator submodule
2024-10-22 02:13:36 +03:00
Alibek Omarov
ae2ad6ddf2 3rdparty: add MultiEmulator by 2010kohtep
* patched to be portable, turned into a static library
* integrated to the engine
2024-10-21 06:19:11 +03:00
Alibek Omarov
ec11683dc5 engine: client: minor fix, reference cl_allowdownload cvar actual name 2024-10-21 04:49:25 +03:00