#include <eoserv.hpp>
Public Member Functions | |
| Map (int id) | |
| int | GenerateItemID () |
| void | Enter (Character *, int animation=WARP_ANIMATION_NONE) |
| void | Leave (Character *, int animation=WARP_ANIMATION_NONE) |
| void | Msg (Character *from, std::string message) |
| bool | Walk (Character *from, int direction, bool admin=false) |
| void | Attack (Character *from, int direction) |
| void | Face (Character *from, int direction) |
| void | Sit (Character *from, int sit_type) |
| void | Stand (Character *from) |
| void | Emote (Character *from, int emote) |
| bool | OpenDoor (Character *from, int x, int y) |
| Map_Item * | AddItem (int id, int amount, int x, int y, Character *from=0) |
| void | DelItem (int uid, Character *from=0) |
| bool | InBounds (int x, int y) |
| bool | Walkable (int x, int y) |
| Map_Tile::TileSpec | GetSpec (int x, int y) |
| Map_Warp * | GetWarp (int x, int y) |
Public Attributes | |
| int | id |
| char | rid [4] |
| bool | pk |
| int | filesize |
| int | width |
| int | height |
| std::string | filename |
| std::list< Character * > | characters |
| std::list< NPC * > | npcs |
| std::list< Map_Item > | items |
| std::map< int, std::map< int, Map_Tile > > | tiles |
| bool | exists |
| Map::Map | ( | int | id | ) |
| int Map::GenerateItemID | ( | ) |
| void Map::Enter | ( | Character * | , | |
| int | animation = WARP_ANIMATION_NONE | |||
| ) |
| void Map::Leave | ( | Character * | , | |
| int | animation = WARP_ANIMATION_NONE | |||
| ) |
| void Map::Msg | ( | Character * | from, | |
| std::string | message | |||
| ) |
| bool Map::Walk | ( | Character * | from, | |
| int | direction, | |||
| bool | admin = false | |||
| ) |
| void Map::Attack | ( | Character * | from, | |
| int | direction | |||
| ) |
| void Map::Face | ( | Character * | from, | |
| int | direction | |||
| ) |
| void Map::Sit | ( | Character * | from, | |
| int | sit_type | |||
| ) |
| void Map::Stand | ( | Character * | from | ) |
| void Map::Emote | ( | Character * | from, | |
| int | emote | |||
| ) |
| bool Map::OpenDoor | ( | Character * | from, | |
| int | x, | |||
| int | y | |||
| ) |
| void Map::DelItem | ( | int | uid, | |
| Character * | from = 0 | |||
| ) |
| bool Map::InBounds | ( | int | x, | |
| int | y | |||
| ) |
| bool Map::Walkable | ( | int | x, | |
| int | y | |||
| ) |
| Map_Tile::TileSpec Map::GetSpec | ( | int | x, | |
| int | y | |||
| ) |
| Map_Warp* Map::GetWarp | ( | int | x, | |
| int | y | |||
| ) |
| int Map::id |
| char Map::rid[4] |
| bool Map::pk |
| int Map::filesize |
| int Map::width |
| int Map::height |
| std::string Map::filename |
| std::list<Character *> Map::characters |
| std::list<Map_Item> Map::items |
| std::map<int, std::map<int, Map_Tile> > Map::tiles |
| bool Map::exists |
1.5.7.1