2 #define flag_touch(name, colormin, colormax) \ 3 DEF(name##flag_touch); \ 4 SUB(name##flag_touch) { \ 7 MY(alpha_fade) = 556; \ 8 MY(bounce) = 1.500000; \ 9 MY(color_min) = colormin; \ 10 MY(color_max) = colormax; \ 13 MY(originjitter) = '1.0 1.0 1.0'; \ 19 MY(velocityjitter) = '300.0 300.0 300.0'; \ 20 MY(velocitymultiplier) = 0.500000; \ 30 #define pass(name, colormin, colormax) \ 33 MY(airfriction) = 5; \ 35 MY(alpha_max) = 128; \ 36 MY(alpha_fade) = 64; \ 37 MY(color_min) = colormin; \ 38 MY(color_max) = colormax; \ 39 MY(sizeincrease) = 2; \ 44 MY(trailspacing) = 64; \ 45 MY(type) = "static"; \ 48 MY(airfriction) = 9; \ 51 MY(alpha_fade) = 32; \ 52 MY(color_min) = colormin; \ 53 MY(color_max) = colormax; \ 54 MY(sizeincrease) = 8; \ 58 MY(trailspacing) = 12; \ 59 MY(type) = "static"; \ 60 MY(velocityjitter) = '64.0 64.0 64.0'; \ 63 MY(alpha_min) = 256; \ 64 MY(alpha_max) = 256; \ 65 MY(alpha_fade) = 1280; \ 66 MY(color_min) = colormin; \ 67 MY(color_max) = colormax; \ 70 MY(trailspacing) = 12; \ 71 MY(type) = "static"; \ 75 pass(red,
"0xFF0000",
"0x970000")
76 pass(blue, "0x0000FF", "0x000097")
77 pass(yellow, "0xFFFF0F", "0xFFFF0F")
78 pass(pink, "0xFFFFFF", "0xFFFFFF")
79 pass(neutral, "0xFFFFFF", "0xFFFFFF")
83 #define cap(name, colormin, colormax) \ 86 MY(airfriction) = 2; \ 87 MY(alpha_max) = 256; \ 88 MY(alpha_fade) = 100; \ 89 MY(bounce) = 1.500000; \ 90 MY(color_min) = colormin; \ 91 MY(color_max) = colormax; \ 93 MY(originjitter) = '1.0 1.0 1.0'; \ 96 MY(stretchfactor) = 0.600000; \ 100 MY(velocityjitter) = '1000.0 1000.0 1500.0'; \ 101 MY(velocitymultiplier) = 0.500000; \ 104 MY(alpha_min) = 190; \ 105 MY(alpha_max) = 190; \ 106 MY(alpha_fade) = 180; \ 107 MY(color_min) = colormin; \ 108 MY(color_max) = colormax; \ 109 MY(countabsolute) = 1; \ 110 MY(sizeincrease) = -80; \ 111 MY(size_min) = 150; \ 112 MY(size_max) = 150; \ 115 MY(type) = "smoke"; \ 119 cap(red,
"0xFF0000",
"0x970000")
120 cap(blue, "0x0000FF", "0x000097")
121 cap(yellow, "0xFFFF0F", "0xFFFF0F")
122 cap(pink, "0xFF0FFF", "0xFF0FFF")
#define cap(name, colormin, colormax)
#define flag_touch(name, colormin, colormax)
#define pass(name, colormin, colormax)