Home
last modified time | relevance | path

Searched refs:common_cargo_type (Results 1 – 1 of 1) sorted by relevance

/dports/games/openttd/openttd-12.1/src/
H A Dnewgrf_engine.cpp442 CargoID common_cargo_type = CT_INVALID; in VehicleGetVariable() local
464 common_cargo_type = cargo; in VehicleGetVariable()
471 if (u->cargo_type != common_cargo_type || !u->GetEngine()->CanCarryCargo()) continue; in VehicleGetVariable()
487 …v->grf_cache.consist_cargo_information = cargo_classes | (common_cargo_type << 8) | (common_subtyp… in VehicleGetVariable()
492 CargoID common_cargo_type = (v->grf_cache.consist_cargo_information >> 8) & 0xFF; in VehicleGetVariable() local
503 uint8 common_bitnum = (common_cargo_type == CT_INVALID) ? 0xFF : in VehicleGetVariable()
504 … grffile->grf_version < 8) ? CargoSpec::Get(common_cargo_type)->bitnum : grffile->cargo_map[common… in VehicleGetVariable()