summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-04 11:26:31 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-04 11:26:31 -0700
commitd4e37453704edf433a28f457d25c608d8eac1bd3 (patch)
tree0276cd02f451e9dd3f918e2b4e7ae1eb045bd8ea /dive.h
parent75c9bcd72668f5b5524e29291cce2a908fddcdaa (diff)
downloadsubsurface-d4e37453704edf433a28f457d25c608d8eac1bd3.tar.gz
Planner: only track gas when planning a dive
When adding a dive we don't have SAC data so we should simply have the user manually enter their gas consumption. That still doesn't work, but this is one required step to get it to work. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index 20415fc57..d22ff0543 100644
--- a/dive.h
+++ b/dive.h
@@ -709,7 +709,7 @@ struct divedatapoint *create_dp(int time_incr, int depth, struct gasmix gasmix,
#if DEBUG_PLAN
void dump_plan(struct diveplan *diveplan);
#endif
-void plan(struct diveplan *diveplan, char **cached_datap, bool add_deco, bool show_disclaimer);
+void plan(struct diveplan *diveplan, char **cached_datap, bool is_planner, bool show_disclaimer);
void delete_single_dive(int idx);
struct event *get_next_event(struct event *event, char *name);