@@ -31,7 +31,7 @@ public class Scene {
31
31
public static int [] WALL_CORNER_TYPE_64_BLOCK_OBJ_SPANS = new int []{0 , 4 , 4 , 8 , 0 , 0 , 8 , 0 , 0 };
32
32
public static int [] WALL_CORNER_TYPE_128_BLOCK_OBJ_SPANS = new int []{1 , 1 , 0 , 0 , 0 , 8 , 0 , 0 , 8 };
33
33
34
-
34
+
35
35
private static final int TILE_DRAW_DISTANCE = 75 ;
36
36
public static boolean [][] TILE_VISIBILITY_MAP ;
37
37
public static boolean [][][][] TILE_VISIBILITY_MAPS = new boolean [8 ][32 ][(TILE_DRAW_DISTANCE * 2 ) + 1 ][(TILE_DRAW_DISTANCE * 2 ) + 1 ];
@@ -65,11 +65,6 @@ public class Scene {
65
65
public static int drawHeight ;
66
66
public static int drawHeightMidpoint ;
67
67
public static int drawWidth ;
68
- public static int [] screenY = new int [6 ];
69
- public static int [] viewspaceZ = new int [6 ];
70
- public static int [] screenX = new int [6 ];
71
- public static int [] viewspaceX = new int [6 ];
72
- public static int [] viewspaceY = new int [6 ];
73
68
74
69
public SceneTile [][][] tileArray ;
75
70
public int [][][] tileOcclusionCycles ;
@@ -81,6 +76,12 @@ public class Scene {
81
76
public int [] mergeIndexA = new int [10000 ];
82
77
public int [] mergeIndexB = new int [10000 ];
83
78
79
+ private int [] screenX = new int [6 ];
80
+ private int [] screenY = new int [6 ];
81
+ private int [] viewspaceX = new int [6 ];
82
+ private int [] viewspaceZ = new int [6 ];
83
+ private int [] viewspaceY = new int [6 ];
84
+
84
85
private boolean clicked = false ;
85
86
private int clickX = 0 ;
86
87
private int clickY = 0 ;
0 commit comments