mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 00:12:59 +00:00
Fixed a bunch of warnings.
svn-id: r28241
This commit is contained in:
parent
65cb1d8d42
commit
fc3570d000
@ -239,7 +239,7 @@ void DrasculaEngine::carga_info() {
|
||||
hay_que_load = 0;
|
||||
}
|
||||
|
||||
void DrasculaEngine::lee_dibujos(char *NamePcc) {
|
||||
void DrasculaEngine::lee_dibujos(const char *NamePcc) {
|
||||
unsigned int con, x = 0;
|
||||
unsigned int fExit = 0;
|
||||
unsigned char ch,rep;
|
||||
@ -2080,7 +2080,7 @@ char DrasculaEngine::LimitaVGA(char valor) {
|
||||
return (valor & 0x3F) * (valor > 0);
|
||||
}
|
||||
|
||||
void DrasculaEngine::centra_texto(char mensaje[], int x_texto, int y_texto) {
|
||||
void DrasculaEngine::centra_texto(const char *mensaje, int x_texto, int y_texto) {
|
||||
char bb[190], m2[190], m1[190] ,mb[10][40];
|
||||
char m3[190];
|
||||
int h, fil, x_texto3, x_texto2, x_texto1, conta_f = 0, ya = 0;
|
||||
@ -2711,7 +2711,7 @@ bucless:
|
||||
VUELCA_PANTALLA(0, 0, 0, 0, 320, 200, dir_zona_pantalla);
|
||||
}
|
||||
|
||||
void DrasculaEngine::habla_tabernero(char dicho[], char filename[]) {
|
||||
void DrasculaEngine::habla_tabernero(const char *dicho, const char *filename) {
|
||||
int tiempou;
|
||||
long tiempol;
|
||||
|
||||
@ -2887,7 +2887,7 @@ bucless:
|
||||
VUELCA_PANTALLA(0, 0, 0, 0, 320, 200, dir_zona_pantalla);
|
||||
}
|
||||
|
||||
void DrasculaEngine::hablar(char dicho[], char filename[]) {
|
||||
void DrasculaEngine::hablar(const char *dicho, const char *filename) {
|
||||
int tiempou;
|
||||
long tiempol;
|
||||
|
||||
@ -4196,7 +4196,7 @@ void DrasculaEngine::pantalla_63(int fl) {
|
||||
hay_respuesta = 0;
|
||||
}
|
||||
|
||||
void DrasculaEngine::conversa(char nom_fich[]) {
|
||||
void DrasculaEngine::conversa(const char *nom_fich) {
|
||||
int juego1 = 1, juego2 = 1, juego3 = 1, juego4 = 1;
|
||||
char frase1[78];
|
||||
char frase2[78];
|
||||
@ -4619,7 +4619,7 @@ void DrasculaEngine::responde(int funcion) {
|
||||
habla_borracho(TEXTB3, "B3.als");
|
||||
}
|
||||
|
||||
void DrasculaEngine::habla_pianista(char dicho[], char filename[]) {
|
||||
void DrasculaEngine::habla_pianista(const char *dicho, const char *filename) {
|
||||
int tiempou;
|
||||
long tiempol;
|
||||
int x_habla[4] = { 97, 145, 193, 241};
|
||||
@ -4684,7 +4684,7 @@ bucless:
|
||||
VUELCA_PANTALLA(0, 0, 0, 0, 320, 200, dir_zona_pantalla);
|
||||
}
|
||||
|
||||
void DrasculaEngine::habla_borracho(char dicho[], char filename[]) {
|
||||
void DrasculaEngine::habla_borracho(const char *dicho, const char *filename) {
|
||||
int tiempou;
|
||||
long tiempol;
|
||||
|
||||
|
@ -351,7 +351,7 @@ public:
|
||||
void carga_info();
|
||||
void salir_al_dos(int r);
|
||||
|
||||
void lee_dibujos(char *);
|
||||
void lee_dibujos(const char *);
|
||||
void descomprime_dibujo(char *dir_escritura, int plt);
|
||||
|
||||
typedef unsigned char DacPalette256[256][4];
|
||||
@ -498,7 +498,7 @@ public:
|
||||
void FundeDelNegro(int VelocidadDeFundido);
|
||||
char LimitaVGA(char valor);
|
||||
void color_abc(int cl);
|
||||
void centra_texto(char[],int,int);
|
||||
void centra_texto(const char *,int,int);
|
||||
void comienza_sound(char[]);
|
||||
void anima(char animacion[], int FPS);
|
||||
void fin_sound_corte();
|
||||
@ -513,11 +513,11 @@ public:
|
||||
void habla_dr_izq(char dicho[], char filename[]);
|
||||
void habla_solo(char[], char[]);
|
||||
void habla_igor_frente(char[], char[]);
|
||||
void habla_tabernero(char dicho[], char filename[]);
|
||||
void habla_tabernero(const char *dicho, const char *filename);
|
||||
void hipo(int);
|
||||
void fin_sound();
|
||||
void habla_bj(char[], char[]);
|
||||
void hablar(char[], char[]);
|
||||
void hablar(const char *, const char *);
|
||||
void playmusic(int p);
|
||||
void stopmusic();
|
||||
int music_status();
|
||||
@ -598,13 +598,13 @@ public:
|
||||
void pantalla_0();
|
||||
void pantalla_62(int);
|
||||
void pantalla_63(int);
|
||||
void conversa(char []);
|
||||
void conversa(const char *);
|
||||
void animacion_3();
|
||||
void animacion_4();
|
||||
void print_abc_opc(char[], int, int, int);
|
||||
void responde(int);
|
||||
void habla_borracho(char dicho[], char filename[]);
|
||||
void habla_pianista(char dicho[], char filename[]);
|
||||
void habla_borracho(const char *dicho, const char *filename);
|
||||
void habla_pianista(const char *dicho, const char *filename);
|
||||
|
||||
void MusicFadeout();
|
||||
void ctvd_end();
|
||||
|
Loading…
x
Reference in New Issue
Block a user