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