22 #ifndef MM1_VIEWS_COMBAT_H 23 #define MM1_VIEWS_COMBAT_H 25 #include "mm/mm1/game/combat.h" 26 #include "mm/mm1/views/text_view.h" 35 uint _attackableCount = 0;
39 OPTION_NONE, OPTION_DELAY, OPTION_EXCHANGE,
40 OPTION_FIGHT, OPTION_SHOOT
42 SelectedOption _option = OPTION_NONE;
47 void setOption(SelectedOption option);
50 void writeAllOptions();
51 void writeAttackOptions();
52 void writeCastOption();
53 void writeShootOption();
64 void writeStaticContent();
75 void writePartyNumbers();
85 void writeMonsterStatus(
int monsterNum);
100 void clearPartyArea();
110 void highlightNextRound();
115 void writeMonsterEffects();
120 void writeMonsterAction(
bool flees);
125 void writeMonsterSpell();
130 void writeMonsterAttack();
135 void writeInfiltration();
140 void writeWaitsForOpening();
145 void writeSpellResult();
150 void checkMonsterSpellDone();
175 void writeCharAttackDamage();
180 void writeCharAttackNoEffect();
195 void writeDelaySelect();
200 void writeExchangeSelect();
205 void writeFightSelect();
210 void writeShootSelect();
216 void setMode(Mode newMode)
override;
254 void draw()
override;
bool msgFocus(const FocusMessage &msg) override
void combatDone() override
virtual ~Combat()
Definition: combat.h:225
void setMode(Mode newMode) override
bool msgGame(const GameMessage &msg) override
Definition: messages.h:56
Definition: text_view.h:35
Definition: messages.h:49
bool msgUnfocus(const UnfocusMessage &msg) override
bool msgKeypress(const KeypressMessage &msg) override
Definition: detection.h:27
Definition: messages.h:48
Definition: messages.h:129
Definition: messages.h:87
void displaySpellResult(const InfoMessage &msg) override
Definition: messages.h:41
bool msgAction(const ActionMessage &msg) override