Alibek Omarov
72fe214f49
engine: server: pre-process string before passing it to PhysicAPI AllocString, for compatibility with existing Xash3D games
1 year ago
Alibek Omarov
08a2d431da
engine: client: cl_qparse: refactor quake baseline parser, so we don't call memset for nothing
1 year ago
Alibek Omarov
9968b192c3
engine: server: fix buffer overflow in invalid Q_strncpy call
1 year ago
Alibek Omarov
79f2c69963
engine: soundlib: missing newline in warning message about truncated WAV file
1 year ago
Alibek Omarov
2067667c9c
engine: fix inverted check in DLL unloading in settings.scr parsing
...
Fixes: aee99f6094
1 year ago
Alibek Omarov
e017b9145f
engine: common: cvar: fix buffer overflow in Cvar_ValidateString
1 year ago
Alibek Omarov
c1c27c5f18
engine: net_ws: fix printing multicast IPv6 address
1 year ago
Alibek Omarov
87a56a5fa1
engine: client: initialize netadr_t structure in LAN games scan
1 year ago
Alibek Omarov
aee99f6094
engine: don't release DLL that wasn't loaded during settings.scr parsing. This should be deleted as soon as possible!
1 year ago
Alibek Omarov
bf03f739bb
engine: soundlib: snd_wav: take FindNextChunk fixes from FTEQW
1 year ago
Alibek Omarov
e23580c1de
engine: remove czeror sequence parser
...
This file initially came from HLND, a Chinese GoldSrc recreation.
It turned out to be suspiciously close to the original version, down
to the comments and code style. We don't work with leaked sources here,
so remove it.
A proper parser should be reimplemented from ground-up, when we will
start working on CZDS support.
1 year ago
Alibek Omarov
a07f81820c
engine: client: ref_common: fix missing newline in Host_Error
1 year ago
Alibek Omarov
b39378a6da
engine: common: fix warning about read-only cvar. In fact, we should force set them.
1 year ago
Alibek Omarov
6461fa5042
engine: client: make ref params static so client.dll can save address of it and don't trigger ASan
1 year ago
Alibek Omarov
36ff819daf
engine: client: fix heap-buffer-overflow in remap when we switch model that have more remap textures than previous
1 year ago
Alibek Omarov
7e05562c14
engine: platform: sdl: check SDL version in Platform_Vibrate
1 year ago
Alibek Omarov
d5f4b409e8
engine: server: sv_save: use new quicksave_aged_count and autosave_aged_count gameinfo.txt keys
1 year ago
Alibek Omarov
a862446072
engine: client: restore cl_trace_events from old engine branch
1 year ago
Alibek Omarov
8d04ae8802
engine: client: fix appending extra .dem in record command
1 year ago
Alibek Omarov
0de0615eeb
engine: client: implement map CRC32 checking on client side
1 year ago
Alibek Omarov
ea24b5f3ca
engine: server: make CRC32_MapFile public
1 year ago
Alibek Omarov
eb7f19d3cf
engine: server: properly remove remaining server operator commands
1 year ago
Alibek Omarov
ca134a85ee
engine: client: make it more obvious that CL_InitEdicts depends on maxclients value
1 year ago
Alibek Omarov
00765f1ff2
engine: client: cl_parse_48: add a temporary hack to avoid the lag issues after changelevel on legacy servers
1 year ago
Alibek Omarov
013bfe5c34
engine: common: sys_con: always read from stdin when engine is in dedicated mode
1 year ago
Alibek Omarov
5f625bb6e1
wscript: remove option --enable-stdin-input, it's enabled by default in dedicated mode sys_con now
1 year ago
Alibek Omarov
547a862024
engine: client: split protocol 48 support to separate file
1 year ago
Alibek Omarov
6ea8d141d9
engine: common: net_encode: fix usage of new Delta_ClampIntegerField, minor fixes
1 year ago
Alibek Omarov
bdc2390d41
Revert "engine: common: net_encode: rewrite Delta_CompareField to be more efficient"
...
This reverts commit 82addf11bb
.
1 year ago
Alibek Omarov
acc113309c
Revert "engine: common: net_encode: fix Delta_CompareField to include integer clamping, in case if no updates happen in significant bits"
...
This reverts commit 6a7b330463
.
1 year ago
Alibek Omarov
5afda72290
engine: common: net_encode: simplify Delta_ClampIntegerField
1 year ago
Alibek Omarov
6a7b330463
engine: common: net_encode: fix Delta_CompareField to include integer clamping, in case if no updates happen in significant bits
1 year ago
Alibek Omarov
f5b9826fd9
engine: common: net_encode: directly access delta description struct than searching for it every time
1 year ago
Alibek Omarov
82addf11bb
engine: common: net_encode: rewrite Delta_CompareField to be more efficient
1 year ago
Alibek Omarov
40e248aa63
engine: common: remove unused tentlist_t definition
1 year ago
Alibek Omarov
7e06d049f5
engine: common: static-ize common.c functions, set GAME_EXPORT to API functions
1 year ago
Alibek Omarov
4bbd1e59a4
engine: server: static-ize world functions
1 year ago
Alibek Omarov
0809453b2c
engine: server: static-ize sv_query functions
1 year ago
Alibek Omarov
8350d81c18
engine: server: static-ize sv_pmove functions
1 year ago
Alibek Omarov
57499dea33
engine: server: static-ize sv_phys functions, set GAME_EXPORT attribute for PhysicAPI functions
1 year ago
Alibek Omarov
6b223f1325
engine: server: static-ize functions in sv_game. Set GAME_EXPORT attribute to server GameAPI functions
1 year ago
Alibek Omarov
03a85e0caa
engine: platform: psvita: add unused data to workaround bug in vita-elf-create (thanks @fgsfdsfgs )
1 year ago
Alibek Omarov
01ad3dda2a
engine: server: escape rcon arguments before passing it to command buffer, also use more efficient concatenation
1 year ago
Alibek Omarov
2a05624615
engine: server: keep silence in case of unset or invalid rcon password
1 year ago
Alibek Omarov
16c87ae2c9
engine: platform: reorganize UpdateStatusLine, make it shared but implemented only if platform has SetStatus. Implement SetStatus for systemd/Linux
1 year ago
Alibek Omarov
c16a10e6f3
engine: platform: refactor Platform_Init/Shutdown/GetNativeObject functions. They are now defined in the header, and call platform-specific functios that defined in platform code
1 year ago
Alibek Omarov
c7d748e8df
engine: server: add sv_log_outofband cvar that controls whether connectionless packets should be printed or not
1 year ago
Alibek Omarov
c966589a50
engine: server: static-ize few game API functions, set GAME_EXPORT attribute
1 year ago
Alibek Omarov
4c02c25506
engine: server: do not assert if SetFatPVS/PAS were called without active player
...
Fixes issues with POD-Bot based bots.
1 year ago
Alibek Omarov
a4997d0647
engine: server: port old engine's fullupdate ratelimit, but simplify it
1 year ago