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:
11
history.cpp
11
history.cpp
@@ -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");
|
||||
});
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user