summaryrefslogtreecommitdiffstats
path: root/core/pref.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2019-10-29 17:57:34 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-31 00:30:38 -0700
commit9c8fbe494db231b59c2e072b54af85bc217c00d8 (patch)
tree2b387fea841a6a154135c8b268f3e40298ddbea5 /core/pref.h
parent43b16f0810f7aa8328fd946e0e014d0625e3b53b (diff)
downloadsubsurface-9c8fbe494db231b59c2e072b54af85bc217c00d8.tar.gz
Planner: Add option to treat O2 as narcotic
When computing the best mix for a target depth, for helium, one can either require that the partial pressure of N2 is the same as at the target depth or the partial pressure of N2 plus O2. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/pref.h')
-rw-r--r--core/pref.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pref.h b/core/pref.h
index 50e13a117..f7af35415 100644
--- a/core/pref.h
+++ b/core/pref.h
@@ -160,6 +160,7 @@ struct preferences {
bool display_variations;
bool doo2breaks;
bool dobailout;
+ bool o2narcotic;
bool drop_stone_mode;
bool last_stop; // At 6m?
int min_switch_duration; // seconds