summaryrefslogtreecommitdiffstats
path: root/sigscript
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-11-25 19:04:19 -0500
committerBen Boeckel <MathStuf@gmail.com>2008-11-25 19:04:19 -0500
commit02a4bbebbd94e7d440d0a0d6e6620d46a60437e5 (patch)
tree53f515c2e30bfa5ffa63173a9acc331aa2e2e772 /sigscript
parentf5a98518420c74e8acc421879689faf948235e29 (diff)
downloadsigen-02a4bbebbd94e7d440d0a0d6e6620d46a60437e5.tar.gz
sigen-02a4bbebbd94e7d440d0a0d6e6620d46a60437e5.tar.xz
sigen-02a4bbebbd94e7d440d0a0d6e6620d46a60437e5.zip
Rules no longer needs hardCash value; scripts can control it
Diffstat (limited to 'sigscript')
-rw-r--r--sigscript/RulesWrapper.cpp5
-rw-r--r--sigscript/RulesWrapper.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/sigscript/RulesWrapper.cpp b/sigscript/RulesWrapper.cpp
index 6355e600..39efd685 100644
--- a/sigscript/RulesWrapper.cpp
+++ b/sigscript/RulesWrapper.cpp
@@ -149,11 +149,6 @@ int Sigscript::RulesWrapper::maxTotalWeight() const
return m_rules->maxTotalWeight();
}
-bool Sigscript::RulesWrapper::hardCash() const
-{
- return m_rules->hardCash();
-}
-
bool Sigscript::RulesWrapper::allowSwitchStyle() const
{
if (sigmod()->singlePlayer() && hasValueOfType<bool>("allowSwitchStyle"))
diff --git a/sigscript/RulesWrapper.h b/sigscript/RulesWrapper.h
index 9846f302..e66c59be 100644
--- a/sigscript/RulesWrapper.h
+++ b/sigscript/RulesWrapper.h
@@ -51,7 +51,6 @@ class SIGSCRIPT_EXPORT RulesWrapper : public ObjectWrapper
Q_SCRIPTABLE int maxStages() const;
Q_SCRIPTABLE int maxMoney() const;
Q_SCRIPTABLE int maxTotalWeight() const;
- Q_SCRIPTABLE bool hardCash() const;
Q_SCRIPTABLE bool allowSwitchStyle() const;
Q_SCRIPTABLE bool specialSplit() const;
Q_SCRIPTABLE bool specialDVSplit() const;