Skip to content

Commit 4cdde30

Browse files
committed
Update script names
1 parent 5120476 commit 4cdde30

30 files changed

+100
-100
lines changed

README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,14 @@
154154
[**151**](scripts/[clientscript,interface_inv_update_big].cs2) `[clientscript,interface_inv_update_big]`
155155
[**152**](scripts/[clientscript,chat_set_filter].cs2) `[clientscript,chat_set_filter]`
156156
[**153**](scripts/[proc,interface_inv_update_big].cs2) `[proc,interface_inv_update_big]`
157-
[**154**](scripts/[proc,script154].cs2)
158-
[**155**](scripts/[clientscript,script155].cs2)
159-
[**156**](scripts/[clientscript,script156].cs2)
157+
[**154**](scripts/[proc,interface_inv_draw_slot_big].cs2) `[proc,interface_inv_draw_slot_big]`
158+
[**155**](scripts/[clientscript,interface_inv_dragcomplete_swap_big].cs2) `[clientscript,interface_inv_dragcomplete_swap_big]`
159+
[**156**](scripts/[clientscript,interface_inv_dragcomplete_shuffle_big].cs2) `[clientscript,interface_inv_dragcomplete_shuffle_big]`
160160
[**157**](scripts/[proc,scrollbar_ondrag_doscroll].cs2) `[proc,scrollbar_ondrag_doscroll]`
161161
[**158**](scripts/[clientscript,interface_invother_init].cs2) `[clientscript,interface_invother_init]`
162162
[**159**](scripts/[clientscript,interface_invother_update_big].cs2) `[clientscript,interface_invother_update_big]`
163163
[**160**](scripts/[proc,interface_invother_update_big].cs2) `[proc,interface_invother_update_big]`
164-
[**161**](scripts/[proc,script161].cs2)
164+
[**161**](scripts/[proc,interface_invother_draw_slot_big].cs2) `[proc,interface_invother_draw_slot_big]`
165165
[**162**](scripts/[clientscript,interface_inv_drag_slot].cs2) `[clientscript,interface_inv_drag_slot]`
166166
[**163**](scripts/[clientscript,cws_toggle].cs2) `[clientscript,cws_toggle]`
167167
[**164**](scripts/[clientscript,cws_graphic_swap].cs2) `[clientscript,cws_graphic_swap]`
@@ -213,7 +213,7 @@
213213
[**210**](scripts/[proc,trade_partner_check].cs2) `[proc,trade_partner_check]`
214214
[**211**](scripts/[clientscript,poh_options_buildmode].cs2) `[clientscript,poh_options_buildmode]`
215215
[**212**](scripts/[proc,script212].cs2)
216-
[**213**](scripts/[proc,script213].cs2)
216+
[**213**](scripts/[proc,clanwars_hud_timeremaining_resynch].cs2) `[proc,clanwars_hud_timeremaining_resynch]`
217217
[**214**](scripts/[clientscript,script214].cs2)
218218
[**215**](scripts/[clientscript,script215].cs2)
219219
[**216**](scripts/[clientscript,rebuildchatbox].cs2) `[clientscript,rebuildchatbox]`
@@ -234,7 +234,7 @@
234234
[**231**](scripts/[proc,scrollbar_vertical_rebuild].cs2) `[proc,scrollbar_vertical_rebuild]`
235235
[**232**](scripts/[clientscript,league_rewards_init].cs2) `[clientscript,league_rewards_init]`
236236
[**233**](scripts/[clientscript,script233].cs2)
237-
[**234**](scripts/[proc,script234].cs2)
237+
[**234**](scripts/[proc,fake_runes_enabled].cs2) `[proc,fake_runes_enabled]`
238238
[**235**](scripts/[clientscript,autocast_init].cs2) `[clientscript,autocast_init]`
239239
[**236**](scripts/[clientscript,autocast_spellhighlight].cs2) `[clientscript,autocast_spellhighlight]`
240240
[**237**](scripts/[proc,autocast_spellhighlight].cs2) `[proc,autocast_spellhighlight]`
@@ -743,8 +743,8 @@
743743
[**740**](scripts/[proc,scrollbar_vertical_setdragger].cs2) `[proc,scrollbar_vertical_setdragger]`
744744
[**741**](scripts/[clientscript,pest_activity_init].cs2) `[clientscript,pest_activity_init]`
745745
[**742**](scripts/[clientscript,seed_vault_size_check].cs2) `[clientscript,seed_vault_size_check]`
746-
[**743**](scripts/[clientscript,script743].cs2)
747-
[**744**](scripts/[proc,script744].cs2)
746+
[**743**](scripts/[clientscript,clanwars_hud_timeremaining_tick].cs2) `[clientscript,clanwars_hud_timeremaining_tick]`
747+
[**744**](scripts/[proc,clanwars_hud_timeremaining_gettext].cs2) `[proc,clanwars_hud_timeremaining_gettext]`
748748
[**745**](scripts/[proc,quicksort_questlist].cs2) `[proc,quicksort_questlist]`
749749
[**746**](scripts/[clientscript,script746].cs2)
750750
[**747**](scripts/[clientscript,worldswitcher_init].cs2) `[clientscript,worldswitcher_init]`
@@ -919,7 +919,7 @@
919919
[**916**](scripts/[proc,toplevel_sidebutton_switch].cs2) `[proc,toplevel_sidebutton_switch]`
920920
[**917**](scripts/[clientscript,toplevel_mainmodal_background].cs2) `[clientscript,toplevel_mainmodal_background]`
921921
[**918**](scripts/[proc,toplevel_check_sidepanel].cs2) `[proc,toplevel_check_sidepanel]`
922-
[**919**](scripts/[proc,script919].cs2)
922+
[**919**](scripts/[proc,toplevel_side_customise].cs2) `[proc,toplevel_side_customise]`
923923
[**920**](scripts/[proc,toplevel_resize_customise].cs2) `[proc,toplevel_resize_customise]`
924924
[**921**](scripts/[proc,toplevel_chatbox_maketransparent].cs2) `[proc,toplevel_chatbox_maketransparent]`
925925
[**922**](scripts/[proc,toplevel_chatbox_permittransparent].cs2) `[proc,toplevel_chatbox_permittransparent]`
@@ -931,7 +931,7 @@
931931
[**928**](scripts/[clientscript,smokeoverlay_init].cs2) `[clientscript,smokeoverlay_init]`
932932
[**929**](scripts/[clientscript,bankmain_toggleplaceholders].cs2) `[clientscript,bankmain_toggleplaceholders]`
933933
[**930**](scripts/[proc,bankmain_toggleplaceholders].cs2) `[proc,bankmain_toggleplaceholders]`
934-
[**931**](scripts/[clientscript,script931].cs2)
934+
[**931**](scripts/[clientscript,snow_flakes_init].cs2) `[clientscript,snow_flakes_init]`
935935
[**932**](scripts/[clientscript,snowflakes_zoom].cs2) `[clientscript,snowflakes_zoom]`
936936
[**933**](scripts/[proc,snowflakes_zoom].cs2) `[proc,snowflakes_zoom]`
937937
[**934**](scripts/[clientscript,myq3_blackout_init].cs2) `[clientscript,myq3_blackout_init]`
@@ -1003,7 +1003,7 @@
10031003
[**1000**](scripts/[proc,xpdrops_setbar_progress].cs2) `[proc,xpdrops_setbar_progress]`
10041004
[**1001**](scripts/[proc,xpdrops_percentage_tostring].cs2) `[proc,xpdrops_percentage_tostring]`
10051005
[**1002**](scripts/[proc,xpdrops_data_get].cs2) `[proc,xpdrops_data_get]`
1006-
[**1003**](scripts/[proc,script1003].cs2)
1006+
[**1003**](scripts/[proc,xpdrops_setstatlistener].cs2) `[proc,xpdrops_setstatlistener]`
10071007
[**1004**](scripts/[clientscript,xpdrops_stattransmit].cs2) `[clientscript,xpdrops_stattransmit]`
10081008
[**1005**](scripts/[clientscript,xpdrops_dropletmove].cs2) `[clientscript,xpdrops_dropletmove]`
10091009
[**1006**](scripts/[proc,script1006].cs2)
@@ -1071,9 +1071,9 @@
10711071
[**1068**](scripts/[clientscript,saradomin_light_effect].cs2) `[clientscript,saradomin_light_effect]`
10721072
[**1069**](scripts/[clientscript,saradomin_light_effect_update].cs2) `[clientscript,saradomin_light_effect_update]`
10731073
[**1070**](scripts/[proc,saradomin_light_effect_update].cs2) `[proc,saradomin_light_effect_update]`
1074-
[**1071**](scripts/[proc,script1071].cs2)
1075-
[**1072**](scripts/[clientscript,script1072].cs2)
1076-
[**1073**](scripts/[proc,script1073].cs2)
1074+
[**1071**](scripts/[proc,barrows_overlay_createbrother].cs2) `[proc,barrows_overlay_createbrother]`
1075+
[**1072**](scripts/[clientscript,barrows_overlay_killbrother].cs2) `[clientscript,barrows_overlay_killbrother]`
1076+
[**1073**](scripts/[proc,barrows_overlay_killbrother].cs2) `[proc,barrows_overlay_killbrother]`
10771077
[**1074**](scripts/[clientscript,shop_main_init].cs2) `[clientscript,shop_main_init]`
10781078
[**1075**](scripts/[clientscript,shop_main_update].cs2) `[clientscript,shop_main_update]`
10791079
[**1076**](scripts/[proc,shop_main_update].cs2) `[proc,shop_main_update]`

scripts/[clientscript,barrows_overlay_init].cs2

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@
44
~barrows_overlay_reward($component9);
55
if_setonvartransmit("barrows_overlay_reward($component9){var453, var1697}", $component0);
66
cc_deleteall($component10);
7-
def_int $width11 = ~script1071("Ahrim", 0, $component10);
8-
def_int $width12 = ~script1071("Dharok", 1, $component10);
7+
def_int $width11 = ~barrows_overlay_createbrother("Ahrim", 0, $component10);
8+
def_int $width12 = ~barrows_overlay_createbrother("Dharok", 1, $component10);
99
if ($width12 > $width11) {
1010
$width11 = $width12;
1111
}
12-
$width12 = ~script1071("Guthan", 2, $component10);
12+
$width12 = ~barrows_overlay_createbrother("Guthan", 2, $component10);
1313
if ($width12 > $width11) {
1414
$width11 = $width12;
1515
}
16-
$width12 = ~script1071("Karil", 3, $component10);
16+
$width12 = ~barrows_overlay_createbrother("Karil", 3, $component10);
1717
if ($width12 > $width11) {
1818
$width11 = $width12;
1919
}
20-
$width12 = ~script1071("Torag", 4, $component10);
20+
$width12 = ~barrows_overlay_createbrother("Torag", 4, $component10);
2121
if ($width12 > $width11) {
2222
$width11 = $width12;
2323
}
24-
$width12 = ~script1071("Verac", 5, $component10);
24+
$width12 = ~barrows_overlay_createbrother("Verac", 5, $component10);
2525
if ($width12 > $width11) {
2626
$width11 = $width12;
2727
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// 1072
2+
[clientscript,barrows_overlay_killbrother](component $component0, int $int1)
3+
if (.cc_find($component0, calc($int1 * 2 + 1)) = ^true) {
4+
~barrows_overlay_killbrother($int1);
5+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// 743
2+
[clientscript,clanwars_hud_timeremaining_tick](component $component0, int $comsubid1, int $int2)
3+
if (cc_find($component0, $comsubid1) = ^true) {
4+
if ($int2 > 0) {
5+
$int2 = calc($int2 - 1);
6+
}
7+
cc_settext(~clanwars_hud_timeremaining_gettext($int2));
8+
cc_setontimer("clanwars_hud_timeremaining_tick(event_com, event_comsubid, $int2)");
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// 156
2+
[clientscript,interface_inv_dragcomplete_shuffle_big](inv $inv0, int $comsubid1, int $dropsubid2, component $component3, int $int4, component $component5, string $string0, string $string1, string $string2, string $string3, string $string4, string $string5, string $string6, string $string7, string $string8)
3+
if ($dropsubid2 = -1) {
4+
~interface_inv_draw_slot_big($inv0, $comsubid1, $component3, $comsubid1, $int4, $component5, $string0, $string1, $string2, $string3, $string4, $string5, $string6, $string7, $string8);
5+
return;
6+
}
7+
def_int $dropsubid6 = $comsubid1;
8+
while ($dropsubid6 ! $dropsubid2) {
9+
if ($dropsubid6 > $dropsubid2) {
10+
~interface_inv_draw_slot_big($inv0, calc($dropsubid6 - 1), $component3, $dropsubid6, $int4, $component5, $string0, $string1, $string2, $string3, $string4, $string5, $string6, $string7, $string8);
11+
$dropsubid6 = calc($dropsubid6 - 1);
12+
} else if ($dropsubid6 < $dropsubid2) {
13+
~interface_inv_draw_slot_big($inv0, calc($dropsubid6 + 1), $component3, $dropsubid6, $int4, $component5, $string0, $string1, $string2, $string3, $string4, $string5, $string6, $string7, $string8);
14+
$dropsubid6 = calc($dropsubid6 + 1);
15+
}
16+
}
17+
~interface_inv_draw_slot_big($inv0, $comsubid1, $component3, $dropsubid2, $int4, $component5, $string0, $string1, $string2, $string3, $string4, $string5, $string6, $string7, $string8);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// 155
2+
[clientscript,interface_inv_dragcomplete_swap_big](inv $inv0, int $comsubid1, int $dropsubid2, component $component3, int $int4, component $component5, string $string0, string $string1, string $string2, string $string3, string $string4, string $string5, string $string6, string $string7, string $string8)
3+
if ($dropsubid2 = -1) {
4+
~interface_inv_draw_slot_big($inv0, $comsubid1, $component3, $comsubid1, $int4, $component5, $string0, $string1, $string2, $string3, $string4, $string5, $string6, $string7, $string8);
5+
return;
6+
}
7+
~interface_inv_draw_slot_big($inv0, $comsubid1, $component3, $dropsubid2, $int4, $component5, $string0, $string1, $string2, $string3, $string4, $string5, $string6, $string7, $string8);
8+
~interface_inv_draw_slot_big($inv0, $dropsubid2, $component3, $comsubid1, $int4, $component5, $string0, $string1, $string2, $string3, $string4, $string5, $string6, $string7, $string8);

scripts/[clientscript,script1072].cs2

-5
This file was deleted.

scripts/[clientscript,script155].cs2

-8
This file was deleted.

scripts/[clientscript,script156].cs2

-17
This file was deleted.

scripts/[clientscript,script743].cs2

-9
This file was deleted.

scripts/[clientscript,script931].cs2 scripts/[clientscript,snow_flakes_init].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 931
2-
[clientscript,script931](component $component0, int $int1)
2+
[clientscript,snow_flakes_init](component $component0, int $int1)
33
if_setsize(512, 0, ^setsize_abs, ^setsize_minus, $component0);
44
if_setposition(calc(512 * $int1), 0, ^setpos_abs_left, ^setpos_abs_centre, $component0);
55
cc_deleteall($component0);

scripts/[clientscript,xpdrops_init].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ while ($component11 ! null) {
2222
~xpdrops_redraw($component0, $component3, $component5, $component6, $component8, $component9);
2323
~xpdrops_setbar($component3, $component4, $component5, $component6, $component7, $component8, $component9);
2424
if_setonvartransmit("xpdrops_vartransmit($component0, $component3, $component4, $component5, $component6, $component7, $component8, $component9){var1227, var1228, var1229, var1230, var1231, var1232, var1233, var1234, var1235, var1236, var1237, var1238, var1239, var1240, var1241, var1242, var1243, var1244, var1245, var1246, var1247, var1248, var1249, var1250, var1251, var1252, var1253, var1254, var1255, var1256, var1257, var1258, var1259, var1260, var1261, var1262, var1263, var1264, var1265, var1266, var1267, var1268, var1269, var1270, var1271, var1272, var1273, var1274, var1275}", $component0);
25-
~script1003($component0, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $int10);
25+
~xpdrops_setstatlistener($component0, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $int10);
2626
if_setonvartransmit("xpdrops_setposition($component3){var1227}", $component3);
2727
if_setonsubchange("xpdrops_setposition($component3)", $component3);
2828
~xpdrops_showpanel($component0, $component3, $component8, $component9);

scripts/[clientscript,xpdrops_stattransmit].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,5 +234,5 @@ if ($int35 > 0 & $xp16 > 0 & calc(clientclock - %varcint76) > 10) {
234234
}
235235
if ($boolean0 = false) {
236236
~xpdrops_setbar($component3, $component4, $component5, $component6, $component7, $component8, $component9);
237-
~script1003($component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $int10);
237+
~xpdrops_setstatlistener($component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $int10);
238238
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 1071
2-
[proc,script1071](string $string0, int $int0, component $component1)(int)
2+
[proc,barrows_overlay_createbrother](string $string0, int $int0, component $component1)(int)
33
cc_create($component1, ^iftype_text, calc($int0 * 2));
44
.cc_create($component1, ^iftype_graphic, calc($int0 * 2 + 1));
55
cc_setsize(20, 17, ^setsize_minus, ^setsize_abs);
@@ -8,7 +8,7 @@ cc_settextfont(p12_full);
88
cc_settextshadow(true);
99
cc_settextalign(^settextalign_left, ^settextalign_centre, 0);
1010
cc_settext($string0);
11-
cc_setonvartransmit("script1072(event_com, $int0){var453}");
11+
cc_setonvartransmit("barrows_overlay_killbrother(event_com, $int0){var453}");
1212
.cc_setgraphic("tick");
13-
~script1073($int0);
13+
~barrows_overlay_killbrother($int0);
1414
return(parawidth($string0, 512, p12_full));

scripts/[proc,script1073].cs2 scripts/[proc,barrows_overlay_killbrother].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 1073
2-
[proc,script1073](int $index0)
2+
[proc,barrows_overlay_killbrother](int $index0)
33
if (testbit(%var453, $index0) = ^true) {
44
.cc_sethide(false);
55
} else {

scripts/[proc,clanwars_hud_info_update].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ if ($int7 > 0 | $int8 > 0 | $int9 > 0 | $int10 > 0) {
119119
} else if ($int7 > 0) {
120120
$string5 = "Victory: <~tostring_spacer($int7, $string3)> kills";
121121
} else if ($int10 > 0 & cc_find($component1, calc($int2 + 3)) = ^true) {
122-
$string5 = ~script213;
122+
$string5 = ~clanwars_hud_timeremaining_resynch;
123123
}
124124
$int6 = parawidth($string5, 512, p11_full);
125125
}

scripts/[proc,script744].cs2 scripts/[proc,clanwars_hud_timeremaining_gettext].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 744
2-
[proc,script744](int $int0)(string)
2+
[proc,clanwars_hud_timeremaining_gettext](int $int0)(string)
33
def_int $int1 = calc($int0 / 180000);
44
def_int $int2 = calc($int0 % 180000 / 3000);
55
def_int $int3 = calc($int0 % 3000 / 50);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// 213
2+
[proc,clanwars_hud_timeremaining_resynch]()(string)
3+
def_int $int0 = 0;
4+
if (%varbit4286 > 0) {
5+
$int0 = calc(%varbit4577 * 30);
6+
cc_setontimer(null);
7+
} else {
8+
$int0 = calc(%varbit4577 * 30 - 10);
9+
cc_setontimer("clanwars_hud_timeremaining_tick(event_com, event_comsubid, $int0)");
10+
}
11+
return(~clanwars_hud_timeremaining_gettext($int0));

scripts/[proc,script234].cs2 scripts/[proc,fake_runes_enabled].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 234
2-
[proc,script234]()(int)
2+
[proc,fake_runes_enabled]()(int)
33
if (%varbit3923 = 1) {
44
return(1);
55
}

scripts/[proc,script154].cs2 scripts/[proc,interface_inv_draw_slot_big].cs2

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 154
2-
[proc,script154](inv $inv0, int $slot1, component $component2, int $comsubid3, int $int4, component $component5, string $string0, string $string1, string $string2, string $string3, string $string4, string $string5, string $string6, string $string7, string $string8)
2+
[proc,interface_inv_draw_slot_big](inv $inv0, int $slot1, component $component2, int $comsubid3, int $int4, component $component5, string $string0, string $string1, string $string2, string $string3, string $string4, string $string5, string $string6, string $string7, string $string8)
33
def_obj $obj6 = null;
44
if (cc_find($component2, $comsubid3) = ^true) {
55
$obj6 = inv_getobj($inv0, $slot1);
@@ -21,9 +21,9 @@ if (cc_find($component2, $comsubid3) = ^true) {
2121
cc_setdragdeadtime(5);
2222
}
2323
if ($int4 = 1) {
24-
cc_setondragcomplete("script155($inv0, event_comsubid, event_dropsubid, event_com, $int4, $component5, $string0, $string1, $string2, $string3, $string4, $string5, $string6, $string7, $string8)");
24+
cc_setondragcomplete("interface_inv_dragcomplete_swap_big($inv0, event_comsubid, event_dropsubid, event_com, $int4, $component5, $string0, $string1, $string2, $string3, $string4, $string5, $string6, $string7, $string8)");
2525
} else if ($int4 = 2) {
26-
cc_setondragcomplete("script156($inv0, event_comsubid, event_dropsubid, event_com, $int4, $component5, $string0, $string1, $string2, $string3, $string4, $string5, $string6, $string7, $string8)");
26+
cc_setondragcomplete("interface_inv_dragcomplete_shuffle_big($inv0, event_comsubid, event_dropsubid, event_com, $int4, $component5, $string0, $string1, $string2, $string3, $string4, $string5, $string6, $string7, $string8)");
2727
}
2828
if ($int4 ! 0 & $component5 ! null) {
2929
cc_setondrag("interface_inv_drag_slot($slot1, $component2, $component5, event_mousey)");

0 commit comments

Comments
 (0)