(float[] origin)
| 364 | * ================= CL_SmokeAndFlash ================= |
| 365 | */ |
| 366 | static void SmokeAndFlash(float[] origin) { |
| 367 | explosion_t ex; |
| 368 | |
| 369 | ex = AllocExplosion(); |
| 370 | Math3D.VectorCopy(origin, ex.ent.origin); |
| 371 | ex.type = ex_misc; |
| 372 | ex.frames = 4; |
| 373 | ex.ent.flags = Defines.RF_TRANSLUCENT; |
| 374 | ex.start = ClientGlobals.cl.frame.servertime - 100; |
| 375 | ex.ent.model = cl_mod_smoke; |
| 376 | |
| 377 | ex = AllocExplosion(); |
| 378 | Math3D.VectorCopy(origin, ex.ent.origin); |
| 379 | ex.type = ex_flash; |
| 380 | ex.ent.flags = Defines.RF_FULLBRIGHT; |
| 381 | ex.frames = 2; |
| 382 | ex.start = ClientGlobals.cl.frame.servertime - 100; |
| 383 | ex.ent.model = cl_mod_flash; |
| 384 | } |
| 385 | |
| 386 | /* |
| 387 | * ================= |
no test coverage detected