-
Notifications
You must be signed in to change notification settings - Fork 11
/
[proc,script1448].cs2
109 lines (109 loc) · 3.18 KB
/
[proc,script1448].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
// 1448
[proc,script1448](obj $obj0, obj $obj1, obj $obj2, obj $obj3, obj $obj4, obj $obj5, obj $obj6, obj $obj7, obj $obj8, obj $obj9, obj $obj10, obj $obj11, obj $obj12, obj $obj13)
cc_deleteall(interface_481:34);
def_int $int14 = 0;
def_component $component15 = null;
def_int $int16 = -1;
def_obj $objarray0(14);
$objarray0(0) = $obj0;
$objarray0(1) = $obj1;
$objarray0(2) = $obj2;
$objarray0(3) = $obj3;
$objarray0(4) = $obj4;
$objarray0(5) = $obj5;
$objarray0(6) = $obj6;
$objarray0(7) = $obj7;
$objarray0(8) = $obj8;
$objarray0(9) = $obj9;
$objarray0(10) = $obj10;
$objarray0(11) = $obj11;
$objarray0(12) = $obj12;
$objarray0(13) = $obj13;
while ($int14 < 14) {
$component15 = enum(int, component, enum_1505, $int14);
cc_create(interface_481:34, ^iftype_graphic, $int14);
cc_setsize(36, 32, ^setsize_abs, ^setsize_abs);
if ($component15 ! null) {
cc_setposition(if_getx($component15), if_gety($component15), ^setpos_abs_left, ^setpos_abs_top);
} else {
cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
cc_setsize(0, 0, ^setsize_abs, ^setsize_abs);
}
if ($objarray0($int14) ! null) {
cc_setobject_nonum($objarray0($int14), 0);
cc_setopbase("<col=ff981f><oc_name($objarray0($int14))>");
cc_setop(10, "Examine<col=ff9040>");
cc_setgraphicshadow(0x333333);
cc_setoutline(1);
if_setgraphic(null, $component15);
} else if ($component15 ! null) {
if_setgraphic(enum(int, graphic, enum_1506, $int14), $component15);
}
$int14 = calc($int14 + 1);
}
if (testbit(%var286, 14) = ^true) {
if_sethide(false, interface_481:63);
} else {
if_sethide(true, interface_481:63);
~deltooltip_action(interface_481:83);
}
if (testbit(%var286, 15) = ^true) {
if_sethide(false, interface_481:64);
} else {
if_sethide(true, interface_481:64);
~deltooltip_action(interface_481:83);
}
if (testbit(%var286, 16) = ^true) {
if_sethide(false, interface_481:65);
} else {
if_sethide(true, interface_481:65);
~deltooltip_action(interface_481:83);
}
if (testbit(%var286, 17) = ^true) {
if_sethide(false, interface_481:66);
} else {
if_sethide(true, interface_481:66);
~deltooltip_action(interface_481:83);
}
if (testbit(%var286, 18) = ^true) {
if_sethide(false, interface_481:67);
} else {
if_sethide(true, interface_481:67);
~deltooltip_action(interface_481:83);
}
if (testbit(%var286, 19) = ^true) {
if_sethide(false, interface_481:68);
} else {
if_sethide(true, interface_481:68);
~deltooltip_action(interface_481:83);
}
if (testbit(%var286, 21) = ^true) {
if_sethide(false, interface_481:69);
} else {
if_sethide(true, interface_481:69);
~deltooltip_action(interface_481:83);
}
if (testbit(%var286, 23) = ^true) {
if_sethide(false, interface_481:70);
} else {
if_sethide(true, interface_481:70);
~deltooltip_action(interface_481:83);
}
if (testbit(%var286, 24) = ^true) {
if_sethide(false, interface_481:71);
} else {
if_sethide(true, interface_481:71);
~deltooltip_action(interface_481:83);
}
if (testbit(%var286, 26) = ^true) {
if_sethide(false, interface_481:72);
} else {
if_sethide(true, interface_481:72);
~deltooltip_action(interface_481:83);
}
if (testbit(%var286, 27) = ^true) {
if_sethide(false, interface_481:73);
} else {
if_sethide(true, interface_481:73);
~deltooltip_action(interface_481:83);
}