22 #ifndef ULTIMA_ULTIMA1_MAPS_MAP_BASE_H 23 #define ULTIMA_ULTIMA1_MAPS_MAP_BASE_H 25 #include "ultima/shared/maps/map_base.h" 71 #define DEFAULT_ACTION(NAME) virtual void NAME() { unknownAction(); } 75 DEFAULT_ACTION(hyperjump)
76 DEFAULT_ACTION(inform)
81 DEFAULT_ACTION(unlock)
83 DEFAULT_ACTION(disembark)
88 virtual void attack(
int direction,
int effectId);
99 virtual void attack(
int direction,
int effectId, uint maxDistance, uint amount, uint agility,
const Common::String &hitWidget) = 0;
104 virtual void board();
Definition: map_tile.h:36
~MapBase() override
Definition: map_base.h:56
virtual void attack(int direction, int effectId)
Definition: map_base.h:39
Shared::Maps::MapWidget * createWidget(const Common::String &name) override
Definition: detection.h:27
MapBase(Ultima1Game *game, Ultima1Map *map)
Definition: map_base.h:47
void castSpell(uint spell) override
void getTileAt(const Point &pt, Shared::Maps::MapTile *tile, bool includePlayer=true) override
virtual void dropCoins(uint coins)
Definition: map_base.h:119