add @mapx/y to logic processor

This commit is contained in:
DeltaNedas 2020-11-18 23:22:11 +00:00
parent 2758e65e19
commit 4beca5e07d

View file

@ -305,6 +305,8 @@ public class LogicBlock extends Block{
}
}
asm.putConst("@mapx", world.width());
asm.putConst("@mapy", world.height());
asm.putConst("@links", executor.links.length);
asm.putConst("@ipt", instructionsPerTick);