1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

racing:: addsaver -> param

This commit is contained in:
Zeno Rogue 2022-03-27 09:53:02 +02:00
parent 7af95b950a
commit 23639b1e46

View File

@ -893,13 +893,13 @@ auto hook =
for(auto &ch: current_history) ch.clear();
})
+ 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");
addsaver(racing::ghosts_to_save, "race_ghosts_to_save");
addsaver(racing::guiding, "race_guiding");
addsaver(racing::player_relative, "race_player_relative");
addsaver(racing::standard_centering, "race_standard_centering");
param_f(racing::race_advance, "race_advance");
param_f(racing::race_angle, "race_angle");
param_i(racing::ghosts_to_show, "race_ghosts_to_show");
param_i(racing::ghosts_to_save, "race_ghosts_to_save");
param_b(racing::guiding, "race_guiding");
param_b(racing::player_relative, "race_player_relative");
param_b(racing::standard_centering, "race_standard_centering");
})
// + addHook(hooks_handleKey, 120, akh);
;