diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2011-01-16 10:52:58 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2011-01-16 10:54:43 +0100 |
commit | c64034959429e78acf747ac6462e233d77ec1b68 (patch) | |
tree | c1e5c4e9e10cd2cc97489d5b11db5a10df198cdf /crawl-ref/source/tutorial.h | |
parent | 44dfa26efded89c289cf43c3546efe7adbad5114 (diff) | |
download | crawl-ref-c64034959429e78acf747ac6462e233d77ec1b68.tar.gz crawl-ref-c64034959429e78acf747ac6462e233d77ec1b68.zip |
Make tutorial maps set hunger directly.
No longer hardcoded in player generation; allows for different hunger
levels in different lessons.
Diffstat (limited to 'crawl-ref/source/tutorial.h')
-rw-r--r-- | crawl-ref/source/tutorial.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/tutorial.h b/crawl-ref/source/tutorial.h index de64b68d09..138c5b055a 100644 --- a/crawl-ref/source/tutorial.h +++ b/crawl-ref/source/tutorial.h @@ -15,4 +15,6 @@ std::vector<const map_def *> get_tutorial_maps(); void set_tutorial_map(const std::string& map); std::string get_tutorial_map(); +// Set player hunger from the tutorial map. +void set_tutorial_hunger(int hunger); #endif |