From a423cf3db8fa90cc09d2f92ff892e4fcdda4af16 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 30 Jun 2008 01:37:51 +0000 Subject: [FIX] Replaced Point with QPoint (less duplicate code) [FIX] Fraction and Point widgets are more compact [FIX] Fleshed out more of the TeamMember [FIX] Map tilemap editor now expands to fill all available area [FIX] Added priority values to abilities and moves [FIX] Added option for ATB-like battle rounds git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@217 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/MapEffect.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pokemod/MapEffect.cpp') diff --git a/pokemod/MapEffect.cpp b/pokemod/MapEffect.cpp index 2f333f2c..1d677140 100644 --- a/pokemod/MapEffect.cpp +++ b/pokemod/MapEffect.cpp @@ -66,7 +66,7 @@ void Pokemod::MapEffect::load(const QDomElement& xml) { LOAD_BEGIN(); LOAD(QString, name); - LOAD(Point, coordinate); + LOAD(QPoint, coordinate); LOAD(QPixmap, skin); LOAD(bool, isGhost); LOAD(Script, script); @@ -76,7 +76,7 @@ QDomElement Pokemod::MapEffect::save() const { SAVE_CREATE(); SAVE(QString, name); - SAVE(Point, coordinate); + SAVE(QPoint, coordinate); SAVE(QPixmap, skin); SAVE(bool, isGhost); SAVE(Script, script); @@ -88,7 +88,7 @@ void Pokemod::MapEffect::setName(const QString& name) CHECK(name); } -void Pokemod::MapEffect::setCoordinate(const Point& coordinate) +void Pokemod::MapEffect::setCoordinate(const QPoint& coordinate) { if ((static_cast(parent())->width() <= coordinate.x()) || (static_cast(parent())->height() <= coordinate.y())) { @@ -124,7 +124,7 @@ QString Pokemod::MapEffect::name() const return m_name; } -Pokemod::Point Pokemod::MapEffect::coordinate() const +QPoint Pokemod::MapEffect::coordinate() const { return m_coordinate; } -- cgit