summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tutorial.h
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-01-16 10:52:58 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-01-16 10:54:43 +0100
commitc64034959429e78acf747ac6462e233d77ec1b68 (patch)
treec1e5c4e9e10cd2cc97489d5b11db5a10df198cdf /crawl-ref/source/tutorial.h
parent44dfa26efded89c289cf43c3546efe7adbad5114 (diff)
downloadcrawl-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.h2
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