summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-04-27 16:03:20 +0200
committerRobert Vollmert <rvollmert@gmx.net>2010-04-27 17:11:06 +0200
commit931c3e11d20fbe70dbb13ff63f97067d74cb9f48 (patch)
tree96543de54aa3c6ba29d31ef0b817aff363f2cb77 /crawl-ref/source/newgame.h
parentae5148397e2bb728e32221cf7e359f9d20688ace (diff)
downloadcrawl-ref-931c3e11d20fbe70dbb13ff63f97067d74cb9f48.tar.gz
crawl-ref-931c3e11d20fbe70dbb13ff63f97067d74cb9f48.zip
Unify startup menu with rest of character choice.
Game type is now also stored in newgame_def, and crawl remembers the last choice. We could now easily add a Tab key to the startup menu that functions like the species choice Tab but that includes filling out the same name.
Diffstat (limited to 'crawl-ref/source/newgame.h')
-rw-r--r--crawl-ref/source/newgame.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/newgame.h b/crawl-ref/source/newgame.h
index 735c281915..179d54236a 100644
--- a/crawl-ref/source/newgame.h
+++ b/crawl-ref/source/newgame.h
@@ -12,8 +12,8 @@
undead_state_type get_undead_state(const species_type sp);
-
-bool choose_game(newgame_def *ng);
+bool choose_game(newgame_def *ng, newgame_def* choice,
+ const newgame_def& defaults);
void make_rod(item_def &item, stave_type rod_type, int ncharges);
int claws_level(species_type sp);