Implements the PhysicsFS library into Brux. It provides a "search path", which exposes only selected directories to be allowed to be modified by the application. With the help of PhysicsFS, a few new functions have been added, as well as a way to have the game files stored at the appropriate for the system application data folder.
By default, Brux uses the brux (or brux/brux) folder, relative to the application data folder of the system, for writing. Games can change this directory by using setWriteDir(). The intended way of setting it is setWriteDir(getPrefDir({org}, {app})), which will make the game use an org/app directory, relative to the application data folder of the system, for writing.
Implements the PhysicsFS library into Brux. It provides a "search path", which exposes only selected directories to be allowed to be modified by the application. With the help of PhysicsFS, a few new functions have been added, as well as a way to have the game files stored at the appropriate for the system application data folder.
By default, Brux uses the
brux
(orbrux/brux
) folder, relative to the application data folder of the system, for writing. Games can change this directory by usingsetWriteDir()
. The intended way of setting it issetWriteDir(getPrefDir({org}, {app}))
, which will make the game use anorg/app
directory, relative to the application data folder of the system, for writing.TODO:
Document new/modified functions.[DONE]Closes #46.