mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
planner: make argument to plan_add_segment() depth_t
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
c46579c006
commit
c598a14f2f
4 changed files with 72 additions and 72 deletions
|
|
@ -21,7 +21,7 @@ struct divedatapoint {
|
|||
divedatapoint(const divedatapoint &) = default;
|
||||
divedatapoint(divedatapoint &&) = default;
|
||||
divedatapoint &operator=(const divedatapoint &) = default;
|
||||
divedatapoint(int time_incr, int depth, int cylinderid, int po2, bool entered);
|
||||
divedatapoint(int time_incr, depth_t depth, int cylinderid, int po2, bool entered);
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
|
|
@ -61,7 +61,7 @@ extern int get_cylinderid_at_time(struct dive *dive, struct divecomputer *dc, du
|
|||
extern int ascent_velocity(depth_t depth, int avg_depth, int);
|
||||
extern const char *get_planner_disclaimer();
|
||||
|
||||
void plan_add_segment(struct diveplan &diveplan, int duration, int depth, int cylinderid, int po2, bool entered, enum divemode_t divemode);
|
||||
void plan_add_segment(struct diveplan &diveplan, int duration, depth_t depth, int cylinderid, int po2, bool entered, enum divemode_t divemode);
|
||||
#if DEBUG_PLAN
|
||||
void dump_plan(struct diveplan *diveplan);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue