1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-18 20:08:06 +00:00

hat:: hat parameter

This commit is contained in:
Zeno Rogue
2023-03-24 23:53:13 +01:00
parent 56ca00df82
commit defeaf2cc6
4 changed files with 41 additions and 11 deletions

View File

@@ -822,7 +822,14 @@ EX void initConfig() {
param_f(vid.binary_width, "bwidth", "binary-tiling-width", 1);
param_custom(vid.binary_width, "binary tiling width", menuitem_binary_width, 'v');
param_f(hat::hat_param, "hat_param", "hat_param", 1)
-> editable(0, 2, 1, "Hat parameter",
"Apeirodic hat tiling based on: https://arxiv.org/pdf/2303.10798.pdf\n\n"
"This controls the parameter discussed in Section 6.", 'v'
)
-> set_reaction(hat::reshape);
addsaver(vid.particles, "extra effects", 1);
param_i(vid.framelimit, "frame limit", 999);