mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
7b891904e7
commit
7e09a6c7bc
11 changed files with 92 additions and 49 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue