diff --git a/TODO b/TODO index a4590da..75e7fd1 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,3 @@ -Autodoze- - *Do not autodoze for roads,rails, or wire if not enough money to actually - build it - Micropolis::map[] array- *Consider changing type from 'char' to 'short' diff --git a/src/micropolisj/engine/MicropolisTool.java b/src/micropolisj/engine/MicropolisTool.java index 81cd5fe..3013e3c 100644 --- a/src/micropolisj/engine/MicropolisTool.java +++ b/src/micropolisj/engine/MicropolisTool.java @@ -458,26 +458,6 @@ public enum MicropolisTool } } - void autoDoze(Micropolis engine, int xpos, int ypos) - { - if (engine.autoBulldoze && engine.totalFunds > 0) - { - char tile = engine.getTile(xpos, ypos); - char ntile = neutralizeRoad(tile); - - if ((tile & BULLBIT) != 0 && - ((ntile >= TINYEXP && - ntile <= LASTTINYEXP) || - (ntile < HBRIDGE && ntile != DIRT) - ) - ) - { - engine.spend(1); - engine.setTile(xpos, ypos, DIRT); - } - } - } - ToolResult applyRailTool(Micropolis engine, int xpos, int ypos) { if (!engine.testBounds(xpos, ypos))