|
|
|
@ -101,6 +101,7 @@ using namespace df::global;
|
|
|
|
|
REQUIRE_GLOBAL(world);
|
|
|
|
|
REQUIRE_GLOBAL(gps);
|
|
|
|
|
REQUIRE_GLOBAL(ui);
|
|
|
|
|
REQUIRE_GLOBAL(gamemode);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// Here go all the command declarations...
|
|
|
|
@ -1171,6 +1172,10 @@ void CopyDesignation(df::map_block * DfBlock, RemoteFortressReader::MapBlock * N
|
|
|
|
|
NetBlock->add_subterranean(designation.bits.subterranean);
|
|
|
|
|
NetBlock->add_water_salt(designation.bits.water_salt);
|
|
|
|
|
NetBlock->add_water_stagnant(designation.bits.water_stagnant);
|
|
|
|
|
if(gamemode && (*gamemode == game_mode::ADVENTURE))
|
|
|
|
|
NetBlock->add_tile_dig_designation(TileDigDesignation::NO_DIG);
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
switch (designation.bits.dig)
|
|
|
|
|
{
|
|
|
|
|
case df::enums::tile_dig_designation::No:
|
|
|
|
@ -1199,6 +1204,7 @@ void CopyDesignation(df::map_block * DfBlock, RemoteFortressReader::MapBlock * N
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CopyBuildings(df::map_block * DfBlock, RemoteFortressReader::MapBlock * NetBlock, MapExtras::MapCache * MC, DFCoord pos)
|
|
|
|
|