Home
last modified time | relevance | path

Searched refs:legacy_volume_factor (Results 1 – 25 of 38) sorted by relevance

12

/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Ddump.cpp86 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 Dhandle_liquid.cpp395 const units::volume stack = units::legacy_volume_factor / liquid.type->stack_size; in perform_liquid_transfer()
H A Dvehicle_display.cpp187 auto stack = units::legacy_volume_factor / pt_ammo_cur->stack_size; in print_part_list()
H A Dvehicle_part.cpp268 const auto stack = units::legacy_volume_factor / std::max( liquid->stack_size, 1 ); in ammo_set()
H A Dgeneric_factory.h1081 value = legacy_value * units::legacy_volume_factor;
H A Dinventory.cpp744 ret += elem_stack_iter.volume() / units::legacy_volume_factor; in leak_level()
H A Dassign.h239 out = obj.get_int( name ) * units::legacy_volume_factor;
H A Dvehicle_use.cpp904 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 Dunits.h326 static constexpr volume legacy_volume_factor = from_milliliter( 250 ); variable
H A Dpickup.cpp87 … if( begin_iterator->volume() / units::legacy_volume_factor == static_cast<int>( iVol ) ) { in select_autopickup_items()
H A Ditem.cpp4525 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 Dsounds.cpp1124 weapon_volume = p.weapon.volume() / units::legacy_volume_factor; in sound_thread()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Ddump.cpp86 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 Dhandle_liquid.cpp395 const units::volume stack = units::legacy_volume_factor / liquid.type->stack_size; in perform_liquid_transfer()
H A Dvehicle_part.cpp268 const auto stack = units::legacy_volume_factor / std::max( liquid->stack_size, 1 ); in ammo_set()
H A Dvehicle_display.cpp187 auto stack = units::legacy_volume_factor / pt_ammo_cur->stack_size; in print_part_list()
H A Dgeneric_factory.h1081 value = legacy_value * units::legacy_volume_factor;
H A Dassign.h239 out = obj.get_int( name ) * units::legacy_volume_factor;
H A Dinventory.cpp744 ret += elem_stack_iter.volume() / units::legacy_volume_factor; in leak_level()
H A Dvehicle_use.cpp904 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 Dunits.h326 static constexpr volume legacy_volume_factor = from_milliliter( 250 ); variable
H A Dpickup.cpp87 … if( begin_iterator->volume() / units::legacy_volume_factor == static_cast<int>( iVol ) ) { in select_autopickup_items()
H A Ditem.cpp4525 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 Dvehicle_efficiency_test.cpp99 qty /= to_milliliter( units::legacy_volume_factor ); in set_vehicle_fuel()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/
H A Dvehicle_efficiency_test.cpp99 qty /= to_milliliter( units::legacy_volume_factor ); in set_vehicle_fuel()

12