diff options
author | Rick Walsh <rickmwalsh@gmail.com> | 2016-09-24 18:02:08 +1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-09-24 08:30:11 -0700 |
commit | 7e09a6c7bcb135d65b3e48f2aee44791dd080443 (patch) | |
tree | d1a3620e9084cf335f711fdf0b4ca397914117a3 /core/dive.h | |
parent | 7b891904e77364719471098a7bdf4eacc589807c (diff) | |
download | subsurface-7e09a6c7bcb135d65b3e48f2aee44791dd080443.tar.gz |
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 <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; }; |