summaryrefslogtreecommitdiffstats
path: root/subsurfacestartup.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-06-25 00:08:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-25 13:48:44 +0800
commit772727fc7f44faaf94afc24bd1f151e40ddaefef (patch)
treecf74530d4a42e244f174c23e4e723b0a013189f0 /subsurfacestartup.c
parent2ae6f8078a7ea2a034295fcd00f210854a572ee7 (diff)
downloadsubsurface-772727fc7f44faaf94afc24bd1f151e40ddaefef.tar.gz
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>
Diffstat (limited to 'subsurfacestartup.c')
-rw-r--r--subsurfacestartup.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/subsurfacestartup.c b/subsurfacestartup.c
index da9fc2358..463aea63a 100644
--- a/subsurfacestartup.c
+++ b/subsurfacestartup.c
@@ -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;