Renamed some static classes

This commit is contained in:
Pazaz 2022-05-01 12:48:59 -04:00
parent 37883b9f35
commit ff0e890dcd
116 changed files with 1932 additions and 1973 deletions

View file

@ -41,7 +41,7 @@ public final class GlFont extends Font {
@OriginalMember(owner = "client!dj", name = "a", descriptor = "(Lclient!cf;)V")
public static void method1188(@OriginalArg(0) GlSprite arg0) {
if (arg0.height != Static46.anInt1441 - Static46.clipY) {
if (arg0.height != GlRaster.anInt1441 - GlRaster.clipY) {
throw new IllegalArgumentException();
}
masked = arg0;
@ -93,10 +93,10 @@ public final class GlFont extends Font {
gl.glBindTexture(GL2.GL_TEXTURE_2D, mask.textureId);
gl.glTexEnvi(GL2.GL_TEXTURE_ENV, GL2.GL_COMBINE_RGB, GL2.GL_REPLACE);
gl.glTexEnvi(GL2.GL_TEXTURE_ENV, GL2.GL_SRC0_RGB, GL2.GL_PREVIOUS);
@Pc(98) float maskX0 = (float) (x - Static46.clipX) / (float) mask.powerOfTwoWidth;
@Pc(107) float maskY0 = (float) (y - Static46.clipY) / (float) mask.powerOfTwoHeight;
@Pc(118) float maskX1 = (float) (x + width - Static46.clipX) / (float) mask.powerOfTwoWidth;
@Pc(129) float maskY1 = (float) (y + height - Static46.clipY) / (float) mask.powerOfTwoHeight;
@Pc(98) float maskX0 = (float) (x - GlRaster.clipX) / (float) mask.powerOfTwoWidth;
@Pc(107) float maskY0 = (float) (y - GlRaster.clipY) / (float) mask.powerOfTwoHeight;
@Pc(118) float maskX1 = (float) (x + width - GlRaster.clipX) / (float) mask.powerOfTwoWidth;
@Pc(129) float maskY1 = (float) (y + height - GlRaster.clipY) / (float) mask.powerOfTwoHeight;
gl.glBegin(GL2.GL_TRIANGLE_FAN);
gl.glMultiTexCoord2f(GL2.GL_TEXTURE1, maskX1, maskY0);
gl.glTexCoord2f(s1, t0);