config:: changed hooks_config to correct hooks_configfile

This commit is contained in:
Zeno Rogue 2021-02-04 14:58:39 +01:00
parent 2f47babf7c
commit 41628cbd1a
5 changed files with 5 additions and 5 deletions

View File

@ -2101,7 +2101,7 @@ EX void show3D() {
dialog::display();
}
EX int config3 = addHook(hooks_config, 100, [] {
EX int config3 = addHook(hooks_configfile, 100, [] {
param_f(vid.eye, "eyelevel", 0)
->editable(-5, 5, .1, "eye level", "", 'E')
->set_extra([] {

View File

@ -698,7 +698,7 @@ EX namespace history {
history::path_for_lineanimation.clear();
history::saved_ends = 0;
history::includeHistory = false;
}) + addHook(hooks_config, 0, [] {
}) + addHook(hooks_configfile, 0, [] {
addsaver(autobandhistory, "include history"); // check!
param_f(lvspeed, "lvspeed", "lineview speed");

View File

@ -1047,7 +1047,7 @@ EX namespace models {
add_all(vid.rug_config, "rug_", "rug-");
}
auto hookArg = addHook(hooks_args, 100, readArgs) + addHook(hooks_config, 100, add_model_config);
auto hookArg = addHook(hooks_args, 100, readArgs) + addHook(hooks_configfile, 100, add_model_config);
#endif
}

View File

@ -862,7 +862,7 @@ auto hook =
rti_id.clear();
for(auto &ch: current_history) ch.clear();
})
+ addHook(hooks_config, 100, [] {
+ addHook(hooks_configfile, 100, [] {
addsaver(racing::race_advance, "race_advance");
addsaver(racing::race_angle, "race_angle");
addsaver(racing::ghosts_to_show, "race_ghosts_to_show");

View File

@ -233,7 +233,7 @@ int read_args() {
auto ah = addHook(hooks_args, 0, read_args);
#endif
auto ah2 = addHook(hooks_config, 100, [] {
auto ah2 = addHook(hooks_configfile, 100, [] {
addsaver(shot::shotx, "shotx");
addsaver(shot::shoty, "shoty");
addsaverenum(shot::format, "shotsvg");