diff options
author | Nicola Mettifogo | 2007-07-31 19:33:36 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-07-31 19:33:36 +0000 |
commit | 4b008f97242e60d12899a89968cb129afc3c22a8 (patch) | |
tree | b894d85c4f39fe10ab18afdc019efd68a54f8701 /engines/parallaction/graphics.cpp | |
parent | b29935e93c9ffddf8c510c0f192e9aafd522ea2d (diff) | |
download | scummvm-rg350-4b008f97242e60d12899a89968cb129afc3c22a8.tar.gz scummvm-rg350-4b008f97242e60d12899a89968cb129afc3c22a8.tar.bz2 scummvm-rg350-4b008f97242e60d12899a89968cb129afc3c22a8.zip |
Changed code to use the new fadePalette function, thus removing fadeInPalette and some custom fade code in _c_endComment.
svn-id: r28368
Diffstat (limited to 'engines/parallaction/graphics.cpp')
-rw-r--r-- | engines/parallaction/graphics.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index 27e2de939d..16b1059c28 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -203,13 +203,6 @@ void Gfx::animatePalette() { return; } -void Gfx::fadeInPalette(Palette pal) { - for (uint16 i = 0; i < BASE_PALETTE_COLORS * 3; i++) - if (pal[i] < _palette[i]) pal[i]++; - - return; -} - void Gfx::makeGrayscalePalette(Palette pal) { for (uint16 i = 0; i < BASE_PALETTE_COLORS; i++) { |