Skip to content

Commit e719d76

Browse files
committed
cleanup remaining unused parameters in renderparticles
1 parent a03799d commit e719d76

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/engine/render/renderparticles.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ class listrenderer : public partrenderer
357357

358358
virtual void startrender() = 0;
359359
virtual void endrender() = 0;
360-
virtual void renderpart(const listparticle &p, const vec &o, const vec &d, int blend, int ts) = 0;
360+
virtual void renderpart(const listparticle &p, const vec &o, int blend, int ts) = 0;
361361

362362
bool haswork() const override final
363363
{
@@ -373,7 +373,7 @@ class listrenderer : public partrenderer
373373
{
374374
return false;
375375
}
376-
renderpart(*p, o, d, blend, ts);
376+
renderpart(*p, o, blend, ts);
377377
return p->fade > 5;
378378
}
379379

@@ -525,7 +525,7 @@ class meterrenderer final : public listrenderer
525525
glEnable(GL_BLEND);
526526
}
527527

528-
void renderpart(const listparticle &p, const vec &o, const vec &d, int blend, int ts) override final
528+
void renderpart(const listparticle &p, const vec &o, int, int) override final
529529
{
530530
int basetype = parttype()&0xFF;
531531
float scale = FONTH*p.size/80.0f,
@@ -690,7 +690,7 @@ void seedpos(particleemitter &pe, const vec &o, const vec &d, int fade, float si
690690
}
691691

692692
template<>
693-
void seedpos<PT_TAPE>(particleemitter &pe, const vec &o, const vec &d, int fade, float size, int grav)
693+
void seedpos<PT_TAPE>(particleemitter &pe, const vec &, const vec &d, int, float size, int)
694694
{
695695
pe.extendbb(d, size);
696696
}
@@ -1036,13 +1036,13 @@ class fireballrenderer final : public listrenderer
10361036
sr.cleanup();
10371037
}
10381038

1039-
void seedemitter(particleemitter &pe, const vec &o, const vec &d, int fade, float size, int gravity) override final
1039+
void seedemitter(particleemitter &pe, const vec &o, const vec &, int fade, float size, int) override final
10401040
{
10411041
pe.maxfade = std::max(pe.maxfade, fade);
10421042
pe.extendbb(o, (size+1+pe.ent->attr2)*wobble);
10431043
}
10441044

1045-
void renderpart(const listparticle &p, const vec &o, const vec &d, int blend, int ts) override final
1045+
void renderpart(const listparticle &p, const vec &o, int blend, int ts) override final
10461046
{
10471047
float pmax = p.val,
10481048
size = p.fade ? static_cast<float>(ts)/p.fade : 1,

0 commit comments

Comments
 (0)