[Scummvm-cvs-logs] SF.net SVN: scummvm: [27106] scummvm/trunk/engines/agos/script_e1.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Tue Jun 5 14:32:45 CEST 2007
Revision: 27106
http://scummvm.svn.sourceforge.net/scummvm/?rev=27106&view=rev
Author: Kirben
Date: 2007-06-05 05:32:43 -0700 (Tue, 05 Jun 2007)
Log Message:
-----------
Fix background of pause options in Amiga and AtariST of Elvira 1.
Modified Paths:
--------------
scummvm/trunk/engines/agos/script_e1.cpp
Modified: scummvm/trunk/engines/agos/script_e1.cpp
===================================================================
--- scummvm/trunk/engines/agos/script_e1.cpp 2007-06-05 11:49:01 UTC (rev 27105)
+++ scummvm/trunk/engines/agos/script_e1.cpp 2007-06-05 12:32:43 UTC (rev 27106)
@@ -1203,25 +1203,14 @@
}
void AGOSEngine::printScroll() {
- VC10_state state;
VgaPointersEntry *vpe = &_vgaBufferPointers[1];
+ byte *curVgaFile2Orig = _curVgaFile2;
- state.srcPtr = vpe->vgaFile2 + READ_BE_UINT32(vpe->vgaFile2 + 9 * 8);
+ _windowNum = 3;
+ _curVgaFile2 = vpe->vgaFile2;
+ drawImage_init(9, 0, 10, 32, 0);
- state.palette = 0;
- state.paletteMod = 0;
- state.x = 10;
- state.y = 32;
- state.width = state.draw_width = 10;
- state.height = state.draw_height = 72;
- state.flags = kDFCompressed;
- _windowNum = 3;
-
- state.depack_cont = -0x80;
- state.x_skip = 0;
- state.y_skip = 0;
-
- drawImage(&state);
+ _curVgaFile2 = curVgaFile2Orig;
}
} // End of namespace AGOS
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