aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/cycle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/cycle.cpp')
-rw-r--r--engines/agi/cycle.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp
index 1c5365e4d1..08aea83410 100644
--- a/engines/agi/cycle.cpp
+++ b/engines/agi/cycle.cpp
@@ -36,9 +36,7 @@ namespace Agi {
#define TICK_SECONDS 20
-#ifdef USE_MOUSE
struct mouse mouse;
-#endif
volatile uint32 clock_ticks;
volatile uint32 clock_count;
@@ -211,7 +209,6 @@ int main_cycle() {
key = do_poll_keyboard();
-#ifdef USE_MOUSE
/* In AGI Mouse emulation mode we must update the mouse-related
* vars in every interpreter cycle.
*/
@@ -219,7 +216,6 @@ int main_cycle() {
game.vars[28] = mouse.x / 2;
game.vars[29] = mouse.y;
}
-#endif
#ifdef USE_CONSOLE
if (key == KEY_PRIORITY) {
@@ -326,10 +322,8 @@ static int play_game() {
game.clock_enabled = true;
game.line_user_input = 22;
-#ifdef USE_MOUSE
if (opt.agimouse)
report("Using AGI Mouse 1.0 protocol\n");
-#endif
report("Running AGI script.\n");