aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula
diff options
context:
space:
mode:
authorPaweł Kołodziejski2007-07-29 06:37:45 +0000
committerPaweł Kołodziejski2007-07-29 06:37:45 +0000
commit35eb799b8ea564cb0981337390e75d3d417708d5 (patch)
tree70a9e7ba29aadfe87f1ba20d332be2abc71f104b /engines/drascula
parent88c1e31d681b57b720f78f37ba5eb1b639493776 (diff)
downloadscummvm-rg350-35eb799b8ea564cb0981337390e75d3d417708d5.tar.gz
scummvm-rg350-35eb799b8ea564cb0981337390e75d3d417708d5.tar.bz2
scummvm-rg350-35eb799b8ea564cb0981337390e75d3d417708d5.zip
correction to palette
svn-id: r28283
Diffstat (limited to 'engines/drascula')
-rw-r--r--engines/drascula/drascula.cpp2
-rw-r--r--engines/drascula/drascula.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 2631f5187e..e136a542ca 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -2149,7 +2149,7 @@ void DrasculaEngine::color_abc(int cl) {
setvgapalette256((byte *)&palJuego);
}
-byte DrasculaEngine::LimitaVGA(byte valor) {
+char DrasculaEngine::LimitaVGA(char valor) {
return (valor & 0x3F) * (valor > 0);
}
diff --git a/engines/drascula/drascula.h b/engines/drascula/drascula.h
index 1515f9803b..50586884a4 100644
--- a/engines/drascula/drascula.h
+++ b/engines/drascula/drascula.h
@@ -358,7 +358,7 @@ public:
void lee_dibujos(const char *);
void descomprime_dibujo(byte *dir_escritura, int plt);
- typedef byte DacPalette256[256][3];
+ typedef char DacPalette256[256][3];
void asigna_rgb(byte *dir_lectura, int plt);
void funde_rgb(int plt);
@@ -494,7 +494,7 @@ public:
int resta_objeto(int osj);
void fliplay(const char *filefli, int vel);
void FundeDelNegro(int VelocidadDeFundido);
- byte LimitaVGA(byte valor);
+ char LimitaVGA(char valor);
void color_abc(int cl);
void centra_texto(const char *,int,int);
void comienza_sound(const char *);