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/MapWildListWrapper.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'sigscript/MapWildListWrapper.cpp') diff --git a/sigscript/MapWildListWrapper.cpp b/sigscript/MapWildListWrapper.cpp index 3b725b34..f00442da 100644 --- a/sigscript/MapWildListWrapper.cpp +++ b/sigscript/MapWildListWrapper.cpp @@ -18,42 +18,42 @@ // Header include #include "MapWildListWrapper.h" -// Pokescripting includes +// Sigscript includes #include "MapWrapper.h" #include "MapWildListEncounterWrapper.h" -Pokescripting::MapWildListWrapper* Pokescripting::MapWildListWrapper::create(const Pokemod::MapWildList* wildList, MapWrapper* parent) +Sigscript::MapWildListWrapper* Sigscript::MapWildListWrapper::create(const Sigmod::MapWildList* wildList, MapWrapper* parent) { if (!m_instances.contains(Signiture(parent, wildList->id()))) m_instances[Signiture(parent, wildList->id())] = new MapWildListWrapper(wildList, parent); return qobject_cast(m_instances[Signiture(parent, wildList->id())]); } -Pokescripting::MapWildListWrapper::MapWildListWrapper(const Pokemod::MapWildList* wildList, MapWrapper* parent) : +Sigscript::MapWildListWrapper::MapWildListWrapper(const Sigmod::MapWildList* wildList, MapWrapper* parent) : ObjectWrapper(wildList, parent), m_wildList(wildList) { } -Pokemod::Hat Pokescripting::MapWildListWrapper::encounterHat() +Sigmod::Hat Sigscript::MapWildListWrapper::encounterHat() { - Pokemod::Hat hat; + Sigmod::Hat hat; for (int i = 0; i < encounterCount(); ++i) hat.add(encounter(i), encounter(i)->weight()); return hat; } -QString Pokescripting::MapWildListWrapper::name() const +QString Sigscript::MapWildListWrapper::name() const { return m_wildList->name(); } -Pokescripting::MapWildListEncounterWrapper* Pokescripting::MapWildListWrapper::encounter(const int index) +Sigscript::MapWildListEncounterWrapper* Sigscript::MapWildListWrapper::encounter(const int index) { return MapWildListEncounterWrapper::create(m_wildList->encounter(index), this); } -int Pokescripting::MapWildListWrapper::encounterCount() const +int Sigscript::MapWildListWrapper::encounterCount() const { return m_wildList->encounterCount(); } -- cgit