Alibek Omarov
34eb258cae
filesystem: dir: remove PATH_SEPARATOR, fix return value when directory is caseinsensitive
2 years ago
Alibek Omarov
e694081626
filesystem: dir: guarantee file existense in FS_FixFileCase for caseinsensitive directories
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
339711c3c7
filesystem: dir: check casefold directory flag
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
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
f1ec612819
filesystem: hungry
2 years ago
Alibek Omarov
48c17d08d9
filesystem: dir: move searchpath initialization to dir.c, make all DIR functions static
2 years ago
Velaron
43c6175918
filesystem: dir.c: safer string operations
2 years ago
Velaron
89807250e5
filesystem: dir.c: optimize string operations
2 years ago
Velaron
24f7db19d8
filesystem: switch file operations to an interface
2 years ago