1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 06:23:04 +01:00

Add line breaks after template declarations (#23086)

* Add line breaks after template declarations

* Additional clang-format patches
This commit is contained in:
Aaron van Geffen
2024-10-29 16:54:01 +01:00
committed by GitHub
parent 0669eba3b2
commit 80b63a5ae7
129 changed files with 867 additions and 430 deletions

View File

@@ -24,27 +24,32 @@ static constexpr uint32_t _VehicleCrashParticleSprites[kCrashedVehicleParticleNu
22577, 22589, 22601, 22613, 22625,
};
template<> bool EntityBase::Is<SteamParticle>() const
template<>
bool EntityBase::Is<SteamParticle>() const
{
return Type == EntityType::SteamParticle;
}
template<> bool EntityBase::Is<ExplosionFlare>() const
template<>
bool EntityBase::Is<ExplosionFlare>() const
{
return Type == EntityType::ExplosionFlare;
}
template<> bool EntityBase::Is<ExplosionCloud>() const
template<>
bool EntityBase::Is<ExplosionCloud>() const
{
return Type == EntityType::ExplosionCloud;
}
template<> bool EntityBase::Is<VehicleCrashParticle>() const
template<>
bool EntityBase::Is<VehicleCrashParticle>() const
{
return Type == EntityType::CrashedVehicleParticle;
}
template<> bool EntityBase::Is<CrashSplashParticle>() const
template<>
bool EntityBase::Is<CrashSplashParticle>() const
{
return Type == EntityType::CrashSplash;
}