diff options
Diffstat (limited to 'crawl-ref/source/tutorial.h')
-rw-r--r-- | crawl-ref/source/tutorial.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/crawl-ref/source/tutorial.h b/crawl-ref/source/tutorial.h index e1065f9ac9..cf90e840a7 100644 --- a/crawl-ref/source/tutorial.h +++ b/crawl-ref/source/tutorial.h @@ -20,6 +20,14 @@ class formatted_string; class writer; class reader; +enum tutorial_types +{ + TUT_BERSERK_CHAR, + TUT_MAGIC_CHAR, + TUT_RANGER_CHAR, + TUT_TYPES_NUM // 3 +}; + void save_tutorial(writer& outf); void load_tutorial(reader& inf); void init_tutorial_options(void); @@ -57,4 +65,24 @@ void tutorial_describe_pos(int x, int y); bool tutorial_monster_interesting(const monsters *mons); void tutorial_describe_monster(const monsters *mons); +struct tutorial_state +{ + FixedVector<bool, 85> tutorial_events; + bool tut_explored; + bool tut_stashes; + bool tut_travel; + unsigned int tut_spell_counter; + unsigned int tut_throw_counter; + unsigned int tut_berserk_counter; + unsigned int tut_melee_counter; + unsigned int tut_last_healed; + unsigned int tut_seen_invisible; + + bool tut_just_triggered; + unsigned int tutorial_type; + unsigned int tutorial_left; +}; + +extern tutorial_state Tutorial; + #endif |