mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: convert cylinder_t and cylinder_table to C++
This had to be done simultaneously, because the table macros do not work properly with C++ objects. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
284582d2e8
commit
28520da655
48 changed files with 593 additions and 710 deletions
|
@ -58,7 +58,7 @@ struct gas_pressures {
|
|||
double o2 = 0.0, n2 = 0.0, he = 0.0;
|
||||
};
|
||||
|
||||
extern void sanitize_gasmix(struct gasmix *mix);
|
||||
extern void sanitize_gasmix(struct gasmix &mix);
|
||||
extern int gasmix_distance(struct gasmix a, struct gasmix b);
|
||||
extern fraction_t get_gas_component_fraction(struct gasmix mix, enum gas_component component);
|
||||
extern gas_pressures fill_pressures(double amb_pressure, struct gasmix mix, double po2, enum divemode_t dctype);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue