1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-25 18:21:22 +00:00

Add support for pinning glyphs to a consistent spot in the HUD

This commit is contained in:
Joseph C. Sible
2025-10-05 13:20:44 -04:00
parent 8b7e82b460
commit d9050c9661
3 changed files with 45 additions and 6 deletions

View File

@@ -1207,6 +1207,14 @@ EX void initConfig() {
param_b(keybd_subdir_enabled, "keybd_subdir_enabled", 0)->editable("control the pushing direction with TAB", 'P')->help("If set, you control the off-heptagon pushing direction with TAB. Otherwise, you control it by rotating the screen.");
param_str(pinnedglyphs, "pinned_glyphs", "")
->set_standard_editor(true)
->editable("pinned glyphs",
"A list of glyphs to always sort at the front, "
"and reserve space for even when they're not being displayed.",
'p')
->set_reaction(updateglyphpinned);
param_enum(glyphsortorder, parameter_names("glyph_sort", "glyph sort order"), glyphsortorder)
->editable({
{"first on top", ""},