[Scummvm-cvs-logs] SF.net SVN: scummvm: [28241] scummvm/trunk/engines/drascula
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Fri Jul 27 19:24:22 CEST 2007
Revision: 28241
http://scummvm.svn.sourceforge.net/scummvm/?rev=28241&view=rev
Author: eriktorbjorn
Date: 2007-07-27 10:24:22 -0700 (Fri, 27 Jul 2007)
Log Message:
-----------
Fixed a bunch of warnings.
Modified Paths:
--------------
scummvm/trunk/engines/drascula/drascula.cpp
scummvm/trunk/engines/drascula/drascula.h
Modified: scummvm/trunk/engines/drascula/drascula.cpp
===================================================================
--- scummvm/trunk/engines/drascula/drascula.cpp 2007-07-27 16:56:42 UTC (rev 28240)
+++ scummvm/trunk/engines/drascula/drascula.cpp 2007-07-27 17:24:22 UTC (rev 28241)
@@ -239,7 +239,7 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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;
Modified: scummvm/trunk/engines/drascula/drascula.h
===================================================================
--- scummvm/trunk/engines/drascula/drascula.h 2007-07-27 16:56:42 UTC (rev 28240)
+++ scummvm/trunk/engines/drascula/drascula.h 2007-07-27 17:24:22 UTC (rev 28241)
@@ -351,7 +351,7 @@
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 @@
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 @@
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 @@
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();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list