summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-06 22:13:39 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-06 22:13:39 +0000
commit87b7dec3f5978893d897e1d61ddaf0e793a33b05 (patch)
tree4c96f6b1f6e164bc80b9db511a7314564d90a3fb /src/map.h
parent819c303db467086d714ad663b285b44cde6329cf (diff)
downloadmana-87b7dec3f5978893d897e1d61ddaf0e793a33b05.tar.gz
mana-87b7dec3f5978893d897e1d61ddaf0e793a33b05.tar.bz2
mana-87b7dec3f5978893d897e1d61ddaf0e793a33b05.tar.xz
mana-87b7dec3f5978893d897e1d61ddaf0e793a33b05.zip
Added setSize function to Map.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 79a3ea36..be0364d7 100644
--- a/src/map.h
+++ b/src/map.h
@@ -64,6 +64,11 @@ class Map
bool load(char *mapFile);
/**
+ * Sets the size of the map. This will destroy any existing map data.
+ */
+ void setSize(int width, int height);
+
+ /**
* Set tile ID.
*/
void setTile(int x, int y, int layer, int id);