-
Notifications
You must be signed in to change notification settings - Fork 11
/
[proc,raids_overlay_content].cs2
33 lines (33 loc) · 1.25 KB
/
[proc,raids_overlay_content].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
// 4663
[proc,raids_overlay_content](component $component0)
cc_deleteall($component0);
if_setonvartransmit(null, $component0);
if (~on_enhanced = 1 & %varbit12347 = 0) {
return;
}
def_int $int1 = 0;
cc_create($component0, ^iftype_graphic, $int1);
$int1 = calc($int1 + 1);
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_settiling(true);
cc_setgraphic("tradebacking");
$int1 = ~thinstonebox($component0, $int1);
cc_create($component0, ^iftype_text, $int1);
$int1 = calc($int1 + 1);
.cc_create($component0, ^iftype_text, $int1);
$int1 = calc($int1 + 1);
cc_setsize(8, 0, ^setsize_minus, ^setsize_minus);
.cc_setsize(8, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
.cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_setcolour(0xff981f);
.cc_setcolour(^white);
cc_settextfont(p12_full);
.cc_settextfont(p12_full);
cc_settextshadow(true);
.cc_settextshadow(true);
cc_settextalign(^settextalign_left, ^settextalign_centre, 0);
.cc_settextalign(^settextalign_right, ^settextalign_centre, 0);
~raids_overlay_databox($component0);
if_setonvartransmit("raids_overlay_databox($component0, cc_getid, .cc_getid){var1431, var1432, var1429}", $component0);