Alibek Omarov
34eb258cae
filesystem: dir: remove PATH_SEPARATOR, fix return value when directory is caseinsensitive
2 years ago
Alibek Omarov
b4c0ccbede
filesystem: fix _wstat usage under Windows, remove PATH_SEPARATOR usage, fix listdirectory
2 years ago
Alibek Omarov
51b5d7a41d
engine: host: ensure we always have right slashes under Windows
2 years ago
Alibek Omarov
15846a8ea8
filesystem: use POSIX funcs for Windows too, where possible, apply wide char conversion for Sys functions
2 years ago
Alibek Omarov
e694081626
filesystem: dir: guarantee file existense in FS_FixFileCase for caseinsensitive directories
2 years ago
Alibek Omarov
cb9605430d
filesystem: bump FS_API_VERSION (removed unused argument from SysFileExists)
2 years ago
Alibek Omarov
80507b2eca
engine: mod_bmodel: fix const qualifier discard warning
2 years ago
Alibek Omarov
ed47346ef1
engine: crashhandler: fix _GNU_SOURCE redefined warning
2 years ago
Alibek Omarov
75ccd2283b
public: fix Q_memmem counting haystack size incorrectly
2 years ago
Alibek Omarov
409edf5a70
filesystem: zip: use stdint types, use enum for errors
2 years ago
Alibek Omarov
d047dfc319
engine: add few lines in mod_bmodel back, got removed in previous commits accidentally
2 years ago
Alibek Omarov
13ed2742b2
engine: check for bsp30ext before trying to use extended clipnodes, fix 32-bit clipnodes check
2 years ago
Alibek Omarov
03a3fb83b6
filesystem: write extended fields to gameinfo.txt, as this function is used to write game info when using rodir
2 years ago
Alibek Omarov
df1c9a5029
engine: simplify blue shift swapped lump check, change TestBmodelLumps to avoid reading past mod buffer
2 years ago
Alibek Omarov
07e622f224
public: add generic implementation for Q_memmem
2 years ago
Alibek Omarov
aa3a0fa392
engine: server: increase infostring size in SV_Info allowing longer hostnames but try to cut off if it's even longer than that
2 years ago
Alibek Omarov
c1287b3950
engine: client: speed up reconnect for legacy servers
2 years ago
Alibek Omarov
e5763e2e9a
filesystem: dir: check dir casesensitivity after dir entries list was properly initialized
2 years ago
Alibek Omarov
42a3c7b059
filesystem: dir: fix dir entry cache init in case of directory was empty previously
2 years ago
Alibek Omarov
e621c98602
engine: network: do not crash if one of v4 or v6 socket opening failed but crash if both. Fix hostport/clientport cvars usage
2 years ago
Alibek Omarov
eb7eb4acbc
engine: client: cl_scrn: minor refactoring
2 years ago
Alibek Omarov
e5b32fe8ac
engine: client: force nearest filter for HUD textures and sprites to avoid artifacts with hud_scale
2 years ago
Alibek Omarov
52061621ac
engine: client: do not let client.dll overwrite usercmd that's was read from demo
2 years ago
Alibek Omarov
339711c3c7
filesystem: dir: check casefold directory flag
2 years ago
Alibek Omarov
256fe7ede9
scripts: make sure to test filesystem on CI
2 years ago
Alibek Omarov
2febe632c5
filesystem: add caseinsensitive emulation test
2 years ago
Alibek Omarov
c454e37064
filesystem: allow to init with NULL overrides
2 years ago
Alibek Omarov
fe1aba3561
filesystem: apply caseinsensitivity to file creation
...
Replace fs_writedir with fs_writepath, exposing current writeable searchpath.
Fix caseinsensitive FS_Search
Remove unused argument from listdirectory()
Minor optimizations and refactoring
2 years ago
Alibek Omarov
41aa867a21
engine: common: don't try to delete now non-existing config file after backing up
2 years ago
Alibek Omarov
b36ebc294f
filesystem: dir: exit from loop immediately if directory is caseinsensitive
2 years ago
Alibek Omarov
3d71e5d111
filesystem: dir: fix merging existing cache with new directory entries
2 years ago
Alibek Omarov
ac59f25375
DO NOT MERGE filesystem: add naive FixFileCase
2 years ago
Alibek Omarov
3393e2d95c
filesystem: implement directory entries caching, to avoid excessive directory listing syscalls to emulate case-insensitive filesystems
...
* simplify game directory initialization code
2 years ago
Alibek Omarov
e1ea3387ee
common: rename PATH_SPLITTER to PATH_SEPARATOR, change it's type to character
2 years ago
Alibek Omarov
071638794a
public: redefine Q_strpbrk to C standard version, add Q_strchrnul
2 years ago
Alibek Omarov
953dd3d1a7
wscript: tidy up checks, add check for GNU strchrnul
2 years ago
Andrey Akhmichin
12bb0ca44b
engine: server: Fix broken description for saves.
2 years ago
MoeMod Server #2
499cd48e83
filesystem: fix lseek for mpg123
2 years ago
Andrey Akhmichin
444e08f59a
engine: common: simplify strings operations.
2 years ago
Andrey Akhmichin
9450c08eec
engine: server: simplify strings operations.
2 years ago
Alibek Omarov
18e68f1ab3
filesystem: fix missing cast
2 years ago
Andrey Akhmichin
7555fefc18
ref: gl: simplify strings operations.
2 years ago
Andrey Akhmichin
f4fb8b4ac2
engine: client: simplify strings operation.
2 years ago
Andrey Akhmichin
0d5cd89144
engine: client: Fix access to uninitialized variable.
2 years ago
Andrey Akhmichin
e273e09fc9
engine: platform: win32: simplify strings operations.
2 years ago
Alibek Omarov
327017421c
engine: common: zone: redefine poolhandle_t back to pointer for 32-bit systems
2 years ago
Alibek Omarov
6e179346c9
common: redefine poolhandle_t back to pointer for 32-bit systems
2 years ago
Alibek Omarov
ee218f36e0
filesystem: pak: no need to free files ptr anymore
2 years ago
Alibek Omarov
f3400c983e
engine: network: fix address comparator
2 years ago
Alibek Omarov
9397301a73
filesystem: remove excessive filename field from archive structs, use common in searchpath_t. Small optimizations for PAK
2 years ago