Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
This commit is contained in:
parent
87917e06d9
commit
9b160804ab
97 changed files with 293 additions and 272 deletions
|
@ -259,7 +259,7 @@ void Inter::funcBlock(int16 retFlag) {
|
|||
if (executeFuncOpcode(cmd2, cmd, params))
|
||||
return;
|
||||
|
||||
if (_vm->quit())
|
||||
if (_vm->shouldQuit())
|
||||
break;
|
||||
|
||||
if (_break) {
|
||||
|
@ -279,7 +279,7 @@ void Inter::funcBlock(int16 retFlag) {
|
|||
void Inter::callSub(int16 retFlag) {
|
||||
byte block;
|
||||
|
||||
while (!_vm->quit() && _vm->_global->_inter_execPtr &&
|
||||
while (!_vm->shouldQuit() && _vm->_global->_inter_execPtr &&
|
||||
(_vm->_global->_inter_execPtr != _vm->_game->_totFileData)) {
|
||||
|
||||
block = *_vm->_global->_inter_execPtr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue