Alibek Omarov
5c2c02c317
engine: common: custom: use IL_LOAD_PLAYER_DECAL flag when loading custom player decals
2 years ago
Alibek Omarov
21c898d796
engine: imagelib: validate player decal image size (max 512x512)
2 years ago
Alibek Omarov
e48b708fa6
engine: imagelib: img_png: validate image size through common engine function
2 years ago
Alibek Omarov
ccf7619ae5
engine: imagelib: refactor image loading function
2 years ago
Alibek Omarov
7d0d6b8e0d
engine: common: host: implement adaptive sleeptime, log time to first time for debug purposes
2 years ago
SNMetamorph
58465c3727
engine: common: fixed dedicated server bug
...
The problem is server wasn't executing server.cfg if map specified in startup parameters
2 years ago
Andrey Akhmichin
177ed2c603
engine: common: simplify strings operations.
2 years ago
Andrey Akhmichin
7bb994f7bc
engine: common: imagelib: img_png.c: fix wrong palette decoding.
2 years ago
Alibek Omarov
51161004eb
engine: common: simplify string operations
2 years ago
Alibek Omarov
270e2a76a8
engine: soundlib: simplify string operation
2 years ago
Alibek Omarov
c61442e960
engine: imagelib: simplify string operation
2 years ago
Alibek Omarov
ebf3877cda
engine: common: throw an error message into log in normal mode too!
2 years ago
Alibek Omarov
e97310c441
engine: common: net_ws: fix uninitialized family in IPSocket
2 years ago
Alibek Omarov
f30f23ba51
engine: common: validate and load PNG images in customization
2 years ago
Alibek Omarov
9cbf5ab6a6
engine: client: streamline constructing master server scan request through common function
2 years ago
Alibek Omarov
aa6a1db0a9
engine: remove duplicate svc_strings definition
2 years ago
Alibek Omarov
8b6f12418e
engine: common: make few network cvars privileged
2 years ago
Alibek Omarov
93b2f535e2
engine: client: tune max commands/max backup commands values for legacy protocol
2 years ago
SNMetamorph
084fac3606
engine: common: hpak: fixed rest of bugs in HPAK_AddLump
2 years ago
Alibek Omarov
f377461fdf
engine: common: made a filter for a filter (lol), so it's possible to play selected games with cl_filterstuffcmd enabled
2 years ago
SNMetamorph
65671d8788
engine: common: minor code fixes in hpak.c
2 years ago
SNMetamorph
49fc6143ab
engine: common: imagelib: fixed loading 32 bits per pixel BMP files
2 years ago
SNMetamorph
8717843333
engine: common: imagelib: fixed BMP files estimate size calculation with NPOT textures
2 years ago
SNMetamorph
f6d8996968
engine: common: imagelib: added missed BMP compression type macros
2 years ago
Alibek Omarov
9389305072
engine: common: set cl_filterstuffcmd to 1 by default
2 years ago
SNMetamorph
49d93c0e76
engine: common: custom: increased custom decal size limit to 128Kb, added wrong size warning
2 years ago
SNMetamorph
707c93c32c
engine: common: hpak: all file operations made to use gamedir only
2 years ago
Alibek Omarov
17d0b19f9e
engine: use generic S_USAGE macro everywhere
2 years ago
Alibek Omarov
d13f7f06e4
engine: fix framerate being capped to 60FPS with vsync, remove vid_displayfrequency cvar. Never sleep with vsync or timedemo, for accuracy
2 years ago
Alibek Omarov
f469b56b93
engine: host: only sleep once between frames
2 years ago
Alibek Omarov
0a49e69818
engine: introduce Sys_DebugBreak function to raise an exception for debugger
2 years ago
SNMetamorph
d1309c3aeb
engine: common: backported "set" command from old engine
2 years ago
Andrey Akhmichin
d237114962
engine: common: imagelib: img_png.c: unroll loops.
2 years ago
SNMetamorph
ee8098839e
engine: common: pm_trace: fixed non portable code in PM_ConvertTrace
2 years ago
Alibek Omarov
1a09d297ee
engine: minimize SetCursorType calls count
2 years ago
Alibek Omarov
360dc4f7ed
engine: try to make hashpaks more compatible between 32-bit and 64-bit platforms
2 years ago
Alibek Omarov
0645402946
engine: fix crash when reading GoldSrc hashpaks
2 years ago
Alibek Omarov
f571a41cf3
wscript: allow to setup engine default gamedir during configure
2 years ago
Andrey Akhmichin
fd152e82e8
engine: common: imagelib: img_png.c: add support for indexed and grayscale PNG images.
2 years ago
Alibek Omarov
f633b3dbf6
engine: increase MAX_INIT_MSG to 192 kilobytes limit
...
* also avoid magic number in sv_client.c
2 years ago
Alibek Omarov
ca2a6635b6
engine: common: fix cmdlist and cvarlist to match the beginning of command or cvar
2 years ago
Alibek Omarov
ac05acf6dc
engine: network: I'm fucking blind
2 years ago
Alibek Omarov
3e1db432df
engine: network: fix IPv4 private address checks according to RFC1918
...
Thanks to @Mr0maks for the fix
2 years ago
Alibek Omarov
f435a81c97
engine: soundlib: rewrite sfx resampler, fix possible crash if sfx is too long
...
- make same rate and same width resamples noop, as everything signed now
- minimize comparisons in loop body
2 years ago
Владислав Сухов
d3437c70bd
engine: soundlib: fix wrong sample rate unit
2 years ago
Alibek Omarov
01a3321d63
engine: client: only accept server list from master servers (thanks @tyabus for idea)
2 years ago
Alibek Omarov
5a5e72c424
engine: print current bug-compatibility level, if enabled
2 years ago
Alibek Omarov
6e864e4f8f
engine: introduce bug compatibility levels
...
* for now we only have GoldSrc bug compatibility, can be used for
games that require precise GoldSrc behaviour, like CSCZDS
* enabled with -bugcomp command line
* added text in --help
2 years ago
Alibek Omarov
314672d82c
engine: client: fix invalid playerinfo being accessed by renderer
2 years ago
Alibek Omarov
d6dfeaeba7
engine: fix searching filesystem_stdio on mobile platforms
2 years ago