diff options
author | Robert C. Helling <helling@atdotde.de> | 2017-11-24 14:17:01 +0100 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2017-11-25 20:13:01 +0100 |
commit | 088db5e12be569ea85fc2ac34c22413a30090cba (patch) | |
tree | 535b7c07ce0652c3d602223699b8e63a4d6ec6a3 /core/profile.h | |
parent | 8e21a65653514d9340ef45c9b9c53dfe5d280350 (diff) | |
download | subsurface-088db5e12be569ea85fc2ac34c22413a30090cba.tar.gz |
Hand planner variables to profile
Pass the planner state struct to the profile computation so it can use
deco_time and first ceiling to display VPM-B ceiling.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/profile.h')
-rw-r--r-- | core/profile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/profile.h b/core/profile.h index bf29362f3..fa92070c6 100644 --- a/core/profile.h +++ b/core/profile.h @@ -74,8 +74,8 @@ struct plot_info calculate_max_limits_new(struct dive *dive, struct divecomputer void compare_samples(struct plot_data *e1, struct plot_data *e2, char *buf, int bufsize, int sum); struct plot_data *populate_plot_entries(struct dive *dive, struct divecomputer *dc, struct plot_info *pi); struct plot_info *analyze_plot_info(struct plot_info *pi); -void create_plot_info_new(struct dive *dive, struct divecomputer *dc, struct plot_info *pi, bool fast); -void calculate_deco_information(struct deco_state *ds, struct dive *dive, struct divecomputer *dc, struct plot_info *pi, bool print_mode); +void create_plot_info_new(struct dive *dive, struct divecomputer *dc, struct plot_info *pi, bool fast, struct deco_state *planner_ds); +void calculate_deco_information(struct deco_state *ds, struct deco_state *planner_de, struct dive *dive, struct divecomputer *dc, struct plot_info *pi, bool print_mode); struct plot_data *get_plot_details_new(struct plot_info *pi, int time, struct membuffer *); /* |