mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-11 17:10:24 -07:00
Refactored Buffer class
This commit is contained in:
parent
65965ea3a2
commit
6d9afcdc29
165 changed files with 2763 additions and 2728 deletions
|
|
@ -76,14 +76,14 @@ public final class Static269 {
|
|||
@Pc(188) int local188;
|
||||
@Pc(190) int local190;
|
||||
@Pc(194) int local194;
|
||||
while (local95.anInt2792 < local95.aByteArray40.length) {
|
||||
local21 = local95.method2229();
|
||||
while (local95.offset < local95.data.length) {
|
||||
local21 = local95.g1();
|
||||
if (local21 != 129) {
|
||||
local95.anInt2792--;
|
||||
local95.offset--;
|
||||
break;
|
||||
}
|
||||
for (local117 = 0; local117 < 4; local117++) {
|
||||
@Pc(168) byte local168 = local95.method2186();
|
||||
@Pc(168) byte local168 = local95.g1s();
|
||||
if (local168 == 0) {
|
||||
local243 = arg4;
|
||||
if (arg4 < 0) {
|
||||
|
|
@ -119,7 +119,7 @@ public final class Static269 {
|
|||
} else if (local168 == 1) {
|
||||
for (local243 = 0; local243 < 64; local243 += 4) {
|
||||
for (local188 = 0; local188 < 64; local188 += 4) {
|
||||
@Pc(305) byte local305 = local95.method2186();
|
||||
@Pc(305) byte local305 = local95.g1s();
|
||||
for (local194 = local243 + arg4; local194 < arg4 + local243 + 4; local194++) {
|
||||
for (@Pc(320) int local320 = arg3 + local188; local320 < arg3 + local188 + 4; local320++) {
|
||||
if (local194 >= 0 && local194 < 104 && local320 >= 0 && local320 < 104) {
|
||||
|
|
@ -170,13 +170,13 @@ public final class Static269 {
|
|||
@Pc(490) Environment local490 = null;
|
||||
label270: while (true) {
|
||||
label263: do {
|
||||
while (local95.anInt2792 < local95.aByteArray40.length) {
|
||||
local117 = local95.method2229();
|
||||
while (local95.offset < local95.data.length) {
|
||||
local117 = local95.g1();
|
||||
if (local117 != 0) {
|
||||
if (local117 != 1) {
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
local515 = local95.method2229();
|
||||
local515 = local95.g1();
|
||||
continue label263;
|
||||
}
|
||||
local490 = new Environment(local95);
|
||||
|
|
@ -198,7 +198,7 @@ public final class Static269 {
|
|||
for (local243 = 0; local243 < local515; local243++) {
|
||||
@Pc(529) Light local529 = new Light(local95);
|
||||
if (local529.anInt2243 == 31) {
|
||||
@Pc(541) LightType local541 = Static140.method2709(local95.method2163());
|
||||
@Pc(541) LightType local541 = Static140.method2709(local95.g2());
|
||||
local529.method1762(local541.anInt2865, local541.anInt2873, local541.anInt2867, local541.anInt2872);
|
||||
}
|
||||
local529.anInt2245 += arg3 << 7;
|
||||
|
|
@ -337,6 +337,6 @@ public final class Static269 {
|
|||
|
||||
@OriginalMember(owner = "client!wa", name = "a", descriptor = "(IZ)Lclient!na;")
|
||||
public static JagString method2228(@OriginalArg(0) int arg0) {
|
||||
return Static233.aClass100Array160[arg0].method3120() > 0 ? Static34.method882(new JagString[] { Static254.aClass100Array168[arg0], Static206.aClass100_901, Static233.aClass100Array160[arg0] }) : Static254.aClass100Array168[arg0];
|
||||
return Static233.aClass100Array160[arg0].length() > 0 ? Static34.method882(new JagString[] { Static254.aClass100Array168[arg0], Static206.aClass100_901, Static233.aClass100Array160[arg0] }) : Static254.aClass100Array168[arg0];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue