|
|
|
@ -65,13 +65,17 @@ int main (int argc, char** argv)
|
|
|
|
|
if(Mapz->isValidBlock(x,y,z))
|
|
|
|
|
{
|
|
|
|
|
Mapz->ReadVeins(x,y,z,0,0,&splatter);
|
|
|
|
|
/*
|
|
|
|
|
* FIXME: THIS IS BAD
|
|
|
|
|
*/
|
|
|
|
|
/*
|
|
|
|
|
Mapz->ReadOccupancy(x,y,z,&occ);
|
|
|
|
|
for(int i = 0; i < 16; i++)
|
|
|
|
|
for(int j = 0; j < 16; j++)
|
|
|
|
|
{
|
|
|
|
|
occ[i][j].unibits.splatter = 0;
|
|
|
|
|
}
|
|
|
|
|
Mapz->WriteOccupancy(x,y,z,&occ);
|
|
|
|
|
Mapz->WriteOccupancy(x,y,z,&occ);*/
|
|
|
|
|
for(uint32_t i = 0; i < splatter.size(); i++)
|
|
|
|
|
{
|
|
|
|
|
DFHack::t_spattervein & vein = splatter[i];
|
|
|
|
|