[Scummvm-cvs-logs] SF.net SVN: scummvm: [27079] scummvm/trunk/engines/agos/icons.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Mon Jun 4 10:56:01 CEST 2007
Revision: 27079
http://scummvm.svn.sourceforge.net/scummvm/?rev=27079&view=rev
Author: Kirben
Date: 2007-06-04 01:56:00 -0700 (Mon, 04 Jun 2007)
Log Message:
-----------
Fix inventory arrows in Amiga OCS version of Simon the Sorcerer 1.
Modified Paths:
--------------
scummvm/trunk/engines/agos/icons.cpp
Modified: scummvm/trunk/engines/agos/icons.cpp
===================================================================
--- scummvm/trunk/engines/agos/icons.cpp 2007-06-04 07:04:42 UTC (rev 27078)
+++ scummvm/trunk/engines/agos/icons.cpp 2007-06-04 08:56:00 UTC (rev 27079)
@@ -704,10 +704,24 @@
ha->verb = 1;
if (getFeatures() & GF_32COLOR) {
- // TODO: Manually draws arrows
+ _lockWord |= 0x8;
+
+ VgaPointersEntry *vpe = &_vgaBufferPointers[1];
+ byte *curVgaFile2Orig = _curVgaFile2;
+ uint16 windowNumOrig = _windowNum;
+
+
+ _windowNum = 0;
+ _curVgaFile2 = vpe->vgaFile2;
+ drawImage_init(1, 15, 38, 150, 4);
+
+ _curVgaFile2 = curVgaFile2Orig;
+ _windowNum = windowNumOrig;
+
+ _lockWord &= ~0x8;
} else {
stopAnimate(128);
- uint8 palette = (getPlatform() == Common::kPlatformAmiga) ? 15: 14;
+ uint8 palette = (getPlatform() == Common::kPlatformAmiga) ? 15 : 14;
animate(0, 1, 128, 0, 0, palette);
}
}
@@ -809,7 +823,7 @@
void AGOSEngine::removeArrows(WindowBlock *window, uint num) {
if (getGameType() == GType_SIMON1) {
if (getFeatures() & GF_32COLOR) {
- // TODO: Manually removes arrows
+ restoreBlock(200, 320, 146, 304);
} else {
stopAnimate(129);
uint8 palette = (getPlatform() == Common::kPlatformAmiga) ? 15: 14;
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