aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2007-07-28 21:36:46 +0000
committerPaweł Kołodziejski2007-07-28 21:36:46 +0000
commitc879386fc8b78577ed37a40d9c33fe9718dad3f1 (patch)
tree7bc1263db3a346b690e8138467910365bd5a4ec3
parent3f01ae069af93036be52f4914658c8e55d3fe119 (diff)
downloadscummvm-rg350-c879386fc8b78577ed37a40d9c33fe9718dad3f1.tar.gz
scummvm-rg350-c879386fc8b78577ed37a40d9c33fe9718dad3f1.tar.bz2
scummvm-rg350-c879386fc8b78577ed37a40d9c33fe9718dad3f1.zip
correction for palette and formating
svn-id: r28277
-rw-r--r--engines/drascula/drascula.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 426c946491..2623f1cb1f 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -293,9 +293,9 @@ void DrasculaEngine::asigna_rgb(byte *dir_lectura, int plt) {
int x, cnt = 0;
for (x = 0; x < plt; x++) {
- palJuego[x][0] = dir_lectura[cnt++];
- palJuego[x][1] = dir_lectura[cnt++];
- palJuego[x][2] = dir_lectura[cnt++];
+ palJuego[x][0] = dir_lectura[cnt++] / 4;
+ palJuego[x][1] = dir_lectura[cnt++] / 4;
+ palJuego[x][2] = dir_lectura[cnt++] / 4;
}
ActualizaPaleta();
}
@@ -2367,7 +2367,7 @@ bucless:
DIBUJA_FONDO(x_habla[cara], 1, 171, 68, 45, 48, dir_dibujo2, dir_zona_pantalla);
l++;
if (l == 7)
- l=0;
+ l =0;
if (con_voces == 0)
centra_texto(dicho, 191, 69);
@@ -3230,7 +3230,7 @@ void DrasculaEngine::funde_hare(int oscuridad) {
for (fundido = oscuridad; fundido >= 0; fundido--) {
for (color = 235; color < 253; color++) {
for (componente = 0; componente < 3; componente++)
- palJuego[color][componente] = LimitaVGA( palJuego[color][componente] - 8 + fundido );
+ palJuego[color][componente] = LimitaVGA(palJuego[color][componente] - 8 + fundido);
}
}