diff options
author | Thierry Crozat | 2017-12-13 21:54:34 +0000 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:43 +0000 |
commit | f3e32d91a4d6ad6d89423e0425f1199b3aec7606 (patch) | |
tree | 1aae7bb6db9f62e733389a4bac0b4e38a1e7328b | |
parent | fa426e4dc3070b5945367db704c3a78db7759960 (diff) | |
download | scummvm-rg350-f3e32d91a4d6ad6d89423e0425f1199b3aec7606.tar.gz scummvm-rg350-f3e32d91a4d6ad6d89423e0425f1199b3aec7606.tar.bz2 scummvm-rg350-f3e32d91a4d6ad6d89423e0425f1199b3aec7606.zip |
SUPERNOVA: Remove unused function variant
-rw-r--r-- | engines/supernova/state.cpp | 26 | ||||
-rw-r--r-- | engines/supernova/state.h | 1 |
2 files changed, 0 insertions, 27 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp index 7f8475aba5..515304aa43 100644 --- a/engines/supernova/state.cpp +++ b/engines/supernova/state.cpp @@ -1806,32 +1806,6 @@ void GameManager::dead(StringID messageId) { _guiEnabled = true; } -// TODO: Remove this function when all the texts are properly extracted -void GameManager::dead(const char *message) { - _vm->paletteFadeOut(); - _guiEnabled = false; - _vm->setCurrentImage(11); - _vm->renderImage(0); - _vm->renderMessage(message); - _vm->playSound(kAudioDeath); - _vm->paletteFadeIn(); - getInput(); - _vm->paletteFadeOut(); - _vm->removeMessage(); - - // TODO: Load screen - destroyRooms(); - initRooms(); - initState(); - initGui(); - _inventory.clear(); - changeRoom(CABIN_R3); - g_system->fillScreen(kColorBlack); - _vm->paletteFadeIn(); - - _guiEnabled = true; -} - int GameManager::invertSection(int section) { if (section < 128) section += 128; diff --git a/engines/supernova/state.h b/engines/supernova/state.h index 7bb7b1861e..03bbc8074d 100644 --- a/engines/supernova/state.h +++ b/engines/supernova/state.h @@ -186,7 +186,6 @@ public: void loadTime(); void saveTime(); void setAnimationTimer(int ticks); - void dead(const char *message); void dead(StringID messageId); int dialog(int num, byte rowLength[6], StringID text[6], int number); void sentence(int number, bool brightness); |