[Scummvm-cvs-logs] SF.net SVN: scummvm: [28821] scummvm/trunk/engines/agi/preagi_mickey.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Sep 2 15:44:37 CEST 2007
Revision: 28821
http://scummvm.svn.sourceforge.net/scummvm/?rev=28821&view=rev
Author: thebluegr
Date: 2007-09-02 06:44:37 -0700 (Sun, 02 Sep 2007)
Log Message:
-----------
Slight update on Mickey's drawPic
Modified Paths:
--------------
scummvm/trunk/engines/agi/preagi_mickey.cpp
Modified: scummvm/trunk/engines/agi/preagi_mickey.cpp
===================================================================
--- scummvm/trunk/engines/agi/preagi_mickey.cpp 2007-09-02 13:44:23 UTC (rev 28820)
+++ scummvm/trunk/engines/agi/preagi_mickey.cpp 2007-09-02 13:44:37 UTC (rev 28821)
@@ -620,11 +620,15 @@
void Mickey::drawPic(int iPic) {
_vm->preAgiLoadResource(rPICTURE, iPic);
+ // Note that decodePicture clears the screen
_vm->_picture->decodePicture(iPic, true, false, IDI_MSA_PIC_WIDTH, IDI_MSA_PIC_HEIGHT);
- _vm->_picture->showPic(10, _WIDTH - 20);
+ _vm->_picture->showPic(10, IDI_MSA_PIC_WIDTH, IDI_MSA_PIC_HEIGHT);
_vm->_gfx->doUpdate();
_vm->_system->updateScreen(); // TODO: this should go in the game's main loop
/*
+
+ // Original code used in TrollVM
+
int w = IDI_MSA_PIC_WIDTH, h = IDI_MSA_PIC_HEIGHT;
int flags = IDF_AGI_PIC_V2;
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