22 #ifndef ULTIMA4_MAP_LOCATION_H 23 #define ULTIMA4_MAP_LOCATION_H 25 #include "ultima/ultima4/map/map.h" 26 #include "ultima/ultima4/map/movement.h" 27 #include "ultima/ultima4/core/observable.h" 28 #include "ultima/ultima4/core/types.h" 34 CTX_WORLDMAP = 0x0001,
38 CTX_ALTAR_ROOM = 0x0010,
42 #define CTX_ANY (LocationContext)(0xffff) 43 #define CTX_NORMAL (LocationContext)(CTX_WORLDMAP | CTX_CITY) 44 #define CTX_NON_COMBAT (LocationContext)(CTX_ANY & ~CTX_COMBAT) 45 #define CTX_CAN_SAVE_GAME (LocationContext)(CTX_WORLDMAP | CTX_DUNGEON) 75 MoveResult move(Direction dir,
bool userEvent);
80 LocationContext _context;
int getCurrentPosition(MapCoords *coords)
Definition: controller.h:153
Location(MapCoords coords, Map *map, int viewmode, LocationContext ctx, TurnCompleter *turnCompleter, Location *prev)
Definition: detection.h:27
TileId getReplacementTile(MapCoords atCoords, Tile const *forTile)
Definition: location.h:49
Definition: observable.h:45
Std::vector< MapTile > tilesAt(MapCoords coords, bool &focus)