diff options
author | Robert Špalek | 2009-11-02 02:28:43 +0000 |
---|---|---|
committer | Robert Špalek | 2009-11-02 02:28:43 +0000 |
commit | c45f0343f4c386263025f1c39536ec9c6a2e566e (patch) | |
tree | e79aa7095d494462b46188509dd0118b94f75444 /engines/parallaction/objects.cpp | |
parent | 9f711bd0ced5368a0dd5a28be7db5d7128849c01 (diff) | |
download | scummvm-rg350-c45f0343f4c386263025f1c39536ec9c6a2e566e.tar.gz scummvm-rg350-c45f0343f4c386263025f1c39536ec9c6a2e566e.tar.bz2 scummvm-rg350-c45f0343f4c386263025f1c39536ec9c6a2e566e.zip |
Refactored running loop().
- shouldExitLoop() is a bool again and introduced new flag isReloaded() instead
of adding special hacky value 2
- loop() accepts 2 parameters: loop substatus and shouldExit flag, because each
caller previously had to set and restore these manually. loop() now also
tests whether the substatuses are properly nested. reordered the
loop-exitting code.
- renamed loop substatuses to logical names
- enterNewRoom() returns bool whether loop() should continue so that start()
doesn't have to test and clear shouldEndProgram(). it doesn't need
force_reload as a parameter anymore.
- dialog selections use new inner substatus instead of outer substatus, for
consistency
svn-id: r45607
Diffstat (limited to 'engines/parallaction/objects.cpp')
0 files changed, 0 insertions, 0 deletions