From f4607b63f4c46e991c59310f88f6769ef1579073 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 30 Dec 2023 08:08:33 +0100 Subject: [PATCH] moved game_keys_scroll so that it exists on Android --- control.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/control.cpp b/control.cpp index fcce9d3b..d47fe737 100644 --- a/control.cpp +++ b/control.cpp @@ -683,6 +683,9 @@ EX void resize_screen_to(int x, int y); EX void mainloopiter() { printf("(compiled without SDL -- no action)\n"); quitmainloop = true; } #endif +/* visualization only -- the HyperRogue movement keys should move the camera */ +EX bool game_keys_scroll; + #if CAP_SDL // Warning: a very long function! todo: refactor @@ -714,9 +717,6 @@ EX bool mouseaiming(bool shmupon) { (GDIM == 3 && !shmupon) || (rug::rugged && (lctrlclick ^ rug::mouse_control_rug)) || (cmode & sm::MOUSEAIM); } -/* visualization only -- the HyperRogue movement keys should move the camera */ -EX bool game_keys_scroll; - EX purehookset hooks_control; EX void mainloopiter() {