diff options
author | Travis Howell | 2006-09-30 11:52:24 +0000 |
---|---|---|
committer | Travis Howell | 2006-09-30 11:52:24 +0000 |
commit | 79e07ad97bfbe58c46a294f2add7ac055b6eadd9 (patch) | |
tree | 66abb766e91a1eee7a00467a4d8bcae7bc146bfc | |
parent | d2a0c6bd524160601a0757652188b6d9abcb03a6 (diff) | |
download | scummvm-rg350-79e07ad97bfbe58c46a294f2add7ac055b6eadd9.tar.gz scummvm-rg350-79e07ad97bfbe58c46a294f2add7ac055b6eadd9.tar.bz2 scummvm-rg350-79e07ad97bfbe58c46a294f2add7ac055b6eadd9.zip |
Add debug output, to find triggers for PP functions
svn-id: r24037
-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(); |