1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 02:07:57 +00:00

moved some paramsavers from config to models and history

This commit is contained in:
Zeno Rogue
2021-01-31 18:45:17 +01:00
parent 7d5fb11c26
commit a59ddc6c31
3 changed files with 87 additions and 77 deletions

View File

@@ -698,6 +698,17 @@ EX namespace history {
history::path_for_lineanimation.clear();
history::saved_ends = 0;
history::includeHistory = false;
}) + addHook(hooks_config, 0, [] {
addsaver(autobandhistory, "include history"); // check!
addparamsaver(lvspeed, "lvspeed", "lineview speed");
addsaver(extra_line_steps, "lineview extension");
addsaver(bandhalf, "band width");
addsaver(bandsegment, "band segment");
addsaver(autoband, "automatic band");
addsaver(autobandhistory, "automatic band history");
addsaver(dospiral, "do spiral");
});
}