aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/talk.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2008-05-11 09:44:01 +0000
committerPaweł Kołodziejski2008-05-11 09:44:01 +0000
commit7926d4dc8a84715ebf5d34a0b0a63570522aab28 (patch)
tree56939ca09c7fae689787f53014083de9f00eb349 /engines/drascula/talk.cpp
parent81b75d9238c558234004cf7ef2da687d022e4433 (diff)
downloadscummvm-rg350-7926d4dc8a84715ebf5d34a0b0a63570522aab28.tar.gz
scummvm-rg350-7926d4dc8a84715ebf5d34a0b0a63570522aab28.tar.bz2
scummvm-rg350-7926d4dc8a84715ebf5d34a0b0a63570522aab28.zip
remove dead code
svn-id: r32001
Diffstat (limited to 'engines/drascula/talk.cpp')
-rw-r--r--engines/drascula/talk.cpp74
1 files changed, 0 insertions, 74 deletions
diff --git a/engines/drascula/talk.cpp b/engines/drascula/talk.cpp
index 3dea8c21a1..3ba57652ce 100644
--- a/engines/drascula/talk.cpp
+++ b/engines/drascula/talk.cpp
@@ -41,8 +41,6 @@ void DrasculaEngine::talk_igor_dch(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(BLANCO);
if (hay_sb == 1) {
@@ -84,7 +82,6 @@ bucless:
term_int = 1;
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -116,8 +113,6 @@ void DrasculaEngine::talk_dr_izq(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(ROJO);
if (hay_sb == 1) {
@@ -164,7 +159,6 @@ bucless:
term_int = 1;
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -197,8 +191,6 @@ void DrasculaEngine::talk_dr_dch(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(ROJO);
if (hay_sb == 1) {
@@ -244,7 +236,6 @@ bucless:
term_int = 1;
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -314,7 +305,6 @@ bucless:
term_int = 1;
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -346,8 +336,6 @@ void DrasculaEngine::talk_igor_frente(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(BLANCO);
if (hay_sb == 1) {
@@ -391,7 +379,6 @@ bucless:
term_int = 1;
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -430,8 +417,6 @@ void DrasculaEngine::talk_tabernero(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(MARRON);
if (hay_sb == 1) {
@@ -475,7 +460,6 @@ bucless:
byte key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -505,8 +489,6 @@ void DrasculaEngine::talk_bj(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(BLANCO);
if (hay_sb == 1) {
@@ -556,7 +538,6 @@ bucless:
term_int = 1;
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -609,9 +590,6 @@ void DrasculaEngine::talk(const char *dicho, const char *filename) {
suma_1_pixel = 0;
}
- if (num_ejec == 2)
- buffer_teclado();
-
if (num_ejec == 4) {
if (strcmp(num_room, "24.alg") || flags[29] == 0) {
color_abc(AMARILLO);
@@ -707,7 +685,6 @@ bucless:
term_int = 1;
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -741,8 +718,6 @@ void DrasculaEngine::talk_pianista(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(BLANCO);
if (hay_sb == 1) {
@@ -779,7 +754,6 @@ bucless:
byte key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -824,8 +798,6 @@ bebiendo:
goto bebiendo;
}
- buffer_teclado();
-
color_abc(VERDE_OSCURO);
if (hay_sb == 1) {
@@ -861,7 +833,6 @@ bucless:
byte key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -906,8 +877,6 @@ void DrasculaEngine::talk_vb(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(VON_BRAUN);
if (hay_sb == 1) {
@@ -947,7 +916,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -977,8 +945,6 @@ void DrasculaEngine::talk_vbpuerta(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(VON_BRAUN);
if (hay_sb == 1) {
@@ -1002,7 +968,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -1030,8 +995,6 @@ void DrasculaEngine::talk_ciego(const char *dicho, const char *filename, const c
int longitud;
longitud = strlen(dicho);
- buffer_teclado();
-
color_abc(VON_BRAUN);
copyBackground(0, 0, 0, 0, 320, 200, dir_dibujo1, dir_zona_pantalla);
@@ -1109,7 +1072,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -1134,8 +1096,6 @@ void DrasculaEngine::talk_hacker(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
copyBackground(0, 0, 0, 0, 320, 200, dir_dibujo1, dir_zona_pantalla);
updateScreen(0, 0, 0, 0, 320, 200, dir_zona_pantalla);
@@ -1224,7 +1184,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -1255,8 +1214,6 @@ void DrasculaEngine::talk_mus(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(BLANCO);
if (hay_sb == 1) {
@@ -1292,7 +1249,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -1329,8 +1285,6 @@ void DrasculaEngine::talk_pen(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(AMARILLO);
if (hay_sb == 1) {
@@ -1366,7 +1320,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -1401,8 +1354,6 @@ void DrasculaEngine::talk_pen2(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(AMARILLO);
if (hay_sb == 1) {
@@ -1438,7 +1389,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -1471,8 +1421,6 @@ void DrasculaEngine::talk_taber2(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(MARRON);
if (hay_sb == 1) {
@@ -1508,7 +1456,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -1539,8 +1486,6 @@ void DrasculaEngine::talk_bj_cama(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(BLANCO);
if (hay_sb == 1) {
@@ -1577,7 +1522,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -1608,8 +1552,6 @@ void DrasculaEngine::talk_htel(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(AMARILLO);
if (hay_sb == 1) {
@@ -1648,7 +1590,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -1675,8 +1616,6 @@ void DrasculaEngine::talk_sinc(const char *dicho, const char *filename, const ch
int longitud;
longitud = strlen(dicho);
- buffer_teclado();
-
color_abc(AMARILLO);
if (num_ejec == 1) {
@@ -1775,7 +1714,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -1806,8 +1744,6 @@ void DrasculaEngine::talk_baul(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
cara_antes = flags[19];
color_abc(MARRON);
@@ -1843,7 +1779,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -1872,8 +1807,6 @@ void DrasculaEngine::talk_igorpuerta(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(BLANCO);
if (hay_sb == 1){
@@ -1897,7 +1830,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -1928,8 +1860,6 @@ void DrasculaEngine::talk_igor_sentado(const char *dicho, const char *filename)
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(BLANCO);
if (hay_sb == 1) {
@@ -1965,7 +1895,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1) {
if (LookForFree() != 0)
goto bucless;
@@ -1996,8 +1925,6 @@ void DrasculaEngine::talk_igor_peluca(const char *dicho, const char *filename) {
tiempou = (unsigned int)tiempol / 2;
_rnd->setSeed(tiempou);
- buffer_teclado();
-
color_abc(BLANCO);
if (hay_sb == 1){
@@ -2033,7 +1960,6 @@ bucless:
int key = getscan();
if (key != 0)
ctvd_stop();
- buffer_teclado();
if (hay_sb == 1){
if (LookForFree() != 0)
goto bucless;