mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-28 00:12:18 +00:00
Create parameter for higher contrast colors.
This commit is contained in:
parent
ac6226a994
commit
bf9665392d
@ -29,6 +29,8 @@ EX bool linked_consequence;
|
|||||||
|
|
||||||
EX bool hr_hud_enabled = true;
|
EX bool hr_hud_enabled = true;
|
||||||
|
|
||||||
|
EX bool higher_contrast = false;
|
||||||
|
|
||||||
EX void adjust_linked() {
|
EX void adjust_linked() {
|
||||||
indenter ind(2);
|
indenter ind(2);
|
||||||
geom3::invalid = "";
|
geom3::invalid = "";
|
||||||
@ -1111,6 +1113,10 @@ EX void initConfig() {
|
|||||||
"This lets you see an explanation of what the setting does. "
|
"This lets you see an explanation of what the setting does. "
|
||||||
"You can also press ALT while changing such settings.");
|
"You can also press ALT while changing such settings.");
|
||||||
|
|
||||||
|
param_b(higher_contrast, "higher_contrast")
|
||||||
|
->editable("use higher contrast", 'h')
|
||||||
|
->help("Use higher contrast for some terrain elements.");
|
||||||
|
|
||||||
param_b(vid.grid, "grid");
|
param_b(vid.grid, "grid");
|
||||||
param_b(models::desitter_projections, "desitter_projections", false);
|
param_b(models::desitter_projections, "desitter_projections", false);
|
||||||
param_b(nonisotropic_weird_transforms, "nonisotropic_weird_transforms", false);
|
param_b(nonisotropic_weird_transforms, "nonisotropic_weird_transforms", false);
|
||||||
@ -3720,6 +3726,7 @@ EX void show_color_dialog() {
|
|||||||
|
|
||||||
dialog::addColorItem(XLAT("dialogs"), addalpha(dialog::dialogcolor), 'd');
|
dialog::addColorItem(XLAT("dialogs"), addalpha(dialog::dialogcolor), 'd');
|
||||||
dialog::add_action([] () { dialog::openColorDialog(dialog::dialogcolor); dialog::colorAlpha = false; dialog::get_di().dialogflags |= sm::SIDE; });
|
dialog::add_action([] () { dialog::openColorDialog(dialog::dialogcolor); dialog::colorAlpha = false; dialog::get_di().dialogflags |= sm::SIDE; });
|
||||||
|
dialog::addBoolItem_action(XLAT("higher contrast"), higher_contrast, 'h');
|
||||||
|
|
||||||
dialog::addBreak(50);
|
dialog::addBreak(50);
|
||||||
if(specialland == laCanvas && ccolor::which->ctab.size()) {
|
if(specialland == laCanvas && ccolor::which->ctab.size()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user