aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2013-01-24 18:39:57 +0100
committerEinar Johan Trøan Sømåen2013-01-24 18:39:57 +0100
commit487539f1029061ac02c64f17b4f4b4ce033c6b41 (patch)
treebe38353f368f16699cc9d787af68834cb47241af /engines
parent1fee32ce45465881adceef6555db57300a3837e8 (diff)
downloadscummvm-rg350-487539f1029061ac02c64f17b4f4b4ce033c6b41.tar.gz
scummvm-rg350-487539f1029061ac02c64f17b4f4b4ce033c6b41.tar.bz2
scummvm-rg350-487539f1029061ac02c64f17b4f4b4ce033c6b41.zip
WINTERMUTE: Remove commented out code.
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/base/scriptables/script_stack.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/engines/wintermute/base/scriptables/script_stack.cpp b/engines/wintermute/base/scriptables/script_stack.cpp
index 77367045c2..194c5f4f35 100644
--- a/engines/wintermute/base/scriptables/script_stack.cpp
+++ b/engines/wintermute/base/scriptables/script_stack.cpp
@@ -147,73 +147,36 @@ void ScStack::correctParams(uint32 expectedParams) {
//////////////////////////////////////////////////////////////////////////
void ScStack::pushNULL() {
- /*
- ScValue* val = new ScValue(_gameRef);
- val->setNULL();
- Push(val);
- delete val;
- */
getPushValue()->setNULL();
}
//////////////////////////////////////////////////////////////////////////
void ScStack::pushInt(int val) {
- /*
- ScValue* val = new ScValue(_gameRef);
- val->setInt(Val);
- Push(val);
- delete val;
- */
getPushValue()->setInt(val);
}
//////////////////////////////////////////////////////////////////////////
void ScStack::pushFloat(double val) {
- /*
- ScValue* val = new ScValue(_gameRef);
- val->setFloat(Val);
- Push(val);
- delete val;
- */
getPushValue()->setFloat(val);
}
//////////////////////////////////////////////////////////////////////////
void ScStack::pushBool(bool val) {
- /*
- ScValue* val = new ScValue(_gameRef);
- val->setBool(Val);
- Push(val);
- delete val;
- */
getPushValue()->setBool(val);
}
//////////////////////////////////////////////////////////////////////////
void ScStack::pushString(const char *val) {
- /*
- ScValue* val = new ScValue(_gameRef);
- val->setString(Val);
- Push(val);
- delete val;
- */
getPushValue()->setString(val);
}
//////////////////////////////////////////////////////////////////////////
void ScStack::pushNative(BaseScriptable *val, bool persistent) {
- /*
- ScValue* val = new ScValue(_gameRef);
- val->setNative(Val, Persistent);
- Push(val);
- delete val;
- */
-
getPushValue()->setNative(val, persistent);
}