139 public void FlattenHeight()
143 c.height = (byte)this.flatHeight;
145 EMono._map.RefreshAllTiles();
149 public void FillFloor()
153 int dir = this.randomFillDir ?
EMono.rnd(4) : 0;
154 EMono._map.SetFloor((
int)c.x, (
int)c.z,
EMono.sources.floors.rows[
this.fillFloor].DefaultMaterial.id,
this.fillFloor, dir);
159 public void FillBlock()
163 int dir = this.randomFillDir ?
EMono.rnd(4) : 0;
164 EMono._map.SetBlock((
int)c.x, (
int)c.z,
EMono.sources.blocks.rows[
this.fillBlock].DefaultMaterial.id,
this.fillBlock, dir);
169 public void ClearBlock()
173 EMono._map.SetBlock((
int)c.x, (
int)c.z, 0, 0);
178 public void ClearObj()
182 EMono._map.SetObj((
int)c.x, (
int)c.z, 0, 1, 0);
187 public void ClearBridge()
191 EMono._map.SetObj((
int)c.x, (
int)c.z, 0, 1, 0);
196 public int flatHeight;
199 public int fillFloor = 5;
202 public int fillBlock = 1;
205 public bool randomFillDir;