-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path[clientscript,settings_slider_synch].cs2
More file actions
28 lines (28 loc) · 1.23 KB
/
[clientscript,settings_slider_synch].cs2
File metadata and controls
28 lines (28 loc) · 1.23 KB
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
// 3862
[clientscript,settings_slider_synch](int $int0, struct $struct1, int $int2, int $int3, int $int4, int $int5, component $component6, int $comsubid7, int $y8, int $int9, int $int10, component $component11, int $comsubid12, int $comsubid13, string $string0)
def_int $int14 = 0;
def_string $string1 = "";
if (cc_find($component11, $comsubid12) = ^true) {
$int0 = calc($int0 + 1);
if ($int0 < 35) {
cc_setontimer("settings_slider_synch($int0, $struct1, $int2, $int3, $int4, $int5, $component6, $comsubid7, $y8, $int9, $int10, $component11, $comsubid12, $comsubid13, $string0)");
} else {
if (.cc_find($component6, $comsubid7) = ^true) {
$int14 = ~settings_get_slider($int2);
if ($int14 = 0) {
.cc_setposition($int9, $y8, ^setpos_abs_left, ^setpos_abs_top);
} else if ($int14 = calc($int4 - 1)) {
.cc_setposition(calc($int10 - 16), $y8, ^setpos_abs_left, ^setpos_abs_top);
} else {
.cc_setposition(calc($int9 + scale($int14 * 2, ($int4 - 1) * 2, $int5 - 16)), $y8, ^setpos_abs_left, ^setpos_abs_top);
}
}
if (.cc_find($component11, $comsubid13) = ^true) {
if (struct_param($struct1, param_1158) = true) {
$string1 = ~script2364($int2);
}
.cc_settext(append($string0, $string1));
}
cc_setontimer(null);
}
}