summaryrefslogtreecommitdiffstats
path: root/sigscript/SigmodWrapper.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-10-06 00:50:02 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-10-06 00:50:02 +0000
commit2c0a3866e09140d8d5ff84178decddc22db15778 (patch)
tree8d780290c2b1738cb17cec832dd866b068b9a31f /sigscript/SigmodWrapper.cpp
parent61276d172306a14c110a7c3631b484ccf93f9ffa (diff)
downloadsigen-2c0a3866e09140d8d5ff84178decddc22db15778.tar.gz
sigen-2c0a3866e09140d8d5ff84178decddc22db15778.tar.xz
sigen-2c0a3866e09140d8d5ff84178decddc22db15778.zip
[FIX] Added single player option to Sigmod
[FIX] Doxygen generation cleaned up [FIX] Can no longer override variables in the Sigmod if not a single player game [FIX] When checking for modified move priority, blean up afterwards git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@271 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'sigscript/SigmodWrapper.cpp')
-rw-r--r--sigscript/SigmodWrapper.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/sigscript/SigmodWrapper.cpp b/sigscript/SigmodWrapper.cpp
index 473ffddc..cb70ec64 100644
--- a/sigscript/SigmodWrapper.cpp
+++ b/sigscript/SigmodWrapper.cpp
@@ -224,6 +224,11 @@ QString Sigscript::SigmodWrapper::description() const
return m_sigmod->description();
}
+bool Sigscript::SigmodWrapper::singlePlayer() const
+{
+ return m_sigmod->singlePlayer();
+}
+
Sigscript::MapWarpWrapper* Sigscript::SigmodWrapper::startWarp()
{
return map(m_sigmod->startMap())->warp(m_sigmod->startWarp());