summaryrefslogtreecommitdiffstats
path: root/sigscript
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-01-20 17:05:18 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-01-20 17:05:18 -0500
commit0015cc077a261f0da4852f570f83a975b3724cd3 (patch)
tree1f881d5e8709ecda30ebf6de68c0bcd5387ccbad /sigscript
parente62af8390d71138aa62467f2fadcc581265da334 (diff)
downloadsigen-0015cc077a261f0da4852f570f83a975b3724cd3.tar.gz
sigen-0015cc077a261f0da4852f570f83a975b3724cd3.tar.xz
sigen-0015cc077a261f0da4852f570f83a975b3724cd3.zip
FlyWarp isn't needed on Map and cleaned up widget
Diffstat (limited to 'sigscript')
-rw-r--r--sigscript/MapWrapper.cpp7
-rw-r--r--sigscript/MapWrapper.h3
2 files changed, 2 insertions, 8 deletions
diff --git a/sigscript/MapWrapper.cpp b/sigscript/MapWrapper.cpp
index 30e2a6d3..00200272 100644
--- a/sigscript/MapWrapper.cpp
+++ b/sigscript/MapWrapper.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2008 Ben Boeckel <MathStuf@gmail.com>
+ * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -81,11 +81,6 @@ QString Sigscript::MapWrapper::name() const
return m_map->name();
}
-Sigscript::MapWarpWrapper* Sigscript::MapWrapper::flyWarp()
-{
- return MapWarpWrapper::create(m_map->warpById(m_map->flyWarp()), this);
-}
-
Sigmod::Map::Type Sigscript::MapWrapper::type() const
{
return m_map->type();
diff --git a/sigscript/MapWrapper.h b/sigscript/MapWrapper.h
index b6cdaae5..fa5e23a9 100644
--- a/sigscript/MapWrapper.h
+++ b/sigscript/MapWrapper.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2008 Ben Boeckel <MathStuf@gmail.com>
+ * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -50,7 +50,6 @@ class SIGSCRIPT_EXPORT MapWrapper : public ObjectWrapper
Q_SCRIPTABLE Sigmod::Map::Type type(const QString& name) const;
Q_SCRIPTABLE QString name() const;
- Q_SCRIPTABLE MapWarpWrapper* flyWarp();
Q_SCRIPTABLE Sigmod::Map::Type type() const;
Q_SCRIPTABLE int width() const;
Q_SCRIPTABLE int height() const;