aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/schedule.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/schedule.h')
-rw-r--r--src/schedule.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/schedule.h b/src/schedule.h
index d450232..06c4713 100644
--- a/src/schedule.h
+++ b/src/schedule.h
@@ -30,7 +30,7 @@ typedef enum segtype_t {
} segtype_t;
typedef struct waypoint_callback_t {
- void (*fn)(const decostate_t *, waypoint_t, segtype_t, void *);
+ void (*fn)(const decostate_t *, segtype_t, void *);
void *arg;
} waypoint_callback_t;
@@ -40,12 +40,11 @@ extern int SWITCH_INTERMEDIATE;
/* functions */
const gas_t *best_gas(double depth, const gas_t *gasses, int nof_gasses);
-int direct_ascent(const decostate_t *ds, double depth, double time, const gas_t *gas);
-double calc_ndl(decostate_t *ds, double depth, double ascrate, const gas_t *gas);
+int direct_ascent(const decostate_t *ds, double ascrate);
+double calc_ndl(decostate_t *ds, double ascrate);
void simulate_dive(decostate_t *ds, const waypoint_t *waypoints, int nof_waypoints, const waypoint_callback_t *wp_cb);
-decoinfo_t calc_deco(decostate_t *ds, double start_depth, const gas_t *start_gas, const gas_t *deco_gasses,
- int nof_gasses, const waypoint_callback_t *wp_cb);
+decoinfo_t calc_deco(decostate_t *ds, const gas_t *deco_gasses, int nof_gasses, const waypoint_callback_t *wp_cb);
#endif /* end of include guard: SCHEDULE_H */