summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-16 22:11:34 +0000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-16 22:13:12 +0000
commit202c5cbfeb6888b05ae4b14b4f563666bc6ca763 (patch)
treee99552b1afb08bf86e50a930ba7c8f1c4eb9fc4e /dive.h
parent84dc8b8962ae8a4a75ca1ec81acd09989f757c98 (diff)
downloadsubsurface-202c5cbfeb6888b05ae4b14b4f563666bc6ca763.tar.gz
Save CCR cylinder use in XML and git
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index e6b72f9bc..0848905e7 100644
--- a/dive.h
+++ b/dive.h
@@ -48,7 +48,9 @@ extern "C" {
#endif
enum dive_comp_type {OC, CCR, PSCR}; // Flags (Open-circuit and Closed-circuit-rebreather) for setting dive computer type
-enum cylinderuse {OC_GAS, DILUENT, OXYGEN}; // The different uses for cylinders
+enum cylinderuse {OC_GAS, DILUENT, OXYGEN, NUM_GAS_USE}; // The different uses for cylinders
+
+extern const char *cylinderuse_text[];
struct gasmix {
fraction_t o2;