Alibek Omarov
|
e039ef35c0
|
filesystem: don't check for SDL whether we can load Android assets, because filesystem doesn't know anything about SDL
Replace it with runtime check instead.
|
9 months ago |
Alibek Omarov
|
39cba17f01
|
filesystem: android: try to fix compiling-in AAsset mounting code
|
9 months ago |
mittorn
|
d97d4d6c42
|
filesystem: add XASH_ANDROID_ASSETS macro for aassets switch
|
9 months ago |
Alibek Omarov
|
827c9ca857
|
filesystem: restore original Xash behavior with unreferenced keys in gameinfo.txt/liblist.gam
|
9 months ago |
Alibek Omarov
|
636a2228f6
|
filesystem: add new API function LoadFileMalloc that returns a pointer that can be freed using standard free()
|
10 months ago |
Alibek Omarov
|
bb03e2597c
|
filesystem: allow to pass custom allocation functions to LoadFile
|
10 months ago |
Alibek Omarov
|
bfcaba54dc
|
wscript: move werror flags into uselib
|
10 months ago |
Alibek Omarov
|
b077822f4d
|
filesystem: fix -Wmissing-prototypes
|
10 months ago |
Alibek Omarov
|
315aea1991
|
filesystem: support mods liblist.gam/gameinfo.txt with relative paths to game libs
|
11 months ago |
Alibek Omarov
|
c926fee13c
|
filesystem: report an error when opening file was unsuccessful, with the exception for non-existent files
|
12 months ago |
Alibek Omarov
|
683c4874f8
|
common: add ALLOC_CHECK macro that enables attribute alloc_size on GCC that allows to prevent suspicious allocation sizes
|
12 months ago |
Alibek Omarov
|
3bf55c9ea4
|
filesystem: zip: hide CRC checks under common macro
|
12 months ago |
Alibek Omarov
|
9994c57796
|
filesystem: fix updating gameinfo.txt from rodir
|
12 months ago |
Alibek Omarov
|
3f724b6b17
|
filesystem: remove some really unused variables
|
12 months ago |
Alibek Omarov
|
fb0102eb8e
|
filesystem: add support for two new liblist.gam keys: animated_title and hd_background
|
1 year ago |
Alibek Omarov
|
9c1afaa372
|
filesystem: fix noskills being written as nomodels in gameinfo.txt
|
1 year ago |
Alibek Omarov
|
1d1a6badb5
|
filesystem: VFileSystem009: HL25 compatibility (one single new method)
|
1 year ago |
Alibek Omarov
|
722cbe1f02
|
filesystem: forgot to add defaults.h include
|
1 year ago |
Alibek Omarov
|
dd11f73951
|
filesystem: respect DEFAULT_MAX_EDICTS value
|
1 year ago |
Alibek Omarov
|
d67a4234cc
|
filesystem: android: simplify code, get getAssets method only once, remove unneeded casts and memsets (where Mem_Calloc is used)
|
1 year ago |
Alibek Omarov
|
0d37244490
|
filesystem: add missing const to 2nd argument of stringlistappend
|
1 year ago |
Velaron
|
6426919cb5
|
filesystem: add Android assets support
|
1 year ago |
Alibek Omarov
|
0a0d63663a
|
filesystem: link with libandroid
|
1 year ago |
Alibek Omarov
|
597429cf41
|
engine, filesystem: unify GetNativeObject between all the APIs. Allow getting filesystem APIs through GetNativeObject
|
1 year ago |
Alibek Omarov
|
5aac5d2a52
|
filesystem: VFileSystem009: add pathid support to RemoveFile method
|
1 year ago |
Alibek Omarov
|
83a5648335
|
filesystem: only allow setting true or false for boolean type keys in gameinfo/liblist.gam
|
1 year ago |
Alibek Omarov
|
2823a6d269
|
filesystem: VFileSystem009: just in case, always rewrite fs_api_t requested through CreateInterface export
|
1 year ago |
Alibek Omarov
|
8bdb49516d
|
filesystem: fix stringop-overflow
|
1 year ago |
Alibek Omarov
|
1bfc6e6705
|
filesystem: try to fix case of library filename in FindLibrary
|
1 year ago |
Alibek Omarov
|
e7c41759fb
|
Revert "filesystem: allow to reference game libraries in different case"
This reverts commit 43fde38d88 .
|
1 year ago |
Alibek Omarov
|
43fde38d88
|
filesystem: allow to reference game libraries in different case
|
1 year ago |
Alibek Omarov
|
788bc820c8
|
filesystem: automatically fixup directory name case for base directories
|
1 year ago |
Alibek Omarov
|
cd46ad19a3
|
filesystem: expose a special flag for archive mounter to skip included WADs
|
1 year ago |
Alibek Omarov
|
6f7b1695d7
|
filesystem: expose archive mount generic function for Xar
|
1 year ago |
Alibek Omarov
|
031594cc99
|
filesystem: update max_particles limits based on Unkle Mike's latest engine version
|
1 year ago |
Alibek Omarov
|
d4bf57c7c2
|
filesystem: delete unused edicts key handler in liblist.gam parsing
|
1 year ago |
Alibek Omarov
|
8e16c0e410
|
filesystem: simplify common parsing of type key for liblist.gam and gameinfo.txt
|
1 year ago |
Alibek Omarov
|
88c560aac4
|
filesystem: add two new gameinfo.txt keys quicksave_aged_count and autosave_aged_count that control the amount of quick/autosaves rotated
|
1 year ago |
Alibek Omarov
|
c3a6cad0c1
|
filesystem: do not print error in FS_Delete if file doesn't exist
|
1 year ago |
Alibek Omarov
|
5a4c443c79
|
filesystem: fix regression in FS_LoadFile not skipping leading slashes
Earlier it used FS_Open which handles this, but because we don't call
that anymore, just skip it ourselves for compatibility.
|
1 year ago |
Alibek Omarov
|
58df771c9e
|
filesystem: implement .pk3dir convention
|
1 year ago |
Alibek Omarov
|
a6ecc778fc
|
filesystem: dir: fix FS_FixFileCase when empty string is passed. Always append slash to searchpath.
|
1 year ago |
Alibek Omarov
|
37e890f326
|
filesystem: make fs_searchpaths completely private to the filesystem core
|
1 year ago |
Alibek Omarov
|
0d6137ee40
|
filesystem: make generic archive loading functions (with the exception of WADs). Do not alter global searchpath from archives.
|
1 year ago |
Alibek Omarov
|
653eb00cc6
|
filesystem: unify prototypes of archive opening functions
|
1 year ago |
Alibek Omarov
|
1855fab80b
|
filesystem: fix Platform_GetNativeObject macro definition
|
1 year ago |
Alibek Omarov
|
02ce80981c
|
filesystem: update optional funcs interface, add platform-specific GetNativeObject call
|
1 year ago |
Alibek Omarov
|
8caa2d142f
|
scripts: sailfish: initial SailfishOS support
|
2 years ago |
Alibek Omarov
|
81c752da2b
|
filesystem: wad: static-ize WAD functions
|
2 years ago |
Alibek Omarov
|
fd2ad447a8
|
filesystem: zip: static-ize ZIP functions
|
2 years ago |