AGOS Engine: Began implementation for a new quit event which will cleanly return to the launcher. This replaces the old shutdown() method within delay()

svn-id: r32203
This commit is contained in:
Christopher Page 2008-05-20 21:40:53 +00:00
parent 5e592d4e4a
commit ca76ef4e1f
9 changed files with 30 additions and 16 deletions

View file

@ -565,7 +565,7 @@ void AGOSEngine_Elvira1::oe1_look() {
lobjFunc(l, "You can see "); /* Show objects */
}
if (r && (r->flags & 4) && levelOf(i) < 10000) {
shutdown();
_quit = true;
}
}
@ -944,7 +944,7 @@ restart:
windowPutChar(window, *message2);
if (confirmYesOrNo(120, 62) == 0x7FFF) {
shutdown();
_quit = true;
} else {
goto restart;
}