@@ -251,12 +251,7 @@ public class MovedStatics {
251
251
public static IndexedImage tabHighlightImageTopMiddle ;
252
252
public static ImageRGB [] cursorCross ;
253
253
public static ProducingGraphicsBuffer mapbackLeft ;
254
- public static int clientVersion ;
255
254
public static int ticksPerLoop ;
256
- /**
257
- * Something to do with timing.. sleep time maybe? Not sure
258
- */
259
- public static int anInt2024 = 1 ;
260
255
public static boolean showIconsRedrawnText = false ;
261
256
public static IndexedImage [] tabIcons ;
262
257
public static boolean lastItemDragged = false ;
@@ -326,6 +321,13 @@ public class MovedStatics {
326
321
public static boolean [] obfuscatedKeyStatus = new boolean [112 ];
327
322
public static int [] crc8LookupTable = new int [256 ];
328
323
public static int currentTickSample ;
324
+ public static boolean showFps = false ;
325
+ public static int anInt487 = 0 ;
326
+ /**
327
+ * Top row of sideicon tabs
328
+ */
329
+ public static ProducingGraphicsBuffer tabTop ;
330
+ public static byte [][] aByteArrayArray1370 ;
329
331
330
332
public static void method440 () {
331
333
if (aBoolean512 ) {
@@ -387,7 +389,7 @@ public static void addSplitPrivateChatActionRows() {
387
389
x = 450 ;
388
390
if (MouseHandler .mouseX < 4 + x ) {
389
391
int actionRowOffset = ActionRowType .LOW_PRIORITY_MODIFIER ;
390
- if (InteractiveObject .playerRights >= 1 ) {
392
+ if (Game .playerRights >= 1 ) {
391
393
addActionRow (English .reportAbuse , 0 , 0 , 0 , actionRowOffset + ActionRowType .REPORT_ABUSE .getId (), Native .white + username );
392
394
}
393
395
addActionRow (English .addIgnore , 0 , 0 , 0 , actionRowOffset + ActionRowType .ADD_IGNORE .getId (), Native .white + username );
@@ -449,7 +451,7 @@ public static IndexedImage method538() {
449
451
class40_sub5_sub14_sub2 .imgWidth = anIntArray456 [0 ];
450
452
class40_sub5_sub14_sub2 .imgHeight = Npc .anIntArray3312 [0 ];
451
453
class40_sub5_sub14_sub2 .palette = Buffer .anIntArray1972 ;
452
- class40_sub5_sub14_sub2 .imgPixels = GroundItemTile . aByteArrayArray1370 [0 ];
454
+ class40_sub5_sub14_sub2 .imgPixels = aByteArrayArray1370 [0 ];
453
455
ActorDefinition .method569 ();
454
456
return class40_sub5_sub14_sub2 ;
455
457
}
@@ -510,7 +512,7 @@ public static void printException(String arg0, Throwable exception) {
510
512
string = string .replace ('@' , '_' );
511
513
string = string .replace ('&' , '_' );
512
514
string = string .replace ('#' , '_' );
513
- SignlinkNode signlinkNode = signlink .addType4Node (new URL (signlink .gameShell .getCodeBase (), "clienterror.ws?c=" + clientVersion + "&u=" + aLong853 + "&v1=" + Signlink .javaVendor + "&v2=" + Signlink .javaVersion + "&e=" + string ));
515
+ SignlinkNode signlinkNode = signlink .addType4Node (new URL (signlink .gameShell .getCodeBase (), "clienterror.ws?c=" + Game . clientVersion + "&u=" + aLong853 + "&v1=" + Signlink .javaVendor + "&v2=" + Signlink .javaVersion + "&e=" + string ));
514
516
while (signlinkNode .status == 0 )
515
517
threadSleep (1L );
516
518
if (signlinkNode .status != 1 )
@@ -526,7 +528,7 @@ public static void method184(byte[] data, int arg1) {
526
528
buffer .currentPosition = -2 + data .length ;
527
529
anInt2581 = buffer .getUnsignedShortBE ();
528
530
anIntArray3111 = new int [anInt2581 ];
529
- GroundItemTile . aByteArrayArray1370 = new byte [anInt2581 ][];
531
+ aByteArrayArray1370 = new byte [anInt2581 ][];
530
532
anIntArray456 = new int [anInt2581 ];
531
533
Npc .anIntArray3312 = new int [anInt2581 ];
532
534
anIntArray1347 = new int [anInt2581 ];
@@ -557,7 +559,7 @@ public static void method184(byte[] data, int arg1) {
557
559
int i_41_ = anIntArray456 [i_39_ ];
558
560
int i_42_ = i_40_ * i_41_ ;
559
561
byte [] is = new byte [i_42_ ];
560
- GroundItemTile . aByteArrayArray1370 [i_39_ ] = is ;
562
+ aByteArrayArray1370 [i_39_ ] = is ;
561
563
int i_43_ = buffer .getUnsignedByte ();
562
564
if (i_43_ == 0 ) {
563
565
for (int i_46_ = 0 ; i_42_ > i_46_ ; i_46_ ++)
@@ -576,7 +578,7 @@ public static String method204(int arg0) {
576
578
}
577
579
578
580
public static void method527 (int currentTabId , int [] tabWidgetIds , boolean arg3 , int arg4 ) {
579
- InteractiveObject . tabTop .prepareRasterizer ();
581
+ tabTop .prepareRasterizer ();
580
582
Buffer .tabTopBack .drawImage (0 , 0 );
581
583
if (arg3 ) {
582
584
if (tabWidgetIds [currentTabId ] != -1 ) {
@@ -647,7 +649,7 @@ public static void method527(int currentTabId, int[] tabWidgetIds, boolean arg3,
647
649
try {
648
650
Graphics graphics = Game .gameCanvas .getGraphics ();
649
651
if (ScreenController .frameMode == ScreenMode .FIXED ) {
650
- InteractiveObject . tabTop .drawGraphics (516 , 160 , graphics );
652
+ tabTop .drawGraphics (516 , 160 , graphics );
651
653
tabBottom .drawGraphics (496 , 466 , graphics );
652
654
}
653
655
} catch (Exception exception ) {
@@ -1417,7 +1419,7 @@ private static void method344(int arg0) {
1417
1419
tabHighlightImageBottomRightEdge = null ;
1418
1420
ChatBox .chatBoxImageProducer = null ;
1419
1421
mapBackRight = null ;
1420
- InteractiveObject . tabTop = null ;
1422
+ tabTop = null ;
1421
1423
if (arg0 < -28 ) {
1422
1424
chatboxRight = null ;
1423
1425
tabPieceUpperRight = null ;
@@ -1554,9 +1556,9 @@ public static void draw3dScreen() {
1554
1556
if (crossType == 2 ) {
1555
1557
cursorCross [4 + crossIndex / 100 ].drawImage (GameInterface .crossX - 8 - 4 , GameInterface .crossY - 8 - 4 );
1556
1558
}
1557
- if (GameInterface .gameScreenInterfaceId != -1 || GroundItemTile .walkableWidgetId != -1 ) {
1559
+ if (GameInterface .gameScreenInterfaceId != -1 || GameInterface .walkableWidgetId != -1 ) {
1558
1560
int areaId = GameInterface .gameScreenInterfaceId != -1 ? 0 : 4 ;
1559
- int id = GameInterface .gameScreenInterfaceId != -1 ? GameInterface .gameScreenInterfaceId : GroundItemTile .walkableWidgetId ;
1561
+ int id = GameInterface .gameScreenInterfaceId != -1 ? GameInterface .gameScreenInterfaceId : GameInterface .walkableWidgetId ;
1560
1562
Renderable .handleSequences (id );
1561
1563
int yOffset = (ScreenController .drawHeight /2 ) - (334 /2 ) - (184 /2 );
1562
1564
int xOffset = (ScreenController .drawWidth /2 ) - (512 /2 ) - (234 /3 );
@@ -1579,7 +1581,7 @@ public static void draw3dScreen() {
1579
1581
if (multiCombatState == 1 ) {
1580
1582
multiCombatIcon .drawImage (472 , 296 );
1581
1583
}
1582
- if (InteractiveObject . showFps ) {
1584
+ if (showFps ) {
1583
1585
int y = 20 ;
1584
1586
int x = 507 ;
1585
1587
if (ScreenController .frameMode != ScreenMode .FIXED ) {
@@ -1914,7 +1916,7 @@ public static void method763(Component arg0, CacheArchive arg2) {
1914
1916
Rasterizer .resetPixels ();
1915
1917
chatModes = createGraphicsBuffer (496 , 50 , arg0 );
1916
1918
tabBottom = createGraphicsBuffer (269 , 37 , arg0 );
1917
- InteractiveObject . tabTop = createGraphicsBuffer (249 , 45 , arg0 );
1919
+ tabTop = createGraphicsBuffer (249 , 45 , arg0 );
1918
1920
ImageRGB image = method1028 (arg2 , Native .imgBackleft1 , Native .aClass1_305 );
1919
1921
framePieceRight = createGraphicsBuffer (image .imageWidth , image .imageHeight , arg0 );
1920
1922
image .drawInverse (0 , 0 );
0 commit comments