mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
intra:: an option to set recommended settings
This commit is contained in:
parent
1791190493
commit
efe7eea3de
14
intra.cpp
14
intra.cpp
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user