-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,script3248].cs2
38 lines (38 loc) · 1.94 KB
/
[proc,script3248].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
// 3248
[proc,script3248](component $component0)
cc_deleteall($component0);
def_struct $struct1 = null;
def_int $int2 = 0;
def_int $int3 = calc(if_getwidth($component0) / 3);
def_int $int4 = calc(if_getheight($component0) / 4);
def_int $int5 = 0;
def_int $int6 = 0;
def_int $count7 = 0;
def_int $count8 = enum_getoutputcount(enum_2752);
while ($count7 < $count8) {
$struct1 = enum(int, struct, enum_2752, calc($count7 + 1));
if ($struct1 ! null) {
$int6 = calc($int4 * $count7);
$int5 = calc(1 - $int5);
if (struct_param($struct1, param_913) = true) {
cc_create($component0, ^iftype_graphic, $int2);
cc_setgraphic(struct_param($struct1, param_910));
cc_setsize(50, 50, ^setsize_abs, ^setsize_abs);
cc_setposition(5, calc($int6 + 5), ^setpos_abs_left, ^setpos_abs_top);
$int2 = calc($int2 + 1);
cc_create($component0, ^iftype_text, $int2);
cc_setsize(calc(if_getwidth($component0) - 107), $int4, ^setsize_abs, ^setsize_abs);
cc_setposition(57, $int6, ^setpos_abs_left, ^setpos_abs_top);
cc_settextalign(^settextalign_left, ^settextalign_centre, 0);
cc_settextfont(p11_full);
cc_setcolour(0xff981f);
cc_settextshadow(true);
cc_settext("x<tostring(struct_param($struct1, param_907))> of any un-noted impling type");
} else {
$int2 = ~script3249($int2, $component0, $int6, calc($int3 * 0), $int3, $int4, struct_param($struct1, param_901), struct_param($struct1, param_907), struct_param($struct1, param_910), struct_param($struct1, param_904), 1);
$int2 = ~script3249($int2, $component0, $int6, calc($int3 * 1), $int3, $int4, struct_param($struct1, param_902), struct_param($struct1, param_908), struct_param($struct1, param_911), struct_param($struct1, param_905), 1);
$int2 = ~script3249($int2, $component0, $int6, calc($int3 * 2), $int3, $int4, struct_param($struct1, param_903), struct_param($struct1, param_909), struct_param($struct1, param_912), struct_param($struct1, param_906), 0);
}
}
$count7 = calc($count7 + 1);
}