diff options
author | Torbjörn Andersson | 2003-11-01 16:55:20 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-11-01 16:55:20 +0000 |
commit | 94edf540ef57e801efda2145026d97b6606d66b3 (patch) | |
tree | 9fbe2f0f9f8169c25d96c952212191b5cf0a63d1 /sword2/function.cpp | |
parent | 078091e7f4f67293a414979daf2062f5edfc393c (diff) | |
download | scummvm-rg350-94edf540ef57e801efda2145026d97b6606d66b3.tar.gz scummvm-rg350-94edf540ef57e801efda2145026d97b6606d66b3.tar.bz2 scummvm-rg350-94edf540ef57e801efda2145026d97b6606d66b3.zip |
More moving of stuff into classes
svn-id: r11025
Diffstat (limited to 'sword2/function.cpp')
-rw-r--r-- | sword2/function.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sword2/function.cpp b/sword2/function.cpp index 7c9dea03fd..cf22e81179 100644 --- a/sword2/function.cpp +++ b/sword2/function.cpp @@ -338,9 +338,9 @@ int32 Logic::fnDisplayMsg(int32 *params) { // +2 to skip the encoded text number in the first 2 chars; 3 is // duration in seconds - DisplayMsg(FetchTextLine(res_man.open(text_res), local_text) + 2, 3); + g_sword2->displayMsg(FetchTextLine(res_man.open(text_res), local_text) + 2, 3); res_man.close(text_res); - RemoveMsg(); + g_sword2->removeMsg(); return IR_CONT; } @@ -445,7 +445,7 @@ int32 Logic::fnPlayCredits(int32 *params) { g_display->setPalette(0, 256, oldPal, RDPAL_FADE); g_display->fadeUp(); g_display->updateDisplay(); - Build_display(); + g_sword2->buildDisplay(); g_display->waitForFade(); g_sound->muteFx(false); |