diff options
author | Anton Lundin <glance@acc.umu.se> | 2013-11-20 00:29:32 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-19 15:46:19 -0800 |
commit | eb027f2a4b83ed8eb127f0c736021556aa3952a0 (patch) | |
tree | 47fa07043bb40899c621429b0dca5ea3d61c27dd /statistics.h | |
parent | 732f7a69b08e279c88f3ce7d946e986734d0e3f7 (diff) | |
download | subsurface-eb027f2a4b83ed8eb127f0c736021556aa3952a0.tar.gz |
Do per cylinder statistics
This shows how much gas form each cylinder was used. I would like to add
SAC to that list too but it became a mess trying to calculate average
depth per cylinder.
Design based on idea in #284
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/statistics.h b/statistics.h index d5d373df0..47fd24d3c 100644 --- a/statistics.h +++ b/statistics.h @@ -40,7 +40,7 @@ extern char *get_time_string(int seconds, int maxdays); extern char *get_minutes(int seconds); extern void process_all_dives(struct dive *dive, struct dive **prev_dive); extern void get_selected_dives_text(char *buffer, int size); -extern volume_t get_gas_used(struct dive *dive); +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); |