Skip to content

Commit

Permalink
WINTERMUTE: Remove commented out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
somaen committed Jan 24, 2013
1 parent 1fee32c commit 487539f
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions engines/wintermute/base/scriptables/script_stack.cpp
Expand Up @@ -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);
}

Expand Down

0 comments on commit 487539f

Please sign in to comment.