First stab at deco calculations

This seems to give us roughly the right data but needs a lot more testing.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-01-02 21:21:36 -08:00
parent 8dbe3528b4
commit 3c31d0401d
4 changed files with 177 additions and 1 deletions

3
dive.h
View file

@ -572,6 +572,9 @@ extern void subsurface_command_line_exit(gint *, gchar ***);
#define FRACTION(n,x) ((unsigned)(n)/(x)),((unsigned)(n)%(x))
extern double add_segment(double pressure, struct gasmix *gasmix);
extern void clear_deco(void);
#ifdef DEBUGFILE
extern char *debugfilename;
extern FILE *debugfile;