ec107dfba5
filesystem: load on-disk archives like PAK and PK3 through VFS (disk-only for now)
...
* Track from which archive the file has been opened and provide needed functions for it
2024-06-27 07:31:11 +03:00
d56e53a347
Replace hardcoded functions names by __func__ macro
...
* while we're here, fix some possible bugs
* and fix -Wformat=2
s/__FUNCTION__/__func__/g
awawawa
2024-06-19 06:53:42 +03:00
3f724b6b17
filesystem: remove some really unused variables
2023-12-04 03:00:29 +03:00
a6ecc778fc
filesystem: dir: fix FS_FixFileCase when empty string is passed. Always append slash to searchpath.
2023-06-08 22:58:24 +03:00
0d6137ee40
filesystem: make generic archive loading functions (with the exception of WADs). Do not alter global searchpath from archives.
2023-06-08 22:14:30 +03:00
de88aec958
filesystem: restore DarkPlaces contributors copyrights lost in filesystem_stdio
...
* Add Xash3D FWGS contributors copyrights
2023-04-15 02:39:38 +03:00
fgsfds
577add56f1
filesystem: fs is non case sensitive on nswitch and psvita
2023-03-11 07:09:18 +03:00
fgsfds
7424b29e56
engine: initial psvita build support
2023-03-11 07:09:14 +03:00
34eb258cae
filesystem: dir: remove PATH_SEPARATOR, fix return value when directory is caseinsensitive
2023-01-04 22:34:45 +03:00
e694081626
filesystem: dir: guarantee file existense in FS_FixFileCase for caseinsensitive directories
2023-01-04 18:09:00 +03:00
e5763e2e9a
filesystem: dir: check dir casesensitivity after dir entries list was properly initialized
2023-01-03 01:15:28 +03:00
42a3c7b059
filesystem: dir: fix dir entry cache init in case of directory was empty previously
2023-01-03 00:24:57 +03:00
339711c3c7
filesystem: dir: check casefold directory flag
2022-12-27 02:31:46 +03:00
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
2022-12-27 02:31:46 +03:00
b36ebc294f
filesystem: dir: exit from loop immediately if directory is caseinsensitive
2022-12-27 02:31:46 +03:00
3d71e5d111
filesystem: dir: fix merging existing cache with new directory entries
2022-12-27 02:31:46 +03:00
ac59f25375
DO NOT MERGE filesystem: add naive FixFileCase
2022-12-27 02:31:46 +03:00
3393e2d95c
filesystem: implement directory entries caching, to avoid excessive directory listing syscalls to emulate case-insensitive filesystems
...
* simplify game directory initialization code
2022-12-27 02:31:46 +03:00
f1ec612819
filesystem: hungry
2022-12-15 01:06:20 +03:00
48c17d08d9
filesystem: dir: move searchpath initialization to dir.c, make all DIR functions static
2022-12-15 00:52:09 +03:00
43c6175918
filesystem: dir.c: safer string operations
2022-11-24 03:19:21 +03:00
89807250e5
filesystem: dir.c: optimize string operations
2022-11-24 03:19:10 +03:00
24f7db19d8
filesystem: switch file operations to an interface
2022-11-24 03:19:05 +03:00