summaryrefslogtreecommitdiffstats
path: root/pref.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-03-31 14:52:37 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-02 09:45:50 -0700
commit8571dcf9673e35710201cdffc0cb7ff1ff2b2426 (patch)
tree4ba251b920e3c349aa9f9e20c9fc52e943160db7 /pref.h
parent297ddf666df490699128b038948177ba4e5444b6 (diff)
downloadsubsurface-8571dcf9673e35710201cdffc0cb7ff1ff2b2426.tar.gz
Introduce recreational planner mode
This adopts the planner to the needs of the recreational diver. Rather than immediately starting to ascent doing deco stops this mode, this mode stays at the last manually entered depth for the maximal time before mandantory stops appear (NDL). It does not change gas but keeps using the last used cylinder. TODO: * Grey out unused UI elements of the planner in this mode * Start ascent before gas runs out (or into reserve) * Do a 3min @ 5m safety stop. Fixes #840 Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'pref.h')
-rw-r--r--pref.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pref.h b/pref.h
index fb01d28ef..56fc79b95 100644
--- a/pref.h
+++ b/pref.h
@@ -78,6 +78,7 @@ struct preferences {
bool display_runtime;
bool display_duration;
bool display_transitions;
+ bool recreational_mode;
int bottomsac;
int decosac;
int o2consumption; // ml per min