GOB: Rename Script::evalBoolResult() to Script::evalBool()

svn-id: r55633
This commit is contained in:
Sven Hesse 2011-01-29 22:47:14 +00:00
parent b54416b46e
commit 40bf0286a1
4 changed files with 6 additions and 6 deletions

View File

@ -130,7 +130,7 @@ void Inter_Fascination::oFascin_repeatUntil(OpFuncParams &params) {
_vm->_game->_script->seek(blockPos + size + 1);
flag = _vm->_game->_script->evalBoolResult();
flag = _vm->_game->_script->evalBool();
// WORKAROUND: The script of the PC version of Fascination, when the protection check
// fails, writes on purpose everywhere in the memory in order to hang the computer.

View File

@ -755,7 +755,7 @@ void Inter_v1::o1_repeatUntil(OpFuncParams &params) {
_vm->_game->_script->seek(blockPos + size + 1);
flag = _vm->_game->_script->evalBoolResult();
flag = _vm->_game->_script->evalBool();
} while (!flag && !_break && !_terminate && !_vm->shouldQuit());
_nestLevel[0]--;
@ -774,7 +774,7 @@ void Inter_v1::o1_whileDo(OpFuncParams &params) {
do {
uint32 startPos = _vm->_game->_script->pos();
flag = _vm->_game->_script->evalBoolResult();
flag = _vm->_game->_script->evalBool();
if (_terminate)
return;
@ -815,7 +815,7 @@ void Inter_v1::o1_if(OpFuncParams &params) {
WRITE_VAR(285, 0);
}
boolRes = _vm->_game->_script->evalBoolResult();
boolRes = _vm->_game->_script->evalBool();
if (boolRes) {
if ((params.counter == params.cmdCount) && (params.retFlag == 2)) {
params.doReturn = true;

View File

@ -308,7 +308,7 @@ char Script::evalExpr(int16 *pRes) {
return type;
}
bool Script::evalBoolResult() {
bool Script::evalBool() {
byte type;
_expression->printExpr(99);

View File

@ -85,7 +85,7 @@ public:
// Higher-level expression parsing functions
char evalExpr(int16 *pRes);
bool evalBoolResult();
bool evalBool();
// Accessing the result of expressions
int32 getResultInt() const;