1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

no more capitals in sightrange_style

This commit is contained in:
Zeno Rogue 2021-02-01 03:12:39 +01:00
parent 8ecb229920
commit 712d01e290

View File

@ -1221,14 +1221,14 @@ EX void menuitem_sightrange_style(char c IS('c')) {
); );
dialog::add_action_push([] { dialog::add_action_push([] {
dialog::init(XLAT("draw range based on")); dialog::init(XLAT("draw range based on"));
dialog::addBoolItem(XLAT("draw range based on distance"), vid.use_smart_range == 0, 'D'); dialog::addBoolItem(XLAT("draw range based on distance"), vid.use_smart_range == 0, 'd');
dialog::add_action([] () { vid.use_smart_range = 0; popScreen(); edit_sightrange(); }); dialog::add_action([] () { vid.use_smart_range = 0; popScreen(); edit_sightrange(); });
if(WDIM == 2 && allowIncreasedSight()) { if(WDIM == 2 && allowIncreasedSight()) {
dialog::addBoolItem(XLAT("draw based on size in the projection (no generation)"), vid.use_smart_range == 1, 'N'); dialog::addBoolItem(XLAT("draw based on size in the projection (no generation)"), vid.use_smart_range == 1, 'n');
dialog::add_action([] () { vid.use_smart_range = 1; popScreen(); edit_sightrange(); }); dialog::add_action([] () { vid.use_smart_range = 1; popScreen(); edit_sightrange(); });
} }
if(allowChangeRange() && allowIncreasedSight()) { if(allowChangeRange() && allowIncreasedSight()) {
dialog::addBoolItem(XLAT("draw based on size in the projection (generation)"), vid.use_smart_range == 2, 'G'); dialog::addBoolItem(XLAT("draw based on size in the projection (generation)"), vid.use_smart_range == 2, 'g');
dialog::add_action([] () { vid.use_smart_range = 2; popScreen(); edit_sightrange(); }); dialog::add_action([] () { vid.use_smart_range = 2; popScreen(); edit_sightrange(); });
} }
if(!allowChangeRange() || !allowIncreasedSight()) { if(!allowChangeRange() || !allowIncreasedSight()) {