Some gas handling improvements

Add a time linear gas interpolation strategy. Some minor changes.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Robert C. Helling 2014-11-09 14:36:27 +01:00 committed by Dirk Hohndel
parent 5034f76072
commit 84dc8b8962
5 changed files with 38 additions and 25 deletions

2
dive.h
View file

@ -48,7 +48,7 @@ extern "C" {
#endif
enum dive_comp_type {OC, CCR, PSCR}; // Flags (Open-circuit and Closed-circuit-rebreather) for setting dive computer type
enum cylinderuse {oxygen, diluent, bailout}; // The different uses for cylinders in CCR dives
enum cylinderuse {OC_GAS, DILUENT, OXYGEN}; // The different uses for cylinders
struct gasmix {
fraction_t o2;