summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-08-23 16:04:59 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-23 07:30:23 -0700
commit41349c29ddc45e7c19fc287f10fa8f6712bcf111 (patch)
tree4a49e3afcc7ce9086edd3d3b0518155ea82c3f21 /dive.h
parentcb375623f956c99c211bba0c18ace688e7eb6942 (diff)
downloadsubsurface-41349c29ddc45e7c19fc287f10fa8f6712bcf111.tar.gz
Prepare global state of VPM-B when starting to plan
Otherwise, the results of the calculations tend to be rather random and irreproducible... Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 0125b76a5..ed9e02565 100644
--- a/dive.h
+++ b/dive.h
@@ -830,6 +830,9 @@ struct divedatapoint *create_dp(int time_incr, int depth, struct gasmix gasmix,
void dump_plan(struct diveplan *diveplan);
#endif
bool plan(struct diveplan *diveplan, char **cached_datap, bool is_planner, bool show_disclaimer);
+void calc_crushing_pressure(double pressure);
+void vpmb_start_gradient();
+
void delete_single_dive(int idx);
struct event *get_next_event(struct event *event, const char *name);