More style cleanup
FossilOrigin-Name: 753ff34122c906fdba43b8c382ac52cc9f0ac3ce585ec9f4db6b1dc1f21ef86a
This commit is contained in:
parent
dd08a1069e
commit
a28209edcf
27 changed files with 525 additions and 539 deletions
|
@ -25,7 +25,7 @@ newparticle(OFVector3D &o, OFVector3D &d, int fade, int type)
|
|||
parempty = &particles[i];
|
||||
}
|
||||
parinit = true;
|
||||
};
|
||||
}
|
||||
if (parempty) {
|
||||
particle *p = parempty;
|
||||
parempty = p->next;
|
||||
|
@ -36,7 +36,7 @@ newparticle(OFVector3D &o, OFVector3D &d, int fade, int type)
|
|||
p->millis = lastmillis;
|
||||
p->next = parlist;
|
||||
parlist = p;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
VAR(demotracking, 0, 0, 1);
|
||||
|
@ -69,15 +69,16 @@ render_particles(int time)
|
|||
int gr, tex;
|
||||
float sz;
|
||||
} parttypes[] = {
|
||||
{0.7f, 0.6f, 0.3f, 2, 3, 0.06f}, // yellow: sparks
|
||||
{0.5f, 0.5f, 0.5f, 20, 7, 0.15f}, // grey: small smoke
|
||||
{0.2f, 0.2f, 1.0f, 20, 3, 0.08f}, // blue: edit mode entities
|
||||
{1.0f, 0.1f, 0.1f, 1, 7, 0.06f}, // red: blood spats
|
||||
{1.0f, 0.8f, 0.8f, 20, 6, 1.2f}, // yellow: fireball1
|
||||
{0.5f, 0.5f, 0.5f, 20, 7, 0.6f}, // grey: big smoke
|
||||
{1.0f, 1.0f, 1.0f, 20, 8, 1.2f}, // blue: fireball2
|
||||
{1.0f, 1.0f, 1.0f, 20, 9, 1.2f}, // green: fireball3
|
||||
{1.0f, 0.1f, 0.1f, 0, 7, 0.2f}, // red: demotrack
|
||||
{ 0.7f, 0.6f, 0.3f, 2, 3, 0.06f }, // yellow: sparks
|
||||
{ 0.5f, 0.5f, 0.5f, 20, 7, 0.15f }, // grey: small smoke
|
||||
{ 0.2f, 0.2f, 1.0f, 20, 3,
|
||||
0.08f }, // blue: edit mode entities
|
||||
{ 1.0f, 0.1f, 0.1f, 1, 7, 0.06f }, // red: blood spats
|
||||
{ 1.0f, 0.8f, 0.8f, 20, 6, 1.2f }, // yellow: fireball1
|
||||
{ 0.5f, 0.5f, 0.5f, 20, 7, 0.6f }, // grey: big smoke
|
||||
{ 1.0f, 1.0f, 1.0f, 20, 8, 1.2f }, // blue: fireball2
|
||||
{ 1.0f, 1.0f, 1.0f, 20, 9, 1.2f }, // green: fireball3
|
||||
{ 1.0f, 0.1f, 0.1f, 0, 7, 0.2f }, // red: demotrack
|
||||
};
|
||||
|
||||
int numrender = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue