2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-18 00:05:24 +00:00

Reformat pass

This commit is contained in:
2021-06-07 12:29:18 -07:00
parent d7559823ea
commit a9bcb7a9ce
424 changed files with 4377 additions and 4790 deletions

View File

@@ -21,8 +21,7 @@ namespace metaforce {
u16 CParticleElectric::g_GlobalSeed = 99;
CParticleElectric::CParticleElectric(const TToken<CElectricDescription>& token)
: x1c_elecDesc(token)
, x14c_randState(g_GlobalSeed++) {
: x1c_elecDesc(token), x14c_randState(g_GlobalSeed++) {
x1bc_allocated.resize(32);
CElectricDescription* desc = x1c_elecDesc.GetObj();
@@ -609,8 +608,8 @@ bool CParticleElectric::Update(double dt) {
}
void CParticleElectric::Render(const CActorLights* lights) {
SCOPED_GRAPHICS_DEBUG_GROUP(fmt::format(FMT_STRING("CParticleElectric::Render {}"),
*x1c_elecDesc.GetObjectTag()).c_str(), zeus::skYellow);
SCOPED_GRAPHICS_DEBUG_GROUP(
fmt::format(FMT_STRING("CParticleElectric::Render {}"), *x1c_elecDesc.GetObjectTag()).c_str(), zeus::skYellow);
if (!x3e8_electricManagers.empty()) {
if (x450_29_transformDirty) {