summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-07 03:48:34 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-07 03:48:34 +0000
commit7d2c736d9b1e23e6cf46799199c44ae83778a0c0 (patch)
tree6e0b70ebb67c8d05615c4a91923e214d5077d4f2 /src/resources/mapreader.h
parent174c91fc478d3ea2bf8b7e3be013864c6ffea09c (diff)
downloadmana-7d2c736d9b1e23e6cf46799199c44ae83778a0c0.tar.gz
mana-7d2c736d9b1e23e6cf46799199c44ae83778a0c0.tar.bz2
mana-7d2c736d9b1e23e6cf46799199c44ae83778a0c0.tar.xz
mana-7d2c736d9b1e23e6cf46799199c44ae83778a0c0.zip
Switched base64 codec to the PHP one and finished support for base64 encoded
binary layer data in tmx maps.
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r--src/resources/mapreader.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h
index 59270f25..241945f1 100644
--- a/src/resources/mapreader.h
+++ b/src/resources/mapreader.h
@@ -94,6 +94,13 @@ class MapReader
*/
static Tileset *MapReader::getTilesetWithGid(int gid);
+ /**
+ * Sets a tile using a global tile id. Used by the layer loading
+ * routine.
+ */
+ static void MapReader::setTileWithGid(
+ Map *map, int x, int y, int layer, int gid);
+
static std::vector<Tileset*> tilesets;
};