|
| void | init () |
| |
| void | terminate () |
| |
| void | addMapView (const MapViewPtr &mapView) |
| |
| void | removeMapView (const MapViewPtr &mapView) |
| |
| void | notificateTileUpdate (const Position &pos, const ThingPtr &thing=nullptr, const Otc::Operation operation=Otc::OPERATION_NEUTRAL) |
| |
| void | requestDrawing (const Position &pos, const Otc::RequestDrawFlags reDrawFlags, const bool force=false, const bool isLocalPlayer=false) |
| |
| bool | loadOtcm (const std::string &fileName) |
| |
| void | saveOtcm (const std::string &fileName) |
| |
| void | loadOtbm (const std::string &fileName) |
| |
| void | saveOtbm (const std::string &fileName) |
| |
| void | setHouseFile (const std::string &file) |
| |
| void | setSpawnFile (const std::string &file) |
| |
| void | setDescription (const std::string &desc) |
| |
| void | clearDescriptions () |
| |
| void | setWidth (uint16 w) |
| |
| void | setHeight (uint16 h) |
| |
| std::string | getHouseFile () |
| |
| std::string | getSpawnFile () |
| |
| Size | getSize () |
| |
| std::vector< std::string > | getDescriptions () |
| |
| void | clean () |
| |
| void | cleanDynamicThings () |
| |
| void | cleanTexts () |
| |
| void | addThing (const ThingPtr &thing, const Position &pos, int stackPos=-1) |
| |
| ThingPtr | getThing (const Position &pos, int stackPos) |
| |
| bool | removeThing (const ThingPtr &thing) |
| |
| bool | removeThingByPos (const Position &pos, int stackPos) |
| |
| void | colorizeThing (const ThingPtr &thing, const Color &color) |
| |
| void | removeThingColor (const ThingPtr &thing) |
| |
| StaticTextPtr | getStaticText (const Position &pos) |
| |
| const TilePtr & | createTile (const Position &pos) |
| |
| template<typename... Items> |
| const TilePtr & | createTileEx (const Position &pos, const Items &... items) |
| |
| const TilePtr & | getOrCreateTile (const Position &pos) |
| |
| const TilePtr & | getTile (const Position &pos) |
| |
| const TileList | getTiles (int floor=-1) |
| |
| void | cleanTile (const Position &pos) |
| |
| void | setShowZone (tileflags_t zone, bool show) |
| |
| void | setShowZones (bool show) |
| |
| void | setZoneColor (tileflags_t zone, const Color &color) |
| |
| void | setZoneOpacity (float opacity) |
| |
| float | getZoneOpacity () |
| |
| Color | getZoneColor (tileflags_t flag) |
| |
| tileflags_t | getZoneFlags () |
| |
| bool | showZones () |
| |
| bool | showZone (tileflags_t zone) |
| |
| void | setForceShowAnimations (bool force) |
| |
| bool | isForcingAnimations () |
| |
| bool | isShowingAnimations () |
| |
| void | setShowAnimations (bool show) |
| |
| void | beginGhostMode (float opacity) |
| |
| void | endGhostMode () |
| |
| std::map< Position, ItemPtr > | findItemsById (uint16 clientId, uint32 max) |
| |
| void | addCreature (const CreaturePtr &creature) |
| |
| CreaturePtr | getCreatureById (uint32 id) |
| |
| void | removeCreatureById (uint32 id) |
| |
| std::vector< CreaturePtr > | getSightSpectators (const Position ¢erPos, bool multiFloor) |
| |
| std::vector< CreaturePtr > | getSpectators (const Position ¢erPos, bool multiFloor) |
| |
| std::vector< CreaturePtr > | getSpectatorsInRange (const Position ¢erPos, bool multiFloor, int xRange, int yRange) |
| |
| std::vector< CreaturePtr > | getSpectatorsInRangeEx (const Position ¢erPos, bool multiFloor, int minXRange, int maxXRange, int minYRange, int maxYRange) |
| |
| void | setLight (const Light &light) |
| |
| void | setCentralPosition (const Position ¢ralPosition) |
| |
| bool | isLookPossible (const Position &pos) |
| |
| bool | isCovered (const Position &pos, int firstFloor=0) |
| |
| bool | isCompletelyCovered (const Position &pos, int firstFloor=0) |
| |
| bool | isAwareOfPosition (const Position &pos) |
| |
| void | resetLastCamera () |
| |
| void | setAwareRange (const AwareRange &range) |
| |
| void | resetAwareRange () |
| |
| AwareRange | getAwareRange () |
| |
| Light | getLight () |
| |
| Position | getCentralPosition () |
| |
| int | getFirstAwareFloor () |
| |
| int | getLastAwareFloor () |
| |
| const std::vector< MissilePtr > & | getFloorMissiles (int z) |
| |
| std::vector< AnimatedTextPtr > | getAnimatedTexts () |
| |
| std::vector< StaticTextPtr > | getStaticTexts () |
| |
| std::tuple< std::vector< Otc::Direction >, Otc::PathFindResult > | findPath (const Position &start, const Position &goal, int maxComplexity, int flags=0) |
| |
Definition at line 141 of file map.h.