From b191a68ca2b1ec370fc1faafb078e4e201b2b459 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 6 Feb 2008 05:02:11 +0000 Subject: [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 --- pokemod/Map.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pokemod/Map.cpp') 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& Map::getMap() const +{ + return tiles; +} + +Matrix& Map::getMap() +{ + return tiles; +} + int Map::getTile(int x, int y) const { return tiles(x, y); -- cgit