From 9c08ad575dfa4fbfcbdff5280a582a7846094f60 Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Fri, 23 Oct 2009 22:28:14 -0700 Subject: 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. --- crawl-ref/source/initfile.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref/source/initfile.h') 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 extra_opts_first; + std::vector extra_opts_last; + public: void add_rcdir(const std::string &dir); }; -- cgit v1.2.3-54-g00ecf