1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-30 21:42:59 +00:00

rogueviz::pres::non_game_slide_scroll

This commit is contained in:
Zeno Rogue
2022-08-05 20:34:56 +02:00
parent 1f832faeba
commit f138bbb5c2
11 changed files with 21 additions and 26 deletions

View File

@@ -504,10 +504,8 @@ void slide_itri(tour::presmode mode, int id) {
if(mode == pmStart) {
stop_game();
set_geometry(gNil);
tour::slide_backup(mapeditor::drawplayer, false);
tour::slide_backup(on, true);
tour::slide_backup(net, id == 2 ? true : false);
tour::slide_backup(smooth_scrolling, true);
tour::on_restore(nilv::set_flags);
if(id == 0)
tour::slide_backup(nilv::nilperiod, make_array(3, 3, 3));
@@ -524,6 +522,7 @@ void slide_itri(tour::presmode mode, int id) {
playermoved = false;
tour::on_restore(reset);
}
rogueviz::pres::non_game_slide_scroll(mode);
}
string cap = "Impossible architecture in Nil/";