diff options
Diffstat (limited to 'engines/drascula/talk.cpp')
-rw-r--r-- | engines/drascula/talk.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/drascula/talk.cpp b/engines/drascula/talk.cpp index 3470bcd3b8..05fd512355 100644 --- a/engines/drascula/talk.cpp +++ b/engines/drascula/talk.cpp @@ -727,6 +727,12 @@ bucless: } } +void DrasculaEngine::talk_vb(int index) { + char name[100]; + sprintf(name, "VB%i.als", index); + talk_vb(_textvb[_lang][index], name); +} + void DrasculaEngine::talk_vb(const char *said, const char *filename) { int x_talk[6] = {1, 27, 53, 79, 105, 131}; int cara; @@ -782,6 +788,12 @@ bucless: playMusic(roomMusic); } +void DrasculaEngine::talk_vbpuerta(int index) { + char name[100]; + sprintf(name, "VB%i.als", index); + talk_vb(_textvb[_lang][index], name); +} + void DrasculaEngine::talk_vbpuerta(const char *said, const char *filename) { int longitud = strlen(said); |