diff options
author | Strangerke | 2015-02-03 07:00:32 +0100 |
---|---|---|
committer | Strangerke | 2015-02-03 07:00:32 +0100 |
commit | 798733c15a4bffb12d3f048ca221b57f4a083353 (patch) | |
tree | 4cb235b0c12037b5402df20e7ff390064c3aad44 /engines | |
parent | 26d86017c7cf44e81758634893c8168bda1c9f9d (diff) | |
download | scummvm-rg350-798733c15a4bffb12d3f048ca221b57f4a083353.tar.gz scummvm-rg350-798733c15a4bffb12d3f048ca221b57f4a083353.tar.bz2 scummvm-rg350-798733c15a4bffb12d3f048ca221b57f4a083353.zip |
ACCESS: MM - Remove a useless function, rename showDeathText
Diffstat (limited to 'engines')
-rw-r--r-- | engines/access/martian/martian_game.cpp | 9 | ||||
-rw-r--r-- | engines/access/martian/martian_game.h | 3 |
2 files changed, 3 insertions, 9 deletions
diff --git a/engines/access/martian/martian_game.cpp b/engines/access/martian/martian_game.cpp index 5ec1ede25a..e3784e24fa 100644 --- a/engines/access/martian/martian_game.cpp +++ b/engines/access/martian/martian_game.cpp @@ -306,12 +306,7 @@ void MartianEngine::setupGame() { _player->_playerY = _player->_rawPlayer.y = TRAVEL_POS[_player->_roomNumber][1]; } -void MartianEngine::drawHelp() { - error("TODO: drawHelp"); -} - -void MartianEngine::sub13D10(Common::String msg) { - warning("TODO: Rename sub13d10"); +void MartianEngine::showDeathText(Common::String msg) { Common::String line = ""; int width = 0; bool lastLine; @@ -353,7 +348,7 @@ void MartianEngine::dead(int deathId) { _screen->_printStart = Common::Point(24, 18); // Display death message - sub13D10(_deaths[deathId]._msg); + showDeathText(_deaths[deathId]._msg); _screen->forceFadeOut(); _room->clearRoom(); diff --git a/engines/access/martian/martian_game.h b/engines/access/martian/martian_game.h index 7954948d30..c324ef52cc 100644 --- a/engines/access/martian/martian_game.h +++ b/engines/access/martian/martian_game.h @@ -64,8 +64,7 @@ public: virtual ~MartianEngine(); void doSpecial5(int param1); - void drawHelp(); - void sub13D10(Common::String msg); + void showDeathText(Common::String msg); virtual void establish(int esatabIndex, int sub) {}; }; |