Add OTU to divelist

and change OTUs to be tracked as int, not double

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2011-09-22 14:02:26 -07:00
parent a93641b722
commit d5c86ebe3d
2 changed files with 37 additions and 11 deletions

2
dive.h
View file

@ -161,7 +161,7 @@ struct dive {
depth_t visibility;
temperature_t airtemp, watertemp;
cylinder_t cylinder[MAX_CYLINDERS];
double otu;
int otu;
int samples, alloc_samples;
struct sample sample[];
};