Make it possible to quit or return to launcher while the Feeble Files list of
savegames is scrolling by. (Agonizingly slowly.) svn-id: r35697
This commit is contained in:
parent
5de6898694
commit
23e6fff0bf
2 changed files with 5 additions and 5 deletions
|
@ -38,7 +38,7 @@ void AGOSEngine_Feeble::doOutput(const byte *src, uint len) {
|
|||
if (_textWindow == NULL)
|
||||
return;
|
||||
|
||||
while (len-- != 0) {
|
||||
while (len-- != 0 && !shouldQuit()) {
|
||||
if (getBitFlag(93)) {
|
||||
if (_curWindow == 3) {
|
||||
if ((_newLines >= _textWindow->scrollY) && (_newLines < (_textWindow->scrollY + 3)))
|
||||
|
|
|
@ -383,7 +383,7 @@ void AGOSEngine_Feeble::listSaveGames(int n) {
|
|||
z++;
|
||||
}
|
||||
|
||||
while (1) {
|
||||
while (!shouldQuit()) {
|
||||
OK = 1;
|
||||
if (getBitFlag(93) || getBitFlag(94)) {
|
||||
OK = 0;
|
||||
|
@ -407,7 +407,7 @@ void AGOSEngine_Feeble::listSaveGames(int n) {
|
|||
showMessageFormat("\n");
|
||||
hyperLinkOn(j + 400);
|
||||
setTextColor(116);
|
||||
showMessageFormat(" %d. ",1);
|
||||
showMessageFormat(" %d. ", 1);
|
||||
hyperLinkOff();
|
||||
setTextColor(113);
|
||||
k++;
|
||||
|
@ -425,9 +425,9 @@ void AGOSEngine_Feeble::listSaveGames(int n) {
|
|||
setTextColor(116);
|
||||
if (k < 10)
|
||||
showMessageFormat(" ");
|
||||
showMessageFormat("%d. ",k);
|
||||
showMessageFormat("%d. ", k);
|
||||
setTextColor(113);
|
||||
showMessageFormat("%s ",b);
|
||||
showMessageFormat("%s ", b);
|
||||
hyperLinkOff();
|
||||
j--;
|
||||
k++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue