additional patches - sp1.01
This commit is contained in:
parent
8575fb26a7
commit
9672bed9d2
Binary file not shown.
37695
javascript/classes.js
37695
javascript/classes.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -6,7 +6,7 @@ public class ConfigConstants {
|
||||||
|
|
||||||
public static boolean profanity = false;
|
public static boolean profanity = false;
|
||||||
|
|
||||||
public static final String version = "1.5.2-sp1";
|
public static final String version = "1.5.2-sp1.01";
|
||||||
public static final String mainMenuString = "eaglercraft " + version;
|
public static final String mainMenuString = "eaglercraft " + version;
|
||||||
|
|
||||||
public static final String forkMe = null;
|
public static final String forkMe = null;
|
||||||
|
|
|
@ -1,129 +0,0 @@
|
||||||
package net.lax1dude.eaglercraft;
|
|
||||||
|
|
||||||
public class GuiScreenChangeWorldTimeout {
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 'license' screen text, this is encoded to stop skids from
|
|
||||||
* easily modifying it via find/replace in a text editor
|
|
||||||
*/
|
|
||||||
|
|
||||||
static final byte[] line00 = new byte[] {
|
|
||||||
(byte)85,(byte)115,(byte)101,(byte)32,(byte)121,(byte)111,(byte)117,(byte)114,(byte)32,(byte)98,
|
|
||||||
(byte)114,(byte)97,(byte)105,(byte)110,(byte)32,(byte)97,(byte)110,(byte)100,(byte)32,(byte)114,
|
|
||||||
(byte)101,(byte)97,(byte)100,(byte)58
|
|
||||||
};
|
|
||||||
|
|
||||||
static final byte[] line10 = new byte[] {
|
|
||||||
(byte)69,(byte)97,(byte)103,(byte)108,(byte)101,(byte)114,(byte)99,(byte)114,(byte)97,(byte)102,
|
|
||||||
(byte)116,(byte)32,(byte)105,(byte)115,(byte)32,(byte)194,(byte)167,(byte)100,(byte)102,(byte)114,
|
|
||||||
(byte)101,(byte)101,(byte)32,(byte)115,(byte)111,(byte)102,(byte)116,(byte)119,(byte)97,(byte)114,
|
|
||||||
(byte)101,(byte)44,(byte)194,(byte)167,(byte)114,(byte)32,(byte)105,(byte)102,(byte)32,(byte)115,
|
|
||||||
(byte)111,(byte)109,(byte)101,(byte)111,(byte)110,(byte)101,(byte)32,(byte)105,(byte)110,(byte)116,
|
|
||||||
(byte)101,(byte)110,(byte)116,(byte)105,(byte)111,(byte)110,(byte)97,(byte)108,(byte)108,(byte)121,
|
|
||||||
(byte)32,(byte)99,(byte)104,(byte)97,(byte)114,(byte)103,(byte)101,(byte)100
|
|
||||||
};
|
|
||||||
|
|
||||||
static final byte[] line11 = new byte[] {(byte)121,(byte)111,(byte)117,(byte)32,(byte)97,(byte)110,
|
|
||||||
(byte)121,(byte)32,(byte)115,(byte)117,(byte)109,(byte)32,(byte)111,(byte)102,(byte)32,(byte)109,
|
|
||||||
(byte)111,(byte)110,(byte)101,(byte)121,(byte)32,(byte)116,(byte)111,(byte)32,(byte)103,(byte)97,
|
|
||||||
(byte)105,(byte)110,(byte)32,(byte)97,(byte)99,(byte)99,(byte)101,(byte)115,(byte)115,(byte)32,
|
|
||||||
(byte)116,(byte)111,(byte)32,(byte)116,(byte)104,(byte)105,(byte)115,(byte)32,(byte)102,(byte)105,
|
|
||||||
(byte)108,(byte)101,(byte)44,(byte)32,(byte)121,(byte)111,(byte)117,(byte)32,(byte)97,(byte)114,
|
|
||||||
(byte)101,(byte)32,(byte)97,(byte)110
|
|
||||||
};
|
|
||||||
|
|
||||||
static final byte[] line12 = new byte[] {(byte)105,(byte)100,(byte)105,(byte)111,(byte)116,(byte)32,
|
|
||||||
(byte)97,(byte)110,(byte)100,(byte)32,(byte)97,(byte)32,(byte)118,(byte)105,(byte)99,(byte)116,
|
|
||||||
(byte)105,(byte)109,(byte)32,(byte)111,(byte)102,(byte)32,(byte)112,(byte)105,(byte)114,(byte)97,
|
|
||||||
(byte)99,(byte)121,(byte)46,(byte)32,(byte)83,(byte)116,(byte)111,(byte)112,(byte)32,(byte)112,
|
|
||||||
(byte)108,(byte)97,(byte)121,(byte)105,(byte)110,(byte)103,(byte)32,(byte)121,(byte)111,(byte)117,
|
|
||||||
(byte)114,(byte)115,(byte)101,(byte)108,(byte)102,(byte)46
|
|
||||||
};
|
|
||||||
|
|
||||||
static final byte[] line20 = new byte[] {
|
|
||||||
(byte)67,(byte)108,(byte)105,(byte)99,(byte)107,(byte)32,(byte)39,(byte)70,(byte)111,(byte)114,
|
|
||||||
(byte)107,(byte)32,(byte)111,(byte)110,(byte)32,(byte)71,(byte)105,(byte)116,(byte)104,(byte)117,
|
|
||||||
(byte)98,(byte)39,(byte)32,(byte)111,(byte)110,(byte)32,(byte)116,(byte)104,(byte)101,(byte)32,
|
|
||||||
(byte)109,(byte)97,(byte)105,(byte)110,(byte)32,(byte)109,(byte)101,(byte)110,(byte)117,(byte)32,
|
|
||||||
(byte)116,(byte)111,(byte)32,(byte)97,(byte)99,(byte)99,(byte)101,(byte)115,(byte)115,(byte)32,
|
|
||||||
(byte)116,(byte)104,(byte)101,(byte)32,(byte)111,(byte)102,(byte)102,(byte)105,(byte)99,(byte)97,(byte)108
|
|
||||||
};
|
|
||||||
|
|
||||||
static final byte[] line21 = new byte[] {
|
|
||||||
(byte)115,(byte)111,(byte)117,(byte)114,(byte)99,(byte)101,(byte)32,(byte)99,(byte)111,(byte)100,
|
|
||||||
(byte)101,(byte)32,(byte)116,(byte)111,(byte)32,(byte)100,(byte)111,(byte)119,(byte)110,(byte)108,
|
|
||||||
(byte)111,(byte)97,(byte)100,(byte)32,(byte)116,(byte)104,(byte)105,(byte)115,(byte)32,(byte)101,
|
|
||||||
(byte)100,(byte)117,(byte)99,(byte)97,(byte)116,(byte)105,(byte)111,(byte)110,(byte)97,(byte)108,
|
|
||||||
(byte)32,(byte)112,(byte)114,(byte)111,(byte)106,(byte)101,(byte)99,(byte)116,(byte)32,(byte)108,
|
|
||||||
(byte)101,(byte)103,(byte)105,(byte)116,(byte)105,(byte)109,(byte)97,(byte)116,(byte)101,(byte)108,(byte)121
|
|
||||||
};
|
|
||||||
|
|
||||||
static final byte[] line30 = new byte[] {
|
|
||||||
(byte)73,(byte)32,(byte)97,(byte)109,(byte)32,(byte)97,(byte)119,(byte)97,(byte)114,(byte)101,
|
|
||||||
(byte)32,(byte)116,(byte)104,(byte)97,(byte)116,(byte)32,(byte)116,(byte)104,(byte)105,(byte)115,
|
|
||||||
(byte)32,(byte)112,(byte)114,(byte)111,(byte)106,(byte)101,(byte)99,(byte)116,(byte)32,(byte)118,
|
|
||||||
(byte)105,(byte)111,(byte)108,(byte)97,(byte)116,(byte)101,(byte)100,(byte)32,(byte)77,(byte)111,
|
|
||||||
(byte)106,(byte)97,(byte)110,(byte)103,(byte)39,(byte)115,(byte)32,(byte)84,(byte)101,(byte)114,
|
|
||||||
(byte)109,(byte)115,(byte)32,(byte)111,(byte)102,(byte)32,(byte)83,(byte)101,(byte)114,(byte)118,
|
|
||||||
(byte)105,(byte)99,(byte)101
|
|
||||||
};
|
|
||||||
|
|
||||||
static final byte[] line31 = new byte[] {
|
|
||||||
(byte)84,(byte)104,(byte)105,(byte)115,(byte)32,(byte)105,(byte)115,(byte)32,(byte)103,(byte)111,
|
|
||||||
(byte)105,(byte)110,(byte)103,(byte)32,(byte)116,(byte)111,(byte)32,(byte)99,(byte)104,(byte)97,
|
|
||||||
(byte)110,(byte)103,(byte)101,(byte)32,(byte)105,(byte)110,(byte)32,(byte)97,(byte)32,(byte)102,
|
|
||||||
(byte)101,(byte)119,(byte)32,(byte)119,(byte)101,(byte)101,(byte)107,(byte)115,(byte)44,(byte)32,
|
|
||||||
(byte)119,(byte)104,(byte)101,(byte)110,(byte)32,(byte)73,(byte)32,(byte)99,(byte)111,(byte)110,
|
|
||||||
(byte)118,(byte)101,(byte)114,(byte)116,(byte)32,(byte)116,(byte)104,(byte)105,(byte)115,(byte)32,
|
|
||||||
(byte)103,(byte)97,(byte)109,(byte)101
|
|
||||||
};
|
|
||||||
|
|
||||||
static final byte[] line32 = new byte[] {
|
|
||||||
(byte)105,(byte)110,(byte)116,(byte)111,(byte)32,(byte)97,(byte)110,(byte)32,(byte)111,(byte)110,
|
|
||||||
(byte)108,(byte)105,(byte)110,(byte)101,(byte)45,(byte)109,(byte)111,(byte)100,(byte)101,(byte)32,
|
|
||||||
(byte)112,(byte)108,(byte)117,(byte)103,(byte)105,(byte)110,(byte)32,(byte)116,(byte)104,(byte)97,
|
|
||||||
(byte)116,(byte)32,(byte)114,(byte)101,(byte)113,(byte)117,(byte)105,(byte)114,(byte)101,(byte)115,
|
|
||||||
(byte)32,(byte)97,(byte)32,(byte)109,(byte)105,(byte)99,(byte)114,(byte)111,(byte)115,(byte)111,
|
|
||||||
(byte)102,(byte)116,(byte)32,(byte)97,(byte)99,(byte)99,(byte)111,(byte)117,(byte)110,(byte)116,(byte)46
|
|
||||||
};
|
|
||||||
|
|
||||||
static final byte[] line40 = new byte[] {
|
|
||||||
(byte)85,(byte)110,(byte)116,(byte)105,(byte)108,(byte)32,(byte)116,(byte)104,(byte)101,(byte)110,
|
|
||||||
(byte)44,(byte)32,(byte)68,(byte)79,(byte)32,(byte)78,(byte)79,(byte)84,(byte)32,(byte)66,(byte)85,
|
|
||||||
(byte)89,(byte)32,(byte)79,(byte)82,(byte)32,(byte)83,(byte)69,(byte)76,(byte)76,(byte)32,(byte)65,
|
|
||||||
(byte)67,(byte)67,(byte)69,(byte)83,(byte)83,(byte)32,(byte)84,(byte)79,(byte)32,(byte)84,(byte)72,
|
|
||||||
(byte)73,(byte)83,(byte)32,(byte)80,(byte)82,(byte)79,(byte)74,(byte)69,(byte)67,(byte)84
|
|
||||||
};
|
|
||||||
|
|
||||||
static final byte[] line50 = new byte[] {
|
|
||||||
(byte)73,(byte)32,(byte)117,(byte)110,(byte)100,(byte)101,(byte)114,(byte)115,(byte)116,(byte)97,
|
|
||||||
(byte)110,(byte)100,(byte)32,(byte)97,(byte)110,(byte)100,(byte)32,(byte)107,(byte)110,(byte)111,
|
|
||||||
(byte)119,(byte)32,(byte)104,(byte)111,(byte)119,(byte)32,(byte)116,(byte)111,(byte)32,(byte)114,
|
|
||||||
(byte)101,(byte)97,(byte)100
|
|
||||||
};
|
|
||||||
|
|
||||||
static final byte[] line60 = new byte[] {(byte)65,(byte)99,(byte)99,(byte)101,(byte)112,(byte)116};
|
|
||||||
|
|
||||||
static final byte[] line61 = new byte[] {(byte)68,(byte)101,(byte)99,(byte)108,(byte)105,(byte)110,(byte)101};
|
|
||||||
|
|
||||||
static final byte[] line70 = new byte[] {
|
|
||||||
(byte)84,(byte)101,(byte)114,(byte)109,(byte)115,(byte)32,(byte)111,(byte)102,(byte)32,(byte)83,
|
|
||||||
(byte)101,(byte)114,(byte)118,(byte)105,(byte)99,(byte)101,(byte)32,(byte)68,(byte)101,(byte)99,
|
|
||||||
(byte)108,(byte)105,(byte)110,(byte)101,(byte)100
|
|
||||||
};
|
|
||||||
|
|
||||||
static final byte[] line71 = new byte[] {
|
|
||||||
(byte)121,(byte)111,(byte)117,(byte)32,(byte)99,(byte)97,(byte)110,(byte)110,(byte)111,(byte)116,
|
|
||||||
(byte)32,(byte)117,(byte)115,(byte)101,(byte)32,(byte)116,(byte)104,(byte)105,(byte)115,(byte)32,
|
|
||||||
(byte)115,(byte)111,(byte)102,(byte)116,(byte)119,(byte)97,(byte)114,(byte)101,(byte)32,(byte)105,
|
|
||||||
(byte)102,(byte)32,(byte)121,(byte)111,(byte)117,(byte)32,(byte)100,(byte)111,(byte)32,(byte)110,
|
|
||||||
(byte)111,(byte)116,(byte)32,(byte)97,(byte)99,(byte)99,(byte)101,(byte)112,(byte)116
|
|
||||||
};
|
|
||||||
|
|
||||||
static final byte[] line72 = new byte[] {
|
|
||||||
(byte)114,(byte)101,(byte)102,(byte)114,(byte)101,(byte)115,(byte)104,(byte)32,(byte)116,(byte)104,
|
|
||||||
(byte)101,(byte)32,(byte)112,(byte)97,(byte)103,(byte)101,(byte)32,(byte)116,(byte)111,(byte)32,
|
|
||||||
(byte)116,(byte)114,(byte)121,(byte)32,(byte)97,(byte)103,(byte)97,(byte)105,(byte)110
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,101 +0,0 @@
|
||||||
package net.lax1dude.eaglercraft;
|
|
||||||
|
|
||||||
import net.minecraft.src.GuiButton;
|
|
||||||
import net.minecraft.src.GuiScreen;
|
|
||||||
|
|
||||||
public class GuiScreenLicense extends GuiScreen {
|
|
||||||
|
|
||||||
private final GuiScreen continueScreen;
|
|
||||||
private boolean hasCheckedBox = false;
|
|
||||||
private int beginOffset = 0;
|
|
||||||
private GuiButton acceptButton;
|
|
||||||
|
|
||||||
public GuiScreenLicense(GuiScreen scr) {
|
|
||||||
continueScreen = scr;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void initGui() {
|
|
||||||
beginOffset = this.height / 2 - 100;
|
|
||||||
if(beginOffset < 5) {
|
|
||||||
beginOffset = 5;
|
|
||||||
}
|
|
||||||
this.buttonList.add(new GuiButton(1, this.width / 2 - 120, beginOffset + 180, 115, 20, new String(GuiScreenChangeWorldTimeout.line61)));
|
|
||||||
this.buttonList.add(acceptButton = new GuiButton(2, this.width / 2 + 5, beginOffset + 180, 115, 20, new String(GuiScreenChangeWorldTimeout.line60)));
|
|
||||||
acceptButton.enabled = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected void actionPerformed(GuiButton par1GuiButton) {
|
|
||||||
if(par1GuiButton.id == 2) {
|
|
||||||
LocalStorageManager.profileSettingsStorage.setBoolean("acceptLicense", true);
|
|
||||||
LocalStorageManager.saveStorageP();
|
|
||||||
mc.displayGuiScreen(continueScreen);
|
|
||||||
}else if(par1GuiButton.id == 1) {
|
|
||||||
mc.displayGuiScreen(new GuiScreenLicenseDeclined());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final TextureLocation beaconx = new TextureLocation("/gui/beacon.png");
|
|
||||||
|
|
||||||
public void drawScreen(int mx, int my, float par3) {
|
|
||||||
drawDefaultBackground();
|
|
||||||
acceptButton.enabled = hasCheckedBox;
|
|
||||||
super.drawScreen(mx, my, par3);
|
|
||||||
|
|
||||||
EaglerAdapter.glPushMatrix();
|
|
||||||
EaglerAdapter.glScalef(1.33f, 1.33f, 1.33f);
|
|
||||||
drawCenteredString(fontRenderer, new String(GuiScreenChangeWorldTimeout.line00), width * 3 / 8, beginOffset * 3 / 4, 0xDDDD55);
|
|
||||||
EaglerAdapter.glPopMatrix();
|
|
||||||
|
|
||||||
drawCenteredString(fontRenderer, new String(GuiScreenChangeWorldTimeout.line10), width / 2, beginOffset + 22, 0xFF7777);
|
|
||||||
drawCenteredString(fontRenderer, new String(GuiScreenChangeWorldTimeout.line11), width / 2, beginOffset + 33, 0xFF7777);
|
|
||||||
drawCenteredString(fontRenderer, new String(GuiScreenChangeWorldTimeout.line12), width / 2, beginOffset + 44, 0xFF7777);
|
|
||||||
|
|
||||||
drawCenteredString(fontRenderer, new String(GuiScreenChangeWorldTimeout.line20), width / 2, beginOffset + 62, 0x448844);
|
|
||||||
drawCenteredString(fontRenderer, new String(GuiScreenChangeWorldTimeout.line21), width / 2, beginOffset + 71, 0x448844);
|
|
||||||
|
|
||||||
EaglerAdapter.glPushMatrix();
|
|
||||||
EaglerAdapter.glScalef(0.75f, 0.75f, 0.75f);
|
|
||||||
drawCenteredString(fontRenderer, new String(GuiScreenChangeWorldTimeout.line30), width * 4 / 6, (beginOffset + 89) * 4 / 3, 0x666666);
|
|
||||||
drawCenteredString(fontRenderer, new String(GuiScreenChangeWorldTimeout.line31), width * 4 / 6, (beginOffset + 97) * 4 / 3, 0x999999);
|
|
||||||
drawCenteredString(fontRenderer, new String(GuiScreenChangeWorldTimeout.line32), width * 4 / 6, (beginOffset + 105) * 4 / 3, 0x999999);
|
|
||||||
EaglerAdapter.glPopMatrix();
|
|
||||||
|
|
||||||
drawCenteredString(fontRenderer, new String(GuiScreenChangeWorldTimeout.line40), width / 2, beginOffset + 120, 0xFF7777);
|
|
||||||
|
|
||||||
boolean mouseOverCheck = width / 2 - 100 < mx && width / 2 - 83 > mx && beginOffset + 142 < my && beginOffset + 159 > my;
|
|
||||||
|
|
||||||
if(mouseOverCheck) {
|
|
||||||
EaglerAdapter.glColor4f(0.7f, 0.7f, 1.0f, 1.0f);
|
|
||||||
}else {
|
|
||||||
EaglerAdapter.glColor4f(0.6f, 0.6f, 0.6f, 1.0f);
|
|
||||||
}
|
|
||||||
|
|
||||||
beaconx.bindTexture();
|
|
||||||
|
|
||||||
EaglerAdapter.glPushMatrix();
|
|
||||||
EaglerAdapter.glScalef(0.75f, 0.75f, 0.75f);
|
|
||||||
drawTexturedModalRect((width / 2 - 100) * 4 / 3, (beginOffset + 142) * 4 / 3, 22, 219, 22, 22);
|
|
||||||
EaglerAdapter.glPopMatrix();
|
|
||||||
|
|
||||||
if(hasCheckedBox) {
|
|
||||||
EaglerAdapter.glPushMatrix();
|
|
||||||
EaglerAdapter.glColor4f(1.1f, 1.1f, 1.1f, 1.0f);
|
|
||||||
EaglerAdapter.glTranslatef(0.5f, 0.5f, 0.0f);
|
|
||||||
drawTexturedModalRect((width / 2 - 100), (beginOffset + 142), 90, 222, 16, 16);
|
|
||||||
EaglerAdapter.glPopMatrix();
|
|
||||||
}
|
|
||||||
|
|
||||||
EaglerAdapter.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
|
|
||||||
|
|
||||||
drawString(fontRenderer, new String(GuiScreenChangeWorldTimeout.line50), width / 2 - 75, beginOffset + 147, 0xEEEEEE);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected void mouseClicked(int par1, int par2, int par3) {
|
|
||||||
super.mouseClicked(par1, par2, par3);
|
|
||||||
if(width / 2 - 100 < par1 && width / 2 - 83 > par1 && beginOffset + 142 < par2 && beginOffset + 159 > par2) {
|
|
||||||
this.mc.sndManager.playSoundFX("random.click", 1.0F, 1.0F);
|
|
||||||
hasCheckedBox = !hasCheckedBox;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,13 +0,0 @@
|
||||||
package net.lax1dude.eaglercraft;
|
|
||||||
|
|
||||||
import net.minecraft.src.GuiScreen;
|
|
||||||
|
|
||||||
public class GuiScreenLicenseDeclined extends GuiScreen {
|
|
||||||
|
|
||||||
public void drawScreen(int mx, int my, float par3) {
|
|
||||||
this.drawDefaultBackground();
|
|
||||||
drawCenteredString(fontRenderer, new String(GuiScreenChangeWorldTimeout.line70), width / 2, height / 3 - 10, 0xFFFFFF);
|
|
||||||
drawCenteredString(fontRenderer, new String(GuiScreenChangeWorldTimeout.line71), width / 2, height / 3 + 18, 0xFF7777);
|
|
||||||
drawCenteredString(fontRenderer, new String(GuiScreenChangeWorldTimeout.line72), width / 2, height / 3 + 35, 0x666666);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -102,7 +102,7 @@ public class EffectPipelineFXAA {
|
||||||
_wglTexParameteri(_wGL_TEXTURE_2D, _wGL_TEXTURE_MIN_FILTER, _wGL_NEAREST);
|
_wglTexParameteri(_wGL_TEXTURE_2D, _wGL_TEXTURE_MIN_FILTER, _wGL_NEAREST);
|
||||||
_wglTexParameteri(_wGL_TEXTURE_2D, _wGL_TEXTURE_WRAP_S, _wGL_CLAMP);
|
_wglTexParameteri(_wGL_TEXTURE_2D, _wGL_TEXTURE_WRAP_S, _wGL_CLAMP);
|
||||||
_wglTexParameteri(_wGL_TEXTURE_2D, _wGL_TEXTURE_WRAP_T, _wGL_CLAMP);
|
_wglTexParameteri(_wGL_TEXTURE_2D, _wGL_TEXTURE_WRAP_T, _wGL_CLAMP);
|
||||||
_wglTexImage2D(_wGL_TEXTURE_2D, 0, _wGL_RGB8, width, height, 0, _wGL_RGB, _wGL_UNSIGNED_BYTE, (ByteBuffer)null);
|
_wglTexImage2D(_wGL_TEXTURE_2D, 0, _wGL_RGBA8, width, height, 0, _wGL_RGBA, _wGL_UNSIGNED_BYTE, (ByteBuffer)null);
|
||||||
|
|
||||||
|
|
||||||
framebuffer_depth = _wglCreateRenderBuffer();
|
framebuffer_depth = _wglCreateRenderBuffer();
|
||||||
|
@ -122,7 +122,7 @@ public class EffectPipelineFXAA {
|
||||||
framebuffer_depth = _wglCreateRenderBuffer();
|
framebuffer_depth = _wglCreateRenderBuffer();
|
||||||
_wglBindFramebuffer(_wGL_FRAMEBUFFER, framebuffer);
|
_wglBindFramebuffer(_wGL_FRAMEBUFFER, framebuffer);
|
||||||
_wglBindRenderbuffer(framebuffer_color);
|
_wglBindRenderbuffer(framebuffer_color);
|
||||||
_wglRenderbufferStorageMultisample(state == 2 ? 4 : 8, _wGL_RGB8, width, height);
|
_wglRenderbufferStorageMultisample(state == 2 ? 4 : 8, _wGL_RGBA8, width, height);
|
||||||
_wglBindRenderbuffer(framebuffer_depth);
|
_wglBindRenderbuffer(framebuffer_depth);
|
||||||
_wglRenderbufferStorageMultisample(state == 2 ? 4 : 8, _wGL_DEPTH_COMPONENT32F, width, height);
|
_wglRenderbufferStorageMultisample(state == 2 ? 4 : 8, _wGL_DEPTH_COMPONENT32F, width, height);
|
||||||
_wglFramebufferRenderbuffer(_wGL_COLOR_ATTACHMENT0, framebuffer_color);
|
_wglFramebufferRenderbuffer(_wGL_COLOR_ATTACHMENT0, framebuffer_color);
|
||||||
|
@ -174,7 +174,7 @@ public class EffectPipelineFXAA {
|
||||||
initFXAA();
|
initFXAA();
|
||||||
}else {
|
}else {
|
||||||
glBindTexture(_wGL_TEXTURE_2D, fxaaSourceTexture);
|
glBindTexture(_wGL_TEXTURE_2D, fxaaSourceTexture);
|
||||||
_wglTexImage2D(_wGL_TEXTURE_2D, 0, _wGL_RGB8, width, height, 0, _wGL_RGB, _wGL_UNSIGNED_BYTE, (ByteBuffer)null);
|
_wglTexImage2D(_wGL_TEXTURE_2D, 0, _wGL_RGBA8, width, height, 0, _wGL_RGBA, _wGL_UNSIGNED_BYTE, (ByteBuffer)null);
|
||||||
_wglBindRenderbuffer(framebuffer_depth);
|
_wglBindRenderbuffer(framebuffer_depth);
|
||||||
_wglRenderbufferStorage(_wGL_DEPTH_COMPONENT32F, width, height);
|
_wglRenderbufferStorage(_wGL_DEPTH_COMPONENT32F, width, height);
|
||||||
}
|
}
|
||||||
|
@ -183,7 +183,7 @@ public class EffectPipelineFXAA {
|
||||||
initMSAA();
|
initMSAA();
|
||||||
}else {
|
}else {
|
||||||
_wglBindRenderbuffer(framebuffer_color);
|
_wglBindRenderbuffer(framebuffer_color);
|
||||||
_wglRenderbufferStorageMultisample(state == 2 ? 4 : 8, _wGL_RGB8, width, height);
|
_wglRenderbufferStorageMultisample(state == 2 ? 4 : 8, _wGL_RGBA8, width, height);
|
||||||
_wglBindRenderbuffer(framebuffer_depth);
|
_wglBindRenderbuffer(framebuffer_depth);
|
||||||
_wglRenderbufferStorageMultisample(state == 2 ? 4 : 8, _wGL_DEPTH_COMPONENT32F, width, height);
|
_wglRenderbufferStorageMultisample(state == 2 ? 4 : 8, _wGL_DEPTH_COMPONENT32F, width, height);
|
||||||
}
|
}
|
||||||
|
@ -224,7 +224,7 @@ public class EffectPipelineFXAA {
|
||||||
_wglViewport(originalViewport[0], originalViewport[1], originalViewport[2], originalViewport[3]);
|
_wglViewport(originalViewport[0], originalViewport[1], originalViewport[2], originalViewport[3]);
|
||||||
_wglBindFramebuffer(_wGL_READ_FRAMEBUFFER, framebuffer);
|
_wglBindFramebuffer(_wGL_READ_FRAMEBUFFER, framebuffer);
|
||||||
_wglBindFramebuffer(_wGL_DRAW_FRAMEBUFFER, null);
|
_wglBindFramebuffer(_wGL_DRAW_FRAMEBUFFER, null);
|
||||||
_wglDrawBuffer(_wGL_BACK);
|
_wglDrawBuffer(_wGL_COLOR_ATTACHMENT0);
|
||||||
_wglBlitFramebuffer(0, 0, width, height, 0, 0, width, height, _wGL_COLOR_BUFFER_BIT, _wGL_NEAREST);
|
_wglBlitFramebuffer(0, 0, width, height, 0, 0, width, height, _wGL_COLOR_BUFFER_BIT, _wGL_NEAREST);
|
||||||
_wglBindFramebuffer(_wGL_READ_FRAMEBUFFER, null);
|
_wglBindFramebuffer(_wGL_READ_FRAMEBUFFER, null);
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,13 +11,11 @@ import net.lax1dude.eaglercraft.DefaultSkinRenderer;
|
||||||
import net.lax1dude.eaglercraft.EaglerAdapter;
|
import net.lax1dude.eaglercraft.EaglerAdapter;
|
||||||
import net.lax1dude.eaglercraft.EaglerProfile;
|
import net.lax1dude.eaglercraft.EaglerProfile;
|
||||||
import net.lax1dude.eaglercraft.GuiScreenEditProfile;
|
import net.lax1dude.eaglercraft.GuiScreenEditProfile;
|
||||||
import net.lax1dude.eaglercraft.GuiScreenLicense;
|
|
||||||
import net.lax1dude.eaglercraft.GuiScreenSingleplayerConnecting;
|
import net.lax1dude.eaglercraft.GuiScreenSingleplayerConnecting;
|
||||||
import net.lax1dude.eaglercraft.GuiScreenSingleplayerLoading;
|
import net.lax1dude.eaglercraft.GuiScreenSingleplayerLoading;
|
||||||
import net.lax1dude.eaglercraft.GuiVoiceOverlay;
|
import net.lax1dude.eaglercraft.GuiVoiceOverlay;
|
||||||
import net.lax1dude.eaglercraft.IntegratedServer;
|
import net.lax1dude.eaglercraft.IntegratedServer;
|
||||||
import net.lax1dude.eaglercraft.IntegratedServerLAN;
|
import net.lax1dude.eaglercraft.IntegratedServerLAN;
|
||||||
import net.lax1dude.eaglercraft.LocalStorageManager;
|
|
||||||
import net.lax1dude.eaglercraft.Voice;
|
import net.lax1dude.eaglercraft.Voice;
|
||||||
import net.lax1dude.eaglercraft.WorkerNetworkManager;
|
import net.lax1dude.eaglercraft.WorkerNetworkManager;
|
||||||
import net.lax1dude.eaglercraft.adapter.SimpleStorage;
|
import net.lax1dude.eaglercraft.adapter.SimpleStorage;
|
||||||
|
@ -354,10 +352,6 @@ public class Minecraft implements Runnable {
|
||||||
scr = new GuiScreenEditProfile(new GuiMainMenu());
|
scr = new GuiScreenEditProfile(new GuiMainMenu());
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!LocalStorageManager.profileSettingsStorage.getBoolean("acceptLicense")) {
|
|
||||||
scr = new GuiScreenLicense(scr);
|
|
||||||
}
|
|
||||||
|
|
||||||
displayGuiScreen(scr);
|
displayGuiScreen(scr);
|
||||||
|
|
||||||
this.loadingScreen = new LoadingScreenRenderer(this);
|
this.loadingScreen = new LoadingScreenRenderer(this);
|
||||||
|
|
|
@ -117,24 +117,26 @@ public class Gui {
|
||||||
public void drawTexturedModalRect(int par1, int par2, int par3, int par4, int par5, int par6) {
|
public void drawTexturedModalRect(int par1, int par2, int par3, int par4, int par5, int par6) {
|
||||||
float var7 = 0.00390625F;
|
float var7 = 0.00390625F;
|
||||||
float var8 = 0.00390625F;
|
float var8 = 0.00390625F;
|
||||||
|
float fuck = 0.0001953125F;
|
||||||
Tessellator var9 = Tessellator.instance;
|
Tessellator var9 = Tessellator.instance;
|
||||||
var9.startDrawingQuads();
|
var9.startDrawingQuads();
|
||||||
var9.addVertexWithUV((double) (par1 + 0), (double) (par2 + par6), (double) this.zLevel, (double) ((float) (par3 + 0) * var7), (double) ((float) (par4 + par6) * var8));
|
var9.addVertexWithUV((double) (par1 + 0 + fuck), (double) (par2 + par6 - fuck), (double) this.zLevel, (double) ((float) (par3 + 0 + fuck) * var7), (double) ((float) (par4 + par6 - fuck) * var8));
|
||||||
var9.addVertexWithUV((double) (par1 + par5), (double) (par2 + par6), (double) this.zLevel, (double) ((float) (par3 + par5) * var7), (double) ((float) (par4 + par6) * var8));
|
var9.addVertexWithUV((double) (par1 + par5 - fuck), (double) (par2 + par6 - fuck), (double) this.zLevel, (double) ((float) (par3 + par5 - fuck) * var7), (double) ((float) (par4 + par6 - fuck) * var8));
|
||||||
var9.addVertexWithUV((double) (par1 + par5), (double) (par2 + 0), (double) this.zLevel, (double) ((float) (par3 + par5) * var7), (double) ((float) (par4 + 0) * var8));
|
var9.addVertexWithUV((double) (par1 + par5 - fuck), (double) (par2 + 0 + fuck), (double) this.zLevel, (double) ((float) (par3 + par5 - fuck) * var7), (double) ((float) (par4 + 0 + fuck) * var8));
|
||||||
var9.addVertexWithUV((double) (par1 + 0), (double) (par2 + 0), (double) this.zLevel, (double) ((float) (par3 + 0) * var7), (double) ((float) (par4 + 0) * var8));
|
var9.addVertexWithUV((double) (par1 + 0 + fuck), (double) (par2 + 0 + fuck), (double) this.zLevel, (double) ((float) (par3 + 0 + fuck) * var7), (double) ((float) (par4 + 0 + fuck) * var8));
|
||||||
var9.draw();
|
var9.draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void static_drawTexturedModalRect(int par1, int par2, int par3, int par4, int par5, int par6) {
|
public static void static_drawTexturedModalRect(int par1, int par2, int par3, int par4, int par5, int par6) {
|
||||||
float var7 = 0.00390625F;
|
float var7 = 0.00390625F;
|
||||||
float var8 = 0.00390625F;
|
float var8 = 0.00390625F;
|
||||||
|
float fuck = 0.0001953125F;
|
||||||
Tessellator var9 = Tessellator.instance;
|
Tessellator var9 = Tessellator.instance;
|
||||||
var9.startDrawingQuads();
|
var9.startDrawingQuads();
|
||||||
var9.addVertexWithUV((double) (par1 + 0), (double) (par2 + par6), 0.0D, (double) ((float) (par3 + 0) * var7), (double) ((float) (par4 + par6) * var8));
|
var9.addVertexWithUV((double) (par1 + 0 + fuck), (double) (par2 + par6 - fuck), (double) 0.0D, (double) ((float) (par3 + 0 + fuck) * var7), (double) ((float) (par4 + par6 - fuck) * var8));
|
||||||
var9.addVertexWithUV((double) (par1 + par5), (double) (par2 + par6), 0.0D, (double) ((float) (par3 + par5) * var7), (double) ((float) (par4 + par6) * var8));
|
var9.addVertexWithUV((double) (par1 + par5 - fuck), (double) (par2 + par6 - fuck), (double) 0.0D, (double) ((float) (par3 + par5 - fuck) * var7), (double) ((float) (par4 + par6 - fuck) * var8));
|
||||||
var9.addVertexWithUV((double) (par1 + par5), (double) (par2 + 0), 0.0D, (double) ((float) (par3 + par5) * var7), (double) ((float) (par4 + 0) * var8));
|
var9.addVertexWithUV((double) (par1 + par5 - fuck), (double) (par2 + 0 + fuck), (double) 0.0D, (double) ((float) (par3 + par5 - fuck) * var7), (double) ((float) (par4 + 0 + fuck) * var8));
|
||||||
var9.addVertexWithUV((double) (par1 + 0), (double) (par2 + 0), 0.0D, (double) ((float) (par3 + 0) * var7), (double) ((float) (par4 + 0) * var8));
|
var9.addVertexWithUV((double) (par1 + 0 + fuck), (double) (par2 + 0 + fuck), (double) 0.0D, (double) ((float) (par3 + 0 + fuck) * var7), (double) ((float) (par4 + 0 + fuck) * var8));
|
||||||
var9.draw();
|
var9.draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
37707
stable-download/Offline_Download_Version.html
vendored
37707
stable-download/Offline_Download_Version.html
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -15,9 +15,7 @@ To correctly download this file on google drive, press the download button at th
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
Visit this link to check for newer versions of this file:
|
Eaglercraft 1.5.2 is no longer under development
|
||||||
|
|
||||||
https://github.com/LAX1DUDE/eaglercraft/blob/main/stable-download/Offline_Download_Version.html
|
|
||||||
|
|
||||||
This version of eaglercraft you are using right now is from ${date}
|
This version of eaglercraft you are using right now is from ${date}
|
||||||
|
|
||||||
|
@ -164,7 +162,7 @@ function countdown() {
|
||||||
<body style="margin:0px;width:100vw;height:100vh;font-family:sans-serif;" id="game_frame">
|
<body style="margin:0px;width:100vw;height:100vh;font-family:sans-serif;" id="game_frame">
|
||||||
<div id="locally" style="text-align:center;">
|
<div id="locally" style="text-align:center;">
|
||||||
<div style="height:5vh;"></div>
|
<div style="height:5vh;"></div>
|
||||||
<h2>you are running eaglercraft locally, check <a href="https://github.com/LAX1DUDE/eaglercraft/blob/main/stable-download/Offline_Download_Version.html" target="_blank">this link</a> regularly for an updated version</h2>
|
<h2>Eaglercraft 1.5.2 Service Pack #1</h2>
|
||||||
<h3>the version you are currently using is from <span style="color:#cc0000;font-size:larger;">${date}</span></h3>
|
<h3>the version you are currently using is from <span style="color:#cc0000;font-size:larger;">${date}</span></h3>
|
||||||
<p id="countdown" style="text-align:center;">(Game will launch in 5)</p>
|
<p id="countdown" style="text-align:center;">(Game will launch in 5)</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user