[Scummvm-cvs-logs] SF.net SVN: scummvm: [24031] scummvm/trunk/engines/agos/event.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Sat Sep 30 09:24:35 CEST 2006
Revision: 24031
http://svn.sourceforge.net/scummvm/?rev=24031&view=rev
Author: kirben
Date: 2006-09-30 00:24:30 -0700 (Sat, 30 Sep 2006)
Log Message:
-----------
Add code for isVgaQueueEmpty() in PP
Modified Paths:
--------------
scummvm/trunk/engines/agos/event.cpp
Modified: scummvm/trunk/engines/agos/event.cpp
===================================================================
--- scummvm/trunk/engines/agos/event.cpp 2006-09-30 07:15:19 UTC (rev 24030)
+++ scummvm/trunk/engines/agos/event.cpp 2006-09-30 07:24:30 UTC (rev 24031)
@@ -142,7 +142,16 @@
}
bool AGOSEngine::isVgaQueueEmpty() {
- return true;
+ VgaTimerEntry *vte;
+ bool result = false;
+
+ while (vte->delay) {
+ if (vte->cur_vga_file == _variableArray[999] && vte->sprite_id >= 100) {
+ result = true;
+ break;
+ }
+ }
+ return result;
}
void AGOSEngine::addVgaEvent(uint16 num, const byte *code_ptr, uint16 cur_sprite, uint16 curZoneNum, int32 param) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list