diff options
author | Nicola Mettifogo | 2007-07-31 19:12:44 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-07-31 19:12:44 +0000 |
commit | bd22db45025abe9449f9d7a05f36fd8b268fbb5c (patch) | |
tree | da68a8acebc1f82458619e6110106935f076d702 /engines/parallaction/graphics.cpp | |
parent | 806995ddd020548cc9cf9d144c430664008841ab (diff) | |
download | scummvm-rg350-bd22db45025abe9449f9d7a05f36fd8b268fbb5c.tar.gz scummvm-rg350-bd22db45025abe9449f9d7a05f36fd8b268fbb5c.tar.bz2 scummvm-rg350-bd22db45025abe9449f9d7a05f36fd8b268fbb5c.zip |
Renamed palette functions.
svn-id: r28365
Diffstat (limited to 'engines/parallaction/graphics.cpp')
-rw-r--r-- | engines/parallaction/graphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index 04f2ef1040..948f2a7b34 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -203,14 +203,14 @@ void Gfx::animatePalette() { return; } -void Gfx::fadePalette(Palette pal) { +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::buildBWPalette(Palette pal) { +void Gfx::makeGrayscalePalette(Palette pal) { for (uint16 i = 0; i < BASE_PALETTE_COLORS; i++) { byte max; @@ -226,7 +226,7 @@ void Gfx::buildBWPalette(Palette pal) { return; } -void Gfx::quickFadePalette(Palette pal) { +void Gfx::fadePalette(Palette pal) { for (uint16 i = 0; i < BASE_PALETTE_COLORS * 3; i++) { if (pal[i] == _palette[i]) continue; |