[Scummvm-cvs-logs] SF.net SVN: scummvm: [32321] scummvm/trunk/engines/drascula

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue May 27 14:22:35 CEST 2008


Revision: 32321
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32321&view=rev
Author:   thebluegr
Date:     2008-05-27 05:22:34 -0700 (Tue, 27 May 2008)

Log Message:
-----------
longitud -> length
respuesta -> answer
objetos_que_tengo -> inventoryObjects
boton -> button
cuadrante -> quadrant
distancia -> distance
juego -> game
frase -> phrase
suena -> sound
usado -> used
responde -> response
puesto -> position

Modified Paths:
--------------
    scummvm/trunk/engines/drascula/animation.cpp
    scummvm/trunk/engines/drascula/drascula.cpp
    scummvm/trunk/engines/drascula/drascula.h
    scummvm/trunk/engines/drascula/rooms.cpp
    scummvm/trunk/engines/drascula/talk.cpp

Modified: scummvm/trunk/engines/drascula/animation.cpp
===================================================================
--- scummvm/trunk/engines/drascula/animation.cpp	2008-05-27 12:02:26 UTC (rev 32320)
+++ scummvm/trunk/engines/drascula/animation.cpp	2008-05-27 12:22:34 UTC (rev 32321)
@@ -380,7 +380,7 @@
 	int x_talk[4] = {47, 93, 139, 185};
 	int cara;
 	int l = 0;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -427,8 +427,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 }

Modified: scummvm/trunk/engines/drascula/drascula.cpp
===================================================================
--- scummvm/trunk/engines/drascula/drascula.cpp	2008-05-27 12:02:26 UTC (rev 32320)
+++ scummvm/trunk/engines/drascula/drascula.cpp	2008-05-27 12:22:34 UTC (rev 32321)
@@ -172,7 +172,7 @@
 		step_x = PASO_HARE_X; step_y = PASO_HARE_Y;
 		alto_hare = CHARACTER_HEIGHT; ancho_hare = CHARACTER_WIDTH; alto_pies = PIES_HARE;
 		alto_talk = ALTO_TALK_HARE; ancho_talk = ANCHO_TALK_HARE;
-		hay_respuesta = 0;
+		hay_answer = 0;
 		conta_ciego_vez = 0;
 		cambio_de_color = 0;
 		rompo_y_salgo = 0;
@@ -517,7 +517,7 @@
 	}
 
 	for (n = 1; n < 43; n++)
-		objetos_que_tengo[n] = 0;
+		inventoryObjects[n] = 0;
 
 	for (n = 0; n < NUM_FLAGS; n++)
 		flags[n] = 0;
@@ -529,7 +529,7 @@
 	}
 
 	for (n = 1; n < 7; n++)
-		objetos_que_tengo[n] = n;
+		inventoryObjects[n] = n;
 
 	if (num_ejec == 1) {
 		pickObject(28);
@@ -669,7 +669,7 @@
 	if (menu_scr == 0 && lleva_objeto == 1)
 		comprueba_objetos();
 
-	if (boton_dch == 1 && menu_scr == 1) {
+	if (button_dch == 1 && menu_scr == 1) {
 		delay(100);
 		if (num_ejec == 2)
 			loadPic(fondo_y_menu);
@@ -682,7 +682,7 @@
 		if (num_ejec != 3)
 			cont_sv = 0;
 	}
-	if (boton_dch == 1 && menu_scr == 0) {
+	if (button_dch == 1 && menu_scr == 0) {
 		delay(100);
 		hare_se_mueve = 0;
 		if (sentido_hare == 2)
@@ -703,18 +703,18 @@
 			cont_sv = 0;
 	}
 
-	if (boton_izq == 1 && menu_bar == 1) {
+	if (button_izq == 1 && menu_bar == 1) {
 		delay(100);
 		elige_en_barra();
 		if (num_ejec != 3)
 			cont_sv = 0;
-	} else if (boton_izq == 1 && lleva_objeto == 0) {
+	} else if (button_izq == 1 && lleva_objeto == 0) {
 		delay(100);
 		if (comprueba1())
 			return true;
 		if (num_ejec != 3)
 			cont_sv = 0;
-	} else if (boton_izq == 1 && lleva_objeto == 1) {
+	} else if (button_izq == 1 && lleva_objeto == 1) {
 		if (comprueba2())
 			return true;
 		if (num_ejec != 3)
@@ -831,8 +831,8 @@
 	int result = 1;
 
 	for (int h = 1; h < 43; h++) {
-		if (objetos_que_tengo[h] == osj) {
-			objetos_que_tengo[h] = 0;
+		if (inventoryObjects[h] == osj) {
+			inventoryObjects[h] = 0;
 			result = 0;
 			break;
 		}
@@ -1398,16 +1398,16 @@
 			mouseY = event.mouse.y;
 			break;
 		case Common::EVENT_LBUTTONDOWN:
-			boton_izq = 1;
+			button_izq = 1;
 			break;
 		case Common::EVENT_LBUTTONUP:
-			boton_izq = 0;
+			button_izq = 0;
 			break;
 		case Common::EVENT_RBUTTONDOWN:
-			boton_dch = 1;
+			button_dch = 1;
 			break;
 		case Common::EVENT_RBUTTONUP:
-			boton_dch = 0;
+			button_dch = 0;
 			break;
 		case Common::EVENT_QUIT:
 			// TODO
@@ -1464,11 +1464,11 @@
 
 		MirarRaton();
 
-		if (boton_dch == 1) {
+		if (button_dch == 1) {
 			delay(100);
 			break;
 		}
-		if (boton_izq == 1) {
+		if (button_izq == 1) {
 			delay(100);
 			if (mouseX > 80 && mouseX < 121) {
 				int vol = _mixer->getVolumeForSoundType(Audio::Mixer::kPlainSoundType) / 16;
@@ -1548,7 +1548,7 @@
 
 		MirarRaton();
 
-		if (boton_izq == 1) {
+		if (button_izq == 1) {
 			delay(100);
 			for (n = 0; n < NUM_SAVES; n++) {
 				if (mouseX > 115 && mouseY > y + (9 * n) && mouseX < 115 + 175 && mouseY < y + 10 + (9 * n)) {
@@ -1640,10 +1640,10 @@
 
 void DrasculaEngine::print_abc(const char *said, int x_pantalla, int y_pantalla) {
 	int pos_texto[8];
-	int y_de_letra = 0, x_de_letra = 0, h, longitud;
-	longitud = strlen(said);
+	int y_de_letra = 0, x_de_letra = 0, h, length;
+	length = strlen(said);
 
-	for (h = 0; h < longitud; h++) {
+	for (h = 0; h < length; h++) {
 		y_de_letra = (_lang == kSpanish) ? Y_ABC_ESP : Y_ABC;
 		int c = toupper(said[h]);
 		if (c == 'A')
@@ -1957,7 +1957,7 @@
 		// end of efecto()
 
 		MirarRaton();
-		if (boton_dch == 1 || boton_izq == 1)
+		if (button_dch == 1 || button_izq == 1)
 			break;
 		if (mouseX != xr)
 			break;
@@ -2370,7 +2370,7 @@
 	sentido_hare = sav->readSint32LE();
 
 	for (l = 1; l < 43; l++) {
-		objetos_que_tengo[l] = sav->readSint32LE();
+		inventoryObjects[l] = sav->readSint32LE();
 	}
 
 	for (l = 0; l < NUM_FLAGS; l++) {
@@ -2498,26 +2498,26 @@
 
 	if (num_ejec == 2) {
 		if ((sitio_x < hare_x) && (sitio_y <= (hare_y + alto_hare)))
-			cuadrante_1();
+			quadrant_1();
 		else if ((sitio_x < hare_x) && (sitio_y > (hare_y + alto_hare)))
-			cuadrante_3();
+			quadrant_3();
 		else if ((sitio_x > hare_x + ancho_hare) && (sitio_y <= (hare_y + alto_hare)))
-			cuadrante_2();
+			quadrant_2();
 		else if ((sitio_x > hare_x + ancho_hare) && (sitio_y > (hare_y + alto_hare)))
-			cuadrante_4();
+			quadrant_4();
 		else if (sitio_y < hare_y + alto_hare)
 			anda_parriba();
 		else if (sitio_y > hare_y + alto_hare)
 			anda_pabajo();
 	} else {
 		if ((sitio_x < hare_x + ancho_hare / 2 ) && (sitio_y <= (hare_y + alto_hare)))
-			cuadrante_1();
+			quadrant_1();
 		else if ((sitio_x < hare_x + ancho_hare / 2) && (sitio_y > (hare_y + alto_hare)))
-			cuadrante_3();
+			quadrant_3();
 		else if ((sitio_x > hare_x + ancho_hare / 2) && (sitio_y <= (hare_y + alto_hare)))
-			cuadrante_2();
+			quadrant_2();
 		else if ((sitio_x > hare_x + ancho_hare / 2) && (sitio_y > (hare_y + alto_hare)))
-			cuadrante_4();
+			quadrant_4();
 		else
 			hare_se_mueve = 0;
 	}
@@ -2670,7 +2670,7 @@
 	strcpy(texto_icono, iconName[x]);
 
 	for (n = 1; n < 43; n++) {
-		h = objetos_que_tengo[n];
+		h = inventoryObjects[n];
 
 		if (h != 0) {
 			if (num_ejec == 6)
@@ -2707,8 +2707,8 @@
 
 	for (n = 1; n < 43; n++){
 		if (sobre_que_objeto() == n) {
-			h = objetos_que_tengo[n];
-			objetos_que_tengo[n] = 0;
+			h = inventoryObjects[n];
+			inventoryObjects[n] = 0;
 			if (h != 0)
 				lleva_objeto = 1;
 		}
@@ -2880,8 +2880,8 @@
 		goto usando_verbos;
 
 	for (n = 1; n < 43; n++) {
-		if (sobre_que_objeto() == n && objetos_que_tengo[n] == 0) {
-			objetos_que_tengo[n] = h;
+		if (sobre_que_objeto() == n && inventoryObjects[n] == 0) {
+			inventoryObjects[n] = h;
 			lleva_objeto = 0;
 			comprueba_flags = 0;
 		}
@@ -2905,7 +2905,7 @@
 	updateRoom();
 	updateScreen(0, 0, 0, 0, 320, 200, dir_zona_pantalla);
 
-	hay_respuesta = 1;
+	hay_answer = 1;
 
 	if (menu_scr == 1) {
 		if (num_ejec == 1) {
@@ -2962,7 +2962,7 @@
 			else if (pickedObject == kVerbLook && fl == 23)
 				talk(_text[_lang][152], "152.als");
 			else
-				hay_respuesta = 0;
+				hay_answer = 0;
 		} else if (num_ejec == 3) {
 			if (pickedObject == kVerbLook && fl == 22)
 				talk(_text[_lang][307], "307.als");
@@ -3007,7 +3007,7 @@
 			else if (pickedObject == kVerbLook && fl == 23)
 				talk(_text[_lang][152], "152.als");
 			else
-				hay_respuesta = 0;
+				hay_answer = 0;
 		} else if (num_ejec == 4) {
 			if ((pickedObject == 18 && fl == 19) || (pickedObject == 19 && fl == 18)) {
 				withoutVerb();
@@ -3057,7 +3057,7 @@
 			else if (pickedObject == kVerbLook && fl == 22)
 				talk(_text[_lang][161], "161.als");
 			else
-				hay_respuesta = 0;
+				hay_answer = 0;
 		} else if (num_ejec == 5) {
 			if (pickedObject == kVerbLook && fl == 28)
 				talk(_text[_lang][328], "328.als");
@@ -3085,7 +3085,7 @@
 			else if (pickedObject == kVerbLook && fl == 20)
 				talk(_text[_lang][162], "162.als"); 
 			else
-				hay_respuesta = 0;
+				hay_answer = 0;
 		} else if (num_ejec == 6) {
 			if (pickedObject == kVerbLook && fl == 28)
 				talk(_text[_lang][328], "328.als");
@@ -3097,7 +3097,7 @@
 			else if (pickedObject == kVerbLook && fl == 21)
 				talk(_text[_lang][441], "441.als");
 			else
-				hay_respuesta = 0;
+				hay_answer = 0;
 		}
 	} else {
 		if (num_ejec == 1) {
@@ -3118,7 +3118,7 @@
 			else if (roomNumber == 63)
 				room_63(fl);
 			else
-				hay_respuesta = 0;
+				hay_answer = 0;
 		} else if (num_ejec == 2) {
 			if (pickedObject == kVerbLook && fl == 50)
 				talk(_text[_lang][308], "308.als");
@@ -3170,7 +3170,7 @@
 			else if (roomNumber == 19)
 				room_19(fl);
 			else
-				hay_respuesta = 0;
+				hay_answer = 0;
 		} else if (num_ejec == 3) {
 			if (pickedObject == kVerbLook && fl == 50)
 				talk(_text[_lang][309], "309.als");
@@ -3188,7 +3188,7 @@
 				if (room_13(fl))
 					return true;
 			} else
-				hay_respuesta = 0;
+				hay_answer = 0;
 		} else if (num_ejec == 4) {
 			if (roomNumber == 28)
 				talk(_text[_lang][178], "178.als");
@@ -3238,7 +3238,7 @@
 			else if (roomNumber == 44)
 				room_44(fl);
 			else
-				hay_respuesta = 0;
+				hay_answer = 0;
 		} else if (num_ejec == 5) {
 			if (pickedObject == kVerbLook && fl == 50)
 				talk("Cuanto mas me miro, mas me gusto", "54.als");
@@ -3266,7 +3266,7 @@
 				if (room_56(fl))
 					return true;
 			} else
-				hay_respuesta = 0;
+				hay_answer = 0;
 		} else if (num_ejec == 6) {
 			if (pickedObject == kVerbLook && fl == 50 && flags[0] == 1)
 				talk(_text[_lang][308], "308.als");
@@ -3294,12 +3294,12 @@
 			} else if (roomNumber == 61)
 				room_61(fl);
 			else
-				hay_respuesta = 0;
+				hay_answer = 0;
 		}
 	}
-	if (hay_respuesta == 0 && hay_nombre == 1)
+	if (hay_answer == 0 && hay_nombre == 1)
 		room_0();
-	else if (hay_respuesta == 0 && menu_scr == 1)
+	else if (hay_answer == 0 && menu_scr == 1)
 		room_0();
 
 	return false;
@@ -3631,87 +3631,87 @@
 	return ~car;
 }
 
-void DrasculaEngine::cuadrante_1() {
-	float distancia_x, distancia_y;
+void DrasculaEngine::quadrant_1() {
+	float distance_x, distance_y;
 
 	if (num_ejec == 2)
-		distancia_x = hare_x - sitio_x;
+		distance_x = hare_x - sitio_x;
 	else
-		distancia_x = hare_x + ancho_hare / 2 - sitio_x;
+		distance_x = hare_x + ancho_hare / 2 - sitio_x;
 
-	distancia_y = (hare_y + alto_hare) - sitio_y;
+	distance_y = (hare_y + alto_hare) - sitio_y;
 
-	if (distancia_x < distancia_y) {
+	if (distance_x < distance_y) {
 		direccion_hare = 0;
 		sentido_hare = 2;
-		step_x = (int)(distancia_x / (distancia_y / PASO_HARE_Y));
+		step_x = (int)(distance_x / (distance_y / PASO_HARE_Y));
 	} else {
 		direccion_hare = 7;
 		sentido_hare = 0;
-		step_y = (int)(distancia_y / (distancia_x / PASO_HARE_X));
+		step_y = (int)(distance_y / (distance_x / PASO_HARE_X));
 	}
 }
 
-void DrasculaEngine::cuadrante_2() {
-	float distancia_x, distancia_y;
+void DrasculaEngine::quadrant_2() {
+	float distance_x, distance_y;
 
 	if (num_ejec == 2)
-		distancia_x = abs(hare_x + ancho_hare - sitio_x);
+		distance_x = abs(hare_x + ancho_hare - sitio_x);
 	else
-		distancia_x = abs(hare_x + ancho_hare / 2 - sitio_x);
+		distance_x = abs(hare_x + ancho_hare / 2 - sitio_x);
 
-	distancia_y = (hare_y + alto_hare) - sitio_y;
+	distance_y = (hare_y + alto_hare) - sitio_y;
 
-	if (distancia_x < distancia_y) {
+	if (distance_x < distance_y) {
 		direccion_hare = 1;
 		sentido_hare = 2;
-		step_x = (int)(distancia_x / (distancia_y / PASO_HARE_Y));
+		step_x = (int)(distance_x / (distance_y / PASO_HARE_Y));
 	} else {
 		direccion_hare = 2;
 		sentido_hare = 1;
-		step_y = (int)(distancia_y / (distancia_x / PASO_HARE_X));
+		step_y = (int)(distance_y / (distance_x / PASO_HARE_X));
 	}
 }
 
-void DrasculaEngine::cuadrante_3() {
-	float distancia_x, distancia_y;
+void DrasculaEngine::quadrant_3() {
+	float distance_x, distance_y;
 
 	if (num_ejec == 2)
-		distancia_x = hare_x - sitio_x;
+		distance_x = hare_x - sitio_x;
 	else
-		distancia_x = hare_x + ancho_hare / 2 - sitio_x;
+		distance_x = hare_x + ancho_hare / 2 - sitio_x;
 
-	distancia_y = sitio_y - (hare_y + alto_hare);
+	distance_y = sitio_y - (hare_y + alto_hare);
 
-	if (distancia_x < distancia_y) {
+	if (distance_x < distance_y) {
 		direccion_hare = 5;
 		sentido_hare = 3;
-		step_x = (int)(distancia_x / (distancia_y / PASO_HARE_Y));
+		step_x = (int)(distance_x / (distance_y / PASO_HARE_Y));
 	} else {
 		direccion_hare = 6;
 		sentido_hare = 0;
-		step_y = (int)(distancia_y / (distancia_x / PASO_HARE_X));
+		step_y = (int)(distance_y / (distance_x / PASO_HARE_X));
 	}
 }
 
-void DrasculaEngine::cuadrante_4() {
-	float distancia_x, distancia_y;
+void DrasculaEngine::quadrant_4() {
+	float distance_x, distance_y;
 
 	if (num_ejec == 2)
-		distancia_x = abs(hare_x + ancho_hare - sitio_x);
+		distance_x = abs(hare_x + ancho_hare - sitio_x);
 	else
-		distancia_x = abs(hare_x + ancho_hare / 2 - sitio_x);
+		distance_x = abs(hare_x + ancho_hare / 2 - sitio_x);
 
-	distancia_y = sitio_y - (hare_y + alto_hare);
+	distance_y = sitio_y - (hare_y + alto_hare);
 
-	if (distancia_x < distancia_y) {
+	if (distance_x < distance_y) {
 		direccion_hare = 4;
 		sentido_hare = 3;
-		step_x = (int)(distancia_x / (distancia_y / PASO_HARE_Y));
+		step_x = (int)(distance_x / (distance_y / PASO_HARE_Y));
 	} else {
 		direccion_hare = 3;
 		sentido_hare = 1;
-		step_y = (int)(distancia_y / (distancia_x / PASO_HARE_X));
+		step_y = (int)(distance_y / (distance_x / PASO_HARE_X));
 	}
 }
 
@@ -3729,7 +3729,7 @@
 	out->writeSint32LE(sentido_hare);
 
 	for (l = 1; l < 43; l++) {
-		out->writeSint32LE(objetos_que_tengo[l]);
+		out->writeSint32LE(inventoryObjects[l]);
 	}
 
 	for (l = 0; l < NUM_FLAGS; l++) {
@@ -3797,7 +3797,7 @@
 
 	for (n = 0; n < 43; n++) {
 		if (sobre_que_objeto() == n) {
-			h = objetos_que_tengo[n];
+			h = inventoryObjects[n];
 			if (h != 0)
 				if (banderas(h))
 					return true;
@@ -3809,23 +3809,23 @@
 
 void DrasculaEngine::conversa(const char *nom_fich) {
 	int h;
-	int juego1 = 1, juego2 = 1, juego3 = 1, juego4 = 1;
-	char frase1[78];
-	char frase2[78];
-	char frase3[87];
-	char frase4[78];
+	int game1 = 1, game2 = 1, game3 = 1, game4 = 1;
+	char phrase1[78];
+	char phrase2[78];
+	char phrase3[87];
+	char phrase4[78];
 	char para_codificar[13];
-	char suena1[13];
-	char suena2[13];
-	char suena3[13];
-	char suena4[13];
-	int longitud;
-	int respuesta1;
-	int respuesta2;
-	int respuesta3;
-	int usado1 = 0;
-	int usado2 = 0;
-	int usado3 = 0;
+	char sound1[13];
+	char sound2[13];
+	char sound3[13];
+	char sound4[13];
+	int length;
+	int answer1;
+	int answer2;
+	int answer3;
+	int used1 = 0;
+	int used2 = 0;
+	int used3 = 0;
 	char buffer[256];
 
 	rompo_y_salgo = 0;
@@ -3843,67 +3843,67 @@
 	int size = ald->size();
 
 	getLine(ald, buffer, size);
-	sscanf(buffer, "%s", frase1);
+	sscanf(buffer, "%s", phrase1);
 	getLine(ald, buffer, size);
-	sscanf(buffer, "%s", frase2);
+	sscanf(buffer, "%s", phrase2);
 	getLine(ald, buffer, size);
-	sscanf(buffer, "%s", frase3);
+	sscanf(buffer, "%s", phrase3);
 	getLine(ald, buffer, size);
-	sscanf(buffer, "%s", frase4);
+	sscanf(buffer, "%s", phrase4);
 	getLine(ald, buffer, size);
-	sscanf(buffer, "%s", suena1);
+	sscanf(buffer, "%s", sound1);
 	getLine(ald, buffer, size);
-	sscanf(buffer, "%s", suena2);
+	sscanf(buffer, "%s", sound2);
 	getLine(ald, buffer, size);
-	sscanf(buffer, "%s", suena3);
+	sscanf(buffer, "%s", sound3);
 	getLine(ald, buffer, size);
-	sscanf(buffer, "%s", suena4);
+	sscanf(buffer, "%s", sound4);
 	getLine(ald, buffer, size);
-	sscanf(buffer, "%d", &respuesta1);
+	sscanf(buffer, "%d", &answer1);
 	getLine(ald, buffer, size);
-	sscanf(buffer, "%d", &respuesta2);
+	sscanf(buffer, "%d", &answer2);
 	getLine(ald, buffer, size);
-	sscanf(buffer, "%d", &respuesta3);
+	sscanf(buffer, "%d", &answer3);
 	delete ald;
 	ald = NULL;
 
 	if (num_ejec == 2 && !strcmp(nom_fich, "op_5.cal") && flags[38] == 1 && flags[33] == 1) {
-		strcpy(frase3, _text[_lang][405]);
-		strcpy(suena3, "405.als");
-		respuesta3 = 31;
+		strcpy(phrase3, _text[_lang][405]);
+		strcpy(sound3, "405.als");
+		answer3 = 31;
 	}
 
 	if (num_ejec == 6 && !strcmp(nom_fich, "op_12.cal") && flags[7] == 1) {
-		strcpy(frase3, _text[_lang][273]);
-		strcpy(suena3, "273.als");
-		respuesta3 = 14;
+		strcpy(phrase3, _text[_lang][273]);
+		strcpy(sound3, "273.als");
+		answer3 = 14;
 	}
 
 	if (num_ejec == 6 && !strcmp(nom_fich, "op_12.cal") && flags[10] == 1) {
-		strcpy(frase3, " cuanto queda para que acabe el partido?");
-		strcpy(suena3, "274.als");
-		respuesta3 = 15;
+		strcpy(phrase3, " cuanto queda para que acabe el partido?");
+		strcpy(sound3, "274.als");
+		answer3 = 15;
 	}
 
-	longitud = strlen(frase1);
-	for (h = 0; h < longitud; h++)
-		if (frase1[h] == (char)0xa7)
-			frase1[h] = ' ';
+	length = strlen(phrase1);
+	for (h = 0; h < length; h++)
+		if (phrase1[h] == (char)0xa7)
+			phrase1[h] = ' ';
 
-	longitud = strlen(frase2);
-	for (h = 0; h < longitud; h++)
-		if (frase2[h] == (char)0xa7)
-			frase2[h] = ' ';
+	length = strlen(phrase2);
+	for (h = 0; h < length; h++)
+		if (phrase2[h] == (char)0xa7)
+			phrase2[h] = ' ';
 
-	longitud = strlen(frase3);
-	for (h = 0; h < longitud; h++)
-		if (frase3[h] == (char)0xa7)
-			frase3[h] = ' ';
+	length = strlen(phrase3);
+	for (h = 0; h < length; h++)
+		if (phrase3[h] == (char)0xa7)
+			phrase3[h] = ' ';
 
-	longitud = strlen(frase4);
-	for (h = 0; h < longitud; h++)
-		if (frase4[h] == (char)0xa7)
-			frase4[h] = ' ';
+	length = strlen(phrase4);
+	for (h = 0; h < length; h++)
+		if (phrase4[h] == (char)0xa7)
+			phrase4[h] = ' ';
 
 	loadPic("car.alg");
 	decompressPic(dir_hare_fondo, 1);
@@ -3930,88 +3930,88 @@
 	MirarRaton();
 
 	if (mouseY > 0 && mouseY < 9) {
-		if (usado1 == 1 && _color != WHITE)
+		if (used1 == 1 && _color != WHITE)
 			color_abc(WHITE);
-		else if (usado1 == 0 && _color != LIGHT_GREEN)
+		else if (used1 == 0 && _color != LIGHT_GREEN)
 			color_abc(LIGHT_GREEN);
 	} else if (mouseY > 8 && mouseY < 17) {
-		if (usado2 == 1 && _color != WHITE)
+		if (used2 == 1 && _color != WHITE)
 			color_abc(WHITE);
-		else if (usado2 == 0 && _color != LIGHT_GREEN)
+		else if (used2 == 0 && _color != LIGHT_GREEN)
 			color_abc(LIGHT_GREEN);
 	} else if (mouseY > 16 && mouseY < 25) {
-		if (usado3 == 1 && _color != WHITE)
+		if (used3 == 1 && _color != WHITE)
 			color_abc(WHITE);
-		else if (usado3 == 0 && _color != LIGHT_GREEN)
+		else if (used3 == 0 && _color != LIGHT_GREEN)
 			color_abc(LIGHT_GREEN);
 	} else if (_color != LIGHT_GREEN)
 		color_abc(LIGHT_GREEN);
 
 	if (mouseY > 0 && mouseY < 9)
-		juego1 = 2;
+		game1 = 2;
 	else if (mouseY > 8 && mouseY < 17)
-		juego2 = 2;
+		game2 = 2;
 	else if (mouseY > 16 && mouseY < 25)
-		juego3 = 2;
+		game3 = 2;
 	else if (mouseY > 24 && mouseY < 33)
-		juego4 = 2;
+		game4 = 2;
 
-	print_abc_opc(frase1, 1, 2, juego1);
-	print_abc_opc(frase2, 1, 10, juego2);
-	print_abc_opc(frase3, 1, 18, juego3);
-	print_abc_opc(frase4, 1, 26, juego4);
+	print_abc_opc(phrase1, 1, 2, game1);
+	print_abc_opc(phrase2, 1, 10, game2);
+	print_abc_opc(phrase3, 1, 18, game3);
+	print_abc_opc(phrase4, 1, 26, game4);
 
 	updateScreen(0, 0, 0, 0, 320, 200, dir_zona_pantalla);
 
-	if ((boton_izq == 1) && (juego1 == 2)) {
+	if ((button_izq == 1) && (game1 == 2)) {
 		delay(100);
-		usado1 = 1;
-		talk(frase1, suena1);
+		used1 = 1;
+		talk(phrase1, sound1);
 		if (num_ejec == 3)
 			grr();
 		else
-			responde(respuesta1);
-	} else if ((boton_izq == 1) && (juego2 == 2)) {
+			response(answer1);
+	} else if ((button_izq == 1) && (game2 == 2)) {
 		delay(100);
-		usado2 = 1;
-		talk(frase2, suena2);
+		used2 = 1;
+		talk(phrase2, sound2);
 		if (num_ejec == 3)
 			grr();
 		else
-			responde(respuesta2);
-	} else if ((boton_izq == 1) && (juego3 == 2)) {
+			response(answer2);
+	} else if ((button_izq == 1) && (game3 == 2)) {
 		delay(100);
-		usado3 = 1;
-		talk(frase3, suena3);
+		used3 = 1;
+		talk(phrase3, sound3);
 		if (num_ejec == 3)
 			grr();
 		else
-			responde(respuesta3);
-	} else if ((boton_izq == 1) && (juego4 == 2)) {
+			response(answer3);
+	} else if ((button_izq == 1) && (game4 == 2)) {
 		delay(100);
-		talk(frase4, suena4);
+		talk(phrase4, sound4);
 		rompo_y_salgo = 1;
 	}
 
-	if (boton_izq == 1) {
+	if (button_izq == 1) {
 		delay(100);
 		color_abc(LIGHT_GREEN);
 	}
 
-	if (usado1 == 0)
-		juego1 = 1;
+	if (used1 == 0)
+		game1 = 1;
 	else
-		juego1 = 3;
-	if (usado2 == 0)
-		juego2 = 1;
+		game1 = 3;
+	if (used2 == 0)
+		game2 = 1;
 	else
-		juego2 = 3;
-	if (usado3 == 0)
-		juego3 = 1;
+		game2 = 3;
+	if (used3 == 0)
+		game3 = 1;
 	else
-		juego3 = 3;
+		game3 = 3;
 
-	juego4 = 1;
+	game4 = 1;
 
 	if (rompo_y_salgo == 0)
 		goto bucle_opc;
@@ -4025,16 +4025,16 @@
 		withoutVerb();
 }
 
-void DrasculaEngine::print_abc_opc(const char *said, int x_pantalla, int y_pantalla, int juego) {
+void DrasculaEngine::print_abc_opc(const char *said, int x_pantalla, int y_pantalla, int game) {
 	int pos_texto[6];
-	int y_de_signos, y_de_letra, x_de_letra = 0, h, longitud;
-	longitud = strlen(said);
+	int y_de_signos, y_de_letra, x_de_letra = 0, h, length;
+	length = strlen(said);
 
-	for (h = 0; h < longitud; h++) {
-		if (juego == 1) {
+	for (h = 0; h < length; h++) {
+		if (game == 1) {
 			y_de_letra = Y_ABC_OPC_1;
 			y_de_signos = Y_SIGNOS_OPC_1;
-		} else if (juego == 3) {
+		} else if (game == 3) {
 			y_de_letra = Y_ABC_OPC_3;
 			y_de_signos = Y_SIGNOS_OPC_3;
 		} else {
@@ -4194,7 +4194,7 @@
 	}
 }
 
-void DrasculaEngine::responde(int funcion) {
+void DrasculaEngine::response(int funcion) {
 	if (num_ejec == 1) {
 		if (funcion == 10)
 			talk_borracho(_textb[_lang][1], "B1.als");
@@ -4276,18 +4276,18 @@
 }
 
 void DrasculaEngine::suma_objeto(int osj) {
-	int h, puesto = 0;
+	int h, position = 0;
 
 	for (h = 1; h < 43; h++) {
-		if (objetos_que_tengo[h] == osj)
-			puesto = 1;
+		if (inventoryObjects[h] == osj)
+			position = 1;
 	}
 
-	if (puesto == 0) {
+	if (position == 0) {
 		for (h = 1; h < 43; h++) {
-			if (objetos_que_tengo[h] == 0) {
-				objetos_que_tengo[h] = osj;
-				puesto = 1;
+			if (inventoryObjects[h] == 0) {
+				inventoryObjects[h] = osj;
+				position = 1;
 				break;
 			}
 		}
@@ -4575,7 +4575,7 @@
 }
 
 void DrasculaEngine::grr() {
-	int longitud = 30;
+	int length = 30;
 
 	color_abc(DARK_GREEN);
 
@@ -4609,8 +4609,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 

Modified: scummvm/trunk/engines/drascula/drascula.h
===================================================================
--- scummvm/trunk/engines/drascula/drascula.h	2008-05-27 12:02:26 UTC (rev 32320)
+++ scummvm/trunk/engines/drascula/drascula.h	2008-05-27 12:22:34 UTC (rev 32321)
@@ -338,7 +338,7 @@
 
 	int num_obj[40], visible[40], isDoor[40];
 	int sitiobj_x[40], sitiobj_y[40], sentidobj[40];
-	int objetos_que_tengo[43];
+	int inventoryObjects[43];
 	char alapantallakeva[40][20];
 	int x_alakeva[40], y_alakeva[40], sentido_alkeva[40], alapuertakeva[40];
 	int x1[40], y1[40], x2[40], y2[40];
@@ -366,7 +366,7 @@
 	int sentido_final, anda_a_objeto;
 	int obj_saliendo;
 	int diff_vez, conta_vez;
-	int hay_respuesta;
+	int hay_answer;
 	int conta_ciego_vez;
 	int cambio_de_color;
 	int rompo_y_salgo;
@@ -394,8 +394,8 @@
 	int mouseX;
 	int mouseY;
 	int mouseY_ant;
-	int boton_izq;
-	int boton_dch;
+	int button_izq;
+	int button_dch;
 
 	bool escoba();
 	void black();
@@ -610,10 +610,10 @@
 	int vez();
 	void reduce_hare_chico(int, int, int, int, int, int, int, byte *, byte *);
 	char codifica(char);
-	void cuadrante_1();
-	void cuadrante_2();
-	void cuadrante_3();
-	void cuadrante_4();
+	void quadrant_1();
+	void quadrant_2();
+	void quadrant_3();
+	void quadrant_4();
 	void update_62();
 	void update_62_pre();
 	void update_63();
@@ -655,7 +655,7 @@
 	void room_63(int);
 	void conversa(const char *);
 	void print_abc_opc(const char *, int, int, int);
-	void responde(int);
+	void response(int);
 	void talk_borracho(const char *said, const char *filename);
 	void talk_pianista(const char *said, const char *filename);
 

Modified: scummvm/trunk/engines/drascula/rooms.cpp
===================================================================
--- scummvm/trunk/engines/drascula/rooms.cpp	2008-05-27 12:02:26 UTC (rev 32320)
+++ scummvm/trunk/engines/drascula/rooms.cpp	2008-05-27 12:22:34 UTC (rev 32321)
@@ -297,7 +297,7 @@
 	} else if (pickedObject == kVerbLook && fl == 120 && flags[8] == 0)
 		talk(14);
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_3(int fl) {
@@ -336,7 +336,7 @@
 		talk(185);
 		talk(186);
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_4(int fl) {
@@ -350,7 +350,7 @@
 		if (flags[7] == 1 && flags[26] == 1 && flags[34] == 1 && flags[35] == 1 && flags[37] == 1)
 			flags[38] = 1;
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_5(int fl) {
@@ -363,7 +363,7 @@
 		animation_5_2();
 		resta_objeto(10);
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_6(int fl){
@@ -422,9 +422,9 @@
 		visible[4] = 0;
 		flags[10] = 1;
 	} else if (pickedObject == kVerbOpen && fl == 140)
-		hay_respuesta = 1;
+		hay_answer = 1;
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_7(int fl){
@@ -439,7 +439,7 @@
 		if (flags[7] == 1 && flags[26] == 1 && flags[34] == 1 && flags[35] == 1 && flags[37] == 1)
 			flags[38] = 1;
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_8(int fl) {
@@ -452,7 +452,7 @@
 	} else if (pickedObject == kVerbLook && fl == 147)
 		talk(59);
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_9(int fl){
@@ -471,7 +471,7 @@
 		resta_objeto(7);
 		pickObject(14);}
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_12(int fl){
@@ -483,7 +483,7 @@
 	else if (pickedObject == kVerbClose && fl == 156)
 		closeDoor(16, 4);
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 bool DrasculaEngine::room_13(int fl) {
@@ -500,7 +500,7 @@
 		animation_2_3();
 		return true;
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 	return false;
 }
 
@@ -534,7 +534,7 @@
 	else if (pickedObject == kVerbLook && fl == 204)
 		talk(171);
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_15(int fl) {
@@ -577,7 +577,7 @@
 	else if (pickedObject == kVerbOpen && fl == 206)
 		talk(174);
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_16(int fl) {
@@ -624,7 +624,7 @@
 	} else if (pickedObject == kVerbTalk && fl == 187)
 		talk(_text[_lang][345], "345.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_17(int fl) {
@@ -648,7 +648,7 @@
 		pickObject(23);
 		resta_objeto(11);
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_18(int fl) {
@@ -705,14 +705,14 @@
 		pickObject(23);
 		resta_objeto(11);
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_19(int fl) {
 	if (pickedObject == kVerbLook && fl == 214)
 		talk(_text[_lang][191], "191.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 bool DrasculaEngine::room_21(int fl) {
@@ -734,7 +734,7 @@
 		animation_9_4();
 		return true;
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 
 	return false;
 }
@@ -769,7 +769,7 @@
 		visible[3] = 0;
 		flags[27] = 1;
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_23(int fl) {
@@ -792,7 +792,7 @@
 		if (flags[18] == 1)
 			animation_6_4();
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_24(int fl) {
@@ -807,7 +807,7 @@
 	else if (pickedObject == kVerbLook && fl == 151)
 		talk(_text[_lang][461], "461.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_26(int fl) {
@@ -862,7 +862,7 @@
 	else if (pickedObject == kVerbPick && fl == 168)
 		talk(_text[_lang][477], "477.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_27(int fl) {
@@ -883,7 +883,7 @@
 	else if (fl == 150)
 		talk(_text[_lang][460], "460.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_29(int fl) {
@@ -902,7 +902,7 @@
 	else if (pickedObject == kVerbOpen && fl == 156)
 		talk(_text[_lang][467], "467.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_30(int fl) {
@@ -933,7 +933,7 @@
 	else if (pickedObject == kVerbLook && fl == 158)
 		talk(_text[_lang][469], "469.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_31(int fl) {
@@ -950,7 +950,7 @@
 	else if (pickedObject == kVerbOpen && fl == 161)
 		talk(_text[_lang][471], "471.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_34(int fl) {
@@ -971,7 +971,7 @@
 	} else if (pickedObject == kVerbClose && fl == 120)
 		closeDoor(8, 2);
 	else
-		hay_respuesta=0;
+		hay_answer=0;
 }
 
 void DrasculaEngine::room_35(int fl) {
@@ -995,14 +995,14 @@
 		visible[3] = 0;
 		flags[17] = 0;
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_44(int fl) {
 	if (pickedObject == kVerbLook && fl == 172)
 		talk(_text[_lang][428], "428.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_49(int fl){
@@ -1021,7 +1021,7 @@
 	else if (pickedObject == kVerbLook && fl == 203)
 		talk(_text[_lang][137], "137.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_53(int fl) {
@@ -1051,7 +1051,7 @@
 		withoutVerb();
 		visible[3] = 1;
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_54(int fl) {
@@ -1089,7 +1089,7 @@
 		withoutVerb();
 		resta_objeto(10);
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_55(int fl) {
@@ -1109,7 +1109,7 @@
 		stopSound();
 		lleva_al_hare(hare_x - 3, hare_y + alto_hare + 6);
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 bool DrasculaEngine::room_56(int fl) {
@@ -1123,7 +1123,7 @@
 	else if (pickedObject == kVerbLook && fl == 208)
 		talk(_text[_lang][142], "142.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 
 	return false;
 }
@@ -1134,7 +1134,7 @@
 	else if (pickedObject == kVerbLook && fl == 104)
 		talk(_text[_lang][454], "454.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_59(int fl) {
@@ -1208,7 +1208,7 @@
 			flags[11] = 1;
 		}
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 bool DrasculaEngine::room_60(int fl) {
@@ -1245,7 +1245,7 @@
 		anima("cnf.bin", 14);
 		talk(_text[_lang][455], "455.als");
 	} else
-		hay_respuesta = 0;
+		hay_answer = 0;
 
 	return false;
 }
@@ -1260,7 +1260,7 @@
 	else if (pickedObject == kVerbOpen && fl == 117)
 		talk(_text[_lang][174], "174.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_62(int fl) {
@@ -1284,7 +1284,7 @@
 		talk(_text[_lang][167], "167.als");
 	else if (pickedObject == kVerbLook && fl == 103)
 		talk(_text[_lang][166], "166.als");
-	else hay_respuesta = 0;
+	else hay_answer = 0;
 }
 
 void DrasculaEngine::room_63(int fl) {
@@ -1299,7 +1299,7 @@
 	else if (pickedObject == kVerbTalk && fl == 108)
 		talk(_text[_lang][333], "333.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::room_pendulo(int fl) {
@@ -1314,7 +1314,7 @@
 	else if (pickedObject == kVerbPick || pickedObject == kVerbOpen)
 		talk(_text[_lang][453], "453.als");
 	else
-		hay_respuesta = 0;
+		hay_answer = 0;
 }
 
 void DrasculaEngine::updateRefresh() {

Modified: scummvm/trunk/engines/drascula/talk.cpp
===================================================================
--- scummvm/trunk/engines/drascula/talk.cpp	2008-05-27 12:02:26 UTC (rev 32320)
+++ scummvm/trunk/engines/drascula/talk.cpp	2008-05-27 12:22:34 UTC (rev 32321)
@@ -43,7 +43,7 @@
 void DrasculaEngine::talk_igor_dch(const char *said, const char *filename) {
 	int x_talk[8] = { 56, 82, 108, 134, 160, 186, 212, 238 };
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -86,8 +86,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 	copyBackground(0, 0, 0, 0, 320, 200, dir_dibujo1, dir_zona_pantalla);
@@ -99,7 +99,7 @@
 void DrasculaEngine::talk_dr_izq(const char *said, const char *filename) {
 	int x_talk[8] = { 1, 40, 79, 118, 157, 196, 235, 274 };
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -147,8 +147,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -161,7 +161,7 @@
 void DrasculaEngine::talk_dr_dch(const char *said, const char *filename) {
 	int x_talk[8] = { 1, 40, 79, 118, 157, 196, 235, 274 };
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -208,8 +208,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -224,7 +224,7 @@
 }
 
 void DrasculaEngine::talk_solo(const char *said, const char *filename) {
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -262,8 +262,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 	if (num_ejec == 6) {
@@ -275,7 +275,7 @@
 void DrasculaEngine::talk_igor_frente(const char *said, const char *filename) {
 	int x_talk[8] = { 56, 86, 116, 146, 176, 206, 236, 266 };
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -320,8 +320,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -340,7 +340,7 @@
 void DrasculaEngine::talk_tabernero(const char *said, const char *filename) {
 	int x_talk[9] = { 1, 23, 45, 67, 89, 111, 133, 155, 177 };
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -384,8 +384,8 @@
 		delete(sku);
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -396,7 +396,7 @@
 void DrasculaEngine::talk_bj(const char *said, const char *filename) {
 	int x_talk[5] = { 64, 92, 120, 148, 176 };
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -447,8 +447,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -471,7 +471,7 @@
 	int x_talk_dch[6] = { 1, 25, 49, 73, 97, 121 };
 	int x_talk_izq[6] = { 145, 169, 193, 217, 241, 265 };
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	if (num_ejec == 6) {
 		if (flags[0] == 0 && roomNumber == 102) {
@@ -585,8 +585,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -602,7 +602,7 @@
 void DrasculaEngine::talk_pianista(const char *said, const char *filename) {
 	int x_talk[4] = { 97, 145, 193, 241 };
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -640,8 +640,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -652,7 +652,7 @@
 void DrasculaEngine::talk_borracho(const char *said, const char *filename) {
 	int x_talk[8] = { 1, 21, 41, 61, 81, 101, 121, 141 };
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -704,8 +704,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -736,7 +736,7 @@
 void DrasculaEngine::talk_vb(const char *said, const char *filename) {
 	int x_talk[6] = {1, 27, 53, 79, 105, 131};
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -777,8 +777,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -795,7 +795,7 @@
 }
 
 void DrasculaEngine::talk_vbpuerta(const char *said, const char *filename) {
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -820,8 +820,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -835,7 +835,7 @@
 	byte *num_cara;
 	int p = 0;
 	int pos_ciego[6];
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	color_abc(VON_BRAUN);
 
@@ -896,14 +896,14 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 }
 
 void DrasculaEngine::talk_hacker(const char *said, const char *filename) {
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -929,8 +929,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -940,7 +940,7 @@
 void DrasculaEngine::talk_lobo(const char *said, const char *filename) {
 	int x_talk[9] = {52, 79, 106, 133, 160, 187, 214, 241, 268};
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -977,8 +977,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -989,7 +989,7 @@
 void DrasculaEngine::talk_mus(const char *said, const char *filename) {
 	int x_talk[8] = { 16, 35, 54, 73, 92, 111, 130, 149};
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -1026,8 +1026,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-	if (longitud > 0)
+		length -= 2;
+	if (length > 0)
 		goto bucless;
 	}
 
@@ -1038,7 +1038,7 @@
 void DrasculaEngine::talk_pen(const char *said, const char *filename) {
 	int x_talk[8] = {112, 138, 164, 190, 216, 242, 268, 294};
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	flags[1] = 1;
 
@@ -1081,8 +1081,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -1095,7 +1095,7 @@
 void DrasculaEngine::talk_pen2(const char *said, const char *filename) {
 	int x_talk[5]={122, 148, 174, 200, 226};
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	flags[1] = 1;
 
@@ -1134,8 +1134,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -1148,7 +1148,7 @@
 void DrasculaEngine::talk_taber2(const char *said, const char *filename) {
 	int x_talk[6] = {1, 23, 45, 67, 89, 111};
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -1185,8 +1185,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -1197,7 +1197,7 @@
 void DrasculaEngine::talk_bj_cama(const char *said, const char *filename) {
 	int x_talk[5] = {51, 101, 151, 201, 251};
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -1235,8 +1235,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 	updateRoom();
@@ -1247,7 +1247,7 @@
 	char *num_cara;
 	int x_talk[3] = {1, 94, 187};
 	int cara, pantalla;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -1287,8 +1287,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -1302,7 +1302,7 @@
 	int x_talk_dch[6] = {1, 25, 49, 73, 97, 121};
 	int x_talk_izq[6] = {145, 169, 193, 217, 241, 265};
 	int p, cara = 0;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	color_abc(YELLOW);
 
@@ -1400,8 +1400,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -1413,7 +1413,7 @@
 
 void DrasculaEngine::talk_baul(const char *said, const char *filename) {
 	int cara = 0, cara_antes;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -1450,8 +1450,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -1461,7 +1461,7 @@
 }
 
 void DrasculaEngine::talk_igorpuerta(const char *said, const char *filename) {
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -1486,8 +1486,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -1498,7 +1498,7 @@
 void DrasculaEngine::talk_igor_sentado(const char *said, const char *filename) {
 	int x_talk[4] = { 80, 102, 124, 146 };
 	int cara;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -1535,8 +1535,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 
@@ -1547,7 +1547,7 @@
 void DrasculaEngine::talk_igor_peluca(const char *said, const char *filename) {
 	int x_talk[4] = {119, 158, 197, 236};
 	int cara = 0;
-	int longitud = strlen(said);
+	int length = strlen(said);
 
 	_rnd->setSeed((unsigned int)_system->getMillis() / 2);
 
@@ -1584,8 +1584,8 @@
 		sku = NULL;
 		ctvd_terminate();
 	} else {
-		longitud -= 2;
-		if (longitud > 0)
+		length -= 2;
+		if (length > 0)
 			goto bucless;
 	}
 


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