diff options
author | Manoj Srivastava <srivasta@debian.org> | 2020-05-27 16:44:24 -0700 |
---|---|---|
committer | Manoj Srivastava <srivasta@debian.org> | 2020-05-27 16:45:26 -0700 |
commit | 2c93afb0089a37de798da8d23824a84846ab7d7c (patch) | |
tree | a53be684627948ed96d64e2be7aac1bea83507b8 /src/program_args.hpp | |
parent | d6b913d3ca2e84b75f3675fd6e9f5246c100cf27 (diff) | |
parent | e9d08c617ee73f0636e1f1a1d40582f193c37e81 (diff) |
Merge branch 'upstream'
Diffstat (limited to 'src/program_args.hpp')
-rw-r--r-- | src/program_args.hpp | 32 |
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; + +}; |