diff options
Diffstat (limited to 'sigscript/MapWrapper.h')
| -rw-r--r-- | sigscript/MapWrapper.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sigscript/MapWrapper.h b/sigscript/MapWrapper.h index f0f8980f..e09520b2 100644 --- a/sigscript/MapWrapper.h +++ b/sigscript/MapWrapper.h @@ -15,16 +15,16 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __POKESCRIPTING_MAPWRAPPER__ -#define __POKESCRIPTING_MAPWRAPPER__ +#ifndef __SIGSCRIPT_MAPWRAPPER__ +#define __SIGSCRIPT_MAPWRAPPER__ -// Pokescripting includes +// Sigscript includes #include "ObjectWrapper.h" -// Pokemod includes -#include "../pokemod/Map.h" +// Sigmod includes +#include "../sigmod/Map.h" -namespace Pokescripting +namespace Sigscript { // Forward declarations class MapEffectWrapper; @@ -33,23 +33,23 @@ class MapWarpWrapper; class MapWildListWrapper; class TileWrapper; -class POKESCRIPTING_EXPORT MapWrapper : public ObjectWrapper +class SIGSCRIPT_EXPORT MapWrapper : public ObjectWrapper { Q_OBJECT public: - static MapWrapper* create(const Pokemod::Map* map, PokemodWrapper* parent); + static MapWrapper* create(const Sigmod::Map* map, SigmodWrapper* parent); MapEffectWrapper* effect(const int id); MapTrainerWrapper* trainer(const int id); MapWarpWrapper* warp(const int id); MapWildListWrapper* wildList(const int id); - Q_SCRIPTABLE Pokemod::Map::Type type(const QString& name) const; + Q_SCRIPTABLE Sigmod::Map::Type type(const QString& name) const; Q_SCRIPTABLE QString name() const; Q_SCRIPTABLE MapWarpWrapper* flyWarp(); - Q_SCRIPTABLE Pokemod::Map::Type type() const; + Q_SCRIPTABLE Sigmod::Map::Type type() const; Q_SCRIPTABLE TileWrapper* tile(const int row, const int column); Q_SCRIPTABLE QPoint mapSize() const; @@ -58,12 +58,12 @@ class POKESCRIPTING_EXPORT MapWrapper : public ObjectWrapper Q_SCRIPTABLE MapWarpWrapper* warp(const QString& name); Q_SCRIPTABLE MapWildListWrapper* wildList(const QString& name); private: - MapWrapper(const Pokemod::Map* map, PokemodWrapper* parent); + MapWrapper(const Sigmod::Map* map, SigmodWrapper* parent); MapWrapper& operator=(const MapWrapper& rhs); - const Pokemod::Map* m_map; + const Sigmod::Map* m_map; }; } -Q_DECLARE_METATYPE(Pokescripting::MapWrapper*) +Q_DECLARE_METATYPE(Sigscript::MapWrapper*) #endif |
