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

Go to the source code of this file.

Macros

#define cap(name, colormin, colormax)
 
#define flag_touch(name, colormin, colormax)
 
#define pass(name, colormin, colormax)
 

Functions

 cap (red, "0xFF0000", "0x970000") cap(blue
 
 cap (yellow, "0xFFFF0F", "0xFFFF0F") cap(pink
 
 flag_touch (red, "0xFF0000", "0x970000") flag_touch(blue
 
 flag_touch (yellow, "0xFFFF0F", "0xFFFF0F") flag_touch(pink
 
 flag_touch (neutral, "0xFFFFFF", "0xFFFFFF") pass(red
 
 pass (blue, "0x0000FF", "0x000097") pass(yellow
 
 pass (pink, "0xFFFFFF", "0xFFFFFF") pass(neutral
 

Macro Definition Documentation

◆ cap

#define cap (   name,
  colormin,
  colormax 
)

Definition at line 83 of file effectinfo_ctf.inc.

◆ flag_touch

#define flag_touch (   name,
  colormin,
  colormax 
)
Value:
SUB(name##flag_touch) { \
MY(airfriction) = 3; \
MY(alpha_max) = 256; \
MY(alpha_fade) = 556; \
MY(bounce) = 1.500000; \
MY(color_min) = colormin; \
MY(color_max) = colormax; \
MY(count) = 35; \
MY(gravity) = 1; \
MY(originjitter) = '1.0 1.0 1.0'; \
MY(size_min) = 1; \
MY(size_max) = 3; \
MY(tex_min) = 40; \
MY(tex_max) = 40; \
MY(type) = "spark"; \
MY(velocityjitter) = '300.0 300.0 300.0'; \
MY(velocitymultiplier) = 0.500000; \
}
float alpha_max
Definition: models.qh:20
#define flag_touch(name, colormin, colormax)
vector originjitter
Definition: main.qc:348
float gravity
Definition: items.qh:16
float count
Definition: powerups.qc:22
DEF(TE_WIZSPIKE)

Definition at line 2 of file effectinfo_ctf.inc.

◆ pass

Function Documentation

◆ cap() [1/2]

cap ( red  ,
"0xFF0000"  ,
"0x970000"   
)

◆ cap() [2/2]

cap ( yellow  ,
"0xFFFF0F"  ,
"0xFFFF0F"   
)

◆ flag_touch() [1/3]

flag_touch ( red  ,
"0xFF0000"  ,
"0x970000"   
)

◆ flag_touch() [2/3]

flag_touch ( yellow  ,
"0xFFFF0F"  ,
"0xFFFF0F"   
)

◆ flag_touch() [3/3]

flag_touch ( neutral  ,
"0xFFFFFF"  ,
"0xFFFFFF"   
)

◆ pass() [1/2]

pass ( blue  ,
"0x0000FF"  ,
"0x000097"   
)

◆ pass() [2/2]

pass ( pink  ,
"0xFFFFFF"  ,
"0xFFFFFF"   
)