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
Alibek Omarov
3d5aa7c20c
engine: remove mistakingly placed NORETURN attributes
2 years ago
Alibek Omarov
c025606739
engine: whereami: fix C89 in Android detection
2 years ago
Alibek Omarov
3c4eec62ae
engine: let engine find the filesystem library, if it wasn't loaded yet
2 years ago
Alibek Omarov
5e4fc64430
filesystem: introduce new module, based on engine filesystem.
...
The goal is to share filesystem code between engine and
utilities and provide C++ VFileSystem interface in the future
2 years ago
Alibek Omarov
12ea6dcfd7
public: move build.c from engine to public library, in preparation of filesystem_stdio merge
2 years ago
Alibek Omarov
a41f8cb01b
engine: move version strings to com_strings.h file, in preparation of filesystem_stdio branch merge
2 years ago
Alibek Omarov
5350d88f57
public: crtlib: add quotation mark support for ParseFile, required for filesystem_stdio
2 years ago
Valery Klachkov
3ad60a0fa1
engine: fix uninitialized variable in demo parsing code, fix incorrect size counter in memory allocator
2 years ago
a1batross
fc84cd2a0a
engine: common: always show message box when we're in normal mode
...
Only dedicated server is expected to throw errors to console
2 years ago