fixed incorrect WebGL buffer flip trigger, fixed 1st person map item lighting, fixed dates in main menu readme

This commit is contained in:
LAX1DUDE 2022-01-17 13:28:43 -08:00
parent 12e07e5fb5
commit 15539268dd
12 changed files with 28578 additions and 28563 deletions
build.gradle
javascript
lwjgl-rundir/resources
src
main/java/net/minecraft
teavm/java/net/lax1dude/eaglercraft/adapter
stable-download

@ -37,11 +37,11 @@ dependencies {
teavm {
compileScopes = null;
minifying = false;
minifying = true;
maxTopLevelNames = 10000;
properties = null;
debugInformationGenerated = false;
sourceMapsGenerated = false;
sourceMapsGenerated = true;
sourceFilesCopied = false;
incremental = false;
transformers = null;

Binary file not shown.

File diff suppressed because it is too large Load Diff

@ -14,7 +14,7 @@ scroll down for the detailed license statements
========================================
Copyright (c) 2020 Calder Young.
Copyright (c) 2022 Calder Young.
This work is licensed under a Creative Commons
Attribution-NonCommercial 4.0 International License

@ -328,7 +328,7 @@ public class Minecraft implements Runnable {
float f = ((float)(System.currentTimeMillis() - t1) / 333f);
EaglerAdapter.glClear(EaglerAdapter.GL_COLOR_BUFFER_BIT | EaglerAdapter.GL_DEPTH_BUFFER_BIT);
EaglerAdapter.glColor4f(1.0F, 1.0F, 1.0F, MathHelper.clamp_float(f*0.6f, 0.0F, 1.0F));
EaglerAdapter.glColor4f(1.0F, 1.0F, 1.0F, MathHelper.clamp_float(f, 0.0F, 1.0F));
this.renderEngine.bindTexture("%blur%/title/mojang.png");
EaglerAdapter.glPushMatrix();
float f1 = 0.875f + 0.025f * (float)Math.sqrt(f);
@ -369,7 +369,7 @@ public class Minecraft implements Runnable {
float f = ((float)(System.currentTimeMillis() - t1) / 340f);
EaglerAdapter.glClear(EaglerAdapter.GL_COLOR_BUFFER_BIT | EaglerAdapter.GL_DEPTH_BUFFER_BIT);
EaglerAdapter.glColor4f(1.0F, 1.0F, 1.0F, MathHelper.clamp_float((1.0f - f)*0.6f, 0.0F, 1.0F));
EaglerAdapter.glColor4f(1.0F, 1.0F, 1.0F, MathHelper.clamp_float((1.0f - f), 0.0F, 1.0F));
this.renderEngine.bindTexture("%blur%/title/mojang.png");
EaglerAdapter.glPushMatrix();
float f1 = 0.9f + 0.025f * f * f;

@ -250,6 +250,7 @@ public class ItemRenderer {
RenderPlayer var26 = (RenderPlayer) var24;
if (var17 != null && var17.itemID == Item.map.itemID) {
EaglerAdapter.flipLightMatrix();
EaglerAdapter.glPushMatrix();
var7 = 0.8F;
var19 = var3.getSwingProgress(par1);
@ -318,6 +319,7 @@ public class ItemRenderer {
}
EaglerAdapter.glPopMatrix();
EaglerAdapter.flipLightMatrix();
} else if (var17 != null) {
EaglerAdapter.glPushMatrix();
var7 = 0.8F;

@ -947,7 +947,7 @@ public class EaglerAdapterImpl2 {
private static native int commitContext(JSObject obj);
public static final void updateDisplay() {
//commitContext(webgl);
commitContext(webgl);
try {
Thread.sleep(1l);
} catch (InterruptedException e) {

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long