Xonotic
effect.qh File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define particleeffectnum(e)   _particleeffectnum(e.eent_eff_name)
 

Functions

entity Create_Effect_Entity (string eff_name, bool eff_trail)
 

Variables

string eent_eff_name
 
int eent_eff_trail
 
int eent_net_count
 
vector eent_net_location
 
vector eent_net_velocity
 
int m_id
 

Macro Definition Documentation

◆ particleeffectnum

#define particleeffectnum (   e)    _particleeffectnum(e.eent_eff_name)

Function Documentation

◆ Create_Effect_Entity()

entity Create_Effect_Entity ( string  eff_name,
bool  eff_trail 
)

Definition at line 27 of file effect.qh.

References eent_eff_name, eent_eff_trail, entity(), and new_pure.

28 {
29  entity this = new_pure(effect_entity);
30  this.eent_eff_name = eff_name;
31  this.eent_eff_trail = eff_trail;
32  return this;
33 }
entity() spawn
int eent_eff_trail
Definition: effect.qh:21
string eent_eff_name
Definition: effect.qh:20
#define new_pure(class)
purely logical entities (.origin doesn't work)
Definition: oo.qh:62
+ Here is the call graph for this function:

Variable Documentation

◆ eent_eff_name

string eent_eff_name

Definition at line 20 of file effect.qh.

Referenced by Create_Effect_Entity().

◆ eent_eff_trail

int eent_eff_trail

Definition at line 21 of file effect.qh.

Referenced by Create_Effect_Entity().

◆ eent_net_count

int eent_net_count

Definition at line 25 of file effect.qh.

◆ eent_net_location

vector eent_net_location

Definition at line 23 of file effect.qh.

◆ eent_net_velocity

vector eent_net_velocity

Definition at line 24 of file effect.qh.

◆ m_id