summaryrefslogtreecommitdiffstats
path: root/pokemod/Map.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-05-14 21:15:28 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-05-14 21:15:28 +0000
commit612529f1c447674dae5863edd6b2074b404759a9 (patch)
tree3a6345c5467c5e634efba1c376d4f73e8521ac7f /pokemod/Map.cpp
parent56f272b11d13bbc5d829283ccf2813d3a7e41dbc (diff)
downloadsigen-612529f1c447674dae5863edd6b2074b404759a9.tar.gz
sigen-612529f1c447674dae5863edd6b2074b404759a9.tar.xz
sigen-612529f1c447674dae5863edd6b2074b404759a9.zip
[ADD] MapTrainerUI logic
[FIX] MapTrainer UI now uses the PointWidget [FIX] Unnecessary static_casts removed [FIX] MapTrainer API changed a bit [FIX] PointWidget::setMaximum slot [FIX] spec file now for F9 (qt and kdelibs are now 4, not 3) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@129 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Map.cpp')
-rw-r--r--pokemod/Map.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/pokemod/Map.cpp b/pokemod/Map.cpp
index db12de34..7a3899f1 100644
--- a/pokemod/Map.cpp
+++ b/pokemod/Map.cpp
@@ -255,6 +255,11 @@ int Map::height() const
return m_tile.height();
}
+Point Map::size() const
+{
+ return m_tile.size();
+}
+
const MapEffect* Map::effect(const int index) const
{
if (effectCount() <= index)