aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2015-01-02 00:22:54 +0100
committerStrangerke2015-01-02 00:22:54 +0100
commitc3e20acdf2fe3e98fbd024cdedbc6c8bf00d9783 (patch)
treebd6b869889f0acb7fbbfbcd9e30e946b2df34b38
parent0f11287b74664a509b85b30e722a1b706c0da0a7 (diff)
downloadscummvm-rg350-c3e20acdf2fe3e98fbd024cdedbc6c8bf00d9783.tar.gz
scummvm-rg350-c3e20acdf2fe3e98fbd024cdedbc6c8bf00d9783.tar.bz2
scummvm-rg350-c3e20acdf2fe3e98fbd024cdedbc6c8bf00d9783.zip
ACCESS: MM - Some renaming
-rw-r--r--engines/access/martian/martian_game.cpp10
-rw-r--r--engines/access/martian/martian_game.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/engines/access/martian/martian_game.cpp b/engines/access/martian/martian_game.cpp
index 22a3c47928..a4cc752c45 100644
--- a/engines/access/martian/martian_game.cpp
+++ b/engines/access/martian/martian_game.cpp
@@ -75,7 +75,7 @@ void MartianEngine::initVariables() {
_numAnimTimers = 0;
}
-void MartianEngine::sub13E1F() {
+void MartianEngine::setNoteParams() {
_events->hideCursor();
_screen->_orgX1 = 58;
@@ -88,7 +88,7 @@ void MartianEngine::sub13E1F() {
_events->showCursor();
}
-void MartianEngine::sub13E4C(const Common::String &msg) {
+void MartianEngine::displayNote(const Common::String &msg) {
_fonts._charSet._lo = 1;
_fonts._charSet._hi = 8;
_fonts._charFor._lo = 0;
@@ -97,7 +97,7 @@ void MartianEngine::sub13E4C(const Common::String &msg) {
_screen->_maxChars = 40;
_screen->_printOrg = _screen->_printStart = Common::Point(59, 124);
- sub13E1F();
+ setNoteParams();
Common::String lines = msg;
Common::String line;
@@ -110,7 +110,7 @@ void MartianEngine::sub13E4C(const Common::String &msg) {
if (_screen->_printOrg.y == 196) {
_events->waitKeyMouse();
- sub13E1F();
+ setNoteParams();
_screen->_printOrg = _screen->_printStart;
}
} while (!lastLine);
@@ -142,7 +142,7 @@ void MartianEngine::doSpecial5(int param1) {
while ((c = (char)_word20060->_stream->readByte()) != '\0')
msg += c;
- sub13E4C(msg);
+ displayNote(msg);
_midi->stopSong();
_midi->freeMusic();
diff --git a/engines/access/martian/martian_game.h b/engines/access/martian/martian_game.h
index bd32527ffd..059644ce59 100644
--- a/engines/access/martian/martian_game.h
+++ b/engines/access/martian/martian_game.h
@@ -57,8 +57,8 @@ protected:
virtual void dead(int deathId) {}
- void sub13E1F();
- void sub13E4C(const Common::String &msg);
+ void setNoteParams();
+ void displayNote(const Common::String &msg);
public:
MartianEngine(OSystem *syst, const AccessGameDescription *gameDesc);