summaryrefslogtreecommitdiffstats
path: root/planner.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-08-12 12:06:52 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-15 09:10:29 -0700
commita8ce8c3ef1562559508c77c63ca2d101b3bdcce6 (patch)
tree311b7177db81583ca27a4331e3b91c0c80ead79a /planner.h
parent2455a5dec70d1baa2d0009e602db6b4f19941b56 (diff)
downloadsubsurface-a8ce8c3ef1562559508c77c63ca2d101b3bdcce6.tar.gz
Some unification between Buehlmann and VPM-B
This patch makes deco_allowed_depth() work both for Buehlmann as well as VPM-B (as long as the VPM-B internal variable total_gradient[] is valid). As a bonus, in VPM-B mode, in the planner, the ceilings are VPM-B ceilings and not Buehlmann GF. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'planner.h')
-rw-r--r--planner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/planner.h b/planner.h
index ac146055d..20aff89ad 100644
--- a/planner.h
+++ b/planner.h
@@ -25,7 +25,7 @@ extern struct dive *planned_dive;
extern char *cache_data;
extern const char *disclaimer;
extern double plangflow, plangfhigh;
-
+extern bool in_planner;
#ifdef __cplusplus
}