1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-25 19:07:40 +00:00

a new option for pseudohedral

This commit is contained in:
Zeno Rogue
2023-05-23 20:22:14 +02:00
parent 09a43c5646
commit 3fdd6d4967
5 changed files with 78 additions and 24 deletions

View File

@@ -2764,8 +2764,12 @@ EX int config3 = addHook(hooks_configfile, 100, [] {
param_f(vid.depth_bonus, "depth_bonus", 0)
->editable(-5, 5, .1, "depth bonus in pseudohedral", "", 'b');
param_b(vid.pseudohedral, "pseudohedral", false)
->editable("make the tiles flat", 'p');
param_enum(vid.pseudohedral, "pseudohedral", "pseudohedral", phOFF)
->editable(
{{"OFF", "the tiles are curved"},
{"inscribed", "the tiles are inscribed"},
{"circumscribed", "the tiles are circumscribed"}},
"make the tiles flat", 'p');
param_f(vid.depth, "depth", "3D depth", 1)
->editable(0, 5, .1, "Ground level below the plane", "", 'd')
->set_extra([] {