mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +00:00
GOB: Rename Script::evalBoolResult() to Script::evalBool()
svn-id: r55633
This commit is contained in:
parent
b54416b46e
commit
40bf0286a1
@ -130,7 +130,7 @@ void Inter_Fascination::oFascin_repeatUntil(OpFuncParams ¶ms) {
|
||||
|
||||
_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.
|
||||
|
@ -755,7 +755,7 @@ void Inter_v1::o1_repeatUntil(OpFuncParams ¶ms) {
|
||||
|
||||
_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 ¶ms) {
|
||||
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 ¶ms) {
|
||||
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;
|
||||
|
@ -308,7 +308,7 @@ char Script::evalExpr(int16 *pRes) {
|
||||
return type;
|
||||
}
|
||||
|
||||
bool Script::evalBoolResult() {
|
||||
bool Script::evalBool() {
|
||||
byte type;
|
||||
|
||||
_expression->printExpr(99);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user