Alibek Omarov
cfebb3e1d6
filesystem: massively rework how scanning game directories work
...
* No more conversion from liblist.gam to gameinfo.txt. We are using liblist.gam directly now.
gameinfo.txt being native format to Xash3D not only remains, it takes priority over liblist.gam.
* Quake game directories now don't receive autogenerated gameinfo.txt.
* Empty directories don't get gameinfo.txt either, finally making it easier to support HD addon folders.
* If user still wishes to generate gameinfo.txt, there is now command fs_make_gameinfo that creates
gameinfo.txt for currently running game.
* No more creating empty folders for RoDir. They are now created on demand.
2025-01-08 01:22:23 +03:00
Alibek Omarov
9ee1b32e2d
engine: set malloc like and warn_unused_result attributes on common allocation functions, fs, image and soundlib
2024-09-30 04:00:28 +03:00
Alibek Omarov
6d98d2c7c3
engine: check XASH3D_GAME if -game argument wasn't found, do not override default base directory
...
Clarify that `--gamedir` configure option and `XASH_GAMEDIR` macro specify base directory
2024-07-21 01:04:50 +03:00
Alibek Omarov
17950fec3e
filesystem: make engfuncs const
2024-07-16 15:23:03 +03:00
Alibek Omarov
6ff3231dab
engine: change current working directory before initializing filesystem_stdio
2024-07-09 08:45:27 +03:00
Alibek Omarov
2c7bf49fc9
engine: host: avoid some of unnecessary double-to-float conversions
2024-06-12 10:20:09 +03:00
Alibek Omarov
739592e50d
engine: host: refactoring, reduce usage of global variables a bit
2024-06-12 10:20:09 +03:00
Alibek Omarov
393e31e509
engine: move finding root/readonly directory to FS initialization, remove unused host.rodir, host.rootidr
2024-06-12 10:20:09 +03:00
Alibek Omarov
60c6767337
filesystem: copy absolute path to library in FS_FindLibrary for compatibility
...
Extend fullPath for longer absolute paths.
2024-04-22 04:02:46 +03:00
Alibek Omarov
597429cf41
engine, filesystem: unify GetNativeObject between all the APIs. Allow getting filesystem APIs through GetNativeObject
2023-10-31 21:25:11 +03:00
Alibek Omarov
02ce80981c
filesystem: update optional funcs interface, add platform-specific GetNativeObject call
2023-06-05 20:30:18 +03:00
Alibek Omarov
5162ab62fd
engine: filesystem: do not crash if engine was shutdown before filesystem was loaded
2023-04-30 10:14:02 +03:00
Alibek Omarov
07fd4f37ef
engine: remove unused -caseinsensitive command line argument
2023-04-30 10:14:02 +03:00
Alibek Omarov
de88aec958
filesystem: restore DarkPlaces contributors copyrights lost in filesystem_stdio
...
* Add Xash3D FWGS contributors copyrights
2023-04-15 02:39:38 +03:00
Alibek Omarov
d6dfeaeba7
engine: fix searching filesystem_stdio on mobile platforms
2022-08-06 20:16:56 +03:00
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
2022-07-28 18:56:02 +03:00