summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-02-06 16:03:52 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-02-06 16:03:52 +0000
commit24be3228d463d6b2501cbca9368e14e91ab42182 (patch)
tree5fd30f60a43e1e69188bce4e30646c3e89e288b2 /crawl-ref/source/ouch.cc
parentf878a03c781fd57fea8447caaecee847ab576d8b (diff)
downloadcrawl-ref-24be3228d463d6b2501cbca9368e14e91ab42182.tar.gz
crawl-ref-24be3228d463d6b2501cbca9368e14e91ab42182.zip
Tutorial (JPEG) and some formatting cleanup.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@924 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 85cfe0ad83..e022bb8d44 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -70,6 +70,7 @@
#include "skills2.h"
#include "spells4.h"
#include "stuff.h"
+#include "tutorial.h"
#include "view.h"
@@ -871,7 +872,7 @@ void end_game( struct scorefile_entry &se )
#ifdef PACKAGE_SUFFIX
PACKAGE_SUFFIX ,
#endif
- ".st", ".kil", ".tc", ".nts", ".sav"
+ ".st", ".kil", ".tc", ".nts", ".tut", ".sav"
};
const int num_suffixes = sizeof(suffixes) / sizeof(const char*);
@@ -888,6 +889,9 @@ void end_game( struct scorefile_entry &se )
viewwindow(1, false); // don't do this for leaving/winning characters
}
+ if (Options.tutorial_left)
+ tutorial_death_screen();
+
if (!crawl_state.seen_hups)
more();