aboutsummaryrefslogtreecommitdiff
path: root/saga/input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/input.cpp')
-rw-r--r--saga/input.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/saga/input.cpp b/saga/input.cpp
index 9b71e97e6f..9a4188849d 100644
--- a/saga/input.cpp
+++ b/saga/input.cpp
@@ -28,13 +28,10 @@
#include "saga/interface.h"
#include "saga/render.h"
#include "saga/scene.h"
-#include "saga/script_mod.h"
namespace Saga {
-static R_POINT _mousePos;
-
-int SYSINPUT_ProcessInput() {
+int SagaEngine::processInput() {
OSystem::Event event;
R_POINT imouse_pt;
@@ -131,7 +128,7 @@ int SYSINPUT_ProcessInput() {
return R_SUCCESS;
}
-R_POINT SYSINPUT_GetMousePos() {
+R_POINT SagaEngine::getMousePos() {
return _mousePos;
}