22 #ifndef MM1_VIEWS_SPELLS_CAST_SPELL_H 23 #define MM1_VIEWS_SPELLS_CAST_SPELL_H 25 #include "mm/mm1/views/spells/spell_view.h" 26 #include "mm/mm1/views/text_entry.h" 27 #include "mm/mm1/game/spell_casting.h" 36 NONE, SELECT_SPELL, SELECT_NUMBER, SELECT_CHAR, PRESS_ENTER, ENDING
39 State _state = SELECT_SPELL;
41 static void abortFunc();
45 int _spellNumber = -1;
47 int _spellResultX = -1;
53 void setState(State state);
58 void spellLevelEntered(uint level);
63 void spellNumberEntered(uint num);
68 void performSpell(
Character *chr =
nullptr);
Definition: spell_casting.h:40
Definition: messages.h:49
Definition: cast_spell.h:34
Definition: text_entry.h:34
Definition: detection.h:27
Definition: character.h:432
Definition: messages.h:87
Definition: spell_view.h:33
Definition: messages.h:41