aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/avalanche/avalanche.h2
-rw-r--r--engines/avalanche/gyro2.cpp19
-rw-r--r--engines/avalanche/gyro2.h1
3 files changed, 4 insertions, 18 deletions
diff --git a/engines/avalanche/avalanche.h b/engines/avalanche/avalanche.h
index 8ce73120dc..1eea813182 100644
--- a/engines/avalanche/avalanche.h
+++ b/engines/avalanche/avalanche.h
@@ -54,6 +54,8 @@
#include "engines/engine.h"
#include "engines/advancedDetector.h"
+#include "graphics/cursorman.h"
+
namespace Common {
class RandomSource;
}
diff --git a/engines/avalanche/gyro2.cpp b/engines/avalanche/gyro2.cpp
index c948492187..cea5902889 100644
--- a/engines/avalanche/gyro2.cpp
+++ b/engines/avalanche/gyro2.cpp
@@ -614,26 +614,11 @@ void Gyro::hang_around_for_a_while() {
afterwards. */
void Gyro::super_off() {
- super_was_off = visible == m_no;
- if (super_was_off)
- return;
-
- super_was_virtual = visible == m_virtual;
-
- if (visible == m_virtual)
- off_virtual();
- else
- off();
+ warning("STUB: Gyro::super_off()");
}
void Gyro::super_on() {
- if ((visible != m_no) || (super_was_off))
- return;
-
- if (super_was_virtual)
- on_virtual();
- else
- on();
+ warning("STUB: Gyro::super_on()");
}
bool Gyro::mouse_near_text() {
diff --git a/engines/avalanche/gyro2.h b/engines/avalanche/gyro2.h
index b247f90d39..e54452f0d2 100644
--- a/engines/avalanche/gyro2.h
+++ b/engines/avalanche/gyro2.h
@@ -35,7 +35,6 @@
#include "common/file.h"
#include "graphics/surface.h"
-#include "graphics/cursorman.h"
#include "avalanche/roomnums.h"
#include "avalanche/color.h"