summaryrefslogtreecommitdiff
path: root/src/program_args.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/program_args.hpp')
-rw-r--r--src/program_args.hpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/program_args.hpp b/src/program_args.hpp
new file mode 100644
index 00000000..00dbc793
--- /dev/null
+++ b/src/program_args.hpp
@@ -0,0 +1,32 @@
+#pragma once
+
+#include <optional>
+#include <string>
+
+/**
+ * Program command line arguments.
+ */
+struct program_args {
+
+ /**
+ * Wizard mode?
+ */
+ bool wizard = false;
+
+ /**
+ * Force key set?
+ */
+ std::optional<char> force_key_set;
+
+ /**
+ * Character name.
+ */
+ std::string player_name;
+
+ /**
+ * Select the given module instead of prompting
+ * the user.
+ */
+ const char *module = nullptr;
+
+};