Removed dynamic terrain
This commit is contained in:
@@ -20,7 +20,7 @@ gameover = Game Over
|
|||||||
gameover.pvp = The[accent] {0}[] team is victorious!
|
gameover.pvp = The[accent] {0}[] team is victorious!
|
||||||
highscore = [accent]New highscore!
|
highscore = [accent]New highscore!
|
||||||
copied = Copied.
|
copied = Copied.
|
||||||
indev.popup = [accent]v6[] is currently in [accent]beta[].\n[lightgray]This means:[]\n[scarlet]- The campaign is completely unfinished[]\n- SFX and music are unfinished/missing\n- Everything you see is subject to change or removal.\n\nReport bugs or crashes on [accent]Github[].
|
indev.popup = [accent]v6[] is currently in [accent]beta[].\n[lightgray]This means:[]\n[scarlet]- The campaign is unfinished[]\n- SFX and music are unfinished/missing\n- Everything you see is subject to change or removal.\n\nReport bugs or crashes on [accent]Github[].
|
||||||
indev.notready = This part of the game isn't ready yet
|
indev.notready = This part of the game isn't ready yet
|
||||||
|
|
||||||
load.sound = Sounds
|
load.sound = Sounds
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ public enum CacheLayer{
|
|||||||
endShader(Shaders.slag);
|
endShader(Shaders.slag);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
space(2){
|
space{
|
||||||
@Override
|
@Override
|
||||||
public void begin(){
|
public void begin(){
|
||||||
beginShader();
|
beginShader();
|
||||||
@@ -62,20 +62,10 @@ public enum CacheLayer{
|
|||||||
endShader(Shaders.space);
|
endShader(Shaders.space);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
normal(5),
|
normal,
|
||||||
walls(3);
|
walls;
|
||||||
|
|
||||||
public static final CacheLayer[] all = values();
|
public static final CacheLayer[] all = values();
|
||||||
/** Capacity multiplier. */
|
|
||||||
public final int capacity;
|
|
||||||
|
|
||||||
CacheLayer(){
|
|
||||||
this(3);
|
|
||||||
}
|
|
||||||
|
|
||||||
CacheLayer(int capacity){
|
|
||||||
this.capacity = capacity;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void begin(){
|
public void begin(){
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,8 @@ public class FloorRenderer implements Disposable{
|
|||||||
|
|
||||||
/**Queues up a cache change for a tile. Only runs in render loop. */
|
/**Queues up a cache change for a tile. Only runs in render loop. */
|
||||||
public void recacheTile(Tile tile){
|
public void recacheTile(Tile tile){
|
||||||
recacheSet.add(Point2.pack(tile.x / chunksize, tile.y / chunksize));
|
//currently a no-op
|
||||||
|
//recacheSet.add(Point2.pack(tile.x / chunksize, tile.y / chunksize));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void drawFloor(){
|
public void drawFloor(){
|
||||||
@@ -216,7 +217,6 @@ public class FloorRenderer implements Disposable{
|
|||||||
}
|
}
|
||||||
|
|
||||||
Core.batch = current;
|
Core.batch = current;
|
||||||
cbatch.reserve(layer.capacity * chunksize * chunksize);
|
|
||||||
chunk[layer.ordinal()] = cbatch.endCache();
|
chunk[layer.ordinal()] = cbatch.endCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user