diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-25 23:10:29 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-25 23:10:29 +0200 |
commit | a1dc06196ddcee0fa2b9357be86c9c8bace967e3 (patch) | |
tree | 608c182350ca2548380709f4b5605ac9ab63deba /src/map.h | |
parent | d76a9210b07cdcf97ae4f94af429b5fa3e72b239 (diff) | |
parent | a36909f5c3408153c9b5f9477adde9b27d8c7482 (diff) | |
download | mana-client-a1dc06196ddcee0fa2b9357be86c9c8bace967e3.tar.gz mana-client-a1dc06196ddcee0fa2b9357be86c9c8bace967e3.tar.bz2 mana-client-a1dc06196ddcee0fa2b9357be86c9c8bace967e3.tar.xz mana-client-a1dc06196ddcee0fa2b9357be86c9c8bace967e3.zip |
Merge branch '0.0.29'
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -201,7 +201,7 @@ class Map : public Properties /** * Finds the tile set that a tile with the given global id is part of. */ - Tileset* getTilesetWithGid(int gid) const; + Tileset *getTilesetWithGid(int gid) const; /** * Get tile reference. @@ -209,7 +209,7 @@ class Map : public Properties MetaTile *getMetaTile(int x, int y) const; /** - * Marks a tile as occupied + * Marks a tile as occupied. */ void blockTile(int x, int y, BlockType type); @@ -220,12 +220,12 @@ class Map : public Properties bool getWalk(int x, int y, char walkmask = BLOCKMASK_WALL) const; /** - * Returns the width of this map. + * Returns the width of this map in tiles. */ int getWidth() const { return mWidth; } /** - * Returns the height of this map. + * Returns the height of this map in tiles. */ int getHeight() const { return mHeight; } @@ -239,6 +239,9 @@ class Map : public Properties */ int getTileHeight() const { return mTileHeight; } + const std::string &getMusicFile() const; + const std::string &getName() const; + /** * Find a path from one location to the next. */ |