summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.h
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-06-20 20:38:11 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-06-20 20:38:11 +0530
commit37516bb29136ecc02e5700e3f7402a72d5ddacbe (patch)
tree25fffc597d15d662eb1d492a07b4111e4e2a3f15 /crawl-ref/source/state.h
parent7cec2d55cd5b8006c47559e2cb53c4b80e6f2196 (diff)
downloadcrawl-ref-37516bb29136ecc02e5700e3f7402a72d5ddacbe.tar.gz
crawl-ref-37516bb29136ecc02e5700e3f7402a72d5ddacbe.zip
Include Crawl command-line arguments in crash dump.
Diffstat (limited to 'crawl-ref/source/state.h')
-rw-r--r--crawl-ref/source/state.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/state.h b/crawl-ref/source/state.h
index 6c191965cf..ca0a891d1b 100644
--- a/crawl-ref/source/state.h
+++ b/crawl-ref/source/state.h
@@ -28,6 +28,8 @@ public:
// Track various aspects of Crawl game state.
struct game_state
{
+ std::vector<std::string> command_line_arguments;
+
bool game_crashed; // The game crashed and is now in the process of
// dumping crash info.
bool mouse_enabled; // True if mouse input is currently relevant.