aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/agos.h4
-rw-r--r--engines/agos/items.cpp3
-rw-r--r--engines/agos/rules.cpp2
3 files changed, 7 insertions, 2 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h
index c010c74b60..c233388e20 100644
--- a/engines/agos/agos.h
+++ b/engines/agos/agos.h
@@ -448,7 +448,7 @@ protected:
HitArea _hitAreas[250];
VgaPointersEntry _vgaBufferPointers[450];
- VgaSprite _vgaSprites[180];
+ VgaSprite _vgaSprites[200];
VgaSleepStruct _vgaSleepStructs[60];
const uint16 *_pathFindArray[100];
@@ -466,7 +466,7 @@ protected:
byte _videoBuf1[3000];
- VgaTimerEntry _vgaTimerList[900];
+ VgaTimerEntry _vgaTimerList[205];
WindowBlock *_windowList;
diff --git a/engines/agos/items.cpp b/engines/agos/items.cpp
index 4651cbafc5..def6dda1ae 100644
--- a/engines/agos/items.cpp
+++ b/engines/agos/items.cpp
@@ -2545,6 +2545,9 @@ void AGOSEngine::o4_sync() {
void AGOSEngine::o4_saveUserGame() {
// 132: save game
+ if (_clockStopped != 0)
+ _gameTime += time(NULL) - _clockStopped;
+ _clockStopped = 0;
}
void AGOSEngine::o4_loadUserGame() {
diff --git a/engines/agos/rules.cpp b/engines/agos/rules.cpp
index 2152aa9887..764614e841 100644
--- a/engines/agos/rules.cpp
+++ b/engines/agos/rules.cpp
@@ -370,6 +370,8 @@ void AGOSEngine::dropBlock(int id, int priority, int num) {
}
void AGOSEngine::droppingBlock() {
+ printf("droppingBlock\n");
+
if (_droppingBlockAnim == 0)
return;