15
15
import org .runejs .client .media .Rasterizer3D ;
16
16
import org .runejs .client .media .VertexNormal ;
17
17
import org .runejs .client .media .renderable .Model ;
18
- import org .runejs .client .media .renderable .Renderable ;
19
18
import org .runejs .client .media .renderable .actor .*;
20
19
import org .runejs .client .message .handler .MessageHandlerRegistry ;
21
20
import org .runejs .client .message .handler .rs435 .RS435HandlerRegistry ;
@@ -265,7 +264,7 @@ public static boolean drawInterface(int areaId, int minX, int minY, int maxX, in
265
264
else {
266
265
if (GameInterface .activeInterfaceType != 0 && GameInterface .selectedInventorySlot == i_7_ && gameInterface .id == GameInterface .modifiedWidgetId ) {
267
266
i_14_ = MouseHandler .mouseY + -MovedStatics .anInt2798 ;
268
- i_12_ = MouseHandler .mouseX + -Renderable .anInt2869 ;
267
+ i_12_ = MouseHandler .mouseX + -MovedStatics .anInt2869 ;
269
268
if (i_12_ < 5 && i_12_ > -5 )
270
269
i_12_ = 0 ;
271
270
if (i_14_ < 5 && i_14_ > -5 )
@@ -868,7 +867,7 @@ public static void drawGameScreen() {
868
867
GameInterface .redrawTabArea = true ;
869
868
}
870
869
if (GameInterface .tabAreaInterfaceId != -1 ) {
871
- boolean bool = Renderable .handleSequences (GameInterface .tabAreaInterfaceId );
870
+ boolean bool = GameInterface .handleSequences (GameInterface .tabAreaInterfaceId );
872
871
if (bool ) {
873
872
GameInterface .redrawTabArea = true ;
874
873
}
@@ -884,13 +883,13 @@ public static void drawGameScreen() {
884
883
MovedStatics .drawTabArea ();
885
884
886
885
if (GameInterface .chatboxInterfaceId != -1 ) {
887
- boolean bool = Renderable .handleSequences (GameInterface .chatboxInterfaceId );
886
+ boolean bool = GameInterface .handleSequences (GameInterface .chatboxInterfaceId );
888
887
if (bool ) {
889
888
ChatBox .redrawChatbox = true ;
890
889
}
891
890
}
892
891
if (ChatBox .dialogueId != -1 ) {
893
- boolean bool = Renderable .handleSequences (ChatBox .dialogueId );
892
+ boolean bool = GameInterface .handleSequences (ChatBox .dialogueId );
894
893
if (bool ) {
895
894
ChatBox .redrawChatbox = true ;
896
895
}
@@ -941,15 +940,15 @@ public static void drawGameScreen() {
941
940
942
941
943
942
if (GameInterface .tabAreaInterfaceId != -1 ) {
944
- Renderable .handleSequences (GameInterface .tabAreaInterfaceId );
943
+ GameInterface .handleSequences (GameInterface .tabAreaInterfaceId );
945
944
}
946
945
947
946
if (GameInterface .chatboxInterfaceId != -1 ) {
948
- Renderable .handleSequences (GameInterface .chatboxInterfaceId );
947
+ GameInterface .handleSequences (GameInterface .chatboxInterfaceId );
949
948
}
950
949
951
950
if (ChatBox .dialogueId != -1 ) {
952
- Renderable .handleSequences (ChatBox .dialogueId );
951
+ GameInterface .handleSequences (ChatBox .dialogueId );
953
952
}
954
953
method353 ();
955
954
ChatBox .renderChatbox ();
@@ -1041,9 +1040,9 @@ public static void displayMessageForResponseCode(int responseCode) {
1041
1040
}
1042
1041
1043
1042
public static void method164 () {
1044
- Renderable .handleSequences (GameInterface .fullscreenInterfaceId );
1043
+ GameInterface .handleSequences (GameInterface .fullscreenInterfaceId );
1045
1044
if (GameInterface .fullscreenSiblingInterfaceId != -1 )
1046
- Renderable .handleSequences (GameInterface .fullscreenSiblingInterfaceId );
1045
+ GameInterface .handleSequences (GameInterface .fullscreenSiblingInterfaceId );
1047
1046
MovedStatics .anInt199 = 0 ;
1048
1047
MovedStatics .aProducingGraphicsBuffer_2213 .prepareRasterizer ();
1049
1048
Player .viewportOffsets = Rasterizer3D .setLineOffsets (Player .viewportOffsets );
@@ -1330,7 +1329,7 @@ else if(x > 764)
1330
1329
MovedStatics .anInt199 ++;
1331
1330
if (GameInterface .activeInterfaceType != 0 ) {
1332
1331
GameInterface .lastItemDragTime ++;
1333
- if (MouseHandler .mouseX > Renderable .anInt2869 + 5 || Renderable .anInt2869 + -5 > MouseHandler .mouseX || MovedStatics .anInt2798 + 5 < MouseHandler .mouseY || MovedStatics .anInt2798 - 5 > MouseHandler .mouseY )
1332
+ if (MouseHandler .mouseX > MovedStatics .anInt2869 + 5 || MovedStatics .anInt2869 + -5 > MouseHandler .mouseX || MovedStatics .anInt2798 + 5 < MouseHandler .mouseY || MovedStatics .anInt2798 - 5 > MouseHandler .mouseY )
1334
1333
MovedStatics .lastItemDragged = true ;
1335
1334
if (MouseHandler .currentMouseButtonPressed == 0 ) {
1336
1335
if (GameInterface .activeInterfaceType == 3 )
@@ -1563,16 +1562,16 @@ public static void handleLoginScreenActions() {
1563
1562
}
1564
1563
if (IncomingPackets .incomingPacketBuffer .currentPosition == 8 ) {
1565
1564
IncomingPackets .incomingPacketBuffer .currentPosition = 0 ;
1566
- Renderable .aLong2858 = IncomingPackets .incomingPacketBuffer .getLongBE ();
1565
+ MovedStatics .aLong2858 = IncomingPackets .incomingPacketBuffer .getLongBE ();
1567
1566
loginStatus = 5 ;
1568
1567
}
1569
1568
}
1570
1569
if (loginStatus == 5 ) {
1571
1570
int [] seeds = new int [4 ];
1572
1571
seeds [0 ] = (int ) (Math .random () * 9.9999999E7 );
1573
1572
seeds [1 ] = (int ) (Math .random () * 9.9999999E7 );
1574
- seeds [2 ] = (int ) (Renderable .aLong2858 >> 32 );
1575
- seeds [3 ] = (int ) Renderable .aLong2858 ;
1573
+ seeds [2 ] = (int ) (MovedStatics .aLong2858 >> 32 );
1574
+ seeds [3 ] = (int ) MovedStatics .aLong2858 ;
1576
1575
OutgoingPackets .buffer .currentPosition = 0 ;
1577
1576
OutgoingPackets .buffer .putByte (10 );
1578
1577
OutgoingPackets .buffer .putIntBE (seeds [0 ]);
0 commit comments