1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-11 19:23:01 +00:00

crystal:: more settings in config/params/CLI

This commit is contained in:
Zeno Rogue
2018-12-04 02:36:08 +01:00
parent 6594908c5a
commit 18d5f8299b
3 changed files with 19 additions and 2 deletions

View File

@@ -314,6 +314,9 @@ void initConfig() {
addsaver(anims::rug_angle, "animation rug angle");
addsaver(anims::circle_radius, "animation circle radius");
addsaver(anims::circle_spins, "animation circle spins");
addsaver(crystal::compass_probability, "compass-probability");
addsaver(crystal::view_coordinates, "crystal-coordinates");
#if CAP_TEXTURE
addsaver(texture::texture_aura, "texture-aura", false);
@@ -1522,6 +1525,11 @@ void show_color_dialog() {
dialog::addItem(XLAT("distance colors"), 'd');
dialog::add_action([] () { pushScreen([] () { edit_color_table(distcolors); });});
}
if(geometry == gCrystal && cheater) {
dialog::addItem(XLAT("crystal coordinate colors"), 'C');
dialog::add_action([] () { crystal::view_coordinates = true; pushScreen([] () { edit_color_table(crystal::coordcolors); });});
}
dialog::addInfo(XLAT("colors of some game objects can be edited by clicking them."));
@@ -1846,6 +1854,7 @@ unordered_map<string, ld&> params = {
{"sang", conformal::spiral_angle},
{"spiralx", conformal::spiral_x},
{"spiraly", conformal::spiral_y},
{"cprob", crystal::compass_probability}
};
}