aboutsummaryrefslogtreecommitdiff
path: root/sword2/controls.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-11-01 16:55:20 +0000
committerTorbjörn Andersson2003-11-01 16:55:20 +0000
commit94edf540ef57e801efda2145026d97b6606d66b3 (patch)
tree9fbe2f0f9f8169c25d96c952212191b5cf0a63d1 /sword2/controls.cpp
parent078091e7f4f67293a414979daf2062f5edfc393c (diff)
downloadscummvm-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/controls.cpp')
-rw-r--r--sword2/controls.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/sword2/controls.cpp b/sword2/controls.cpp
index 0d080010b8..568792f74e 100644
--- a/sword2/controls.cpp
+++ b/sword2/controls.cpp
@@ -323,7 +323,7 @@ private:
public:
Dialog() : _numWidgets(0), _finish(false), _result(0) {
- SetFullPalette(CONTROL_PANEL_PALETTE);
+ g_sword2->setFullPalette(CONTROL_PANEL_PALETTE);
}
virtual ~Dialog() {
@@ -1293,7 +1293,7 @@ public:
// Reset the graphic 'buildit' list before a
// new logic list (see fnRegisterFrame)
- Reset_render_lists();
+ g_sword2->resetRenderLists();
// Reset the mouse hot-spot list (see
// fnRegisterMouse and fnRegisterFrame)
@@ -1310,7 +1310,7 @@ public:
void SaveLoadDialog::saveLoadError(char* text) {
// Print a message on screen. Second parameter is duration.
- DisplayMsg((uint8 *) text, 0);
+ g_sword2->displayMsg((uint8 *) text, 0);
// Wait for ESC or mouse click
while (1) {
@@ -1334,7 +1334,7 @@ void SaveLoadDialog::saveLoadError(char* text) {
}
// Remove the message.
- RemoveMsg();
+ g_sword2->removeMsg();
}
Gui::Gui() : _baseSlot(0) {
@@ -1469,7 +1469,7 @@ void Gui::restartControl(void) {
// reset the graphic 'buildit' list before a new logic list
// (see fnRegisterFrame)
- Reset_render_lists();
+ g_sword2->resetRenderLists();
// reset the mouse hot-spot list (see fnRegisterMouse and
// fnRegisterFrame)