mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +00:00
config:: changed hooks_config to correct hooks_configfile
This commit is contained in:
parent
2f47babf7c
commit
41628cbd1a
@ -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([] {
|
||||
|
@ -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");
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user