mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 17:03:05 +00:00
renamed wrongly named parameter
svn-id: r28201
This commit is contained in:
parent
12bec1c494
commit
d88354a853
@ -869,11 +869,11 @@ void ToucheEngine::redrawRoom() {
|
||||
}
|
||||
}
|
||||
|
||||
void ToucheEngine::fadePalette(int firstColor, int lastColor, int scale, int scaleInc, int fadingStepsCount) {
|
||||
void ToucheEngine::fadePalette(int firstColor, int colorCount, int scale, int scaleInc, int fadingStepsCount) {
|
||||
for (int i = 0; i < fadingStepsCount; ++i) {
|
||||
scale += scaleInc;
|
||||
scale = CLIP(scale, 0, 255);
|
||||
setPalette(firstColor, lastColor, scale, scale, scale);
|
||||
setPalette(firstColor, colorCount, scale, scale, scale);
|
||||
_system->updateScreen();
|
||||
_system->delayMillis(10);
|
||||
}
|
||||
|
@ -390,7 +390,7 @@ protected:
|
||||
void centerScreenToKeyChar(int keyChar);
|
||||
void waitForKeyCharsSet();
|
||||
void redrawRoom();
|
||||
void fadePalette(int firstColor, int lastColor, int scale, int scaleInc, int fadingStepsCount);
|
||||
void fadePalette(int firstColor, int colorCount, int scale, int scaleInc, int fadingStepsCount);
|
||||
void fadePaletteFromFlags();
|
||||
void moveKeyChar(uint8 *dst, int dstPitch, KeyChar *key);
|
||||
void changeKeyCharFrame(KeyChar *key, int keyChar);
|
||||
|
Loading…
x
Reference in New Issue
Block a user