[Scummvm-cvs-logs] SF.net SVN: scummvm: [26831] scummvm/trunk/engines/parallaction/location. cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Sun May 13 14:40:45 CEST 2007
Revision: 26831
http://scummvm.svn.sourceforge.net/scummvm/?rev=26831&view=rev
Author: peres001
Date: 2007-05-13 05:40:45 -0700 (Sun, 13 May 2007)
Log Message:
-----------
Reverted my last change to changeLocation.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/location.cpp
Modified: scummvm/trunk/engines/parallaction/location.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/location.cpp 2007-05-13 12:39:32 UTC (rev 26830)
+++ scummvm/trunk/engines/parallaction/location.cpp 2007-05-13 12:40:45 UTC (rev 26831)
@@ -382,17 +382,21 @@
_location._startPosition.x = -1000;
}
- byte palette[PALETTE_SIZE];
- for (uint16 _si = 0; _si < PALETTE_SIZE; _si++) palette[_si] = 0;
- _gfx->setPalette(palette);
+ _gfx->copyScreen(Gfx::kBitBack, Gfx::kBitFront);
_gfx->copyScreen(Gfx::kBitBack, Gfx::kBit2);
+ _gfx->setBlackPalette();
if (_location._commands.size() > 0) {
runCommands(_location._commands);
+ runJobs();
+ _gfx->swapBuffers();
+ runJobs();
+ _gfx->swapBuffers();
}
- _gfx->copyScreen(Gfx::kBitBack, Gfx::kBitFront);
+ runJobs();
+ _gfx->swapBuffers();
_gfx->setPalette(_gfx->_palette);
if (_location._aCommands.size() > 0) {
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