aboutsummaryrefslogtreecommitdiff
path: root/saga/input.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2004-08-06 01:39:17 +0000
committerEugene Sandulenko2004-08-06 01:39:17 +0000
commit602cd289f37425582355edcd2168f2a7c9087659 (patch)
treeab660664d284a33780e63aa7ca22c623a0d53c0c /saga/input.cpp
parentad1ab2cb620198329f8b3d677b3c872a7de3d03a (diff)
downloadscummvm-rg350-602cd289f37425582355edcd2168f2a7c9087659.tar.gz
scummvm-rg350-602cd289f37425582355edcd2168f2a7c9087659.tar.bz2
scummvm-rg350-602cd289f37425582355edcd2168f2a7c9087659.zip
Move INTERFACE_ to class.
svn-id: r14478
Diffstat (limited to 'saga/input.cpp')
-rw-r--r--saga/input.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/saga/input.cpp b/saga/input.cpp
index 0bcb114e8b..29e13d14cf 100644
--- a/saga/input.cpp
+++ b/saga/input.cpp
@@ -25,7 +25,7 @@
#include "saga/gfx.h"
#include "saga/actor.h"
#include "saga/console_mod.h"
-#include "saga/interface_mod.h"
+#include "saga/interface.h"
#include "saga/render.h"
#include "saga/scene.h"
#include "saga/script_mod.h"
@@ -78,7 +78,7 @@ int SYSINPUT_ProcessInput() {
CON_Activate();
break;
case 114: // r
- INTERFACE_Draw();
+ _vm->_interface->draw();
break;
case 282: // F1
_vm->_render->toggleFlag(RF_SHOW_FPS);
@@ -113,7 +113,7 @@ int SYSINPUT_ProcessInput() {
}
break;
case OSystem::EVENT_LBUTTONDOWN:
- INTERFACE_Update(&imouse_pt, UPDATE_MOUSECLICK);
+ _vm->_interface->update(&imouse_pt, UPDATE_MOUSECLICK);
break;
case OSystem::EVENT_MOUSEMOVE:
_mousePos.x = event.mouse.x;