mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: make round_to parameter of gas_mod() and gas_mnd() a depth_t
Simplifies practically all the callers. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
bd2f7e72f1
commit
6b57b3b745
6 changed files with 34 additions and 34 deletions
|
|
@ -125,8 +125,8 @@ struct dive {
|
|||
|
||||
pressure_t calculate_surface_pressure() const;
|
||||
pressure_t un_fixup_surface_pressure() const;
|
||||
depth_t gas_mod(struct gasmix mix, pressure_t po2_limit, int roundto) const;
|
||||
depth_t gas_mnd(struct gasmix mix, depth_t end, int roundto) const;
|
||||
depth_t gas_mod(struct gasmix mix, pressure_t po2_limit, depth_t roundto) const;
|
||||
depth_t gas_mnd(struct gasmix mix, depth_t end, depth_t roundto) const;
|
||||
fraction_t best_o2(depth_t depth, bool in_planner) const;
|
||||
fraction_t best_he(depth_t depth, bool o2narcotic, fraction_t fo2) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue