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
2020-06-21 15:56:31 -07:00
committed by Ethan Lee
parent d45ff4c269
commit 93b13cadac
3 changed files with 20 additions and 1 deletions

View File

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