mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Instead of a "Cylinder for planning" use a default cylinder
Right now hardcoded to AL80. This way in the future we'll have a volume of gas that's available. And this makes much more sense then a random string in the description field. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
25e432e1d1
commit
aa76d35923
3 changed files with 11 additions and 4 deletions
1
dive.h
1
dive.h
|
@ -658,6 +658,7 @@ extern void copy_events(struct dive *s, struct dive *d);
|
|||
extern void copy_cylinders(struct dive *s, struct dive *d);
|
||||
extern void copy_samples(struct dive *s, struct dive *d);
|
||||
|
||||
extern void fill_default_cylinder(cylinder_t *cyl);
|
||||
extern void add_gas_switch_event(struct dive *dive, struct divecomputer *dc, int time, int idx);
|
||||
extern void add_event(struct divecomputer *dc, int time, int type, int flags, int value, const char *name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue