A useful utility function...
Adam D. Moss
adam at gimp.org
Sun Oct 5 11:38:22 EDT 2003
This function can be used from an application in a similar
manner to PHYSFS_addToSearchPath(), with some useful differences:
* The string it takes is in system-independant (more specifically,
unix-like) format, including suitable munging for '..' and
* The paths it adds are relative to the program's *base*
directory (as returned by PHYSFS_getBaseDir()) rather than the
user/process's current working directory. (If you supply a path
preceded by a '/' then the path is relative to the cwd as usual
for physfs, but is still system-independant.)
This was useful for me. Hope it's useful to someone else.
Adam D. Moss . ,,^^ adam at gimp.org http://www.foxbox.org/ co:3
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the physfs