mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-09 13:21:51 +09:00
backend stuffs in the Terrarum moved to the AppLoader
This commit is contained in:
@@ -236,6 +236,8 @@ public class AppLoader implements ApplicationListener {
|
||||
private static Screen currenScreen;
|
||||
public static int screenW = 0;
|
||||
public static int screenH = 0;
|
||||
public static int halfScreenW = 0;
|
||||
public static int halfScreenH = 0;
|
||||
|
||||
public static Texture textureWhiteSquare;
|
||||
public static Texture textureWhiteCircle;
|
||||
@@ -582,6 +584,9 @@ public class AppLoader implements ApplicationListener {
|
||||
appConfig.width = screenW;
|
||||
appConfig.height = screenH;
|
||||
|
||||
halfScreenW = screenW / 2;
|
||||
halfScreenH = screenH / 2;
|
||||
|
||||
updateFullscreenQuad(screenW, screenH);
|
||||
|
||||
printdbg(this, "Resize end");
|
||||
|
||||
Reference in New Issue
Block a user