diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-20 22:21:29 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-20 22:21:29 +0100 |
commit | bf288cdaff4633e2898b707b70a8c8b353af174b (patch) | |
tree | 9fa4f4e1f60e7ce270e099d15f5aa3b091972f8c /crawl-ref/source/state.h | |
parent | 1a1d9ecee355cbea8bfc8d463faaae1d4d3fd2c2 (diff) | |
download | crawl-ref-bf288cdaff4633e2898b707b70a8c8b353af174b.tar.gz crawl-ref-bf288cdaff4633e2898b707b70a8c8b353af174b.zip |
Remove unused crawl_exit_hook.
Diffstat (limited to 'crawl-ref/source/state.h')
-rw-r--r-- | crawl-ref/source/state.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/crawl-ref/source/state.h b/crawl-ref/source/state.h index 93ae40675d..c7d9529f8d 100644 --- a/crawl-ref/source/state.h +++ b/crawl-ref/source/state.h @@ -13,14 +13,6 @@ class monsters; class mon_acting; -class crawl_exit_hook -{ -public: - crawl_exit_hook(); - virtual ~crawl_exit_hook(); - virtual void restore_state() = 0; -}; - struct god_act_state { public: @@ -85,9 +77,6 @@ struct game_state std::vector<std::string> input_line_strs; unsigned int input_line_curr; - // Hooks to call if get shut down unexpectedly. - std::vector<crawl_exit_hook*> exit_hooks; - bool level_annotation_shown; // Range beyond which view should be darkend, -1 == disabled. |