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
1 changed files with 14 additions and 0 deletions

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();