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
|
@ -136,7 +136,7 @@ int LureEngine::go() {
|
|||
CopyProtectionDialog *dialog = new CopyProtectionDialog();
|
||||
bool result = dialog->show();
|
||||
delete dialog;
|
||||
if (quit())
|
||||
if (shouldQuit())
|
||||
return 0;
|
||||
|
||||
if (!result)
|
||||
|
@ -153,7 +153,7 @@ int LureEngine::go() {
|
|||
}
|
||||
|
||||
// Play the game
|
||||
if (!quit()) {
|
||||
if (!shouldQuit()) {
|
||||
// Play the game
|
||||
Sound.loadSection(Sound.isRoland() ? ROLAND_MAIN_SOUND_RESOURCE_ID : ADLIB_MAIN_SOUND_RESOURCE_ID);
|
||||
gameInstance->execute();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue