summaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
authorGravatar Rick Walsh <rickmwalsh@gmail.com>2017-11-02 17:59:20 +1100
committerGravatar Robert C. Helling <helling@atdotde.de>2017-11-08 15:22:32 +0100
commita06848c23759d8d8fad5abe19351262eb859e086 (patch)
tree155a32ca40f0f63735ffed0f66efdc7e35d515a5 /core/dive.h
parent8d0361ff77707b9cae7c6bea6109c776afd6e2a6 (diff)
downloadsubsurface-a06848c23759d8d8fad5abe19351262eb859e086.tar.gz
VPM-B: move bottom_time into deco_state
Removing ext variable from profile.c should facilitate future performance gains Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Diffstat (limited to 'core/dive.h')
-rw-r--r--core/dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h
index 0bbbd6b0c..5a5edf145 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -894,7 +894,7 @@ struct deco_state {
pressure_t max_bottom_ceiling_pressure;
int ci_pointing_to_guiding_tissue;
double gf_low_pressure_this_dive;
-
+ int bottom_time;
};
extern void add_segment(double pressure, const struct gasmix *gasmix, int period_in_seconds, int setpoint, const struct dive *dive, int sac);