3
3
import com .jagex .runescape .input .MouseHandler ;
4
4
import com .jagex .runescape .io .Buffer ;
5
5
import com .jagex .runescape .net .PacketBuffer ;
6
- import com .jagex .runescape .node .NodeCache ;
7
6
import com .jagex .runescape .cache .CacheArchive ;
8
7
import com .jagex .runescape .cache .def .*;
9
8
import com .jagex .runescape .cache .media .AnimationSequence ;
20
19
import com .jagex .runescape .scene .tile .FloorDecoration ;
21
20
22
21
public class Class33 {
23
- public static NodeCache aClass9_778 = new NodeCache (64 );
24
22
public static int anInt784 = 0 ;
25
23
public static int [] selectedMenuActions = new int [500 ];
26
24
@@ -29,21 +27,21 @@ public static synchronized void method402(boolean arg0) {
29
27
if (Class24 .method340 ()) {
30
28
Class22 .method308 ();
31
29
Class26 .aBoolean618 = arg0 ;
32
- Class22_Sub1 .aCacheArchive_1855 = null ;
30
+ Class22_Sub1 .musicCacheArchive = null ;
33
31
}
34
32
}
35
33
36
- public static synchronized void method403 (int arg0 , boolean arg1 , int arg2 , int arg3 , CacheArchive arg4 , int arg5 , int arg6 , boolean arg7 ) {
34
+ public static synchronized void method403 (int arg0 , boolean arg1 , int arg2 , int songId , CacheArchive cacheArchive , int arg5 , int arg6 , boolean arg7 ) {
37
35
if (Class24 .method340 ()) {
38
36
Main .aBoolean1790 = arg7 ;
39
37
MovedStatics .anInt255 = arg2 ;
40
38
Class40_Sub5_Sub17_Sub1 .anInt3004 = arg5 ;
41
39
Class26 .aBoolean618 = arg1 ;
42
- Class22_Sub1 .aCacheArchive_1855 = arg4 ;
40
+ Class22_Sub1 .musicCacheArchive = cacheArchive ;
43
41
MovedStatics .anInt1806 = -1 ;
44
42
OverlayDefinition .anInt2342 = arg0 ;
45
43
MovedStatics .anInt2110 = arg6 ;
46
- Class8 .anInt289 = arg3 ;
44
+ Class8 .anInt289 = songId ;
47
45
}
48
46
}
49
47
@@ -75,7 +73,7 @@ else if(i < Player.localPlayerCount)
75
73
if (Player .headIconDrawType == 1 && HuffmanEncoding .anInt1545 == Player .npcIds [-Player .localPlayerCount + i ] && MovedStatics .pulseCycle % 20 < 10 ) {
76
74
FloorDecoration .method342 (15 + actor .anInt3117 , actor );
77
75
if (ISAAC .anInt522 > -1 )
78
- UnderlayDefinition .aClass40_Sub5_Sub14_Sub4Array2567 [0 ].drawImage (ISAAC .anInt522 + -12 , Class44 .anInt1048 + -28 );
76
+ MovedStatics .aClass40_Sub5_Sub14_Sub4Array2567 [0 ].drawImage (ISAAC .anInt522 + -12 , Class44 .anInt1048 + -28 );
79
77
}
80
78
} else {
81
79
Player class40_sub5_sub17_sub4_sub1 = (Player ) actor ;
@@ -96,7 +94,7 @@ else if(i < Player.localPlayerCount)
96
94
if (i >= 0 && Player .headIconDrawType == 10 && ProducingGraphicsBuffer .anInt1623 == Player .trackedPlayerIndices [i ]) {
97
95
FloorDecoration .method342 (actor .anInt3117 + 15 , actor );
98
96
if (ISAAC .anInt522 > -1 )
99
- UnderlayDefinition .aClass40_Sub5_Sub14_Sub4Array2567 [1 ].drawImage (-12 + ISAAC .anInt522 , Class44 .anInt1048 + -i_0_ );
97
+ MovedStatics .aClass40_Sub5_Sub14_Sub4Array2567 [1 ].drawImage (-12 + ISAAC .anInt522 , Class44 .anInt1048 + -i_0_ );
100
98
}
101
99
}
102
100
if (actor .forcedChatMessage != null && (i >= Player .localPlayerCount || ChatBox .publicChatMode == 0 || ChatBox .publicChatMode == 3 || ChatBox .publicChatMode == 1 && Player .hasFriend (((Player ) actor ).playerName ))) {
@@ -248,16 +246,6 @@ else if(i_11_ < 150)
248
246
}
249
247
}
250
248
251
- public static synchronized void method405 (int arg0 , int arg1 ) {
252
- if (Class24 .method340 ()) {
253
- OverlayDefinition .method557 (arg1 );
254
- Class22_Sub1 .aCacheArchive_1855 = null ;
255
- Class26 .aBoolean618 = false ;
256
- if (arg0 != 16969 )
257
- method414 (false , -11 , -36 , -55 , 122 , null );
258
- }
259
- }
260
-
261
249
public static void method406 (int arg0 , int arg1 , int arg2 , int arg3 ) {
262
250
if (arg1 == 1 ) {
263
251
SceneCluster .packetBuffer .putPacket (111 );
@@ -310,7 +298,7 @@ public static void method406(int arg0, int arg1, int arg2, int arg3) {
310
298
SceneCluster .packetBuffer .putShortBE (arg0 );
311
299
}
312
300
if (arg3 > -112 )
313
- aClass9_778 = null ;
301
+ OverlayDefinition . overlayDefinitionCache = null ;
314
302
}
315
303
316
304
public static synchronized void method407 (boolean arg0 ) {
@@ -364,17 +352,17 @@ public static synchronized void method412(boolean arg0, CacheArchive arg1, int a
364
352
public static synchronized void method413 (byte arg0 ) {
365
353
if (Class24 .method340 ()) {
366
354
if (Class26 .aBoolean618 ) {
367
- byte [] is = RSString .method74 (Class40_Sub5_Sub17_Sub1 .anInt3004 , Class22_Sub1 .aCacheArchive_1855 , Class8 .anInt289 , MovedStatics .anInt2110 );
355
+ byte [] is = RSString .method74 (Class40_Sub5_Sub17_Sub1 .anInt3004 , Class22_Sub1 .musicCacheArchive , Class8 .anInt289 , MovedStatics .anInt2110 );
368
356
if (is != null ) {
369
357
if (MovedStatics .anInt255 < 0 ) {
370
358
if (MovedStatics .anInt1806 < 0 )
371
359
RSString .method56 (Main .aBoolean1790 , is , OverlayDefinition .anInt2342 );
372
360
else
373
361
method566 (OverlayDefinition .anInt2342 , Main .aBoolean1790 , MovedStatics .anInt1806 , is );
374
362
} else
375
- Class42 .method886 (0 , OverlayDefinition .anInt2342 , Main .aBoolean1790 , is , MovedStatics .anInt255 );
363
+ MovedStatics .method886 (0 , OverlayDefinition .anInt2342 , Main .aBoolean1790 , is , MovedStatics .anInt255 );
376
364
Class26 .aBoolean618 = false ;
377
- Class22_Sub1 .aCacheArchive_1855 = null ;
365
+ Class22_Sub1 .musicCacheArchive = null ;
378
366
}
379
367
}
380
368
Class59 .method984 (0 );
@@ -392,7 +380,7 @@ public static synchronized void method414(boolean arg0, int arg1, int songid, in
392
380
Class40_Sub5_Sub17_Sub1 .anInt3004 = arg4 ;
393
381
Main .aBoolean1790 = arg0 ;
394
382
MovedStatics .anInt2110 = arg1 ;
395
- Class22_Sub1 .aCacheArchive_1855 = arg5 ;
383
+ Class22_Sub1 .musicCacheArchive = arg5 ;
396
384
Class8 .anInt289 = songid ;
397
385
}
398
386
}
0 commit comments