aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/illusions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/illusions/illusions.cpp')
-rw-r--r--engines/illusions/illusions.cpp25
1 files changed, 3 insertions, 22 deletions
diff --git a/engines/illusions/illusions.cpp b/engines/illusions/illusions.cpp
index 1d591c76f6..89668140cb 100644
--- a/engines/illusions/illusions.cpp
+++ b/engines/illusions/illusions.cpp
@@ -25,6 +25,7 @@
#include "illusions/actorresource.h"
#include "illusions/backgroundresource.h"
#include "illusions/camera.h"
+#include "illusions/cursor.h"
#include "illusions/dictionary.h"
#include "illusions/fontresource.h"
#include "illusions/graphics.h"
@@ -102,6 +103,7 @@ Common::Error IllusionsEngine::run() {
_backgroundItems = new BackgroundItems(this);
_camera = new Camera(this);
_controls = new Controls(this);
+ _cursor = new Cursor(this);
// TODO Move to own class
_resGetCtr = 0;
@@ -176,6 +178,7 @@ Common::Error IllusionsEngine::run() {
}
#endif
+ delete _cursor;
delete _controls;
delete _camera;
delete _backgroundItems;
@@ -242,28 +245,6 @@ void IllusionsEngine::notifyThreadId(uint32 &threadId) {
}
}
-void IllusionsEngine::setCursorControl(Control *control) {
- // TODO Dummy, to be replaced later
-}
-
-void IllusionsEngine::placeCursor(Control *control, uint32 sequenceId) {
- // TODO Dummy, to be replaced later
-}
-
-bool IllusionsEngine::showCursor() {
- // TODO Dummy, to be replaced later
- // TODO ++cursor._visibleCtr;
- // TODO if (cursor._visibleCtr > 0)
- return false;
-}
-
-bool IllusionsEngine::hideCursor() {
- // TODO Dummy, to be replaced later
- // TODO --cursor._visibleCtr;
- // TODO if (cursor.visibleCtr <= 0)
- return false;
-}
-
uint32 IllusionsEngine::getElapsedUpdateTime() {
uint32 result = 0;
uint32 currTime = getCurrentTime();