]> git.localhorst.tv Git - l2e.git/blobdiff - src/app/Arguments.h
added textual type/field descriptions and wiki mode
[l2e.git] / src / app / Arguments.h
index 1a81649a12dd01277d34ce3a98e67148e69f0671..7c51b7fb612eaee9d0e44abbe2bbe819c05b191a 100644 (file)
@@ -23,12 +23,17 @@ public:
                DUMP,
                PLAY,
                WRITE,
+
+               // temporary modes
+               BATTLE,
+               MAP,
+               SOURCE_WIKI,
        };
 
 public:
        void Read(int argc, char **argv);
 
-       RunLevel DetectRunLevel() const;
+       RunLevel GetRunLevel() const { return runlevel; }
 
        const std::vector<char *> &Infiles() const { return infiles; }
 
@@ -38,7 +43,7 @@ public:
 private:
        std::vector<char *> infiles;
        const char *outfile;
-       bool dump;
+       RunLevel runlevel;
 
 };