Add -playassets command-line option

This is used if you're loading a level file from STDIN. The game needs
to know the actual level assets directory you're referring to, since
when it gets the level from STDIN, it doesn't know the actual filename
of the level.

Fixes #309.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-06-21 20:25:22 -04:00
1 parent d45ff4c269
commit 93b13cadac
3 files changed
+20 -1

No files matched your search

+1
View File
@@ -382,6 +382,7 @@ public:
int playrx;
int playry;
int playgc;
std::string playassets;
void quittomenu();
void returntolab();