|
|
|
@ -1,6 +1,8 @@
|
|
|
|
|
// This will create 7 deep magama on the square the cursor is on. It does not
|
|
|
|
|
// enable magma buildings at this time.
|
|
|
|
|
|
|
|
|
|
// TO BE DEPRECATED SOON.
|
|
|
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <map>
|
|
|
|
@ -230,7 +232,6 @@ int main (void)
|
|
|
|
|
cout << "sizeof(tiletypes) = " << sizeof(tiles) << endl;
|
|
|
|
|
for(uint32_t xx = 0; xx < 16; xx++) for(uint32_t yy = 0; yy < 16; yy++)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
cout<< xx << " " << yy <<": " << tiles[xx][yy] << endl;
|
|
|
|
|
tiles[xx][yy] = 335;// 45
|
|
|
|
|
DFHack::naked_designation & des = designations[xx][yy].bits;
|
|
|
|
@ -240,10 +241,8 @@ int main (void)
|
|
|
|
|
des.skyview = 0;
|
|
|
|
|
des.light = 0;
|
|
|
|
|
des.subterranean = 1;
|
|
|
|
|
|
|
|
|
|
temp1[xx][yy] = 10015;
|
|
|
|
|
temp2[xx][yy] = 10015;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
Maps->WriteTemperatures((x/16),(y/16),z, &temp1, &temp2);
|
|
|
|
|
Maps->WriteDesignations((x/16),(y/16),z, &designations);
|
|
|
|
@ -361,7 +360,7 @@ int main (void)
|
|
|
|
|
}
|
|
|
|
|
Maps->WriteBlockFlags((x/16),(y/16),z,bflags);
|
|
|
|
|
}
|
|
|
|
|
else // (brush == "range")
|
|
|
|
|
else if (brush == "range")
|
|
|
|
|
{
|
|
|
|
|
// Crop the range into each block if necessary
|
|
|
|
|
int beginxblock = x/16;
|
|
|
|
|