diff options
Diffstat (limited to 'sigscript')
| -rw-r--r-- | sigscript/SigmodWrapper.cpp | 6 | ||||
| -rw-r--r-- | sigscript/SigmodWrapper.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sigscript/SigmodWrapper.cpp b/sigscript/SigmodWrapper.cpp index 88969686..9290a728 100644 --- a/sigscript/SigmodWrapper.cpp +++ b/sigscript/SigmodWrapper.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 @@ -229,9 +229,9 @@ bool Sigscript::SigmodWrapper::singlePlayer() const return m_sigmod->singlePlayer(); } -Sigscript::MapWarpWrapper* Sigscript::SigmodWrapper::startWarp() +Sigcore::Script Sigscript::SigmodWrapper::startScript() { - return map(m_sigmod->startMap())->warp(m_sigmod->startWarp()); + return m_sigmod->startScript(); } Sigcore::Fraction Sigscript::SigmodWrapper::effectiveness(const TypeWrapper* attacker, const TypeWrapper* defender) const diff --git a/sigscript/SigmodWrapper.h b/sigscript/SigmodWrapper.h index 04cb66be..92d098af 100644 --- a/sigscript/SigmodWrapper.h +++ b/sigscript/SigmodWrapper.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 @@ -94,7 +94,7 @@ class SIGSCRIPT_EXPORT SigmodWrapper : public ObjectWrapper Q_SCRIPTABLE QString version() const; Q_SCRIPTABLE QString description() const; Q_SCRIPTABLE bool singlePlayer() const; - Q_SCRIPTABLE MapWarpWrapper* startWarp(); + Q_SCRIPTABLE Sigcore::Script startScript(); Q_SCRIPTABLE Sigcore::Fraction effectiveness(const TypeWrapper* attacker, const TypeWrapper* defender) const; Q_SCRIPTABLE RulesWrapper* rules(); |
