22 #ifndef ULTIMA_ULTIMA1_MAP_MAP_CITY_CASTLE_H 23 #define ULTIMA_ULTIMA1_MAP_MAP_CITY_CASTLE_H 25 #include "ultima/ultima1/maps/map_base.h" 37 CTILE_GROUND = 1, CTILE_POND_EDGE1 = 51, CTILE_POND_EDGE2 = 52, CTILE_POND_EDGE3 = 53,
38 CTILE_GATE = 11, CTILE_LOCK1 = 60, CTILE_LOCK2 = 61, CTILE_63 = 63
54 void loadTownCastleData();
73 _guardsHostile(false), _tipCounter(0) {}
78 void load(Shared::Maps::MapId mapId)
override;
88 void clear()
override;
93 Point getViewportPosition(
const Point &viewportSize)
override;
103 void drop()
override;
108 void inform()
override;
113 void steal()
override;
124 void attack(
int direction,
int effectId, uint maxDistance, uint amount, uint agility,
const Common::String &hitWidget)
override;
129 bool isWenchNearby()
const;
150 void load(Shared::Maps::MapId mapId)
override;
155 void dropCoins(uint coins)
override;
165 void talk()
override;
170 void unlock()
override;
180 bool _freeingPrincess;
186 _getCounter(0), _freeingPrincess(false) {}
191 void load(Shared::Maps::MapId mapId)
override;
201 void dropCoins(uint coins)
override;
211 void talk()
override;
216 void unlock()
override;
222 bool isLordBritishCastle()
const;
Definition: map_tile.h:36
MapCastle(Ultima1Game *game, Ultima1Map *map)
Definition: map_city_castle.h:185
MapCityCastle(Ultima1Game *game, Ultima1Map *map)
Definition: map_city_castle.h:72
~MapCity() override
Definition: map_city_castle.h:145
Definition: map_city_castle.h:135
Definition: serializer.h:79
Definition: map_base.h:39
Definition: detection.h:27
Definition: map_city_castle.h:176
Definition: map_city_castle.h:44
MapCity(Ultima1Game *game, Ultima1Map *map)
Definition: map_city_castle.h:140