diff options
author | Filippos Karapetis | 2008-05-20 18:30:26 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-05-20 18:30:26 +0000 |
commit | 141215136f9d5277cce77dfdd03f2a49b4e38f3b (patch) | |
tree | 8ee936e3c4dfb6ea7953e79d8f3ad078b3f97aad /engines | |
parent | bf52cc2186375b7332ffa96f386f7aabbde4b26f (diff) | |
download | scummvm-rg350-141215136f9d5277cce77dfdd03f2a49b4e38f3b.tar.gz scummvm-rg350-141215136f9d5277cce77dfdd03f2a49b4e38f3b.tar.bz2 scummvm-rg350-141215136f9d5277cce77dfdd03f2a49b4e38f3b.zip |
Documented what screen effects 10 and 12 are doing
svn-id: r32199
Diffstat (limited to 'engines')
-rw-r--r-- | engines/made/screenfx.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/made/screenfx.cpp b/engines/made/screenfx.cpp index f573c13852..79017cc0fb 100644 --- a/engines/made/screenfx.cpp +++ b/engines/made/screenfx.cpp @@ -68,11 +68,11 @@ void ScreenEffects::run(int16 effectNum, Graphics::Surface *surface, byte *palet 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 @@ void ScreenEffects::vfx09(Graphics::Surface *surface, byte *palette, byte *newPa 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 @@ void ScreenEffects::vfx10(Graphics::Surface *surface, byte *palette, byte *newPa 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); |