[Scummvm-cvs-logs] SF.net SVN: scummvm: [32199] scummvm/trunk/engines/made/screenfx.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Tue May 20 20:30:26 CEST 2008
Revision: 32199
http://scummvm.svn.sourceforge.net/scummvm/?rev=32199&view=rev
Author: thebluegr
Date: 2008-05-20 11:30:26 -0700 (Tue, 20 May 2008)
Log Message:
-----------
Documented what screen effects 10 and 12 are doing
Modified Paths:
--------------
scummvm/trunk/engines/made/screenfx.cpp
Modified: scummvm/trunk/engines/made/screenfx.cpp
===================================================================
--- scummvm/trunk/engines/made/screenfx.cpp 2008-05-20 18:20:17 UTC (rev 32198)
+++ scummvm/trunk/engines/made/screenfx.cpp 2008-05-20 18:30:26 UTC (rev 32199)
@@ -68,11 +68,11 @@
vfx09(surface, palette, newPalette, colorCount);
break;
- case 10:
+ case 10: // "Screen wipe in", left to right
vfx10(surface, palette, newPalette, colorCount);
break;
- case 12:
+ case 12: // "Screen wipe in", top to bottom
vfx12(surface, palette, newPalette, colorCount);
break;
@@ -215,6 +215,7 @@
setPalette(palette);
}
+// "Screen wipe in", left to right
void ScreenEffects::vfx10(Graphics::Surface *surface, byte *palette, byte *newPalette, int colorCount) {
for (int x = -56; x < 312; x += 8) {
copyRect(surface, x, 0, x + 64, 200);
@@ -224,6 +225,7 @@
setPalette(palette);
}
+// "Screen wipe in", top to bottom
void ScreenEffects::vfx12(Graphics::Surface *surface, byte *palette, byte *newPalette, int colorCount) {
for (int y = -70; y < 312; y += 10) {
copyRect(surface, 0, y, 320, y + 80);
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