diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-10-23 22:28:14 -0700 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-10-23 22:28:14 -0700 |
commit | 9c08ad575dfa4fbfcbdff5280a582a7846094f60 (patch) | |
tree | 576b45acc07815c4413b8f4c920db7ce47ee5df6 /crawl-ref/source/initfile.h | |
parent | 068459aa20c4a7c7abb759ca42a1caabf3e58750 (diff) | |
download | crawl-ref-9c08ad575dfa4fbfcbdff5280a582a7846094f60.tar.gz crawl-ref-9c08ad575dfa4fbfcbdff5280a582a7846094f60.zip |
Specify arbitrary options on the command line
This introduces two new command line options, -extra-opt-first and
-extra-opt-last, which make crawl think that the specified options were
(respectively) at the start and end of the options file. For example:
crawl -extra-opt-last wiz_mode=yes
The two options can be used multiple times to specify multiple options.
Diffstat (limited to 'crawl-ref/source/initfile.h')
-rw-r--r-- | crawl-ref/source/initfile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/initfile.h b/crawl-ref/source/initfile.h index acc5b27111..84e29ffe5c 100644 --- a/crawl-ref/source/initfile.h +++ b/crawl-ref/source/initfile.h @@ -74,6 +74,9 @@ public: std::string arena_teams; + std::vector<std::string> extra_opts_first; + std::vector<std::string> extra_opts_last; + public: void add_rcdir(const std::string &dir); }; |