mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-27 18:38:14 -05:00
Update #37 - Touch support without userscript, many other feats
This commit is contained in:
@ -10,12 +10,14 @@
|
||||
+ import java.io.IOException;
|
||||
+
|
||||
|
||||
> CHANGE 2 : 16 @ 2 : 15
|
||||
> CHANGE 2 : 18 @ 2 : 15
|
||||
|
||||
~
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EagRuntime;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglerXBungeeVersion;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.Keyboard;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.Mouse;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.cookie.ServerCookieDataStore;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.internal.EnumCursorType;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.log4j.LogManager;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.log4j.Logger;
|
||||
@ -80,7 +82,15 @@
|
||||
+ lanServerList.forceRefresh();
|
||||
+ }
|
||||
|
||||
> CHANGE 32 : 35 @ 32 : 36
|
||||
> INSERT 12 : 17 @ 12
|
||||
|
||||
+ public void handleTouchInput() throws IOException {
|
||||
+ super.handleTouchInput();
|
||||
+ this.serverListSelector.handleTouchInput();
|
||||
+ }
|
||||
+
|
||||
|
||||
> CHANGE 20 : 23 @ 20 : 24
|
||||
|
||||
~ this.savedServerList.updateServerPing();
|
||||
~ if (lanServerList.update()) {
|
||||
@ -111,7 +121,7 @@
|
||||
|
||||
> CHANGE 3 : 8 @ 3 : 4
|
||||
|
||||
~ long millis = System.currentTimeMillis();
|
||||
~ long millis = EagRuntime.steadyTimeMillis();
|
||||
~ if (millis - lastRefreshCommit > 700l) {
|
||||
~ lastRefreshCommit = millis;
|
||||
~ this.refreshServerList();
|
||||
@ -123,23 +133,35 @@
|
||||
|
||||
> CHANGE 14 : 19 @ 14 : 16
|
||||
|
||||
~ long millis = System.currentTimeMillis();
|
||||
~ long millis = EagRuntime.steadyTimeMillis();
|
||||
~ if (millis - lastRefreshCommit > 700l) {
|
||||
~ lastRefreshCommit = millis;
|
||||
~ this.refreshServerList();
|
||||
~ }
|
||||
|
||||
> CHANGE 15 : 20 @ 15 : 17
|
||||
> INSERT 10 : 13 @ 10
|
||||
|
||||
~ long millis = System.currentTimeMillis();
|
||||
+ if (!this.selectedServer.enableCookies) {
|
||||
+ ServerCookieDataStore.clearCookie(this.selectedServer.serverIP);
|
||||
+ }
|
||||
|
||||
> CHANGE 5 : 10 @ 5 : 7
|
||||
|
||||
~ long millis = EagRuntime.steadyTimeMillis();
|
||||
~ if (millis - lastRefreshCommit > 700l) {
|
||||
~ lastRefreshCommit = millis;
|
||||
~ this.refreshServerList();
|
||||
~ }
|
||||
|
||||
> CHANGE 10 : 15 @ 10 : 12
|
||||
> INSERT 6 : 9 @ 6
|
||||
|
||||
~ long millis = System.currentTimeMillis();
|
||||
+ if (serverdata.enableCookies && !this.selectedServer.enableCookies) {
|
||||
+ ServerCookieDataStore.clearCookie(this.selectedServer.serverIP);
|
||||
+ }
|
||||
|
||||
> CHANGE 4 : 9 @ 4 : 6
|
||||
|
||||
~ long millis = EagRuntime.steadyTimeMillis();
|
||||
~ if (millis - lastRefreshCommit > 700l) {
|
||||
~ lastRefreshCommit = millis;
|
||||
~ this.refreshServerList();
|
||||
@ -171,7 +193,11 @@
|
||||
+ relaysButton.drawScreen(i, j);
|
||||
+ drawPluginDownloadLink(i, j);
|
||||
|
||||
> INSERT 3 : 4 @ 3
|
||||
> INSERT 2 : 3 @ 2
|
||||
|
||||
+ GlStateManager.disableLighting();
|
||||
|
||||
> INSERT 1 : 2 @ 1
|
||||
|
||||
+ }
|
||||
|
||||
|
Reference in New Issue
Block a user