diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-05 09:12:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-05 09:12:54 -0700 |
commit | 5f79a804b925a8ffbcf933bb6fae4f764b518c8e (patch) | |
tree | 43e5d9dd7c7434966038789c0b2d0e28a7650e30 /dive.h | |
parent | 0f832f15d1a5c4a9877fa4d568daa6e87241ca97 (diff) | |
download | subsurface-5f79a804b925a8ffbcf933bb6fae4f764b518c8e.tar.gz |
Sanitize and fix cylinder pressure overview
Doing per-dive cylinder start/end pressures is insane, when we can have
up to eight cylinders. The cylinder start/end pressure cannot be per
dive, it needs to be per cylinder.
This makes the save format cleaner too, we have all the cylinder data in
just one place.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,6 +81,7 @@ typedef struct { typedef struct { cylinder_type_t type; gasmix_t gasmix; + pressure_t start, end; } cylinder_t; static inline int to_feet(depth_t depth) @@ -118,7 +119,6 @@ struct dive { duration_t duration, surfacetime; depth_t visibility; temperature_t airtemp, watertemp; - pressure_t beginning_pressure, end_pressure; cylinder_t cylinder[MAX_CYLINDERS]; int samples; struct sample sample[]; |