mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Hook up UI elements for ascent rates to planner
That provides some UI elements that were recently introduced with function of allowing the ascent rates of the planner to be configured by the user. I tried to make it work both with senisble as well as with imperial units. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2ae6f8078a
commit
772727fc7f
6 changed files with 146 additions and 73 deletions
|
|
@ -32,7 +32,12 @@ struct preferences default_prefs = {
|
|||
.display_invalid_dives = false,
|
||||
.show_sac = false,
|
||||
.display_unused_tanks = false,
|
||||
.show_average_depth = true
|
||||
.show_average_depth = true,
|
||||
.ascrate75 = 9000 / 60,
|
||||
.ascrate50 = 6000 / 60,
|
||||
.ascratestops = 6000 / 60,
|
||||
.ascratelast6m = 1000 / 60,
|
||||
.descrate = 18000 / 60
|
||||
};
|
||||
|
||||
int run_survey;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue