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

Go to the source code of this file.

Functions

entity EFFECT_NADE_TRAIL (int teamid)
entity EFFECT_NADE_TRAIL_BURN (int teamid)

Function Documentation

◆ EFFECT_NADE_TRAIL()

entity EFFECT_NADE_TRAIL ( int teamid)

Definition at line 23 of file effects.inc.

24{
25 switch (teamid) {
26 case NUM_TEAM_1: return EFFECT_NADE_TRAIL_RED;
27 case NUM_TEAM_2: return EFFECT_NADE_TRAIL_BLUE;
28 case NUM_TEAM_3: return EFFECT_NADE_TRAIL_YELLOW;
29 case NUM_TEAM_4: return EFFECT_NADE_TRAIL_PINK;
30 default: return EFFECT_NADE_TRAIL_NEUTRAL;
31 }
32}
const int NUM_TEAM_2
Definition teams.qh:14
const int NUM_TEAM_4
Definition teams.qh:16
const int NUM_TEAM_3
Definition teams.qh:15
const int NUM_TEAM_1
Definition teams.qh:13

References EFFECT_NADE_TRAIL(), entity(), NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, and NUM_TEAM_4.

Referenced by EFFECT_NADE_TRAIL(), and Nade_TrailEffect().

◆ EFFECT_NADE_TRAIL_BURN()

entity EFFECT_NADE_TRAIL_BURN ( int teamid)

Definition at line 41 of file effects.inc.

42{
43 switch (teamid) {
44 case NUM_TEAM_1: return EFFECT_NADE_TRAIL_BURN_RED;
45 case NUM_TEAM_2: return EFFECT_NADE_TRAIL_BURN_BLUE;
46 case NUM_TEAM_3: return EFFECT_NADE_TRAIL_BURN_YELLOW;
47 case NUM_TEAM_4: return EFFECT_NADE_TRAIL_BURN_PINK;
48 default: return EFFECT_NADE_TRAIL_BURN_NEUTRAL;
49 }
50}

References EFFECT_NADE_TRAIL_BURN(), entity(), NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, and NUM_TEAM_4.

Referenced by EFFECT_NADE_TRAIL_BURN(), and Nade_TrailEffect().