Skip to content

Commit d80301f

Browse files
committed
Include type in unnamed integer values
1 parent 5584da6 commit d80301f

File tree

1,177 files changed

+5484
-5484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,177 files changed

+5484
-5484
lines changed

scripts/[clientscript,1v1arena_clear_opbutton].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// 2711
22
[clientscript,1v1arena_clear_opbutton](component $component0, int $int1, int $int2)
33
if ((.cc_find($component0, $int1) = ^true) & (cc_find($component0, $int2) = ^true)) {
4-
sound_synth(2266, 1, 0);
4+
sound_synth(synth_2266, 1, 0);
55
cc_setcolour(^red);
66
if_setonmouserepeat(null, $component0);
77
if_setonmouseleave(null, $component0);

scripts/[clientscript,1v1arena_hud_button].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
if ($int0 ! 1) {
44
return;
55
}
6-
sound_synth(2266, 1, 0);
6+
sound_synth(synth_2266, 1, 0);
77
if (cc_find($component1, $int2) = ^true) {
88
cc_setcolour(^red);
99
if_setonmouserepeat(null, $component1);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// 2716
22
[clientscript,1v1arena_hud_toggle](boolean $boolean0, component $component1, component $component2, component $component3)
3-
sound_synth(2266, 1, 0);
3+
sound_synth(synth_2266, 1, 0);
44
~1v1arena_hud_toggle($boolean0, $component1, $component2, $component3);

scripts/[clientscript,1v1arena_hud_transmit].cs2

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ $string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildpl
2626
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(17, $int17, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
2727
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(18, $int18, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
2828
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(19, $int19, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
29-
~1v1arena_hud_buildarena(618:8, $int20);
30-
~1v1arena_hud_buildarena(618:9, $int21);
31-
~1v1arena_hud_buildarena(618:10, $int22);
32-
~1v1arena_hud_buildarena(618:11, $int23);
33-
~1v1arena_hud_buildarena(618:12, $int24);
29+
~1v1arena_hud_buildarena(interface_618:8, $int20);
30+
~1v1arena_hud_buildarena(interface_618:9, $int21);
31+
~1v1arena_hud_buildarena(interface_618:10, $int22);
32+
~1v1arena_hud_buildarena(interface_618:11, $int23);
33+
~1v1arena_hud_buildarena(interface_618:12, $int24);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// 2707
22
[clientscript,1v1arena_review_init](component $component0, component $component1)
33
~1v1arena_review_draw($component1);
4-
if_setoninvtransmit("1v1arena_review_draw($component1){207}", $component0);
4+
if_setoninvtransmit("1v1arena_review_draw($component1){inv_207}", $component0);

scripts/[clientscript,1v1arena_spectator_init].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def_enum $enum0 = ~toplevel_getcomponents;
55
if ($enum0 = null) {
66
return;
77
}
8-
def_component $component1 = enum(component, component, $enum0, 161:8);
8+
def_component $component1 = enum(component, component, $enum0, interface_161:8);
99
if ($component1 = null) {
1010
return;
1111
}

scripts/[clientscript,abyssalsire_overseer].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ def_enum $enum0 = ~toplevel_getcomponents;
44
if ($enum0 = null) {
55
return;
66
}
7-
def_component $component1 = enum(component, component, $enum0, 161:3);
7+
def_component $component1 = enum(component, component, $enum0, interface_161:3);
88
if ($component1 = null) {
99
return;
1010
}

scripts/[clientscript,adventurepath_init].cs2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ if (%varbit9328 = 1) {
1111
~adventurepath_task_init_op($component0, %var2357, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12, $component13, $component14, $component18, $component17, $component19, $component20, $component21, $component22, $component23, $component24, $component25, $component26);
1212
~adventurepath_change_page($component0, $component3, $component17, $component19, 1);
1313
} else if (%varbit9328 = 2) {
14-
$enum28 = enum(int, enum, 2620, %var2357);
14+
$enum28 = enum(int, enum, enum_2620, %var2357);
1515
if ($enum28 ! null) {
1616
$int30 = enum_getoutputcount($enum28);
1717
while ($int29 < $int30) {
1818
$struct27 = enum(int, struct, $enum28, $int29);
19-
if (($struct27 ! null) & (struct_param($struct27, 806) = %var2358)) {
19+
if (($struct27 ! null) & (struct_param($struct27, param_806) = %var2358)) {
2020
$int29 = $int30;
2121
}
2222
$int29 = calc($int29 + 1);

scripts/[clientscript,adventurepath_item_init].cs2

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ if ($struct0 = null) {
44
if_close;
55
return;
66
}
7-
def_component $component1 = 643:4;
8-
def_component $component2 = 643:3;
9-
def_component $component3 = 643:0;
7+
def_component $component1 = interface_643:4;
8+
def_component $component2 = interface_643:3;
9+
def_component $component3 = interface_643:0;
1010
if_setsize(500, 334, ^setsize_abs, ^setsize_abs, $component3);
1111
if_setposition(6, 0, ^setpos_abs_left, ^setpos_abs_top, $component3);
1212
cc_deleteall($component1);
@@ -15,9 +15,9 @@ cc_deleteall($component3);
1515
def_int $int4 = 0;
1616
def_int $int5 = 0;
1717
def_int $int6 = 0;
18-
def_enum $enum7 = struct_param($struct0, 820);
19-
def_enum $enum8 = struct_param($struct0, 821);
20-
def_enum $enum9 = struct_param($struct0, 833);
18+
def_enum $enum7 = struct_param($struct0, param_820);
19+
def_enum $enum8 = struct_param($struct0, param_821);
20+
def_enum $enum9 = struct_param($struct0, param_833);
2121
def_enum $enum10 = null;
2222
def_enum $enum11 = null;
2323
def_namedobj $namedobj12 = null;
@@ -76,4 +76,4 @@ if ($int4 > $int17) {
7676
if_setposition(if_getx($component3), calc($int16 / 2), ^setpos_abs_left, ^setpos_abs_top, $component3);
7777
if_sethide(true, $component1);
7878
}
79-
~stoneborder(643:1, "<struct_param($struct0, 828)> completion rewards", 0);
79+
~stoneborder(interface_643:1, "<struct_param($struct0, param_828)> completion rewards", 0);

scripts/[clientscript,adventurepath_set_info_transmit].cs2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
if (%var2358 = 0) {
44
return;
55
}
6-
def_enum $enum21 = enum(int, enum, 2620, %var2357);
6+
def_enum $enum21 = enum(int, enum, enum_2620, %var2357);
77
if ($enum21 = null) {
88
return;
99
}
1010
def_int $int22 = 0;
1111
def_struct $struct23 = null;
12-
def_int $int24 = struct_param($struct23, 806);
12+
def_int $int24 = struct_param($struct23, param_806);
1313
while ($int22 < enum_getoutputcount($enum21)) {
1414
$struct23 = enum(int, struct, $enum21, $int22);
1515
if (($struct23 ! null) & ($int24 = %var2358)) {

0 commit comments

Comments
 (0)