aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2014-10-10 17:02:21 +0200
committerWillem Jan Palenstijn2014-10-10 17:02:30 +0200
commitf52d3fa84b1ce9f75a602b0d88e40d0a60cc6f97 (patch)
tree753952a9f7c7fd10a2cf55e6bbb60fa5f9dd17c2 /engines
parent601918c9173ad5004a1fc1e282e4f288b52cbd2c (diff)
downloadscummvm-rg350-f52d3fa84b1ce9f75a602b0d88e40d0a60cc6f97.tar.gz
scummvm-rg350-f52d3fa84b1ce9f75a602b0d88e40d0a60cc6f97.tar.bz2
scummvm-rg350-f52d3fa84b1ce9f75a602b0d88e40d0a60cc6f97.zip
PRINCE: Attempt to fix compilation on AmigaOS
Diffstat (limited to 'engines')
-rw-r--r--engines/prince/graphics.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/engines/prince/graphics.cpp b/engines/prince/graphics.cpp
index 91ba699e85..c6796ffdb9 100644
--- a/engines/prince/graphics.cpp
+++ b/engines/prince/graphics.cpp
@@ -367,14 +367,14 @@ void GraphicsMan::drawBackSpriteDrawNode(Graphics::Surface *screen, DrawNode *dr
}
byte GraphicsMan::getBlendTableColor(byte pixelColor, byte backgroundPixelColor, byte *blendTable) {
- int32 redFirstOrg, greenFirstOrg, blueFirstOrg;
- int32 redFirstBack, greenFirstBack, blueFirstBack;
- int32 redSecondOrg, greenSecondOrg, blueSecondOrg;
- int32 redNew, greenNew, blueNew;
+ int redFirstOrg, greenFirstOrg, blueFirstOrg;
+ int redFirstBack, greenFirstBack, blueFirstBack;
+ int redSecondOrg, greenSecondOrg, blueSecondOrg;
+ int redNew, greenNew, blueNew;
- int32 sumOfColorValues;
- int32 bigValue;
- int32 currColor;
+ int sumOfColorValues;
+ int bigValue;
+ int currColor;
if (blendTable[pixelColor] != 255) {
currColor = blendTable[pixelColor];
@@ -440,13 +440,13 @@ byte GraphicsMan::getBlendTableColor(byte pixelColor, byte backgroundPixelColor,
}
void GraphicsMan::makeShadowTable(int brightness, byte *shadowPalette) {
- int32 redFirstOrg, greenFirstOrg, blueFirstOrg;
- int32 redSecondOrg, greenSecondOrg, blueSecondOrg;
- int32 redNew, greenNew, blueNew;
+ int redFirstOrg, greenFirstOrg, blueFirstOrg;
+ int redSecondOrg, greenSecondOrg, blueSecondOrg;
+ int redNew, greenNew, blueNew;
- int32 sumOfColorValues;
- int32 bigValue;
- int32 currColor;
+ int sumOfColorValues;
+ int bigValue;
+ int currColor;
int shadow = brightness * 256 / 100;