mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-31 17:57:56 +00:00
rogueviz::pres::non_game_slide_scroll
This commit is contained in:
@@ -248,6 +248,7 @@ void sync(int mode, flagtype flags) {
|
||||
vid.use_smart_range = 2;
|
||||
crystal::view_coordinates = (flags & VC);
|
||||
smooth_scrolling = true;
|
||||
tour::slide_backup(game_keys_scroll, true);
|
||||
}
|
||||
if(mode == pmKey && !(flags & NO_VC))
|
||||
crystal::view_coordinates = !crystal::view_coordinates;
|
||||
@@ -404,6 +405,7 @@ auto explore_structure(int _shapeid) {
|
||||
if(mode == pmStart) {
|
||||
tour::slide_backup(mapeditor::drawplayer, false);
|
||||
tour::slide_backup(smooth_scrolling, true);
|
||||
tour::slide_backup(game_keys_scroll, true);
|
||||
stop_game();
|
||||
set_geometry(geometry == gCrystal534 ? gCrystal534 : gCrystal344);
|
||||
enable_canvas();
|
||||
|
Reference in New Issue
Block a user