Public Member Functions | |
| Common::String | getName () override |
| DungeonToken | tokenForTile (MapTile tile) |
| DungeonToken | currentToken () |
| byte | currentSubToken () |
| DungeonToken | tokenAt (MapCoords coords) |
| byte | subTokenAt (MapCoords coords) |
| bool | ladderUpAt (MapCoords coords) |
| bool | ladderDownAt (MapCoords coords) |
| bool | validTeleportLocation (MapCoords coords) |
Public Member Functions inherited from Ultima::Ultima4::Map | |
| Object * | objectAt (const Coords &coords) |
| const Portal * | portalAt (const Coords &coords, int actionFlags) |
| MapTile * | getTileFromData (const Coords &coords) |
| MapTile * | tileAt (const Coords &coords, int withObjects) |
| const Tile * | tileTypeAt (const Coords &coords, int withObjects) |
| bool | isWorldMap () |
| bool | isEnclosed (const Coords &party) |
| Creature * | addCreature (const class Creature *m, Coords coords) |
| Object * | addObject (MapTile tile, MapTile prevTile, Coords coords) |
| Object * | addObject (Object *obj, Coords coords) |
| void | removeObject (const class Object *rem, bool deleteObject=true) |
| ObjectDeque::iterator | removeObject (ObjectDeque::iterator rem, bool deleteObject=true) |
| void | clearObjects () |
| Creature * | moveObjects (MapCoords avatar) |
| void | resetObjectAnimations () |
| int | getNumberOfCreatures () |
| int | getValidMoves (MapCoords from, MapTile transport) |
| bool | move (Object *obj, Direction d) |
| void | alertGuards () |
| MapCoords | getLabel (const Common::String &name) const |
| bool | fillMonsterTable () |
| MapTile | translateFromRawTileIndex (int c) const |
| uint | translateToRawTileIndex (MapTile &tile) const |
Public Attributes | |
| Common::String | _name |
| uint | _nRooms |
| Std::vector< byte > | _dataSubTokens |
| DngRoom * | _rooms |
| CombatMap ** | _roomMaps |
| int | _currentRoom |
| byte | _partyStartX [8] |
| byte | _partyStartY [8] |
Public Attributes inherited from Ultima::Ultima4::Map | |
| MapId | _id |
| Common::Path | _fname |
| Type | _type |
| uint | _width |
| uint | _height |
| uint | _levels |
| uint | _chunkWidth |
| uint | _chunkHeight |
| uint | _offset |
| Source | _baseSource |
| Common::List< Source > | _extraSources |
| CompressedChunkList | _compressedChunks |
| BorderBehavior | _borderBehavior |
| PortalList | _portals |
| AnnotationMgr * | _annotations |
| int | _flags |
| Music::Type | _music |
| MapData | _data |
| ObjectDeque | _objects |
| Common::HashMap< Common::String, MapCoords > | _labels |
| Tileset * | _tileSet |
| TileMap * | _tileMap |
| MapTile | _blank |
| SaveGameMonsterRecord | _monsterTable [MONSTERTABLE_SIZE] |
Additional Inherited Members | |
Public Types inherited from Ultima::Ultima4::Map | |
| enum | Type { WORLD, CITY, SHRINE, COMBAT, DUNGEON, XML } |
| enum | BorderBehavior { BORDER_WRAP, BORDER_EXIT2PARENT, BORDER_FIXED } |
|
overridevirtual |
Returns the name of the dungeon
Reimplemented from Ultima::Ultima4::Map.
| DungeonToken Ultima::Ultima4::Dungeon::tokenForTile | ( | MapTile | tile | ) |
Returns the dungeon token associated with the given dungeon tile
| DungeonToken Ultima::Ultima4::Dungeon::currentToken | ( | ) |
Returns the dungeon token for the current location
| byte Ultima::Ultima4::Dungeon::currentSubToken | ( | ) |
Returns the dungeon sub-token for the current location
| DungeonToken Ultima::Ultima4::Dungeon::tokenAt | ( | MapCoords | coords | ) |
Returns the dungeon token for the given coordinates
| byte Ultima::Ultima4::Dungeon::subTokenAt | ( | MapCoords | coords | ) |
Returns the dungeon sub-token for the given coordinates. The subtoken is encoded in the lower bits of the map raw data. For instance, for the raw value 0x91, returns FOUNTAIN_HEALING NOTE: This function will always need type-casting to the token type necessary
| bool Ultima::Ultima4::Dungeon::ladderUpAt | ( | MapCoords | coords | ) |
Returns true if a ladder-up is found at the given coordinates
| bool Ultima::Ultima4::Dungeon::ladderDownAt | ( | MapCoords | coords | ) |
Returns true if a ladder-down is found at the given coordinates