22 #ifndef MM1_VIEWS_ENH_COMBAT_H 23 #define MM1_VIEWS_ENH_COMBAT_H 25 #include "mm/mm1/game/combat.h" 26 #include "mm/mm1/views_enh/scroll_view.h" 35 uint _attackableCount = 0;
37 bool _firstDraw =
false;
40 OPTION_NONE, OPTION_DELAY, OPTION_EXCHANGE,
41 OPTION_FIGHT, OPTION_SHOOT
43 SelectedOption _option = OPTION_NONE;
48 void setOption(SelectedOption option);
51 void writeAllOptions();
52 void writeAttackOptions();
53 void writeCastOption();
54 void writeShootOption();
56 void clearSurface()
override;
61 TextAlign align = ALIGN_LEFT);
63 void writeOption(uint col, uint row,
char c,
const Common::String &msg);
73 void writeStaticContent();
84 void writePartyNumbers();
94 void writeMonsterStatus(
int monsterNum);
109 void clearPartyArea();
119 void highlightNextRound();
124 void writeMonsterEffects();
129 void writeMonsterAction(
bool flees);
134 void writeMonsterSpell();
139 void writeMonsterAttack();
144 void writeInfiltration();
149 void writeWaitsForOpening();
154 void writeSpellResult();
159 void checkMonsterSpellDone();
184 void writeCharAttackDamage();
189 void writeCharAttackNoEffect();
204 void writeDelaySelect();
209 void writeExchangeSelect();
214 void writeFightSelect();
219 void writeShootSelect();
225 void setMode(Mode newMode)
override;
263 void draw()
override;
bool msgKeypress(const KeypressMessage &msg) override
bool msgAction(const ActionMessage &msg) override
Definition: messages.h:79
Definition: messages.h:56
Definition: messages.h:49
virtual ~Combat()
Definition: combat.h:234
Definition: detection.h:27
Definition: messages.h:48
Definition: messages.h:129
bool msgFocus(const FocusMessage &msg) override
bool msgMouseUp(const MouseUpMessage &msg) override
Definition: messages.h:87
void displaySpellResult(const InfoMessage &msg) override
bool msgGame(const GameMessage &msg) override
void setMode(Mode newMode) override
bool msgUnfocus(const UnfocusMessage &msg) override
void combatDone() override
Definition: messages.h:41