Rename Class92 to Environment

This commit is contained in:
Pazaz 2022-04-19 06:24:45 -04:00
parent c9f355cf3c
commit 52b455e2d3
6 changed files with 12 additions and 12 deletions

View file

@ -4,7 +4,7 @@ import org.openrs2.deob.annotation.OriginalMember;
import org.openrs2.deob.annotation.Pc;
@OriginalClass("client!li")
public final class Class92 {
public final class Environment {
@OriginalMember(owner = "client!li", name = "c", descriptor = "I")
public final int anInt3526;
@ -34,7 +34,7 @@ public final class Class92 {
public final int anInt3530;
@OriginalMember(owner = "client!li", name = "<init>", descriptor = "()V")
public Class92() {
public Environment() {
this.anInt3526 = Static161.anInt3923;
this.aFloat17 = 1.2F;
this.anInt3527 = -50;
@ -47,7 +47,7 @@ public final class Class92 {
}
@OriginalMember(owner = "client!li", name = "<init>", descriptor = "(Lclient!wa;)V")
public Class92(@OriginalArg(0) Buffer arg0) {
public Environment(@OriginalArg(0) Buffer arg0) {
@Pc(7) int local7 = arg0.method2229();
if ((local7 & 0x1) == 0) {
this.anInt3526 = Static161.anInt3923;

View file

@ -733,7 +733,7 @@ public final class Static103 {
arg0 = 1000000;
Static222.aBoolean246 = false;
}
@Pc(15) Class92 local15 = Static192.aClass92ArrayArray1[arg3][arg1];
@Pc(15) Environment local15 = Static192.aClass92ArrayArray1[arg3][arg1];
@Pc(25) float local25 = ((float) arg2 * 0.1F + 0.7F) * local15.aFloat16;
@Pc(28) float local28 = local15.aFloat18;
@Pc(31) int local31 = local15.anInt3526;

View file

@ -4,7 +4,7 @@ import org.openrs2.deob.annotation.Pc;
public final class Static192 {
@OriginalMember(owner = "client!ph", name = "b", descriptor = "[[Lclient!li;")
public static final Class92[][] aClass92ArrayArray1 = new Class92[13][13];
public static final Environment[][] aClass92ArrayArray1 = new Environment[13][13];
@OriginalMember(owner = "client!ph", name = "c", descriptor = "Lclient!na;")
private static final Class100 aClass100_848 = Static28.method790("Ok");

View file

@ -186,7 +186,7 @@ public final class Static245 {
}
@Pc(497) int local497;
if (Static239.aBoolean269 && !arg9) {
@Pc(472) Class92 local472 = null;
@Pc(472) Environment local472 = null;
label207: while (true) {
label200: do {
while (local96.aByteArray40.length > local96.anInt2792) {
@ -198,10 +198,10 @@ public final class Static245 {
local497 = local96.method2229();
continue label200;
}
local472 = new Class92(local96);
local472 = new Environment(local96);
}
if (local472 == null) {
local472 = new Class92();
local472 = new Environment();
}
Static192.aClass92ArrayArray1[arg1 >> 3][arg4 >> 3] = local472;
break label207;

View file

@ -167,7 +167,7 @@ public final class Static269 {
}
@Pc(515) int local515;
if (Static239.aBoolean269 && !arg1) {
@Pc(490) Class92 local490 = null;
@Pc(490) Environment local490 = null;
label270: while (true) {
label263: do {
while (local95.anInt2792 < local95.aByteArray40.length) {
@ -179,10 +179,10 @@ public final class Static269 {
local515 = local95.method2229();
continue label263;
}
local490 = new Class92(local95);
local490 = new Environment(local95);
}
if (local490 == null) {
local490 = new Class92();
local490 = new Environment();
}
for (local117 = 0; local117 < 8; local117++) {
for (local515 = 0; local515 < 8; local515++) {

View file

@ -159,7 +159,7 @@ public final class Static75 {
@OriginalMember(owner = "client!g", name = "b", descriptor = "(I)V")
public static void method1632() {
@Pc(9) Class92 local9 = new Class92();
@Pc(9) Environment local9 = new Environment();
for (@Pc(18) int local18 = 0; local18 < 13; local18++) {
for (@Pc(25) int local25 = 0; local25 < 13; local25++) {
Static192.aClass92ArrayArray1[local18][local25] = local9;