Add Textured Particles
This commit is contained in:
parent
9bbf65df36
commit
b6202ffc4c
5 changed files with 95 additions and 10 deletions
|
|
@ -278,7 +278,7 @@ enum PSFlag
|
|||
};
|
||||
|
||||
void P_SpawnParticle(FLevelLocals *Level, const DVector3 &pos, const DVector3 &vel, const DVector3 &accel, PalEntry color, double startalpha, int lifetime, double size,
|
||||
double fadestep, double sizestep, int flags)
|
||||
double fadestep, double sizestep, int flags, FTextureID texture, ERenderStyle style)
|
||||
{
|
||||
particle_t *particle = NewParticle(Level);
|
||||
|
||||
|
|
@ -296,6 +296,8 @@ void P_SpawnParticle(FLevelLocals *Level, const DVector3 &pos, const DVector3 &v
|
|||
particle->size = size;
|
||||
particle->sizestep = sizestep;
|
||||
particle->notimefreeze = !!(flags & PS_NOTIMEFREEZE);
|
||||
particle->texture = texture;
|
||||
particle->style = style;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue