1024static void CL_ParticleEffect_Fallback(
int effectnameindex,
float count,
const vec3_t originmins,
const vec3_t originmaxs,
const vec3_t velocitymins,
const vec3_t velocitymaxs,
entity_t *ent,
int palettecolor,
qbool spawndlight,
qbool spawnparticles,
qbool wanttrail)
1030 VectorLerp(originmins, 0.5, originmaxs, center);
1038 CL_NewParticlesFromEffectinfo(
EFFECT_TE_EXPLOSION, 1, originmins, originmaxs, velocitymins, velocitymaxs,
NULL, 0, spawndlight, spawnparticles,
NULL,
NULL, 1, wanttrail);
1040 CL_NewParticlesFromEffectinfo(
EFFECT_TE_BLOOD,
count / 2.0f, originmins, originmaxs, velocitymins, velocitymaxs,
NULL, 0, spawndlight, spawnparticles,
NULL,
NULL, 1, wanttrail);
1053 lhrandom(originmins[0], originmaxs[0]),
1054 lhrandom(originmins[1], originmaxs[1]),
1055 lhrandom(originmins[2], originmaxs[2]),
1056 lhrandom(velocitymins[0], velocitymaxs[0]),
1057 lhrandom(velocitymins[1], velocitymaxs[1]),
1058 lhrandom(velocitymins[2], velocitymaxs[2]),
1070 CL_NewParticlesFromEffectinfo(
EFFECT_SVC_PARTICLE, 30*
count, originmins, originmaxs, velocitymins, velocitymaxs,
NULL, 20, spawndlight, spawnparticles,
NULL,
NULL, 1, wanttrail);
1072 CL_NewParticlesFromEffectinfo(
EFFECT_SVC_PARTICLE, 20*
count, originmins, originmaxs, velocitymins, velocitymaxs,
NULL, 226, spawndlight, spawnparticles,
NULL,
NULL, 1, wanttrail);
1080 CL_NewParticlesFromEffectinfo(
EFFECT_SVC_PARTICLE, 10*
count, originmins, originmaxs, velocitymins, velocitymaxs,
NULL, 0, spawndlight, spawnparticles,
NULL,
NULL, 1, wanttrail);
1084 CL_Smoke(originmins, originmaxs, velocitymins, velocitymaxs, 4*
count);
1085 CL_Sparks(originmins, originmaxs, velocitymins, velocitymaxs, 15*
count);
1086 CL_NewParticle(center,
pt_static, 0x808080,0x808080,
tex_particle, 3, 0, 256, 512, 0, 0,
lhrandom(originmins[0], originmaxs[0]),
lhrandom(originmins[1], originmaxs[1]),
lhrandom(originmins[2], originmaxs[2]), 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1090 R_Stain(center, 16, 40, 40, 40, 64, 88, 88, 88, 64);
1100 CL_NewParticlesFromEffectinfo(
EFFECT_SVC_PARTICLE, 10*
count, originmins, originmaxs, velocitymins, velocitymaxs,
NULL, 0, spawndlight, spawnparticles,
NULL,
NULL, 1, wanttrail);
1104 CL_Smoke(originmins, originmaxs, velocitymins, velocitymaxs, 4*
count);
1105 CL_Sparks(originmins, originmaxs, velocitymins, velocitymaxs, 15*
count);
1106 CL_NewParticle(center,
pt_static, 0x808080,0x808080,
tex_particle, 3, 0, 256, 512, 0, 0,
lhrandom(originmins[0], originmaxs[0]),
lhrandom(originmins[1], originmaxs[1]),
lhrandom(originmins[2], originmaxs[2]), 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1110 R_Stain(center, 16, 40, 40, 40, 64, 88, 88, 88, 64);
1112 CL_AllocLightFlash(
NULL, &lightmatrix, 100, 0.15f, 0.15f, 1.5f, 500, 0.2,
NULL, -1,
true, 1, 0.25, 1, 0, 0,
LIGHTFLAG_NORMALMODE |
LIGHTFLAG_REALTIMEMODE);
1121 CL_NewParticlesFromEffectinfo(
EFFECT_SVC_PARTICLE, 20*
count, originmins, originmaxs, velocitymins, velocitymaxs,
NULL, 0, spawndlight, spawnparticles,
NULL,
NULL, 1, wanttrail);
1125 CL_Smoke(originmins, originmaxs, velocitymins, velocitymaxs, 8*
count);
1126 CL_Sparks(originmins, originmaxs, velocitymins, velocitymaxs, 30*
count);
1127 CL_NewParticle(center,
pt_static, 0x808080,0x808080,
tex_particle, 3, 0, 256, 512, 0, 0,
lhrandom(originmins[0], originmaxs[0]),
lhrandom(originmins[1], originmaxs[1]),
lhrandom(originmins[2], originmaxs[2]), 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1131 R_Stain(center, 16, 40, 40, 40, 64, 88, 88, 88, 64);
1141 CL_NewParticlesFromEffectinfo(
EFFECT_SVC_PARTICLE, 20*
count, originmins, originmaxs, velocitymins, velocitymaxs,
NULL, 0, spawndlight, spawnparticles,
NULL,
NULL, 1, wanttrail);
1145 CL_Smoke(originmins, originmaxs, velocitymins, velocitymaxs, 8*
count);
1146 CL_Sparks(originmins, originmaxs, velocitymins, velocitymaxs, 30*
count);
1147 CL_NewParticle(center,
pt_static, 0x808080,0x808080,
tex_particle, 3, 0, 256, 512, 0, 0,
lhrandom(originmins[0], originmaxs[0]),
lhrandom(originmins[1], originmaxs[1]),
lhrandom(originmins[2], originmaxs[2]), 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1151 R_Stain(center, 16, 40, 40, 40, 64, 88, 88, 88, 64);
1153 CL_AllocLightFlash(
NULL, &lightmatrix, 100, 0.15f, 0.15f, 1.5f, 500, 0.2,
NULL, -1,
true, 1, 0.25, 1, 0, 0,
LIGHTFLAG_NORMALMODE |
LIGHTFLAG_REALTIMEMODE);
1160 CL_NewParticlesFromEffectinfo(
EFFECT_SVC_PARTICLE, 2*
count, originmins, originmaxs, velocitymins, velocitymaxs,
NULL, 73, spawndlight, spawnparticles,
NULL,
NULL, 1, wanttrail);
1163 static double bloodaccumulator = 0;
1167 for (;bloodaccumulator > 0;bloodaccumulator--)
1169 part =
CL_NewParticle(center,
pt_blood, 0xFFFFFF, 0xFFFFFF,
tex_bloodparticle[rand()&7], 8, 0,
cl_particles_blood_alpha.
value * 768,
cl_particles_blood_alpha.
value * 384, 1, -1,
lhrandom(originmins[0], originmaxs[0]),
lhrandom(originmins[1], originmaxs[1]),
lhrandom(originmins[2], originmaxs[2]),
lhrandom(velocitymins[0], velocitymaxs[0]),
lhrandom(velocitymins[1], velocitymaxs[1]),
lhrandom(velocitymins[2], velocitymaxs[2]), 1, 4, 0, 64,
true, 0, 1,
PBLEND_INVMOD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1170 if (immediatebloodstain && part)
1172 immediatebloodstain =
false;
1179 CL_Sparks(originmins, originmaxs, velocitymins, velocitymaxs,
count);
1183 R_Stain(center, 40, 40, 40, 40, 64, 88, 88, 88, 64);
1185 CL_AllocLightFlash(
NULL, &lightmatrix, 200, 1, 1, 1, 1000, 0.2,
NULL, -1,
true, 1, 0.25, 1, 0, 0,
LIGHTFLAG_NORMALMODE |
LIGHTFLAG_REALTIMEMODE);
1192 CL_NewParticlesFromEffectinfo(
EFFECT_SVC_PARTICLE, 20*
count, originmins, originmaxs, velocitymins, velocitymaxs,
NULL, 0, spawndlight, spawnparticles,
NULL,
NULL, 1, wanttrail);
1195 CL_Smoke(originmins, originmaxs, velocitymins, velocitymaxs, 4*
count);
1196 CL_Sparks(originmins, originmaxs, velocitymins, velocitymaxs, 20*
count);
1197 CL_NewParticle(center,
pt_static, 0x808080,0x808080,
tex_particle, 3, 0, 256, 512, 0, 0,
lhrandom(originmins[0], originmaxs[0]),
lhrandom(originmins[1], originmaxs[1]),
lhrandom(originmins[2], originmaxs[2]), 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1201 R_Stain(center, 16, 40, 40, 40, 64, 88, 88, 88, 64);
1209 CL_NewParticlesFromEffectinfo(
EFFECT_SVC_PARTICLE, 20*
count, originmins, originmaxs, velocitymins, velocitymaxs,
NULL, 0, spawndlight, spawnparticles,
NULL,
NULL, 1, wanttrail);
1212 CL_Smoke(originmins, originmaxs, velocitymins, velocitymaxs, 4*
count);
1213 CL_Sparks(originmins, originmaxs, velocitymins, velocitymaxs, 20*
count);
1214 CL_NewParticle(center,
pt_static, 0x808080,0x808080,
tex_particle, 3, 0, 256, 512, 0, 0,
lhrandom(originmins[0], originmaxs[0]),
lhrandom(originmins[1], originmaxs[1]),
lhrandom(originmins[2], originmaxs[2]), 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1218 R_Stain(center, 16, 40, 40, 40, 64, 88, 88, 88, 64);
1220 CL_AllocLightFlash(
NULL, &lightmatrix, 100, 0.15f, 0.15f, 1.5f, 500, 0.2,
NULL, -1,
true, 1, 0.25, 1, 0, 0,
LIGHTFLAG_NORMALMODE |
LIGHTFLAG_REALTIMEMODE);
1225 CL_AllocLightFlash(
NULL, &lightmatrix, 350, 4.0f, 2.0f, 0.50f, 700, 0.5,
NULL, -1,
true, 1, 0.25, 0.25, 1, 1,
LIGHTFLAG_NORMALMODE |
LIGHTFLAG_REALTIMEMODE);
1230 CL_AllocLightFlash(
NULL, &lightmatrix, 350, 2.5f, 2.0f, 4.0f, 700, 0.5,
NULL, -1,
true, 1, 0.25, 0.25, 1, 1,
LIGHTFLAG_NORMALMODE |
LIGHTFLAG_REALTIMEMODE);
1240 CL_NewParticle(center,
pt_alphastatic,
particlepalette[66],
particlepalette[71],
tex_particle, 1.5f, 0, 255, 0, 0, 0, center[0], center[1], center[2], 0, 0, 0, -4, -4, 16, 256,
true, (rand() & 1) ? 1.4 : 1.0, 1,
PBLEND_ALPHA,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1242 CL_NewParticle(center,
pt_alphastatic,
particlepalette[150],
particlepalette[155],
tex_particle, 1.5f, 0, 255, 0, 0, 0, center[0], center[1], center[2], 0, 0,
lhrandom(-256, 256), 0, 0, 16, 0,
true, (rand() & 1) ? 1.4 : 1.0, 1,
PBLEND_ALPHA,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1247 CL_AllocLightFlash(
NULL, &lightmatrix, 600, 1.6f, 0.8f, 2.0f, 1200, 0.5,
NULL, -1,
true, 1, 0.25, 0.25, 1, 1,
LIGHTFLAG_NORMALMODE |
LIGHTFLAG_REALTIMEMODE);
1250 CL_AllocLightFlash(
NULL, &lightmatrix, 200, 2, 2, 2, 1000, 0.2,
NULL, -1,
true, 1, 0.25, 0.25, 1, 1,
LIGHTFLAG_NORMALMODE |
LIGHTFLAG_REALTIMEMODE);
1255 CL_NewParticle(center,
pt_smoke, 0x6f0f00, 0xe3974f,
tex_particle, 4, 0,
lhrandom(64, 128), 384, -1, 1.1,
lhrandom(originmins[0], originmaxs[0]),
lhrandom(originmins[1], originmaxs[1]),
lhrandom(originmins[2], originmaxs[2]),
lhrandom(velocitymins[0], velocitymaxs[0]),
lhrandom(velocitymins[1], velocitymaxs[1]),
lhrandom(velocitymins[2], velocitymaxs[2]), 1, 4, 0, 128,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1259 float i, j, inc, vel;
1263 for (
i = -128;
i < 128;
i += inc)
1265 for (j = -128;j < 128;j += inc)
1270 org[0] = center[0] +
dir[0];
1271 org[1] = center[1] +
dir[1];
1272 org[2] = center[2] +
lhrandom(0, 64);
1274 CL_NewParticle(center,
pt_alphastatic,
particlepalette[224],
particlepalette[231],
tex_particle, 1.5f, 0, 255, 0, 0.05, 0, org[0], org[1], org[2],
dir[0] * vel,
dir[1] * vel,
dir[2] * vel, 0, 0, 0, 0,
true,
lhrandom(2, 2.62), 1,
PBLEND_ALPHA,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1280 float i, j, k, inc, vel;
1287 for (
i = -16;
i < 16;
i += inc)
1289 for (j = -16;j < 16;j += inc)
1291 for (k = -24;k < 32;k += inc)
1297 CL_NewParticle(center,
pt_alphastatic,
particlepalette[7],
particlepalette[14],
tex_particle, 1.5f, 0, 255, 0, 0, 0, center[0] +
i +
lhrandom(0, inc), center[1] + j +
lhrandom(0, inc), center[2] + k +
lhrandom(0, inc),
dir[0] * vel,
dir[1] * vel,
dir[2] * vel, 0, 0, 0, 0,
true,
lhrandom(0.2, 0.34), 1,
PBLEND_ALPHA,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1299 CL_NewParticle(center,
pt_alphastatic,
particlepalette[7],
particlepalette[14],
tex_particle, 1.5f, 0, inc *
lhrandom(37, 63), inc * 187, 0, 0, center[0] +
i +
lhrandom(0, inc), center[1] + j +
lhrandom(0, inc), center[2] + k +
lhrandom(0, inc),
dir[0] * vel,
dir[1] * vel,
dir[2] * vel, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ALPHA,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1304 CL_NewParticle(center,
pt_static, 0xffffff, 0xffffff,
tex_particle, 30, 0, 256, 512, 0, 0, center[0], center[1], center[2], 0, 0, 0, 0, 0, 0, 0,
false, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1305 CL_AllocLightFlash(
NULL, &lightmatrix, 200, 2.0f, 2.0f, 2.0f, 400, 99.0f,
NULL, -1,
true, 1, 0.25, 1, 0, 0,
LIGHTFLAG_NORMALMODE |
LIGHTFLAG_REALTIMEMODE);
1308 CL_NewParticle(center,
pt_beam, 0xFFFFFF, 0xFFFFFF,
tex_beam, 8, 0, 256, 256, 0, 0, originmins[0], originmins[1], originmins[2], originmaxs[0], originmaxs[1], originmaxs[2], 0, 0, 0, 0,
false, 0, 1,
PBLEND_ADD,
PARTICLE_HBEAM, -1, -1, -1, 1, 1, 0, 0,
NULL);
1315 CL_NewParticle(center,
pt_smoke, 0x202020, 0x404040,
tex_smoke[rand()&7], 5, 0, 255, 512, 0, 0,
lhrandom(originmins[0], originmaxs[0]),
lhrandom(originmins[1], originmaxs[1]),
lhrandom(originmins[2], originmaxs[2]),
lhrandom(velocitymins[0], velocitymaxs[0]),
lhrandom(velocitymins[1], velocitymaxs[1]),
lhrandom(velocitymins[2], velocitymaxs[2]), 0, 0, 1.5f, 6.0f,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1321 CL_AllocLightFlash(
NULL, &lightmatrix, 500, 2.5f, 2.0f, 1.0f, 500, 9999,
NULL, -1,
true, 1, 0.25, 0.5, 1, 1,
LIGHTFLAG_NORMALMODE |
LIGHTFLAG_REALTIMEMODE);
1326 R_Stain(center, 40, 40, 40, 40, 64, 88, 88, 88, 64);
1330 CL_NewParticle(center,
pt_smoke, 0x202020, 0x404040,
tex_smoke[rand()&7], 5, 0, 255, 512, 0, 0,
lhrandom(originmins[0], originmaxs[0]),
lhrandom(originmins[1], originmaxs[1]),
lhrandom(originmins[2], originmaxs[2]),
lhrandom(velocitymins[0], velocitymaxs[0]),
lhrandom(velocitymins[1], velocitymaxs[1]),
lhrandom(velocitymins[2], velocitymaxs[2]), 0, 0, 20, 155,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1333 CL_NewParticle(center,
pt_spark, 0x2030FF, 0x80C0FF,
tex_particle, 2.0f, 0,
lhrandom(64, 255), 512, 0, 0,
lhrandom(originmins[0], originmaxs[0]),
lhrandom(originmins[1], originmaxs[1]),
lhrandom(originmins[2], originmaxs[2]),
lhrandom(velocitymins[0], velocitymaxs[0]),
lhrandom(velocitymins[1], velocitymaxs[1]),
lhrandom(velocitymins[2], velocitymaxs[2]), 0, 0, 0, 465,
true, 0, 1,
PBLEND_ADD,
PARTICLE_SPARK, -1, -1, -1, 1, 1, 0, 0,
NULL);
1334 CL_AllocLightFlash(
NULL, &lightmatrix, 500, 0.6f, 1.2f, 2.0f, 2000, 9999,
NULL, -1,
true, 1, 0.25, 0.25, 1, 1,
LIGHTFLAG_NORMALMODE |
LIGHTFLAG_REALTIMEMODE);
1338 if (!spawnparticles)
1342 CL_NewParticle(center,
pt_smoke, 0x6f0f00, 0xe3974f,
tex_particle, 4, 0,
lhrandom(64, 128), 384, -1, 0,
lhrandom(originmins[0], originmaxs[0]),
lhrandom(originmins[1], originmaxs[1]),
lhrandom(originmins[2], originmaxs[2]),
lhrandom(velocitymins[0], velocitymaxs[0]),
lhrandom(velocitymins[1], velocitymaxs[1]),
lhrandom(velocitymins[2], velocitymaxs[2]), 1, 4, 16, 128,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1343 CL_AllocLightFlash(
NULL, &lightmatrix, 200, 2.0f, 1.5f, 0.5f, 0, 0,
NULL, -1,
true, 1, 0.25, 0.25, 1, 1,
LIGHTFLAG_NORMALMODE |
LIGHTFLAG_REALTIMEMODE);
1347 if (!spawnparticles)
1351 CL_NewParticle(center,
pt_static, 0x903010, 0xFFD030,
tex_particle, 4, 0,
lhrandom(64, 128), 128, 1, 0,
lhrandom(originmins[0], originmaxs[0]),
lhrandom(originmins[1], originmaxs[1]),
lhrandom(originmins[2], originmaxs[2]),
lhrandom(velocitymins[0], velocitymaxs[0]),
lhrandom(velocitymins[1], velocitymaxs[1]),
lhrandom(velocitymins[2], velocitymaxs[2]), 0.2, 0.8, 16, 128,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1352 CL_AllocLightFlash(
NULL, &lightmatrix, 200, 1.0f, 0.7f, 0.3f, 0, 0,
NULL, -1,
true, 1, 0.25, 0.25, 1, 1,
LIGHTFLAG_NORMALMODE |
LIGHTFLAG_REALTIMEMODE);
1358 int smoke, blood, bubbles,
r,
color, spawnedcount;
1381 R_RTLight_Update(&
r_refdef.
scene.
templights[
r_refdef.
scene.
numlights],
false, &traillightmatrix, light, -1,
NULL,
true, 1, 0.25, 0, 1, 1,
LIGHTFLAG_NORMALMODE |
LIGHTFLAG_REALTIMEMODE);
1386 if (!spawnparticles)
1389 if (originmaxs[0] == originmins[0] && originmaxs[1] == originmins[1] && originmaxs[2] == originmins[2])
1418 while (len >= 0 && ++spawnedcount <= 16384)
1428 CL_NewQuakeParticle(center,
pt_alphastatic,
color,
color, 0.25, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 3, 0, 2);
1433 CL_NewParticle(center,
pt_blood, 0xFFFFFF, 0xFFFFFF,
tex_bloodparticle[rand()&7], 8, 0, qd *
cl_particles_blood_alpha.
value * 768.0f, qd *
cl_particles_blood_alpha.
value * 384.0f, 1, -1, pos[0], pos[1], pos[2],
lhrandom(velocitymins[0], velocitymaxs[0]),
lhrandom(velocitymins[1], velocitymaxs[1]),
lhrandom(velocitymins[2], velocitymaxs[2]), 1, 4, 0, 64,
true, 0, 1,
PBLEND_INVMOD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1442 CL_NewQuakeParticle(center,
pt_alphastatic,
color,
color, 0.25, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 3, 0, 2);
1447 CL_NewParticle(center,
pt_blood, 0xFFFFFF, 0xFFFFFF,
tex_bloodparticle[rand()&7], 8, 0, qd *
cl_particles_blood_alpha.
value * 768.0f, qd *
cl_particles_blood_alpha.
value * 384.0f, 1, -1, pos[0], pos[1], pos[2],
lhrandom(velocitymins[0], velocitymaxs[0]),
lhrandom(velocitymins[1], velocitymaxs[1]),
lhrandom(velocitymins[2], velocitymaxs[2]), 1, 4, 0, 64,
true, 0, 1,
PBLEND_INVMOD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1459 CL_NewQuakeParticle(center,
pt_alphastatic,
color,
color, -0.10, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 3, 0, 0.1372549 * (6 -
r));
1463 CL_NewParticle(center,
pt_smoke, 0x303030, 0x606060,
tex_smoke[rand()&7], 3, 0,
cl_particles_smoke_alpha.
value*62,
cl_particles_smoke_alphafade.
value*62, 0, 0, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1464 CL_NewParticle(center,
pt_static, 0x801010, 0xFFA020,
tex_smoke[rand()&7], 3, 0,
cl_particles_smoke_alpha.
value*288,
cl_particles_smoke_alphafade.
value*1400, 0, 0, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 0, 20,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1473 CL_NewQuakeParticle(center,
pt_alphastatic,
color,
color, -0.15, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 3, 0, 0.1372549 * (6 -
r));
1477 CL_NewParticle(center,
pt_smoke, 0x303030, 0x606060,
tex_smoke[rand()&7], 3, 0,
cl_particles_smoke_alpha.
value*50,
cl_particles_smoke_alphafade.
value*75, 0, 0, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1486 CL_NewQuakeParticle(center,
pt_alphastatic,
color,
color, 0, pos[0], pos[1], pos[2], 30*
dir[1], 30*-
dir[0], 0, 0, 0, 0, 0, 0.5);
1487 CL_NewQuakeParticle(center,
pt_alphastatic,
color,
color, 0, pos[0], pos[1], pos[2], 30*-
dir[1], 30*
dir[0], 0, 0, 0, 0, 0, 0.5);
1492 CL_NewParticle(center,
pt_static, 0x00002E, 0x000030,
tex_particle, 6, 0, 128, 384, 0, 0, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1497 CL_NewParticle(center,
pt_static,
color,
color,
tex_particle, 2, 0, 64, 192, 0, 0, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1506 CL_NewQuakeParticle(center,
pt_alphastatic,
color,
color, 0, pos[0], pos[1], pos[2], 30 *
dir[1], 30 * -
dir[0], 0, 0, 0, 0, 0, 0.5);
1507 CL_NewQuakeParticle(center,
pt_alphastatic,
color,
color, 0, pos[0], pos[1], pos[2], 30 * -
dir[1], 30 *
dir[0], 0, 0, 0, 0, 0, 0.5);
1512 CL_NewParticle(center,
pt_static,
color,
color,
tex_particle, 2, 0, 64, 192, 0, 0, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1520 CL_NewQuakeParticle(center,
pt_alphastatic,
color,
color, 0, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 8, 0, 0.3);
1525 CL_NewParticle(center,
pt_alphastatic,
particlepalette[0 + (rand()&255)],
particlepalette[0 + (rand()&255)],
tex_particle, 6, 0, 255, 384, 0, 0, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ALPHA,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1530 CL_NewParticle(center,
pt_static, 0x103040, 0x204050,
tex_particle, 6, 0, 64, 192, 0, 0, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1533 CL_NewParticle(center,
pt_static, 0x502030, 0x502030,
tex_particle, 3, 0, 64, 192, 0, 0, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1538 CL_NewParticle(center,
pt_alphastatic, 0x303030, 0x606060,
tex_smoke[rand()&7], 7, 0, 64, 320, 0, 0, pos[0], pos[1], pos[2], 0, 0,
lhrandom(4, 12), 0, 0, 0, 4,
false, 0, 1,
PBLEND_ALPHA,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1543 CL_NewParticle(center,
pt_static, 0x283880, 0x283880,
tex_particle, 4, 0, 255, 1024, 0, 0, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 0, 16,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1546 CL_NewParticle(center,
pt_alphastatic,
particlepalette[palettecolor],
particlepalette[palettecolor],
tex_particle, 5, 0, 128, 320, 0, 0, pos[0], pos[1], pos[2], 0, 0, 0, 0, 0, 0, 0,
true, 0, 1,
PBLEND_ALPHA,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1551 CL_NewParticle(center,
pt_bubble, 0x404040, 0x808080,
tex_bubble, 2, 0,
lhrandom(128, 512), 512, -0.25, 1.5, pos[0], pos[1], pos[2], 0, 0, 0, 0.0625, 0.25, 0, 16,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);
1553 CL_NewParticle(center,
pt_bubble, 0x404040, 0x808080,
tex_bubble, 2, 0,
lhrandom(128, 512), 512, -0.25, 1.5, pos[0], pos[1], pos[2], 0, 0, 0, 0.0625, 0.25, 0, 16,
true, 0, 1,
PBLEND_ADD,
PARTICLE_BILLBOARD, -1, -1, -1, 1, 1, 0, 0,
NULL);