3 * Summary: Stuff needed for hints mode
6 * Created on 2007-01-11.
20 class formatted_string
;
32 void save_hints(writer
& outf
);
33 void load_hints(reader
& inf
);
34 void init_hints_options(void);
38 HINT_SEEN_FIRST_OBJECT
,
54 // encountered dungeon features
56 HINT_SEEN_ESCAPE_HATCH
,
63 HINT_FOUND_SECRET_DOOR
,
64 // other 'first events'
66 HINT_SEEN_ZERO_EXP_MON
,
69 HINT_MONSTER_FRIENDLY
,
71 HINT_MONSTER_LEFT_LOS
,
75 HINT_GAINED_MAGICAL_SKILL
,
76 HINT_GAINED_MELEE_SKILL
,
77 HINT_GAINED_RANGED_SKILL
,
83 HINT_NEW_ABILITY_ITEM
,
111 HINT_NEED_POISON_HEALING
,
112 HINT_INVISIBLE_DANGER
,
113 HINT_NEED_HEALING_INVIS
,
126 HINT_LOAD_SAVED_GAME
,
128 HINT_AUTOPICKUP_THROWN
,
131 HINT_ITEM_RESISTANCES
,
134 HINT_HEALING_POTIONS
,
135 HINT_GAINED_SPELLCASTING
,
136 HINT_FUMBLING_SHALLOW_WATER
,
137 HINT_EATING_ROTTEN_FOOD
,
143 void tutorial_init_hints();
144 void pick_hints(newgame_def
* choice
);
145 void hints_load_game(void);
146 void print_hints_menu(unsigned int type
);
147 void hints_zap_secret_doors(void);
149 formatted_string
hints_starting_info2();
150 void hints_starting_screen(void);
151 void hints_new_turn();
152 void hints_death_screen(void);
153 void hints_finished(void);
155 void hints_dissection_reminder(bool healthy
);
156 void hints_healing_check();
157 void hints_healing_reminder(void);
159 void taken_new_item(object_class_type item_type
);
160 void hints_gained_new_skill(skill_type skill
);
161 void hints_monster_seen(const monster
& mon
);
162 void hints_first_item(const item_def
& item
);
163 void learned_something_new(hints_event_type seen_what
,
164 coord_def gc
= coord_def());
165 formatted_string
hints_abilities_info(void);
166 std::string
hints_skills_info(void);
167 std::string
hints_skills_description_info(void);
169 // Additional information for tutorial players.
170 void check_item_hint(const item_def
&item
, unsigned int num_old_talents
);
171 void hints_describe_item(const item_def
&item
);
172 void hints_inscription_info(bool autoinscribe
, std::string prompt
);
173 bool hints_pos_interesting(int x
, int y
);
174 void hints_describe_pos(int x
, int y
);
175 bool hints_monster_interesting(const monster
* mons
);
176 void hints_describe_monster(const monster_info
& mi
, bool has_stat_desc
);
178 void hints_observe_cell(const coord_def
& gc
);
182 FixedVector
<bool, HINT_EVENTS_NUM
> hints_events
;
186 unsigned int hints_spell_counter
;
187 unsigned int hints_throw_counter
;
188 unsigned int hints_berserk_counter
;
189 unsigned int hints_melee_counter
;
190 unsigned int hints_last_healed
;
191 unsigned int hints_seen_invisible
;
193 bool hints_just_triggered
;
194 unsigned int hints_type
;
197 extern hints_state Hints
;