refactor replaystuff cursor drawing

This commit is contained in:
yugecin
2018-10-26 00:05:59 +02:00
parent a3c1cfad9e
commit 2b83657907
6 changed files with 192 additions and 105 deletions

View File

@@ -174,6 +174,7 @@ public class DisplayContainer implements ErrorDumpable, SkinChangedListener {
public void run() throws Exception {
while(!exitRequested && !(Display.isCloseRequested() && state.onCloseRequest()) || !confirmExit()) {
nowtime = System.currentTimeMillis();
delta = getDelta();
timeSinceLastRender += delta;

View File

@@ -82,6 +82,7 @@ public class InstanceContainer {
public static boolean isWidescreen;
public static int mouseX, mouseY;
public static int renderDelta;
public static long nowtime;
public static void kickstart() {
updater = new Updater();