|
|
@ -36,6 +36,7 @@ int main (int numargs, const char ** args)
|
|
|
|
DFHack::Constructions *Cons = DF->getConstructions();
|
|
|
|
DFHack::Constructions *Cons = DF->getConstructions();
|
|
|
|
DFHack::Materials *Mats = DF->getMaterials();
|
|
|
|
DFHack::Materials *Mats = DF->getMaterials();
|
|
|
|
Mats->ReadInorganicMaterials();
|
|
|
|
Mats->ReadInorganicMaterials();
|
|
|
|
|
|
|
|
Mats->ReadOrganicMaterials();
|
|
|
|
uint32_t numConstr;
|
|
|
|
uint32_t numConstr;
|
|
|
|
Cons->Start(numConstr);
|
|
|
|
Cons->Start(numConstr);
|
|
|
|
|
|
|
|
|
|
|
@ -59,6 +60,12 @@ int main (int numargs, const char ** args)
|
|
|
|
matstr = Mats->inorganic[con.mat_idx].id;
|
|
|
|
matstr = Mats->inorganic[con.mat_idx].id;
|
|
|
|
else matstr = "inorganic";
|
|
|
|
else matstr = "inorganic";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(con.mat_type == 420)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if(con.mat_idx != 0xffffffff)
|
|
|
|
|
|
|
|
matstr = Mats->organic[con.mat_idx].id;
|
|
|
|
|
|
|
|
else matstr = "organic";
|
|
|
|
|
|
|
|
}
|
|
|
|
switch(con.form)
|
|
|
|
switch(con.form)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
case constr_bar:
|
|
|
|
case constr_bar:
|
|
|
|