MCPcopy Create free account
hub / github.com/assaultcube/AC / particleinit

Function particleinit

source/src/renderparticles.cpp:192–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190static Texture *parttex[7];
191
192void particleinit()
193{
194 loopi(MAXPARTYPES) parlist[i] = NULL;
195
196 parttex[0] = textureload("packages/misc/base.png");
197 parttex[1] = textureload("packages/misc/smoke.png");
198 parttex[2] = textureload("packages/misc/explosion.png");
199 parttex[3] = textureload("<decal>packages/misc/bullethole.png");
200 parttex[4] = textureload("packages/misc/blood.png");
201 parttex[5] = textureload("packages/misc/scorch.png");
202 parttex[6] = textureload("packages/misc/muzzleflash.jpg");
203}
204
205void cleanupparticles()
206{

Callers 1

main.cppFile · 0.85

Calls 2

textureloadFunction · 0.85
loopiFunction · 0.70

Tested by

no test coverage detected