Searched refs:totalNumPeeps (Results 1 – 2 of 2) sorted by relevance
322 OpenRCT2::Audio::SoundId ProduceScreamSound(const int32_t totalNumPeeps);
5524 int32_t totalNumPeeps = NumPeepsUntilTrainTail(); in UpdateScreamSound() local5525 if (totalNumPeeps == 0) in UpdateScreamSound()5539 return ProduceScreamSound(totalNumPeeps); in UpdateScreamSound()5543 return ProduceScreamSound(totalNumPeeps); in UpdateScreamSound()5557 return ProduceScreamSound(totalNumPeeps); in UpdateScreamSound()5561 return ProduceScreamSound(totalNumPeeps); in UpdateScreamSound()5566 OpenRCT2::Audio::SoundId Vehicle::ProduceScreamSound(const int32_t totalNumPeeps) in ProduceScreamSound() argument5575 if (totalNumPeeps >= static_cast<int32_t>(r % 16)) in ProduceScreamSound()