diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-09-06 04:12:30 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-09-06 04:12:30 +0000 |
| commit | 0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9 (patch) | |
| tree | a2031b9d0016fcbd49a51c0d1a2292d1f2d8b566 /sigscript/MapEffectWrapper.cpp | |
| parent | b81f5bffa2772eb9bd3c67fb35485ab1ee2d96e7 (diff) | |
| download | sigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.tar.gz sigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.tar.xz sigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.zip | |
[FIX] Renamed everything (in use) away from Poké- prefixes
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@250 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'sigscript/MapEffectWrapper.cpp')
| -rw-r--r-- | sigscript/MapEffectWrapper.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sigscript/MapEffectWrapper.cpp b/sigscript/MapEffectWrapper.cpp index ac1d7c41..f1d135c8 100644 --- a/sigscript/MapEffectWrapper.cpp +++ b/sigscript/MapEffectWrapper.cpp @@ -18,48 +18,48 @@ // Header include #include "MapEffectWrapper.h" -// Pokescripting includes +// Sigscript includes #include "MapWrapper.h" -#include "PokemodWrapper.h" +#include "SigmodWrapper.h" -Pokescripting::MapEffectWrapper* Pokescripting::MapEffectWrapper::create(const Pokemod::MapEffect* effect, MapWrapper* parent) +Sigscript::MapEffectWrapper* Sigscript::MapEffectWrapper::create(const Sigmod::MapEffect* effect, MapWrapper* parent) { if (!m_instances.contains(Signiture(parent, effect->id()))) m_instances[Signiture(parent, effect->id())] = new MapEffectWrapper(effect, parent); return qobject_cast<MapEffectWrapper*>(m_instances[Signiture(parent, effect->id())]); } -Pokescripting::MapEffectWrapper::MapEffectWrapper(const Pokemod::MapEffect* effect, MapWrapper* parent) : +Sigscript::MapEffectWrapper::MapEffectWrapper(const Sigmod::MapEffect* effect, MapWrapper* parent) : ObjectWrapper(effect, parent), m_effect(effect) { } -QString Pokescripting::MapEffectWrapper::name() const +QString Sigscript::MapEffectWrapper::name() const { return m_effect->name(); } -QPoint Pokescripting::MapEffectWrapper::coordinate() const +QPoint Sigscript::MapEffectWrapper::coordinate() const { if (value("coordinate").canConvert<QPoint>()) return value("coordinate").toPoint(); return m_effect->coordinate(); } -Pokescripting::SkinWrapper* Pokescripting::MapEffectWrapper::skin() +Sigscript::SkinWrapper* Sigscript::MapEffectWrapper::skin() { - return pokemod()->skin(m_effect->skin()); + return sigmod()->skin(m_effect->skin()); } -bool Pokescripting::MapEffectWrapper::isGhost() const +bool Sigscript::MapEffectWrapper::isGhost() const { if (value("ghost").canConvert<bool>()) return value("ghost").toBool(); return m_effect->isGhost(); } -Pokemod::Script Pokescripting::MapEffectWrapper::script() const +Sigmod::Script Sigscript::MapEffectWrapper::script() const { return m_effect->script(); } |
