A RuneTek3 client (377) that is deobfuscated, converted to Kotlin, and includes QoL improvements.
0

Configure Feed

Select the types of activity you want to include in your feed.

Game: Refactored Method method34 -> drawMenuTooltip

+13 -11
+13 -11
src/com/jagex/runescape/Game.java
··· 3196 3196 return true; 3197 3197 } 3198 3198 3199 - public void method34(byte byte0) { 3199 + private void drawMenuTooltip() { 3200 3200 if (menuActionRow < 2 && itemSelected == 0 && widgetSelected == 0) 3201 3201 return; 3202 - if (byte0 != -79) 3203 - return; 3204 - String s; 3202 + 3203 + String str; 3204 + 3205 3205 if (itemSelected == 1 && menuActionRow < 2) 3206 - s = "Use " + aString1150 + " with..."; 3206 + str = "Use " + aString1150 + " with..."; 3207 3207 else if (widgetSelected == 1 && menuActionRow < 2) 3208 - s = selectedWidgetName + "..."; 3208 + str = selectedWidgetName + "..."; 3209 3209 else 3210 - s = menuActionTexts[menuActionRow - 1]; 3210 + str = menuActionTexts[menuActionRow - 1]; 3211 + 3211 3212 if (menuActionRow > 2) 3212 - s = s + "@whi@ / " + (menuActionRow - 2) + " more options"; 3213 - fontBold.drawShadowedSeededAlphaString(s, 4, 15, 0xffffff, pulseCycle / 1000); 3213 + str = str + "@whi@ / " + (menuActionRow - 2) + " more options"; 3214 + 3215 + fontBold.drawShadowedSeededAlphaString(str, 4, 15, 0xffffff, pulseCycle / 1000); 3214 3216 } 3215 3217 3216 3218 public boolean walk(boolean flag, boolean flag1, int dstY, int srcY, int k, int l, int packetType, int j1, int dstX, int l1, ··· 5961 5963 } 5962 5964 if (!menuOpen) { 5963 5965 processRightClick(-521); 5964 - method34((byte) -79); 5966 + drawMenuTooltip(); 5965 5967 } else { 5966 5968 method128(false); 5967 5969 } ··· 8475 8477 8476 8478 if (!menuOpen) { 8477 8479 processRightClick(-521); 8478 - method34((byte) -79); 8480 + drawMenuTooltip(); 8479 8481 } else if (anInt1304 == 0) { 8480 8482 method128(false); 8481 8483 }