1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-14 01:16:50 +00:00

intra:: an option to set recommended settings

This commit is contained in:
Zeno Rogue 2022-10-27 00:00:18 +02:00
parent 1791190493
commit efe7eea3de

View File

@ -754,6 +754,20 @@ EX void show_portals() {
}
}
if(!game_keys_scroll || mapeditor::drawplayer || !ray::fixed_map || vid.cells_drawn_limit > 100) {
dialog::addItem(XLAT("set recommended settings"), 'A');
dialog::add_action([] {
game_keys_scroll = true;
mapeditor::drawplayer = false;
ray::fixed_map = true;
vid.cells_drawn_limit = 100;
});
}
else {
dialog::addItem(XLAT("configure raycasting"), 'A');
dialog::add_action_push(ray::configure);
}
walking::add_options();
dialog::display();