summaryrefslogtreecommitdiffstats
path: root/pokemod/Map.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-02-06 05:02:11 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-02-06 05:02:11 +0000
commitb191a68ca2b1ec370fc1faafb078e4e201b2b459 (patch)
treef0e7c4f261fc17cf2fc761dd4daba9436355166a /pokemod/Map.cpp
parentfa06bab5688417517e342b0b42a1b06e845aa778 (diff)
downloadsigen-b191a68ca2b1ec370fc1faafb078e4e201b2b459.tar.gz
sigen-b191a68ca2b1ec370fc1faafb078e4e201b2b459.tar.xz
sigen-b191a68ca2b1ec370fc1faafb078e4e201b2b459.zip
[ADD] Tilemap editing to the Map form
[ADD] MapUI.{h, cpp}, TilemapModel.{h, cpp}, TileDelegate.{h, cpp} [FIX] Editing area of the main window now has scroll bars [FIX] CoinListUI is now safer with its combobox creation for the values [FIX] Minor fixes in Tile and Map classes [FIX] Matrix cleaned up git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@57 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Map.cpp')
-rw-r--r--pokemod/Map.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/pokemod/Map.cpp b/pokemod/Map.cpp
index 958f43f7..13b8ffd2 100644
--- a/pokemod/Map.cpp
+++ b/pokemod/Map.cpp
@@ -407,6 +407,16 @@ void Map::deleteRow(int y)
tiles.deleteRow(y);
}
+const Matrix<int>& Map::getMap() const
+{
+ return tiles;
+}
+
+Matrix<int>& Map::getMap()
+{
+ return tiles;
+}
+
int Map::getTile(int x, int y) const
{
return tiles(x, y);