Add -assets option to specify data.zip (#139)

This is useful for distributions, which may not want to put data.zip in
the same directory as the binary. This can't be distribution-specific
due to the license ("Altered source/binary versions must be plainly
marked as such, and must not be misrepresented as being the original
software.").
This commit is contained in:
leo60228
2020-02-02 18:28:26 -05:00
committed by GitHub
parent 8260bb2696
commit 45491a03f3
3 changed files with 22 additions and 10 deletions

View File

@@ -6,7 +6,7 @@
#include "tinyxml.h"
int FILESYSTEM_init(char *argvZero);
int FILESYSTEM_init(char *argvZero, char* assetsPath);
void FILESYSTEM_deinit();
char *FILESYSTEM_getUserSaveDirectory();