diff options
Diffstat (limited to 'engines/agos/event.cpp')
-rw-r--r-- | engines/agos/event.cpp | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/engines/agos/event.cpp b/engines/agos/event.cpp index 5877ee71a9..6eff4ddb6d 100644 --- a/engines/agos/event.cpp +++ b/engines/agos/event.cpp @@ -322,7 +322,29 @@ void AGOSEngine::timer_proc1() { _lockWord |= 2; if (!(_lockWord & 0x10)) { - if (getGameType() == GType_FF) { + if (getGameType() == GType_PP) { + _syncFlag2 ^= 1; + if (!_syncFlag2) { + processVgaEvents(); + if (getBitFlag(98)) { + if (!getBitFlag(97)) { + printf("PairCheck\n"); + printf("GravityCheck\n"); + } + printf("CheckIfClickedOnBlock\n"); + if (getBitFlag(99)) { + printf("MoveBlocks\n"); + printf("DroppingBlock\n"); + } + } + } else { + processVgaEvents(); + if (_scrollCount == 0) { + _lockWord &= ~2; + return; + } + } + } else if (getGameType() == GType_FF) { _syncFlag2 ^= 1; if (!_syncFlag2) { processVgaEvents(); |