From 0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 6 Sep 2008 04:12:30 +0000 Subject: [FIX] Renamed everything (in use) away from Poké- prefixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@250 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- sigscript/MapWarpWrapper.cpp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'sigscript/MapWarpWrapper.cpp') diff --git a/sigscript/MapWarpWrapper.cpp b/sigscript/MapWarpWrapper.cpp index 370ad6f5..fe6bdd42 100644 --- a/sigscript/MapWarpWrapper.cpp +++ b/sigscript/MapWarpWrapper.cpp @@ -18,59 +18,59 @@ // Header include #include "MapWarpWrapper.h" -// Pokescripting includes +// Sigscript includes #include "MapWrapper.h" -#include "PokemodWrapper.h" +#include "SigmodWrapper.h" -Pokescripting::MapWarpWrapper* Pokescripting::MapWarpWrapper::create(const Pokemod::MapWarp* warp, MapWrapper* parent) +Sigscript::MapWarpWrapper* Sigscript::MapWarpWrapper::create(const Sigmod::MapWarp* warp, MapWrapper* parent) { if (!m_instances.contains(Signiture(parent, warp->id()))) m_instances[Signiture(parent, warp->id())] = new MapWarpWrapper(warp, parent); return qobject_cast(m_instances[Signiture(parent, warp->id())]); } -Pokescripting::MapWarpWrapper::MapWarpWrapper(const Pokemod::MapWarp* warp, MapWrapper* parent) : +Sigscript::MapWarpWrapper::MapWarpWrapper(const Sigmod::MapWarp* warp, MapWrapper* parent) : ObjectWrapper(warp, parent), m_warp(warp) { } -Pokemod::MapWarp::Type Pokescripting::MapWarpWrapper::type(const QString& name) const +Sigmod::MapWarp::Type Sigscript::MapWarpWrapper::type(const QString& name) const { if (name == "Door") - return Pokemod::MapWarp::Door; + return Sigmod::MapWarp::Door; else if (name == "Warp") - return Pokemod::MapWarp::Warp; + return Sigmod::MapWarp::Warp; else if (name == "Hole") - return Pokemod::MapWarp::Hole; + return Sigmod::MapWarp::Hole; else if (name == "Boundary") - return Pokemod::MapWarp::Boundary; - return QVariant(-1).value(); + return Sigmod::MapWarp::Boundary; + return QVariant(-1).value(); } -QString Pokescripting::MapWarpWrapper::name() const +QString Sigscript::MapWarpWrapper::name() const { return m_warp->name(); } -QPoint Pokescripting::MapWarpWrapper::coordinate() const +QPoint Sigscript::MapWarpWrapper::coordinate() const { if (value("coordinate").canConvert()) return value("coordinate").toPoint(); return m_warp->coordinate(); } -Pokemod::MapWarp::Type Pokescripting::MapWarpWrapper::type() const +Sigmod::MapWarp::Type Sigscript::MapWarpWrapper::type() const { return m_warp->type(); } -Pokescripting::MapWarpWrapper* Pokescripting::MapWarpWrapper::toWarp() +Sigscript::MapWarpWrapper* Sigscript::MapWarpWrapper::toWarp() { - return pokemod()->map(m_warp->toMap())->warp(m_warp->toWarp()); + return sigmod()->map(m_warp->toMap())->warp(m_warp->toWarp()); } -Pokemod::Script Pokescripting::MapWarpWrapper::script() const +Sigmod::Script Sigscript::MapWarpWrapper::script() const { return m_warp->script(); } -- cgit