aboutsummaryrefslogtreecommitdiff
path: root/sword2/console.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-11-11 07:43:02 +0000
committerTorbjörn Andersson2003-11-11 07:43:02 +0000
commit446a01ba09192a132ee9b6e40129161a7ec09be0 (patch)
tree720edb242a2b0ef813092c01d5efc76d000e37ff /sword2/console.cpp
parent0bcc7ce80eb6a8daa35bf2591281974cceff8078 (diff)
downloadscummvm-rg350-446a01ba09192a132ee9b6e40129161a7ec09be0.tar.gz
scummvm-rg350-446a01ba09192a132ee9b6e40129161a7ec09be0.tar.bz2
scummvm-rg350-446a01ba09192a132ee9b6e40129161a7ec09be0.zip
Moved low-level keyboard and mouse handling to a new Input class, and
renamed the Display class Graphics for no better reason than me liking the phrase "sound and graphics" better than "sound and display". svn-id: r11258
Diffstat (limited to 'sword2/console.cpp')
-rw-r--r--sword2/console.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sword2/console.cpp b/sword2/console.cpp
index 722b3d1e5d..e50741fdb9 100644
--- a/sword2/console.cpp
+++ b/sword2/console.cpp
@@ -144,7 +144,7 @@ void Debugger::postEnter() {
g_sound->unpauseMusic();
// Restore old mouse cursor
- g_display->drawMouse();
+ g_graphics->drawMouse();
}
@@ -209,7 +209,7 @@ bool Debugger::Cmd_Start(int argc, const char **argv) {
}
g_logic->conStart(atoi(argv[1]));
- g_display->setPalette(187, 1, pal, RDPAL_INSTANT);
+ g_graphics->setPalette(187, 1, pal, RDPAL_INSTANT);
return true;
}
@@ -451,14 +451,14 @@ bool Debugger::Cmd_RestoreGame(int argc, const char **argv) {
// FIXME: Replace these with a command to modify the graphics detail setting
bool Debugger::Cmd_BltFxOn(int argc, const char **argv) {
- // g_display->setBltFx();
+ // g_graphics->setBltFx();
// DebugPrintf("Blit fx enabled\n");
DebugPrintf("FIXME: The setBltFx() function no longer exists\n");
return true;
}
bool Debugger::Cmd_BltFxOff(int argc, const char **argv) {
- // g_display->clearBltFx();
+ // g_graphics->clearBltFx();
// DebugPrintf("Blit fx disabled\n");
DebugPrintf("FIXME: The clearBltFx() function no longer exists\n");
return true;