MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / has38Flags

Method has38Flags

src/OpenLoco/src/Vehicles/Vehicle.cpp:116–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 }
115
116 bool VehicleBase::has38Flags(Flags38 flagsToTest) const
117 {
118 return (var_38 & flagsToTest) != Flags38::none;
119 }
120
121 bool VehicleBase::hasVehicleFlags(VehicleFlags flagsToTest) const
122 {

Callers 15

calculateCompanyValueFunction · 0.80
stopAllCompanyVehiclesFunction · 0.80
setAiObservationFunction · 0.80
vehiclesMenuMouseDownFunction · 0.80
countVehiclesOnMapFunction · 0.80
drawVehiclesOnMapFunction · 0.80
getBodyItemsForVehicleFunction · 0.80
removeBoatGhostFunction · 0.80
removeAirplaneGhostFunction · 0.80
removeLandGhostFunction · 0.80
pickupToolDownAirFunction · 0.80
pickupToolDownWaterFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected