Compare commits

..

No commits in common. "6890c01802a9cbc834e9f50f916fa5fa676c5a60" and "1dbb0d2a7b45651518bdf1006e955d5d51dfefd8" have entirely different histories.

8 changed files with 23306 additions and 23580 deletions

File diff suppressed because it is too large Load Diff

View File

@ -194,9 +194,6 @@ public class Minecraft implements Runnable {
this.checkGLError("Post startup");
this.ingameGUI = new GuiIngame(this);
GL11.anisotropicPatch(GL11.EaglerAdapterImpl2.glNeedsAnisotropicFix());
this.displayGuiScreen(new GuiMainMenu());
}

View File

@ -7,15 +7,8 @@ public class ClippingHelper {
public float[] clippingMatrix = new float[16];
public boolean isBoxInFrustum(double var1, double var3, double var5, double var7, double var9, double var11) {
for (int var13 = 0; var13 < 6; ++var13) {
if ((double) this.frustum[var13][0] * var1 + (double) this.frustum[var13][1] * var3 + (double) this.frustum[var13][2] * var5 + (double) this.frustum[var13][3] <= 0.0D
&& (double) this.frustum[var13][0] * var7 + (double) this.frustum[var13][1] * var3 + (double) this.frustum[var13][2] * var5 + (double) this.frustum[var13][3] <= 0.0D
&& (double) this.frustum[var13][0] * var1 + (double) this.frustum[var13][1] * var9 + (double) this.frustum[var13][2] * var5 + (double) this.frustum[var13][3] <= 0.0D
&& (double) this.frustum[var13][0] * var7 + (double) this.frustum[var13][1] * var9 + (double) this.frustum[var13][2] * var5 + (double) this.frustum[var13][3] <= 0.0D
&& (double) this.frustum[var13][0] * var1 + (double) this.frustum[var13][1] * var3 + (double) this.frustum[var13][2] * var11 + (double) this.frustum[var13][3] <= 0.0D
&& (double) this.frustum[var13][0] * var7 + (double) this.frustum[var13][1] * var3 + (double) this.frustum[var13][2] * var11 + (double) this.frustum[var13][3] <= 0.0D
&& (double) this.frustum[var13][0] * var1 + (double) this.frustum[var13][1] * var9 + (double) this.frustum[var13][2] * var11 + (double) this.frustum[var13][3] <= 0.0D
&& (double) this.frustum[var13][0] * var7 + (double) this.frustum[var13][1] * var9 + (double) this.frustum[var13][2] * var11 + (double) this.frustum[var13][3] <= 0.0D) {
for(int var13 = 0; var13 < 6; ++var13) {
if((double)this.frustum[var13][0] * var1 + (double)this.frustum[var13][1] * var3 + (double)this.frustum[var13][2] * var5 + (double)this.frustum[var13][3] <= 0.0D && (double)this.frustum[var13][0] * var7 + (double)this.frustum[var13][1] * var3 + (double)this.frustum[var13][2] * var5 + (double)this.frustum[var13][3] <= 0.0D && (double)this.frustum[var13][0] * var1 + (double)this.frustum[var13][1] * var9 + (double)this.frustum[var13][2] * var5 + (double)this.frustum[var13][3] <= 0.0D && (double)this.frustum[var13][0] * var7 + (double)this.frustum[var13][1] * var9 + (double)this.frustum[var13][2] * var5 + (double)this.frustum[var13][3] <= 0.0D && (double)this.frustum[var13][0] * var1 + (double)this.frustum[var13][1] * var3 + (double)this.frustum[var13][2] * var11 + (double)this.frustum[var13][3] <= 0.0D && (double)this.frustum[var13][0] * var7 + (double)this.frustum[var13][1] * var3 + (double)this.frustum[var13][2] * var11 + (double)this.frustum[var13][3] <= 0.0D && (double)this.frustum[var13][0] * var1 + (double)this.frustum[var13][1] * var9 + (double)this.frustum[var13][2] * var11 + (double)this.frustum[var13][3] <= 0.0D && (double)this.frustum[var13][0] * var7 + (double)this.frustum[var13][1] * var9 + (double)this.frustum[var13][2] * var11 + (double)this.frustum[var13][3] <= 0.0D) {
return false;
}
}

View File

@ -17,7 +17,6 @@ public class RenderHelper {
GL11.glEnable(GL11.GL_COLOR_MATERIAL);
GL11.glColorMaterial(GL11.GL_FRONT_AND_BACK, GL11.GL_AMBIENT_AND_DIFFUSE);
GL11.copyModelToLightMatrix2();
//GL11.flipSecondLightMatrix();
GL11.flipBothLightMatrix();
}
}

View File

@ -94,7 +94,6 @@ public class WorldRenderer {
this.tileEntityRenderers.clear();
byte var8 = 1;
ChunkCache var9 = new ChunkCache(this.worldObj, var1 - var8, var2 - var8, var3 - var8, var4 + var8, var5 + var8, var6 + var8);
GL11.hintAnisotropicFix(true);
RenderBlocks var10 = new RenderBlocks(var9);
for(int var11 = 0; var11 < 2; ++var11) {
@ -147,10 +146,8 @@ public class WorldRenderer {
if(!var12) {
break;
}
}
}
GL11.hintAnisotropicFix(false);
HashSet var22 = new HashSet();
var22.addAll(this.tileEntityRenderers);

View File

@ -1576,12 +1576,12 @@ public class GL11 implements JSObject {
public static final boolean glGetQueryResult(int obj) {
QueryGL q = queryObjs.get(obj);
return _wglGetQueryObjecti(q, _wGL_QUERY_RESULT) > 0;
return _wglGetQueryObjecti(q, _wGL_QUERY_RESULT) > 0;
}
public static final boolean glGetQueryResultAvailable(int obj) {
QueryGL q = queryObjs.get(obj);
return _wglGetQueryObjecti(q, _wGL_QUERY_RESULT_AVAILABLE) > 0;
return _wglGetQueryObjecti(q, _wGL_QUERY_RESULT_AVAILABLE) >= 0;
}
public static final void glGetQueryResult(int in, IntBuffer out) {

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long