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