summaryrefslogtreecommitdiffstats
path: root/statistics.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-06-29 20:01:56 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-29 17:15:09 -0700
commitb2288e1e3d231ed9d5629942730d49cb7ffec96b (patch)
treee0fa650bfb8c21c2713f0f172a78aa92d95e9011 /statistics.h
parentc020cda41b7319b7d419607f3f52d830cee4dc98 (diff)
downloadsubsurface-b2288e1e3d231ed9d5629942730d49cb7ffec96b.tar.gz
Calculate approx gas bill on dives
This uses a bit of naive gas computations to figure out how much of different base gases you used up on the dives the statistics is done for. It's quite useful to get a minimum line about how big your gas bill is going to be after a dive trip. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'statistics.h')
-rw-r--r--statistics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/statistics.h b/statistics.h
index 94a4961cb..e28fb8f55 100644
--- a/statistics.h
+++ b/statistics.h
@@ -47,6 +47,7 @@ extern void get_selected_dives_text(char *buffer, int size);
extern void get_gas_used(struct dive *dive, volume_t gases[MAX_CYLINDERS]);
extern char *get_gaslist(struct dive *dive);
extern void process_selected_dives(void);
+void selected_dives_gas_parts(volume_t *o2_tot, volume_t *he_tot);
#ifdef __cplusplus
}