aboutsummaryrefslogtreecommitdiff
path: root/sword2/controls.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-10-18 08:11:50 +0000
committerTorbjörn Andersson2003-10-18 08:11:50 +0000
commit3a43829b885fe67b3165f2f75778dbbb65d1d560 (patch)
tree278c5af17333be11f75eef711c004fc6a606f9f7 /sword2/controls.cpp
parent23b3e4cc7da9797d8dcccf7d93a6dd2571272644 (diff)
downloadscummvm-rg350-3a43829b885fe67b3165f2f75778dbbb65d1d560.tar.gz
scummvm-rg350-3a43829b885fe67b3165f2f75778dbbb65d1d560.tar.bz2
scummvm-rg350-3a43829b885fe67b3165f2f75778dbbb65d1d560.zip
Moved the opcode functions into the Logic class.
svn-id: r10885
Diffstat (limited to 'sword2/controls.cpp')
-rw-r--r--sword2/controls.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/sword2/controls.cpp b/sword2/controls.cpp
index 78de6dbf3b..d504c05406 100644
--- a/sword2/controls.cpp
+++ b/sword2/controls.cpp
@@ -1327,14 +1327,14 @@ public:
// Prime system with a game cycle
// Reset the graphic 'buildit' list before a
- // new logic list (see FN_register_frame)
+ // new logic list (see fnRegisterFrame)
Reset_render_lists();
// Reset the mouse hot-spot list (see
- // FN_register_mouse and FN_register_frame)
+ // fnRegisterMouse and fnRegisterFrame)
Reset_mouse_list();
- if (LLogic.processSession())
+ if (g_logic.processSession())
Con_fatal_error("restore 1st cycle failed??");
}
}
@@ -1441,22 +1441,22 @@ void Gui::restartControl(void) {
// prime system with a game cycle
// reset the graphic 'buildit' list before a new logic list
- // (see FN_register_frame)
+ // (see fnRegisterFrame)
Reset_render_lists();
- // reset the mouse hot-spot list (see FN_register_mouse and
- // FN_register_frame)
+ // reset the mouse hot-spot list (see fnRegisterMouse and
+ // fnRegisterFrame)
Reset_mouse_list();
g_display->closeMenuImmediately();
// FOR THE DEMO - FORCE THE SCROLLING TO BE RESET!
- // - this is taken from FN_init_background
+ // - this is taken from fnInitBackground
// switch on scrolling (2 means first time on screen)
this_screen.scroll_flag = 2;
- if (LLogic.processSession())
+ if (g_logic.processSession())
Con_fatal_error("restart 1st cycle failed??");
// So palette not restored immediately after control panel - we want