#include <map.h>
Public Member Functions | |
Ultima1Map (Ultima1Game *game) | |
~Ultima1Map () override | |
void | clear () override |
void | load (Shared::Maps::MapId mapId) override |
void | synchronize (Common::Serializer &s) override |
void | board () |
void | cast () |
void | drop () |
void | enter () |
void | get () |
void | hyperjump () |
void | inform () |
void | climb () |
void | open () |
void | steal () |
void | talk () |
void | unlock () |
void | view () |
void | disembark () |
void | attack (int direction, int effectId) |
void | dropCoins (uint amount) |
MapOverworld * | getOverworldMap () |
Public Member Functions inherited from Ultima::Shared::Maps::Map | |
Map () | |
virtual | ~Map () |
MapWidget * | createWidget (const Common::String &name) |
void | getTileAt (const Point &pt, MapTile *tile, bool includePlayer=true) |
void | setTileAt (const Point &pt, uint tileId) |
Point | getViewportPosition (const Point &viewportSize) |
size_t | width () const |
size_t | height () const |
Point | getPosition () const |
void | setPosition (const Point &pt) |
Direction | getDirection () const |
void | setDirection (Direction dir) |
Point | getDirectionDelta () const |
Point | getDeltaPosition (const Point &delta) |
void | shiftViewport (const Point &delta) |
Point | getTilesPerOrigTile () const |
Common::String | getName () const |
MapWidget * | getPlayerWidget () const |
bool | changeLevel (int delta) |
uint | getLevel () const |
bool | isMapWrapped () const |
void | update () |
void | castSpell (uint spellId) |
Public Attributes | |
MapType | _mapType |
Point | _worldPos |
uint | _moveCounter |
Additional Inherited Members | |
Protected Attributes inherited from Ultima::Shared::Maps::Map | |
MapBase * | _mapArea |
Ultima 1 map manager
Ultima::Ultima1::Maps::Ultima1Map::Ultima1Map | ( | Ultima1Game * | game | ) |
Constructor
|
override |
Destructor
|
overridevirtual |
Clears all map data
Reimplemented from Ultima::Shared::Maps::Map.
|
overridevirtual |
Load a given map
Reimplemented from Ultima::Shared::Maps::Map.
|
overridevirtual |
Handles loading and saving the map's data
Reimplemented from Ultima::Shared::Maps::Map.
void Ultima::Ultima1::Maps::Ultima1Map::dropCoins | ( | uint | amount | ) |
Handles dropping an amount of coins
|
inline |
Returns the overworld map