aboutsummaryrefslogtreecommitdiff
path: root/sword2/console.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-11-04 18:02:49 +0000
committerTorbjörn Andersson2003-11-04 18:02:49 +0000
commitba098a3a5b27967c5e3f629cb6e8a0dc453aded8 (patch)
tree54e9193bc66152082fdade1221b313c92aeb2ac7 /sword2/console.cpp
parent64ec1907c2d99e7ecc46e0a5d5605e474c548248 (diff)
downloadscummvm-rg350-ba098a3a5b27967c5e3f629cb6e8a0dc453aded8.tar.gz
scummvm-rg350-ba098a3a5b27967c5e3f629cb6e8a0dc453aded8.tar.bz2
scummvm-rg350-ba098a3a5b27967c5e3f629cb6e8a0dc453aded8.zip
Create g_logic dynamically. More moving of stuff into classes.
svn-id: r11129
Diffstat (limited to 'sword2/console.cpp')
-rw-r--r--sword2/console.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/sword2/console.cpp b/sword2/console.cpp
index 20465e9a79..387a6a7824 100644
--- a/sword2/console.cpp
+++ b/sword2/console.cpp
@@ -197,7 +197,7 @@ bool Debugger::Cmd_Res(int argc, const char **argv) {
}
bool Debugger::Cmd_Starts(int argc, const char **argv) {
- Con_print_start_menu();
+ g_logic->conPrintStartMenu();
return true;
}
@@ -209,7 +209,7 @@ bool Debugger::Cmd_Start(int argc, const char **argv) {
return true;
}
- Con_start(atoi(argv[1]));
+ g_logic->conStart(atoi(argv[1]));
g_display->setPalette(187, 1, pal, RDPAL_INSTANT);
return true;
}
@@ -272,7 +272,7 @@ bool Debugger::Cmd_CurrentInfo(int argc, const char **argv) {
}
bool Debugger::Cmd_RunList(int argc, const char **argv) {
- g_logic.examineRunList();
+ g_logic->examineRunList();
return true;
}
@@ -612,7 +612,7 @@ bool Debugger::Cmd_AnimTest(int argc, const char **argv) {
}
// Automatically do "s 32" to run the animation testing start script
- Con_start(32);
+ g_logic->conStart(32);
// Same as typing "VAR 912 <value>" at the console
varSet(912, atoi(argv[1]));
@@ -628,7 +628,7 @@ bool Debugger::Cmd_TextTest(int argc, const char **argv) {
}
// Automatically do "s 33" to run the text/speech testing start script
- Con_start(33);
+ g_logic->conStart(33);
// Same as typing "VAR 1230 <value>" at the console
varSet(1230, atoi(argv[1]));
@@ -647,7 +647,7 @@ bool Debugger::Cmd_LineTest(int argc, const char **argv) {
}
// Automatically do "s 33" to run the text/speech testing start script
- Con_start(33);
+ g_logic->conStart(33);
// Same as typing "VAR 1230 <value>" at the console
varSet(1230, atoi(argv[1]));