Many new modding improvements
This commit is contained in:
@@ -178,7 +178,7 @@ public class Conveyor extends Block implements Autotiler{
|
||||
float mspeed = speed * tilesize * 55f;
|
||||
float centerSpeed = 0.1f;
|
||||
float centerDstScl = 3f;
|
||||
float tx = Geometry.d4x[rotation], ty = Geometry.d4y[rotation];
|
||||
float tx = Geometry.d4x(rotation), ty = Geometry.d4y(rotation);
|
||||
|
||||
float centerx = 0f, centery = 0f;
|
||||
|
||||
|
||||
@@ -207,7 +207,6 @@ public class LogicBlock extends Block{
|
||||
stream.readInt();
|
||||
}
|
||||
}else{
|
||||
|
||||
for(int i = 0; i < total; i++){
|
||||
String name = stream.readUTF();
|
||||
short x = stream.readShort(), y = stream.readShort();
|
||||
@@ -290,6 +289,7 @@ public class LogicBlock extends Block{
|
||||
}
|
||||
|
||||
asm.putConst("@links", executor.links.length);
|
||||
asm.putConst("@ipt", instructionsPerTick);
|
||||
|
||||
//store any older variables
|
||||
for(Var var : executor.vars){
|
||||
|
||||
Reference in New Issue
Block a user