mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-24 03:45:17 -06:00
Identified Class114 as DisplayMode, reorganized some static methods
This commit is contained in:
parent
5f4a83c394
commit
c988509e8e
139 changed files with 1209 additions and 1383 deletions
|
|
@ -12,9 +12,9 @@ public final class Static112 {
|
|||
@Pc(11) int local11 = Static13.anInt436;
|
||||
@Pc(13) int local13 = Static24.anInt761;
|
||||
if (Static39.aClass3_Sub2_Sub1_1 == null || Static181.aClass3_Sub2_Sub1_9 == null) {
|
||||
if (client.js5Archive8.isFileReady(Static55.anInt1736) && client.js5Archive8.isFileReady(Static169.anInt4073)) {
|
||||
Static39.aClass3_Sub2_Sub1_1 = SoftwareSprite.loadSoftwareAlphaSprite(client.js5Archive8, Static55.anInt1736);
|
||||
Static181.aClass3_Sub2_Sub1_9 = SoftwareSprite.loadSoftwareAlphaSprite(client.js5Archive8, Static169.anInt4073);
|
||||
if (client.js5Archive8.isFileReady(Static40.anInt1736) && client.js5Archive8.isFileReady(Static40.anInt4073)) {
|
||||
Static39.aClass3_Sub2_Sub1_1 = SoftwareSprite.loadSoftwareAlphaSprite(client.js5Archive8, Static40.anInt1736);
|
||||
Static181.aClass3_Sub2_Sub1_9 = SoftwareSprite.loadSoftwareAlphaSprite(client.js5Archive8, Static40.anInt4073);
|
||||
if (GlRenderer.enabled) {
|
||||
if (Static39.aClass3_Sub2_Sub1_1 instanceof SoftwareAlphaSprite) {
|
||||
Static39.aClass3_Sub2_Sub1_1 = new GlAlphaSprite((SoftwareSprite) Static39.aClass3_Sub2_Sub1_1);
|
||||
|
|
@ -28,9 +28,9 @@ public final class Static112 {
|
|||
}
|
||||
}
|
||||
} else if (GlRenderer.enabled) {
|
||||
GlRaster.fillRectAlpha(local3, local9, local13, 20, Static40.anInt1275, 256 - Static111.anInt2910);
|
||||
GlRaster.fillRectAlpha(local3, local9, local13, 20, Static40.anInt1275, 256 - Static40.anInt2910);
|
||||
} else {
|
||||
SoftwareRaster.fillRectAlpha(local3, local9, local13, 20, Static40.anInt1275, 256 - Static111.anInt2910);
|
||||
SoftwareRaster.fillRectAlpha(local3, local9, local13, 20, Static40.anInt1275, 256 - Static40.anInt2910);
|
||||
}
|
||||
}
|
||||
@Pc(112) int local112;
|
||||
|
|
@ -43,11 +43,11 @@ public final class Static112 {
|
|||
Static181.aClass3_Sub2_Sub1_9.render(local3, local9);
|
||||
Static181.aClass3_Sub2_Sub1_9.renderHorizontalFlip(local3 + local13 - Static181.aClass3_Sub2_Sub1_9.width, local9);
|
||||
}
|
||||
Fonts.b12Full.renderLeft(LocalizedText.CHOOSE_OPTION, local3 + 3, local9 + 14, Static195.anInt4581, -1);
|
||||
Fonts.b12Full.renderLeft(LocalizedText.CHOOSE_OPTION, local3 + 3, local9 + 14, Static40.anInt4581, -1);
|
||||
if (GlRenderer.enabled) {
|
||||
GlRaster.fillRectAlpha(local3, local9 + 20, local13, local11 - 20, Static40.anInt1275, 256 - Static111.anInt2910);
|
||||
GlRaster.fillRectAlpha(local3, local9 + 20, local13, local11 - 20, Static40.anInt1275, 256 - Static40.anInt2910);
|
||||
} else {
|
||||
SoftwareRaster.fillRectAlpha(local3, local9 + 20, local13, local11 - 20, Static40.anInt1275, 256 - Static111.anInt2910);
|
||||
SoftwareRaster.fillRectAlpha(local3, local9 + 20, local13, local11 - 20, Static40.anInt1275, 256 - Static40.anInt2910);
|
||||
}
|
||||
local114 = Mouse.anInt5032;
|
||||
local112 = Mouse.anInt4873;
|
||||
|
|
@ -57,16 +57,16 @@ public final class Static112 {
|
|||
local219 = (MiniMenu.size - local203 - 1) * 15 + local9 + 35;
|
||||
if (local3 < local112 && local112 < local3 + local13 && local114 > local219 - 13 && local114 < local219 + 3) {
|
||||
if (GlRenderer.enabled) {
|
||||
GlRaster.fillRectAlpha(local3, local219 - 13, local13, 16, Static251.anInt5457, 256 - Static232.anInt5208);
|
||||
GlRaster.fillRectAlpha(local3, local219 - 13, local13, 16, Static40.anInt5457, 256 - Static40.anInt5208);
|
||||
} else {
|
||||
SoftwareRaster.fillRectAlpha(local3, local219 - 13, local13, 16, Static251.anInt5457, 256 - Static232.anInt5208);
|
||||
SoftwareRaster.fillRectAlpha(local3, local219 - 13, local13, 16, Static40.anInt5457, 256 - Static40.anInt5208);
|
||||
}
|
||||
}
|
||||
}
|
||||
if ((Static165.aClass3_Sub2_Sub1_8 == null || Static92.aClass3_Sub2_Sub1_6 == null || Static204.aClass3_Sub2_Sub1_10 == null) && client.js5Archive8.isFileReady(Static85.anInt2261) && client.js5Archive8.isFileReady(Static136.anInt3324) && client.js5Archive8.isFileReady(Static254.anInt5556)) {
|
||||
Static165.aClass3_Sub2_Sub1_8 = SoftwareSprite.loadSoftwareAlphaSprite(client.js5Archive8, Static85.anInt2261);
|
||||
Static92.aClass3_Sub2_Sub1_6 = SoftwareSprite.loadSoftwareAlphaSprite(client.js5Archive8, Static136.anInt3324);
|
||||
Static204.aClass3_Sub2_Sub1_10 = SoftwareSprite.loadSoftwareAlphaSprite(client.js5Archive8, Static254.anInt5556);
|
||||
if ((Static165.aClass3_Sub2_Sub1_8 == null || Static92.aClass3_Sub2_Sub1_6 == null || Static204.aClass3_Sub2_Sub1_10 == null) && client.js5Archive8.isFileReady(Static40.anInt2261) && client.js5Archive8.isFileReady(Static40.anInt3324) && client.js5Archive8.isFileReady(Static40.anInt5556)) {
|
||||
Static165.aClass3_Sub2_Sub1_8 = SoftwareSprite.loadSoftwareAlphaSprite(client.js5Archive8, Static40.anInt2261);
|
||||
Static92.aClass3_Sub2_Sub1_6 = SoftwareSprite.loadSoftwareAlphaSprite(client.js5Archive8, Static40.anInt3324);
|
||||
Static204.aClass3_Sub2_Sub1_10 = SoftwareSprite.loadSoftwareAlphaSprite(client.js5Archive8, Static40.anInt5556);
|
||||
if (GlRenderer.enabled) {
|
||||
if (Static165.aClass3_Sub2_Sub1_8 instanceof SoftwareAlphaSprite) {
|
||||
Static165.aClass3_Sub2_Sub1_8 = new GlAlphaSprite((SoftwareSprite) Static165.aClass3_Sub2_Sub1_8);
|
||||
|
|
@ -101,9 +101,9 @@ public final class Static112 {
|
|||
}
|
||||
for (local203 = 0; local203 < MiniMenu.size; local203++) {
|
||||
local219 = (MiniMenu.size - local203 - 1) * 15 + local9 + 35;
|
||||
local418 = Static195.anInt4581;
|
||||
local418 = Static40.anInt4581;
|
||||
if (local3 < local112 && local13 + local3 > local112 && local219 - 13 < local114 && local114 < local219 + 3) {
|
||||
local418 = Static262.anInt5752;
|
||||
local418 = Static40.anInt5752;
|
||||
}
|
||||
Fonts.b12Full.renderLeft(MiniMenu.getOp(local203), local3 + 3, local219, local418, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue