renamed wrongly named parameter

svn-id: r28201
This commit is contained in:
Gregory Montoir 2007-07-25 20:05:35 +00:00
parent 12bec1c494
commit d88354a853
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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);