mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-29 08:52:19 +00:00
moved game_keys_scroll so that it exists on Android
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user