mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
racing:: save parameters to config
This commit is contained in:
parent
eab0369ce9
commit
92b37cf9e2
@ -347,6 +347,13 @@ void initConfig() {
|
||||
addsaver(conformal::use_atan, "use_atan");
|
||||
|
||||
addsaver(vid.consider_shader_projection, "shader-projection", true);
|
||||
|
||||
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");
|
||||
|
||||
#if CAP_SHMUP
|
||||
shmup::initConfig();
|
||||
|
4
hyper.h
4
hyper.h
@ -4687,7 +4687,9 @@ ld sintick(int period, ld phase = 0);
|
||||
|
||||
#if CAP_RACING
|
||||
namespace racing {
|
||||
extern bool on, player_relative, track_ready;
|
||||
extern bool on, player_relative, track_ready, guiding;
|
||||
extern ld race_advance, race_angle;
|
||||
extern int ghosts_to_show, ghosts_to_save;
|
||||
void generate_track();
|
||||
void configure_race();
|
||||
void prepare_subscreens();
|
||||
|
Loading…
Reference in New Issue
Block a user