]> git.xonotic.org Git - xonotic/darkplaces.git/commit
File system: Android assets support.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 20 Jul 2016 13:13:00 +0000 (13:13 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 20 Jul 2016 13:13:00 +0000 (13:13 +0000)
commit1339d6a876c75a1224d93cdb75e12e5d6486a3d0
treedace0e0e6006659bc5a83a97a2582a6d8e000d13
parente601e45910e566f4df422e04a88690df04dcc5eb
File system: Android assets support.

For this, we must use SDL_RWops for accessing packs (and files), so
let's emulate file descriptors using them.

The main catch is that SDL_RWops have no dup() equivalent, so we're
emulating that as well. Not particularly fast, but well...

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12264 d7cf8633-e32d-0410-b094-e92efae38249
filematch.c
fs.c
fs.h
makefile.inc