-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,ca_rewards_tiers_init].cs2
209 lines (209 loc) · 8.31 KB
/
[proc,ca_rewards_tiers_init].cs2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
// 4813
[proc,ca_rewards_tiers_init](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, struct $struct8)
def_enum $enum9 = enum_3980;
def_int $count10 = enum_getoutputcount($enum9);
def_int $int11 = 0;
def_int $count12 = 0;
def_int $int13 = 0;
def_int $int14 = 0;
def_struct $struct15 = null;
while ($count12 < $count10) {
$struct15 = enum(int, struct, $enum9, $count12);
if ($struct15 = $struct8) {
$int13, $int14, $int11 = ~script4815($component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $int13, $int14, $int11, enum(int, struct, $enum9, $count12), 1);
} else {
$int13, $int14, $int11 = ~script4815($component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $int13, $int14, $int11, enum(int, struct, $enum9, $count12), 0);
}
$count12 = calc($count12 + 1);
}
cc_deleteall($component5);
cc_deleteall($component6);
def_int $int16 = 0;
def_int $int17 = 0;
def_int $colour18 = 0xff981f;
def_int $int19 = 36;
def_int $int20 = 32;
def_int $int21 = 0;
$int11 = 2;
def_int $int22 = calc($int19 + 7);
def_int $count23 = 0;
def_string $string0 = "";
def_int $int24 = 0;
def_int $int25 = calc(if_getwidth($component6) - $int22 - 4);
def_enum $enum26 = struct_param($struct8, param_1334);
def_int $count27 = enum_getoutputcount($enum26);
def_obj $obj28 = struct_param($struct8, param_1333);
def_enum $enum29 = struct_param($struct8, param_1336);
def_int $count30 = enum_getoutputcount($enum29);
def_obj $obj31 = struct_param($struct8, param_1335);
def_enum $enum32 = struct_param($struct8, param_1339);
def_int $count33 = enum_getoutputcount($enum32);
def_obj $obj34 = struct_param($struct8, param_1337);
def_obj $obj35 = struct_param($struct8, param_1338);
def_int $int36 = $int11;
while ($count23 < $count27) {
$string0 = enum(int, string, $enum26, $count23);
$int21 = paraheight($string0, calc(if_getwidth($component5) - 10), p12_full);
$int21 = calc(13 * $int21 + 8);
cc_create($component5, ^iftype_rectangle, $int16);
cc_setsize($int25, $int21, ^setsize_abs, ^setsize_abs);
cc_setposition($int22, $int11, ^setpos_abs_left, ^setpos_abs_top);
cc_setcolour(^white);
cc_setfill(true);
if (calc($count23 % 2) = 0) {
cc_settrans(245);
} else {
cc_settrans(230);
}
$int16 = calc($int16 + 1);
cc_create($component5, ^iftype_text, $int16);
cc_setsize(calc($int25 - 10), $int21, ^setsize_abs, ^setsize_abs);
cc_setposition(calc($int22 + 5), $int11, ^setpos_abs_left, ^setpos_abs_top);
cc_settext($string0);
cc_settextfont(p12_full);
cc_settextshadow(true);
cc_setcolour($colour18);
cc_settextalign(^settextalign_left, ^settextalign_centre, 15);
$int16 = calc($int16 + 1);
$count23 = calc($count23 + 1);
$int11 = calc($int11 + $int21);
$int24 = calc($int24 + $int21);
}
$int11 = $int36;
$int17 = ~thinbox_specific($component6, $int17, $int22, $int11, $int25, $int24, ^setpos_abs_left, ^setpos_abs_top);
$int22 = 2;
cc_create($component5, ^iftype_rectangle, $int16);
cc_setsize(calc($int19 + 6), $int24, ^setsize_abs, ^setsize_abs);
cc_setposition($int22, $int11, ^setpos_abs_left, ^setpos_abs_top);
cc_setcolour(^white);
cc_setfill(true);
cc_settrans(230);
$int16 = calc($int16 + 1);
cc_create($component5, ^iftype_graphic, $int16);
cc_setsize($int19, $int20, ^setsize_abs, ^setsize_abs);
cc_setposition(5, calc($int11 + ($int24 - $int20) / 2), ^setpos_abs_left, ^setpos_abs_top);
cc_setobject($obj28, 1);
cc_setgraphicshadow(0x333333);
cc_setoutline(1);
$int16 = calc($int16 + 1);
$int17 = ~thinbox_specific($component6, $int17, $int22, $int11, calc($int19 + 6), $int24, ^setpos_abs_left, ^setpos_abs_top);
$int11 = calc($int11 + $int24 - 1);
$int22 = calc($int19 + 7);
$int24 = 0;
$count23 = 0;
$int36 = $int11;
while ($count23 < $count30) {
$string0 = enum(int, string, $enum29, $count23);
$int21 = paraheight($string0, calc(if_getwidth($component5) - 10), p12_full);
$int21 = calc(13 * $int21 + 8);
cc_create($component5, ^iftype_rectangle, $int16);
cc_setsize($int25, $int21, ^setsize_abs, ^setsize_abs);
cc_setposition($int22, $int11, ^setpos_abs_left, ^setpos_abs_top);
cc_setcolour(^white);
cc_setfill(true);
if (calc($count23 % 2) = 0) {
cc_settrans(245);
} else {
cc_settrans(230);
}
$int16 = calc($int16 + 1);
cc_create($component5, ^iftype_text, $int16);
cc_setsize(calc($int25 - 10), $int21, ^setsize_abs, ^setsize_abs);
cc_setposition(calc($int22 + 5), $int11, ^setpos_abs_left, ^setpos_abs_top);
cc_settext($string0);
cc_settextfont(p12_full);
cc_settextshadow(true);
cc_setcolour($colour18);
cc_settextalign(^settextalign_left, ^settextalign_centre, 15);
$int16 = calc($int16 + 1);
$count23 = calc($count23 + 1);
$int11 = calc($int11 + $int21);
$int24 = calc($int24 + $int21);
}
$int11 = $int36;
$int17 = ~thinbox_specific($component6, $int17, $int22, $int11, $int25, $int24, ^setpos_abs_left, ^setpos_abs_top);
$int22 = 2;
cc_create($component5, ^iftype_rectangle, $int16);
cc_setsize(calc($int19 + 6), $int24, ^setsize_abs, ^setsize_abs);
cc_setposition($int22, $int11, ^setpos_abs_left, ^setpos_abs_top);
cc_setcolour(^white);
cc_setfill(true);
cc_settrans(230);
$int16 = calc($int16 + 1);
cc_create($component5, ^iftype_graphic, $int16);
cc_setsize($int19, $int20, ^setsize_abs, ^setsize_abs);
cc_setposition(5, calc($int11 + ($int24 - $int20) / 2), ^setpos_abs_left, ^setpos_abs_top);
cc_setobject($obj31, 1);
cc_setgraphicshadow(0x333333);
cc_setoutline(1);
$int16 = calc($int16 + 1);
$int17 = ~thinbox_specific($component6, $int17, $int22, $int11, calc($int19 + 6), $int24, ^setpos_abs_left, ^setpos_abs_top);
$int11 = calc($int11 + $int24);
$int22 = calc($int19 + 7);
$int24 = 0;
$count23 = 0;
if ($obj34 ! null) {
$int11 = calc($int11 - 1);
$int36 = $int11;
while ($count23 < $count33) {
$string0 = enum(int, string, $enum32, $count23);
$int21 = paraheight($string0, calc(if_getwidth($component5) - 10), p12_full);
$int21 = calc(13 * $int21 + 10);
cc_create($component5, ^iftype_rectangle, $int16);
cc_setsize($int25, $int21, ^setsize_abs, ^setsize_abs);
cc_setposition($int22, $int11, ^setpos_abs_left, ^setpos_abs_top);
cc_setcolour(^white);
cc_setfill(true);
if (calc($count23 % 2) = 0) {
cc_settrans(245);
} else {
cc_settrans(230);
}
$int16 = calc($int16 + 1);
cc_create($component5, ^iftype_text, $int16);
cc_setsize(calc($int25 - 10), $int21, ^setsize_abs, ^setsize_abs);
cc_setposition(calc($int22 + 5), $int11, ^setpos_abs_left, ^setpos_abs_top);
cc_settext($string0);
cc_settextfont(p12_full);
cc_settextshadow(true);
cc_setcolour($colour18);
cc_settextalign(^settextalign_left, ^settextalign_centre, 15);
$int16 = calc($int16 + 1);
$count23 = calc($count23 + 1);
$int11 = calc($int11 + $int21);
$int24 = calc($int24 + $int21);
}
$int11 = $int36;
$int17 = ~thinbox_specific($component6, $int17, $int22, $int11, $int25, $int24, ^setpos_abs_left, ^setpos_abs_top);
$int22 = 2;
cc_create($component5, ^iftype_rectangle, $int16);
cc_setsize(calc($int19 + 6), $int24, ^setsize_abs, ^setsize_abs);
cc_setposition($int22, $int11, ^setpos_abs_left, ^setpos_abs_top);
cc_setcolour(^white);
cc_setfill(true);
cc_settrans(230);
$int16 = calc($int16 + 1);
cc_create($component5, ^iftype_graphic, $int16);
cc_setsize($int19, $int20, ^setsize_abs, ^setsize_abs);
cc_setposition(5, calc($int11 + ($int24 - $int20) / 2), ^setpos_abs_left, ^setpos_abs_top);
cc_setobject($obj34, 1);
cc_setgraphicshadow(0x333333);
cc_setoutline(1);
$int16 = calc($int16 + 1);
if ($obj35 ! null) {
cc_setposition(5, calc($int11 + ($int24 - 2 * $int20) / 2), ^setpos_abs_left, ^setpos_abs_top);
cc_create($component5, ^iftype_graphic, $int16);
cc_setsize($int19, $int20, ^setsize_abs, ^setsize_abs);
cc_setposition(5, calc($int11 + (($int24 - 2 * $int20) / 2 + $int20)), ^setpos_abs_left, ^setpos_abs_top);
cc_setobject($obj35, 1);
cc_setgraphicshadow(0x333333);
cc_setoutline(1);
$int16 = calc($int16 + 1);
}
$int17 = ~thinbox_specific($component6, $int17, $int22, $int11, calc($int19 + 6), $int24, ^setpos_abs_left, ^setpos_abs_top);
$int11 = calc($int11 + $int24);
}
$int11 = calc($int11 + 5);
if_setsize(if_getwidth($component4), $int11, ^setsize_abs, ^setsize_abs, $component4);
if_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top, $component4);
~script4860(1, $int11, if_getlayer($component0), $component0, $component3, $component7);