X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FArguments.h;h=7c51b7fb612eaee9d0e44abbe2bbe819c05b191a;hb=6e88a625710c7936f87b38ecf6094472f3a49f4f;hp=c7e37eee1419209d95cb2db9453982376de71c09;hpb=7830acc2ab78d0c82a72948c4eb87eeb6463693c;p=l2e.git diff --git a/src/app/Arguments.h b/src/app/Arguments.h index c7e37ee..7c51b7f 100644 --- a/src/app/Arguments.h +++ b/src/app/Arguments.h @@ -18,9 +18,23 @@ public: Arguments(); ~Arguments() { } +public: + enum RunLevel { + DUMP, + PLAY, + WRITE, + + // temporary modes + BATTLE, + MAP, + SOURCE_WIKI, + }; + public: void Read(int argc, char **argv); + RunLevel GetRunLevel() const { return runlevel; } + const std::vector &Infiles() const { return infiles; } bool OutfileSet() const { return outfile; } @@ -29,6 +43,7 @@ public: private: std::vector infiles; const char *outfile; + RunLevel runlevel; };