summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-11-12 23:33:40 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-12 14:42:15 -0800
commita06befc0075c19afbec31130b6d1e0f4447a2498 (patch)
tree7a34547df9bb69bdbdeb078f3e58fd10dce9908c /dive.h
parent1617d437d413705977905673ddcde0d8ff0ba068 (diff)
downloadsubsurface-a06befc0075c19afbec31130b6d1e0f4447a2498.tar.gz
Support different salinity in planner
Depth is often mentioned in a length unit, but what we care about is pressure. When diving in fresh water the pressure is lower than the same depth in salt water. This adds support for using different salinities in planning. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 70c418706..482af6fa7 100644
--- a/dive.h
+++ b/dive.h
@@ -766,6 +766,7 @@ struct diveplan {
int surface_pressure; /* mbar */
int bottomsac; /* ml/min */
int decosac; /* ml/min */
+ int salinity;
short gflow;
short gfhigh;
struct divedatapoint *dp;