Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
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)
#define pointparticles(effect, org, vel, howmany)
#define trailparticles(e, effect, org, vel)

Functions

entity Create_Effect_Entity (string eff_name, bool eff_trail)

Variables

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

Macro Definition Documentation

◆ particleeffectnum

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

Definition at line 3 of file effect.qh.

3#define particleeffectnum(e) \
4 _particleeffectnum(e.eent_eff_name)

Referenced by bumble_raygun_draw(), CSQCModel_Effects_Apply(), GameCommand_trace(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), Projectile_DrawTrail(), Spawn_Draw(), spawnfunc(), and void().

◆ pointparticles

#define pointparticles ( effect,
org,
vel,
howmany )
Value:
Send_Effect(effect, org, vel, howmany)
void Send_Effect(entity eff, vector eff_loc, vector eff_vel, int eff_cnt)
Definition all.qc:124
vector org
Definition self.qh:92

Definition at line 7 of file effect.qh.

7 #define pointparticles(effect, org, vel, howmany) \
8 Send_Effect(effect, org, vel, howmany)

Referenced by Draw_ArcBeam(), generator_draw(), ItemDraw(), NET_HANDLE(), NET_HANDLE(), ons_ControlPoint_Icon_Damage(), racer_frame(), turret_die(), turret_draw(), turret_gibboom(), void(), and void().

◆ trailparticles

#define trailparticles ( e,
effect,
org,
vel )
Value:
((!e) ? Send_Effect(effect, org, vel, 0) \
: __trailparticles(e, particleeffectnum(effect), org, vel))
#define particleeffectnum(e)
Definition effect.qh:3

Definition at line 9 of file effect.qh.

9 #define trailparticles(e, effect, org, vel) \
10 ((!e) ? Send_Effect(effect, org, vel, 0) \
11 : __trailparticles(e, particleeffectnum(effect), org, vel))

Referenced by Draw_ArcBeam_callback(), fireBullet_falloff(), fireBullet_trace_callback(), and void().

Function Documentation

◆ Create_Effect_Entity()

entity Create_Effect_Entity ( string eff_name,
bool eff_trail )

Definition at line 29 of file effect.qh.

30{
31 entity this = new_pure(effect_entity);
32 this.eent_eff_name = eff_name;
33 this.eent_eff_trail = eff_trail;
34 return this;
35}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
string eent_eff_name
Definition effect.qh:20
int eent_eff_trail
Definition effect.qh:21
#define new_pure(class)
purely logical entities (not linked to the area grid)
Definition oo.qh:67

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

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(), and Net_Write_Effect().

◆ eent_net_color_max

vector eent_net_color_max

Definition at line 26 of file effect.qh.

Referenced by Net_Write_Effect().

◆ eent_net_color_min

vector eent_net_color_min

Definition at line 25 of file effect.qh.

Referenced by Net_Write_Effect().

◆ eent_net_count

int eent_net_count

Definition at line 27 of file effect.qh.

Referenced by Net_Write_Effect().

◆ eent_net_location

vector eent_net_location

Definition at line 23 of file effect.qh.

Referenced by Net_Write_Effect().

◆ eent_net_velocity

vector eent_net_velocity

Definition at line 24 of file effect.qh.

Referenced by Net_Write_Effect().

◆ m_id