22 #ifndef ULTIMA4_CONTROLLERS_GAME_CONTROLLER_H 23 #define ULTIMA4_CONTROLLERS_GAME_CONTROLLER_H 25 #include "ultima/ultima4/controllers/controller.h" 26 #include "ultima/ultima4/core/coords.h" 27 #include "ultima/ultima4/core/observer.h" 28 #include "ultima/ultima4/game/portal.h" 29 #include "ultima/ultima4/game/player.h" 30 #include "ultima/ultima4/map/location.h" 31 #include "ultima/ultima4/views/tileview.h" 55 void avatarMovedInDungeon(
MoveEvent &event);
60 void creatureCleanup();
65 void checkBridgeTrolls();
70 void checkRandomCreatures();
77 void checkSpecialCreatures(Direction dir);
82 bool checkMoongates();
87 bool createBalloon(
Map *map);
93 bool attackAt(
const Coords &coords);
103 static void doScreenAnimationsWhilePausing(
int timeFactor);
108 bool _combatFinished;
122 void keybinder(KeybindingAction action)
override;
137 void initScreenWithoutReloadingState();
153 _combatFinished =
true;
187 void attack(Direction dir = DIR_NONE);
bool mousePressed(const Common::Point &mousePos) override
Definition: game_controller.h:44
Definition: movement.h:53
void timerFired() override
Definition: observer.h:37
void keybinder(KeybindingAction action) override
static void flashTile(const Coords &coords, MapTile tile, int timeFactor)
Definition: controller.h:153
Definition: controller.h:35
Definition: detection.h:27
Definition: tileview.h:42
Definition: map_tile.h:34
void updateMoons(bool showmoongates)
Definition: location.h:49
void setActive() override
void finishTurnAfterCombatEnds() override
Definition: game_controller.h:152
void update(Party *party, PartyEvent &event) override
void finishTurn() override