/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | dump.cpp | 86 r.push_back( std::to_string( obj.volume() / units::legacy_volume_factor ) ); in dump_stats() 146 r.push_back( std::to_string( obj.volume() / units::legacy_volume_factor ) ); in dump_stats() 196 r.push_back( std::to_string( obj.volume() / units::legacy_volume_factor ) ); in dump_stats() 316 r.push_back( std::to_string( obj.size / units::legacy_volume_factor ) ); in dump_stats()
|
H A D | handle_liquid.cpp | 395 const units::volume stack = units::legacy_volume_factor / liquid.type->stack_size; in perform_liquid_transfer()
|
H A D | vehicle_display.cpp | 187 auto stack = units::legacy_volume_factor / pt_ammo_cur->stack_size; in print_part_list()
|
H A D | vehicle_part.cpp | 268 const auto stack = units::legacy_volume_factor / std::max( liquid->stack_size, 1 ); in ammo_set()
|
H A D | generic_factory.h | 1081 value = legacy_value * units::legacy_volume_factor;
|
H A D | inventory.cpp | 744 ret += elem_stack_iter.volume() / units::legacy_volume_factor; in leak_level()
|
H A D | assign.h | 239 out = obj.get_int( name ) * units::legacy_volume_factor;
|
H A D | vehicle_use.cpp | 904 bicycle.set_var( "volume", total_folded_volume() / units::legacy_volume_factor ); in fold_up() 1476 … that_item_there->volume() / units::legacy_volume_factor * 2 + 10 ), in operate_scoop()
|
H A D | units.h | 326 static constexpr volume legacy_volume_factor = from_milliliter( 250 ); variable
|
H A D | pickup.cpp | 87 … if( begin_iterator->volume() / units::legacy_volume_factor == static_cast<int>( iVol ) ) { in select_autopickup_items()
|
H A D | item.cpp | 4525 int penalty = get_var( "volume", volume() / units::legacy_volume_factor ) * d; in on_wield_cost() 5256 … ( type->volume - type->gun->barrel_volume ) / units::legacy_volume_factor ); in collapsed_volume_delta() 5351 ret = local_volume * units::legacy_volume_factor; in volume() 8564 charges -= roll_remainder( burn_added * units::legacy_volume_factor * type->stack_size / in burn() 8589 const int vol = base_volume() / units::legacy_volume_factor; in burn() 8624 flammability *= vol / units::legacy_volume_factor; in flammable() 9796 … if( rng( 0, volume() / units::legacy_volume_factor ) > burnt && g->revive_corpse( pos, *this ) ) { in process_corpse()
|
H A D | sounds.cpp | 1124 weapon_volume = p.weapon.volume() / units::legacy_volume_factor; in sound_thread()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | dump.cpp | 86 r.push_back( std::to_string( obj.volume() / units::legacy_volume_factor ) ); in dump_stats() 146 r.push_back( std::to_string( obj.volume() / units::legacy_volume_factor ) ); in dump_stats() 196 r.push_back( std::to_string( obj.volume() / units::legacy_volume_factor ) ); in dump_stats() 316 r.push_back( std::to_string( obj.size / units::legacy_volume_factor ) ); in dump_stats()
|
H A D | handle_liquid.cpp | 395 const units::volume stack = units::legacy_volume_factor / liquid.type->stack_size; in perform_liquid_transfer()
|
H A D | vehicle_part.cpp | 268 const auto stack = units::legacy_volume_factor / std::max( liquid->stack_size, 1 ); in ammo_set()
|
H A D | vehicle_display.cpp | 187 auto stack = units::legacy_volume_factor / pt_ammo_cur->stack_size; in print_part_list()
|
H A D | generic_factory.h | 1081 value = legacy_value * units::legacy_volume_factor;
|
H A D | assign.h | 239 out = obj.get_int( name ) * units::legacy_volume_factor;
|
H A D | inventory.cpp | 744 ret += elem_stack_iter.volume() / units::legacy_volume_factor; in leak_level()
|
H A D | vehicle_use.cpp | 904 bicycle.set_var( "volume", total_folded_volume() / units::legacy_volume_factor ); in fold_up() 1476 … that_item_there->volume() / units::legacy_volume_factor * 2 + 10 ), in operate_scoop()
|
H A D | units.h | 326 static constexpr volume legacy_volume_factor = from_milliliter( 250 ); variable
|
H A D | pickup.cpp | 87 … if( begin_iterator->volume() / units::legacy_volume_factor == static_cast<int>( iVol ) ) { in select_autopickup_items()
|
H A D | item.cpp | 4525 int penalty = get_var( "volume", volume() / units::legacy_volume_factor ) * d; in on_wield_cost() 5256 … ( type->volume - type->gun->barrel_volume ) / units::legacy_volume_factor ); in collapsed_volume_delta() 5351 ret = local_volume * units::legacy_volume_factor; in volume() 8564 charges -= roll_remainder( burn_added * units::legacy_volume_factor * type->stack_size / in burn() 8589 const int vol = base_volume() / units::legacy_volume_factor; in burn() 8624 flammability *= vol / units::legacy_volume_factor; in flammable() 9796 … if( rng( 0, volume() / units::legacy_volume_factor ) > burnt && g->revive_corpse( pos, *this ) ) { in process_corpse()
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/ |
H A D | vehicle_efficiency_test.cpp | 99 qty /= to_milliliter( units::legacy_volume_factor ); in set_vehicle_fuel()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/ |
H A D | vehicle_efficiency_test.cpp | 99 qty /= to_milliliter( units::legacy_volume_factor ); in set_vehicle_fuel()
|