moved game_keys_scroll so that it exists on Android

This commit is contained in:
Zeno Rogue 2023-12-30 08:08:33 +01:00
parent 6e3be8a92c
commit f4607b63f4
1 changed files with 3 additions and 3 deletions

View File

@ -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() {