summaryrefslogtreecommitdiff
path: root/src/program_args.hpp
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@debian.org>2020-05-27 16:44:24 -0700
committerManoj Srivastava <srivasta@debian.org>2020-05-27 16:45:26 -0700
commit2c93afb0089a37de798da8d23824a84846ab7d7c (patch)
treea53be684627948ed96d64e2be7aac1bea83507b8 /src/program_args.hpp
parentd6b913d3ca2e84b75f3675fd6e9f5246c100cf27 (diff)
parente9d08c617ee73f0636e1f1a1d40582f193c37e81 (diff)
Merge branch 'upstream'
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;
+
+};