22 #ifndef ULTIMA_ULTIMA1_MAPS_MAP_H 23 #define ULTIMA_ULTIMA1_MAPS_MAP_H 25 #include "ultima/shared/maps/map.h" 26 #include "ultima/shared/maps/map_widget.h" 27 #include "ultima/ultima1/maps/map_base.h" 37 MAP_OVERWORLD = 0, MAP_CITY = 1, MAP_CASTLE = 2, MAP_DUNGEON = 3, MAP_UNKNOWN = 4
97 void clear()
override;
102 void load(Shared::Maps::MapId mapId)
override;
112 #define PASS_METHOD(NAME) void NAME() { static_cast<MapBase *>(_mapArea)->NAME(); } 118 PASS_METHOD(hyperjump)
126 PASS_METHOD(disembark)
128 void attack(
int direction,
int effectId) {
129 static_cast<MapBase *
>(_mapArea)->attack(direction, effectId);
135 void dropCoins(uint amount);
Definition: map_dungeon.h:48
Definition: map_city_castle.h:135
void load(Ultima1Map *map)
Definition: serializer.h:79
Definition: map_base.h:39
Definition: detection.h:27
Definition: map_overworld.h:35
Definition: map_city_castle.h:176
MapOverworld * getOverworldMap()
Definition: map.h:140
SurroundingTotals()
Definition: map.h:61