diff options
| author | Quietust | 2012-01-19 14:11:52 -0600 |
|---|---|---|
| committer | Quietust | 2012-01-19 14:11:52 -0600 |
| commit | 4bb724cd6c16fc8c06069183883d8af70e19a0ef (patch) | |
| tree | c6682e3c9be2e4e1124f75f533bdaf6023ff8313 /plugins/autodump.cpp | |
| parent | e2d7359bdd51a345ddf900bad0487ce3de29d346 (diff) | |
| download | dfhack-4bb724cd6c16fc8c06069183883d8af70e19a0ef.tar.gz dfhack-4bb724cd6c16fc8c06069183883d8af70e19a0ef.tar.bz2 dfhack-4bb724cd6c16fc8c06069183883d8af70e19a0ef.tar.xz | |
Significant cleanup of Maps module - next step will be to kill it properly
Diffstat (limited to 'plugins/autodump.cpp')
| -rw-r--r-- | plugins/autodump.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/autodump.cpp b/plugins/autodump.cpp index a7cebf7b..e7775d36 100644 --- a/plugins/autodump.cpp +++ b/plugins/autodump.cpp @@ -185,8 +185,8 @@ static command_result autodump_main(Core * c, vector <string> & parameters) { // yes... cerr << "Moving from block to block!" << endl; - df_block * bl_src = Maps->getBlock(itm->pos.x /16, itm->pos.y/16, itm->pos.z); - df_block * bl_tgt = Maps->getBlock(cx /16, cy/16, cz); + df::map_block * bl_src = Maps->getBlock(itm->pos.x /16, itm->pos.y/16, itm->pos.z); + df::map_block * bl_tgt = Maps->getBlock(cx /16, cy/16, cz); if(bl_src) { std::remove(bl_src->items.begin(), bl_src->items.end(),itm->id); @@ -234,7 +234,7 @@ static command_result autodump_main(Core * c, vector <string> & parameters) { if(it->second == 0) { - t_occupancy occ = MC.occupancyAt(it->first); + df::tile_occupancy occ = MC.occupancyAt(it->first); occ.bits.item = false; MC.setOccupancyAt(it->first, occ); } @@ -247,7 +247,7 @@ static command_result autodump_main(Core * c, vector <string> & parameters) Block * b = MC.BlockAt(pos_cursor / 16); if(b) { - t_occupancy occ = MC.occupancyAt(pos_cursor); + df::tile_occupancy occ = MC.occupancyAt(pos_cursor); occ.bits.item = 1; MC.setOccupancyAt(pos_cursor,occ); } |
