Public Member Functions | |
| Common::String | getName () override |
| Person * | addPerson (Person *p) |
| void | addPeople () |
| void | removeAllPeople () |
| Person * | personAt (const Coords &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 |
| Common::String | _type |
| PersonList | _persons |
| Common::Path | _tlkFname |
| PersonRoleList | _personRoles |
| Std::vector< Dialogue * > | _extraDialogues |
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 city
Reimplemented from Ultima::Ultima4::Map.
| void Ultima::Ultima4::City::addPeople | ( | ) |
Add people to the map
| void Ultima::Ultima4::City::removeAllPeople | ( | ) |
Removes all people from the current map
Returns the person object at the given (x,y,z) coords, if one exists. Otherwise, returns nullptr.