|
|
@ -545,6 +545,8 @@ bool DFHackAPIImpl::ReadBuilding(const uint32_t &index, t_building & building)
|
|
|
|
|
|
|
|
|
|
|
|
void DFHackAPIImpl::FinishReadBuildings()
|
|
|
|
void DFHackAPIImpl::FinishReadBuildings()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
delete p_bld;
|
|
|
|
|
|
|
|
p_bld = NULL;
|
|
|
|
buildingsInited = false;
|
|
|
|
buildingsInited = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -586,6 +588,8 @@ bool DFHackAPIImpl::ReadConstruction(const uint32_t &index, t_construction & con
|
|
|
|
|
|
|
|
|
|
|
|
void DFHackAPIImpl::FinishReadConstructions()
|
|
|
|
void DFHackAPIImpl::FinishReadConstructions()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
delete p_cons;
|
|
|
|
|
|
|
|
p_cons = NULL;
|
|
|
|
constructionsInited = false;
|
|
|
|
constructionsInited = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -617,6 +621,8 @@ bool DFHackAPIImpl::ReadVegetation(const uint32_t &index, t_tree_desc & shrubber
|
|
|
|
|
|
|
|
|
|
|
|
void DFHackAPIImpl::FinishReadVegetation()
|
|
|
|
void DFHackAPIImpl::FinishReadVegetation()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
delete p_veg;
|
|
|
|
|
|
|
|
p_veg = NULL;
|
|
|
|
vegetationInited = false;
|
|
|
|
vegetationInited = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -652,6 +658,8 @@ bool DFHackAPIImpl::ReadCreature(const uint32_t &index, t_creature & furball)
|
|
|
|
|
|
|
|
|
|
|
|
void DFHackAPIImpl::FinishReadCreatures()
|
|
|
|
void DFHackAPIImpl::FinishReadCreatures()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
delete p_cre;
|
|
|
|
|
|
|
|
p_cre = NULL;
|
|
|
|
creaturesInited = false;
|
|
|
|
creaturesInited = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|