@@ -644,7 +644,7 @@ public static void setConfigToDefaults() {
644
644
ChatBox .chatMessages [i ] = null ;
645
645
GameInterface .itemCurrentlySelected = 0 ;
646
646
MovedStatics .destinationX = 0 ;
647
- MovedStatics . anInt1985 = -1 ;
647
+ Minimap . minimapLevel = -1 ;
648
648
Player .npcCount = 0 ;
649
649
SoundSystem .reset ();
650
650
widgetSelected = 0 ;
@@ -937,17 +937,37 @@ public static void drawGameScreen() {
937
937
ChatBox .redrawChatbox = true ;
938
938
}
939
939
}
940
+
941
+ if (GameInterface .tabAreaInterfaceId != -1 ) {
942
+ boolean bool = GameInterface .handleSequences (GameInterface .tabAreaInterfaceId );
943
+ if (bool ) {
944
+ GameInterface .redrawTabArea = true ;
945
+ }
946
+ }
947
+
948
+ if (GameInterface .chatboxInterfaceId != -1 ) {
949
+ boolean bool = GameInterface .handleSequences (GameInterface .chatboxInterfaceId );
950
+ if (bool ) {
951
+ ChatBox .redrawChatbox = true ;
952
+ }
953
+ }
954
+
955
+ if (ChatBox .dialogueId != -1 ) {
956
+ boolean bool = GameInterface .handleSequences (ChatBox .dialogueId );
957
+ if (bool ) {
958
+ ChatBox .redrawChatbox = true ;
959
+ }
960
+ }
961
+
962
+ if (flashingTabId != -1 ) {
963
+ GameInterface .drawTabIcons = true ;
964
+ }
965
+
940
966
if (ScreenController .frameMode == ScreenMode .FIXED ) {
941
967
942
968
if (MovedStatics .menuOpen && MovedStatics .menuScreenArea == 1 ) {
943
969
GameInterface .redrawTabArea = true ;
944
970
}
945
- if (GameInterface .tabAreaInterfaceId != -1 ) {
946
- boolean bool = GameInterface .handleSequences (GameInterface .tabAreaInterfaceId );
947
- if (bool ) {
948
- GameInterface .redrawTabArea = true ;
949
- }
950
- }
951
971
method353 ();
952
972
953
973
if (GameInterface .atInventoryInterfaceType == -3 ) {
@@ -958,18 +978,6 @@ public static void drawGameScreen() {
958
978
}
959
979
MovedStatics .drawTabArea ();
960
980
961
- if (GameInterface .chatboxInterfaceId != -1 ) {
962
- boolean bool = GameInterface .handleSequences (GameInterface .chatboxInterfaceId );
963
- if (bool ) {
964
- ChatBox .redrawChatbox = true ;
965
- }
966
- }
967
- if (ChatBox .dialogueId != -1 ) {
968
- boolean bool = GameInterface .handleSequences (ChatBox .dialogueId );
969
- if (bool ) {
970
- ChatBox .redrawChatbox = true ;
971
- }
972
- }
973
981
if (GameInterface .atInventoryInterfaceType == 3 ) {
974
982
ChatBox .redrawChatbox = true ;
975
983
}
@@ -990,10 +998,6 @@ public static void drawGameScreen() {
990
998
991
999
Minimap .renderMinimap ();
992
1000
993
-
994
- if (flashingTabId != -1 ) {
995
- GameInterface .drawTabIcons = true ;
996
- }
997
1001
if (GameInterface .drawTabIcons ) {
998
1002
if (flashingTabId != -1 && flashingTabId == currentTabId ) {
999
1003
flashingTabId = -1 ;
@@ -1013,30 +1017,14 @@ public static void drawGameScreen() {
1013
1017
MovedStatics .anInt199 = 0 ;
1014
1018
1015
1019
} else {
1016
-
1017
-
1018
- if (GameInterface .tabAreaInterfaceId != -1 ) {
1019
- GameInterface .handleSequences (GameInterface .tabAreaInterfaceId );
1020
- }
1021
-
1022
- if (GameInterface .chatboxInterfaceId != -1 ) {
1023
- GameInterface .handleSequences (GameInterface .chatboxInterfaceId );
1024
- }
1025
-
1026
- if (ChatBox .dialogueId != -1 ) {
1027
- GameInterface .handleSequences (ChatBox .dialogueId );
1028
- }
1029
1020
method353 ();
1030
1021
ChatBox .renderChatbox ();
1031
1022
1032
1023
MovedStatics .drawTabArea ();
1033
1024
1034
- Minimap . renderMinimap ();
1035
-
1025
+ // this render is handled in `ResizableFrameRenderer`
1026
+ //Minimap.renderMinimap();
1036
1027
1037
- if (flashingTabId != -1 ) {
1038
- GameInterface .drawTabIcons = true ;
1039
- }
1040
1028
if (GameInterface .drawTabIcons ) {
1041
1029
if (flashingTabId != -1 && flashingTabId == currentTabId ) {
1042
1030
flashingTabId = -1 ;
@@ -1920,9 +1908,9 @@ public static void method910() {
1920
1908
if (true ) {
1921
1909
if (VertexNormal .lowMemory && MovedStatics .onBuildTimePlane != Player .worldLevel )
1922
1910
MovedStatics .method789 (Player .localPlayer .pathY [0 ], MovedStatics .regionY , MovedStatics .regionX , Player .localPlayer .pathX [0 ], Player .worldLevel );
1923
- else if (MovedStatics . anInt1985 != Player .worldLevel ) {
1924
- MovedStatics . anInt1985 = Player .worldLevel ;
1925
- Minimap .method299 (Player .worldLevel );
1911
+ else if (Minimap . minimapLevel != Player .worldLevel ) {
1912
+ Minimap . minimapLevel = Player .worldLevel ;
1913
+ Minimap .createMinimap (Player .worldLevel );
1926
1914
}
1927
1915
}
1928
1916
}
0 commit comments