diff options
author | 2013-01-28 21:44:03 -0800 | |
---|---|---|
committer | 2013-01-28 21:44:03 -0800 | |
commit | 974ac84cbe47a8a4f238df18a5fca5835b1732f3 (patch) | |
tree | 8def887582053e5069968dfc2ba048226e342b44 /dive.h | |
parent | 7aff4d70a62f9f91904e2bd6a574fa44aadbaf64 (diff) | |
parent | 55b3fd12a8b8c4df4e69ec9d747c77d99b40807a (diff) | |
download | subsurface-974ac84cbe47a8a4f238df18a5fca5835b1732f3.tar.gz |
Merge branch 'cc-plan'
Add the ability to plan closed circuit (rebreather) dives
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -587,6 +587,7 @@ struct divedatapoint { int depth; int o2; int he; + int po2; gboolean entered; struct divedatapoint *next; }; @@ -600,7 +601,7 @@ struct diveplan { }; void plan(struct diveplan *diveplan, char **cache_datap, struct dive **divep); -void plan_add_segment(struct diveplan *diveplan, int duration, int depth, int o2, int he); +void plan_add_segment(struct diveplan *diveplan, int duration, int depth, int o2, int he, int po2); void add_duration_to_nth_dp(struct diveplan *diveplan, int idx, int duration, gboolean is_rel); void add_depth_to_nth_dp(struct diveplan *diveplan, int idx, int depth); void add_gas_to_nth_dp(struct diveplan *diveplan, int idx, int o2, int he); |