/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | dump.cpp | 289 r.push_back( std::to_string( to_kilogram( veh_empty.total_mass() ) ) ); in dump_stats() 290 r.push_back( std::to_string( to_kilogram( veh_fueled.total_mass() ) ) ); in dump_stats()
|
H A D | vehicle_move.cpp | 101 double accel_slowdown = f_total_drag / to_kilogram( total_mass() ); in slowdown() 865 mass2 = units::to_kilogram( critter->get_weight() ); in part_collision() 903 to_kilogram( parts[ part ].base.weight() ) : to_kilogram( total_mass() ); in part_collision() 2096 pet_resist = static_cast<int>( to_kilogram( pet->get_weight() ) * 200 ); in shake_vehicle()
|
H A D | vehicle.cpp | 3554 double weight = to_kilogram( total_mass() ); in ground_acceleration() 3558 weight = weight + to_kilogram( other_veh->total_mass() ); in ground_acceleration() 3574 … const int accel_at_vel = 100 * lift_thrust_of_rotorcraft( fueled ) / to_kilogram( total_mass() ); in rotor_acceleration() 3586 double weight = to_kilogram( total_mass() ); in water_acceleration() 3590 weight = weight + to_kilogram( other_veh->total_mass() ); in water_acceleration() 4114 coefficient_rolling_resistance = newton_ratio * wheel_factor * to_kilogram( total_mass() ); in coeff_rolling_drag() 4175 return lift_thrust_of_rotorcraft( true ) > to_kilogram( total_mass() ) * 9.8; in has_sufficient_rotorlift() 4292 draft_m = to_kilogram( total_mass() ) / water_density / hull_area_m; in coeff_water_drag() 4320 const float mass_penalty = fraction_without_traction * to_kilogram( total_mass() ); in k_traction()
|
H A D | bionics.cpp | 1952 const int weight = units::to_kilogram( patient.bodyweight() ) / 10; in has_enough_anesth() 1965 const int weight = units::to_kilogram( bodyweight() ) / 10; in has_enough_anesth() 1981 const int weight = units::to_kilogram( patient.bodyweight() ) / 10; in consume_anesth_requirement()
|
H A D | game_inventory.cpp | 1849 const int weight = units::to_kilogram( pa.bodyweight() ) / 10; in get_denial() 1896 const int weight = units::to_kilogram( pa.bodyweight() ) / 10; in get_anesth_amount()
|
H A D | units.h | 367 inline constexpr double to_kilogram( const mass &v ) in to_kilogram() function
|
H A D | npcmove.cpp | 3098 … name, units::to_kilogram( drop_weight ), units::to_liter( drop_volume ), inv->size(), in drop_items() 3099 units::to_kilogram( weight_carried() ), units::to_kilogram( weight_capacity() ), in drop_items()
|
H A D | map.cpp | 652 const float vehicle_mass_kg = to_kilogram( veh.total_mass() ); in move_vehicle() 725 const float m1 = to_kilogram( veh.total_mass() ); in vehicle_vehicle_collision() 726 const float m2 = to_kilogram( veh2.total_mass() ); in vehicle_vehicle_collision() 800 const float m1 = to_kilogram( veh.total_mass() ); in vehicle_vehicle_collision()
|
H A D | iexamine.cpp | 5004 const int weight = units::to_kilogram( patient.bodyweight() ) / 10; in autodoc()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | dump.cpp | 289 r.push_back( std::to_string( to_kilogram( veh_empty.total_mass() ) ) ); in dump_stats() 290 r.push_back( std::to_string( to_kilogram( veh_fueled.total_mass() ) ) ); in dump_stats()
|
H A D | vehicle_move.cpp | 101 double accel_slowdown = f_total_drag / to_kilogram( total_mass() ); in slowdown() 865 mass2 = units::to_kilogram( critter->get_weight() ); in part_collision() 903 to_kilogram( parts[ part ].base.weight() ) : to_kilogram( total_mass() ); in part_collision() 2096 pet_resist = static_cast<int>( to_kilogram( pet->get_weight() ) * 200 ); in shake_vehicle()
|
H A D | vehicle.cpp | 3554 double weight = to_kilogram( total_mass() ); in ground_acceleration() 3558 weight = weight + to_kilogram( other_veh->total_mass() ); in ground_acceleration() 3574 … const int accel_at_vel = 100 * lift_thrust_of_rotorcraft( fueled ) / to_kilogram( total_mass() ); in rotor_acceleration() 3586 double weight = to_kilogram( total_mass() ); in water_acceleration() 3590 weight = weight + to_kilogram( other_veh->total_mass() ); in water_acceleration() 4114 coefficient_rolling_resistance = newton_ratio * wheel_factor * to_kilogram( total_mass() ); in coeff_rolling_drag() 4175 return lift_thrust_of_rotorcraft( true ) > to_kilogram( total_mass() ) * 9.8; in has_sufficient_rotorlift() 4292 draft_m = to_kilogram( total_mass() ) / water_density / hull_area_m; in coeff_water_drag() 4320 const float mass_penalty = fraction_without_traction * to_kilogram( total_mass() ); in k_traction()
|
H A D | bionics.cpp | 1952 const int weight = units::to_kilogram( patient.bodyweight() ) / 10; in has_enough_anesth() 1965 const int weight = units::to_kilogram( bodyweight() ) / 10; in has_enough_anesth() 1981 const int weight = units::to_kilogram( patient.bodyweight() ) / 10; in consume_anesth_requirement()
|
H A D | game_inventory.cpp | 1849 const int weight = units::to_kilogram( pa.bodyweight() ) / 10; in get_denial() 1896 const int weight = units::to_kilogram( pa.bodyweight() ) / 10; in get_anesth_amount()
|
H A D | units.h | 367 inline constexpr double to_kilogram( const mass &v ) in to_kilogram() function
|
H A D | npcmove.cpp | 3098 … name, units::to_kilogram( drop_weight ), units::to_liter( drop_volume ), inv->size(), in drop_items() 3099 units::to_kilogram( weight_carried() ), units::to_kilogram( weight_capacity() ), in drop_items()
|
H A D | map.cpp | 652 const float vehicle_mass_kg = to_kilogram( veh.total_mass() ); in move_vehicle() 725 const float m1 = to_kilogram( veh.total_mass() ); in vehicle_vehicle_collision() 726 const float m2 = to_kilogram( veh2.total_mass() ); in vehicle_vehicle_collision() 800 const float m1 = to_kilogram( veh.total_mass() ); in vehicle_vehicle_collision()
|
H A D | iexamine.cpp | 5004 const int weight = units::to_kilogram( patient.bodyweight() ) / 10; in autodoc()
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/ |
H A D | char_biometrics_test.cpp | 67 return to_kilogram( dummy.bodyweight() ); in bodyweight_kg_at_bmi()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/ |
H A D | char_biometrics_test.cpp | 67 return to_kilogram( dummy.bodyweight() ); in bodyweight_kg_at_bmi()
|