diff --git a/Meteo_Engine.jar b/Meteo_Engine.jar index 40eda47..7636ae0 100644 Binary files a/Meteo_Engine.jar and b/Meteo_Engine.jar differ diff --git a/src/sig/BlockClump.java b/src/sig/BlockClump.java index b21ead8..f845ab2 100644 --- a/src/sig/BlockClump.java +++ b/src/sig/BlockClump.java @@ -11,8 +11,9 @@ public class BlockClump { double x,y; //the lower-left origin of this block clump. Every block positions relative to this. double yspd; int[][] collisionColumnRanges; + int maxBlockHeight=0; //Gives the height in blocks. So if the top is 0, this should be 1. int launched = 120; /* - Negative is for when block clumps are divided into smaller columns for re-sorting. + Negative is for when block clumps are divided into smaller columns for re-sorting. 0=Ready for split. -1=Ready for merging. -2=Merged (Dead clump) Positive is used for how much landing launch time before being split and falling.*/ public BlockClump(List blockList, double x, double y, double startspd, int width, int launched) { @@ -32,6 +33,7 @@ public class BlockClump { //Call this whenever the block structure changes. This will define what the top and bottom positions //of each vertical column are for faster collision checking. collisionColumnRanges = new int[collisionColumnRanges.length][]; + maxBlockHeight=0; for (int i=0;i