From 7e09a6c7bcb135d65b3e48f2aee44791dd080443 Mon Sep 17 00:00:00 2001 From: Rick Walsh Date: Sat, 24 Sep 2016 18:02:08 +1000 Subject: Separate VPM-B conservatism preference for planner and profile Separate the VPM-B conservatism preference into diveplan.vpmb_conservatism for planning dives and prefs.vpmb_conservatism for profile ceiling display of saved dives. Signed-off-by: Rick Walsh Signed-off-by: Dirk Hohndel --- core/dive.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/dive.h') diff --git a/core/dive.h b/core/dive.h index 13ad6b509..f1c144481 100644 --- a/core/dive.h +++ b/core/dive.h @@ -831,6 +831,7 @@ extern void add_segment(double pressure, const struct gasmix *gasmix, int period extern void clear_deco(double surface_pressure); extern void dump_tissues(void); extern void set_gf(short gflow, short gfhigh, bool gf_low_at_maxdepth); +extern void set_vpmb_conservatism(short conservatism); extern void cache_deco_state(char **datap); extern void restore_deco_state(char *data); extern void nuclear_regeneration(double time); @@ -856,6 +857,7 @@ struct diveplan { int salinity; short gflow; short gfhigh; + short vpmb_conservatism; struct divedatapoint *dp; }; -- cgit v1.2.3-70-g09d2