aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-10-02 10:43:07 +0000
committerTravis Howell2006-10-02 10:43:07 +0000
commit425b243be1c3f90a6f6244fc08f6d02b08d46c70 (patch)
treeb08b516fcf186c109863826b61b1a47fef47507c /engines
parentf3831078b6ea85bb14f7947e4c55c0d25d6f5592 (diff)
downloadscummvm-rg350-425b243be1c3f90a6f6244fc08f6d02b08d46c70.tar.gz
scummvm-rg350-425b243be1c3f90a6f6244fc08f6d02b08d46c70.tar.bz2
scummvm-rg350-425b243be1c3f90a6f6244fc08f6d02b08d46c70.zip
Increase struct sizes, to maximum required by games
svn-id: r24066
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;