Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
stardust.qc File Reference
#include "stardust.qh"
Include dependency graph for stardust.qc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void func_stardust_think (entity this)
 spawnfunc (func_stardust)

Function Documentation

◆ func_stardust_think()

void func_stardust_think ( entity this)

Definition at line 3 of file stardust.qc.

4{
5 this.nextthink = time + 0.25;
7}
float time
float nextthink
#define CSQCMODEL_AUTOUPDATE(e)

References CSQCMODEL_AUTOUPDATE, entity(), nextthink, and time.

Referenced by spawnfunc().

◆ spawnfunc()

spawnfunc ( func_stardust )

Definition at line 8 of file stardust.qc.

9{
10 if(this.model != "") { precache_model(this.model); _setmodel(this, this.model); }
11
12 this.effects = EF_STARDUST;
13
15
17 this.nextthink = time + 0.25;
18}
const float EF_STARDUST
float effects
#define CSQCMODEL_AUTOINIT(e)
model
Definition ent_cs.qc:139
#define setthink(e, f)
void func_stardust_think(entity this)
Definition stardust.qc:3

References CSQCMODEL_AUTOINIT, EF_STARDUST, effects, func_stardust_think(), model, nextthink, setthink, and time.