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

Go to the source code of this file.

Functions

 DEF (happy_damage_dissolve)
 
 DEF (happy_damage_hit)
 
 SUB (happy_damage_dissolve)
 
 SUB (happy_damage_hit)
 

Function Documentation

◆ DEF() [1/2]

DEF ( happy_damage_dissolve  )

Referenced by SUB().

+ Here is the caller graph for this function:

◆ DEF() [2/2]

DEF ( happy_damage_hit  )

◆ SUB() [1/2]

SUB ( happy_damage_dissolve  )

Definition at line 3 of file effectinfo_gentle_happy.inc.

References alpha_max, alpha_min, count, DEF(), and gravity.

Referenced by SUB().

3  {
4  MY(airfriction) = 3;
5  MY(alpha_min) = 256;
6  MY(alpha_max) = 256;
7  MY(alpha_fade) = 228;
8  MY(bounce) = 1.500000;
9  MY(color_min) = "0x00FFFF";
10  MY(color_max) = "0xFF00FF";
11  MY(count) = 15;
12  MY(gravity) = -0.400000;
13  MY(liquidfriction) = 6;
14  MY(sizeincrease) = -10;
15  MY(size_min) = 32;
16  MY(size_max) = 32;
17  MY(tex_min) = 69;
18  MY(tex_max) = 69;
19  MY(type) = "alphastatic";
20  MY(velocityjitter) = '312.0 312.0 312.0';
21 }
float alpha_max
Definition: models.qh:20
float alpha_min
Definition: models.qh:20
float gravity
Definition: items.qh:16
float count
Definition: powerups.qc:22
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SUB() [2/2]

SUB ( happy_damage_hit  )

Definition at line 63 of file effectinfo_gentle_happy.inc.

References alpha_max, alpha_min, count, gravity, and SUB().

63  {
64  MY(airfriction) = 5;
65  MY(alpha_min) = 128;
66  MY(alpha_max) = 128;
67  MY(alpha_fade) = 192;
68  MY(bounce) = 1.500000;
69  MY(color_min) = "0x00FFFF";
70  MY(color_max) = "0xFF00FF";
71  MY(count) = 0.100000;
72  MY(gravity) = -0.400000;
73  MY(liquidfriction) = 10;
74  MY(sizeincrease) = -28;
75  MY(size_min) = 26;
76  MY(size_max) = 26;
77  MY(tex_min) = 69;
78  MY(tex_max) = 69;
79  MY(type) = "alphastatic";
80  MY(velocityjitter) = '156.0 156.0 156.0';
81 }
float alpha_max
Definition: models.qh:20
float alpha_min
Definition: models.qh:20
float gravity
Definition: items.qh:16
float count
Definition: powerups.qc:22
+ Here is the call graph for this function: