|
|
@ -40,6 +40,14 @@ distribution.
|
|
|
|
#define MAPS_GUARD if(!d->Started) throw DFHack::Error::ModuleNotInitialized();
|
|
|
|
#define MAPS_GUARD if(!d->Started) throw DFHack::Error::ModuleNotInitialized();
|
|
|
|
using namespace DFHack;
|
|
|
|
using namespace DFHack;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const char * sa_feature[]=
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"Other",
|
|
|
|
|
|
|
|
"Adamantine Tube",
|
|
|
|
|
|
|
|
"Underworld",
|
|
|
|
|
|
|
|
"Hell Temple"
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct Maps::Private
|
|
|
|
struct Maps::Private
|
|
|
|
{
|
|
|
|
{
|
|
|
|
uint32_t * block;
|
|
|
|
uint32_t * block;
|
|
|
@ -948,4 +956,4 @@ bool Maps::ReadVegetation(uint32_t x, uint32_t y, uint32_t z, std::vector<t_tree
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(plants->empty()) return false;
|
|
|
|
if(plants->empty()) return false;
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|