mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-10 10:20:44 -07:00
Rename Class165 to Shadow
This commit is contained in:
parent
689ea235e8
commit
d8176e3013
2 changed files with 6 additions and 6 deletions
|
|
@ -7,7 +7,7 @@ import org.openrs2.deob.annotation.OriginalMember;
|
|||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
@OriginalClass("client!wm")
|
||||
public final class Class165 {
|
||||
public final class Shadow {
|
||||
|
||||
@OriginalMember(owner = "client!wm", name = "a", descriptor = "Lclient!vi;")
|
||||
private GlVertexBufferObject aClass155_6;
|
||||
|
|
@ -31,7 +31,7 @@ public final class Class165 {
|
|||
private final int anInt5901;
|
||||
|
||||
@OriginalMember(owner = "client!wm", name = "<init>", descriptor = "()V")
|
||||
public Class165() {
|
||||
public Shadow() {
|
||||
@Pc(9) GL2 local9 = GlRenderer.gl;
|
||||
@Pc(12) int[] local12 = new int[1];
|
||||
local9.glGenTextures(1, local12, 0);
|
||||
|
|
@ -9,7 +9,7 @@ public final class Static242 {
|
|||
public static SoftwareIndexedSprite shadowMapImage;
|
||||
|
||||
@OriginalMember(owner = "client!tj", name = "b", descriptor = "[[Lclient!wm;")
|
||||
public static Class165[][] shadows;
|
||||
public static Shadow[][] shadows;
|
||||
|
||||
@OriginalMember(owner = "client!tj", name = "c", descriptor = "I")
|
||||
private static int anInt5345;
|
||||
|
|
@ -134,7 +134,7 @@ public final class Static242 {
|
|||
if (local29 - arg0 >= -arg2 && local29 - arg0 <= arg2) {
|
||||
for (@Pc(51) int local51 = local22 * 8; local51 < local22 * 8 + 8; local51++) {
|
||||
if (local51 - arg1 >= -arg2 && local51 - arg1 <= arg2 && arg4[local29 + arg2 - arg0][local51 + arg2 - arg1]) {
|
||||
@Pc(89) Class165 local89 = shadows[local17][local22];
|
||||
@Pc(89) Shadow local89 = shadows[local17][local22];
|
||||
if (local89.outputToSprite) {
|
||||
local89.method4677(shadowMapImage, local17, local22);
|
||||
local89.outputToSprite = false;
|
||||
|
|
@ -227,10 +227,10 @@ public final class Static242 {
|
|||
anInt5346 = 13;
|
||||
anInt5345 = 13;
|
||||
shadowMapImage = new SoftwareIndexedSprite(anInt5346 * 128 + 2, anInt5345 * 128 + 2, 0);
|
||||
shadows = new Class165[anInt5346][anInt5345];
|
||||
shadows = new Shadow[anInt5346][anInt5345];
|
||||
for (@Pc(32) int local32 = 0; local32 < anInt5346; local32++) {
|
||||
for (@Pc(37) int local37 = 0; local37 < anInt5345; local37++) {
|
||||
shadows[local32][local37] = new Class165();
|
||||
shadows[local32][local37] = new Shadow();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue