mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Next step to using gasmix instead of o2/he
This changes the divedatapoints and functions that deal with them. It changes plan_add_segment(), create_dp(), gasToStr(), and tankInUse() to consume gasmix instead of o2/he. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2bf46381a8
commit
fe773241ee
5 changed files with 58 additions and 61 deletions
|
@ -46,7 +46,7 @@ public:
|
|||
bool recalcQ();
|
||||
void tanksUpdated();
|
||||
void rememberTanks();
|
||||
bool tankInUse(int o2, int he);
|
||||
bool tankInUse(struct gasmix gasmix);
|
||||
void copyCylinders(struct dive *d);
|
||||
void setupCylinders();
|
||||
/**
|
||||
|
@ -137,7 +137,7 @@ private:
|
|||
Ui::DivePlanner ui;
|
||||
};
|
||||
|
||||
QString gasToStr(const int o2Permille, const int hePermille);
|
||||
QString gasToStr(gasmix gas);
|
||||
QString dpGasToStr(const divedatapoint &p);
|
||||
|
||||
#endif // DIVEPLANNER_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue