]> git.xonotic.org Git - xonotic/darkplaces.git/commit
progs: Implement new extension DP_QC_FS_SEARCH_PACKFILE
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jul 2020 14:59:11 +0000 (14:59 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jul 2020 14:59:11 +0000 (14:59 +0000)
commit73bbf90a419c7b19c0b6f1cb11f05813a1658199
tree81adcae6be227f76b14d9a68816b1a1244b244ea
parent54dbe30a28e38d1e300b82cbbb3891e8e3984786
progs: Implement new extension DP_QC_FS_SEARCH_PACKFILE

Adds an optional parameter to the search_begin builtin function that
allows specifying a package file to look in, skipping any results that
aren't inside the package. Useful for mods aiming to provide
compatibility with Quake 3's .arena files, as they don't match the .bsp
filename.

Patch from Mario: https://gitlab.com/xonotic/darkplaces/-/merge_requests/100

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12826 d7cf8633-e32d-0410-b094-e92efae38249
cmd.c
console.c
dpdefs/csprogsdefs.qc
dpdefs/dpextensions.qc
dpdefs/menudefs.qc
fs.c
fs.h
image.c
model_shared.c
prvm_cmds.c
svvm_cmds.c