diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-04-22 14:54:52 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-04-23 01:13:48 +0200 |
commit | ed4f7b6709c4e0fa83d29df3a329c5a443d003c5 (patch) | |
tree | 2ec2dd26cd848f044b3d6abeee71a047bfe2b6fb /crawl-ref/source/ng-setup.h | |
parent | b44796a4ede703cb9fb460fed51a69c20ae125a9 (diff) | |
download | crawl-ref-ed4f7b6709c4e0fa83d29df3a329c5a443d003c5.tar.gz crawl-ref-ed4f7b6709c4e0fa83d29df3a329c5a443d003c5.zip |
Split up new_game.
choose_game() is now only concerned with choosing a character, and
doesn't touch "you". setup_game() (ng-setup.cc) then fills out
"you" and other stuff.
Diffstat (limited to 'crawl-ref/source/ng-setup.h')
-rw-r--r-- | crawl-ref/source/ng-setup.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/crawl-ref/source/ng-setup.h b/crawl-ref/source/ng-setup.h new file mode 100644 index 0000000000..ea986c4a0a --- /dev/null +++ b/crawl-ref/source/ng-setup.h @@ -0,0 +1,19 @@ +/* + * File: ng-setup.h + * Summary: Setup "you" for a new game. + */ + +#ifndef NG_SETUP_H +#define NG_SETUP_H + +void give_basic_mutations(species_type speci); + +void newgame_make_item(int slot, equipment_type eqslot, + object_class_type base, + int sub_type, int replacement = -1, + int qty = 1, int plus = 0, int plus2 = 0); + +struct newgame_def; +void setup_game(const newgame_def& ng); + +#endif |