Fixes to materials.

develop
Petr Mrázek 2011-07-22 02:44:36 +02:00
parent 131c32494a
commit 7325808c98
2 changed files with 6 additions and 6 deletions

@ -209,7 +209,7 @@ namespace DFHack
std::vector<int16_t> strand_chances;
public:
t_matglossInorganic();
//t_matglossInorganic();
bool isOre();
bool isGem();

@ -835,31 +835,31 @@ bool Maps::SortBlockEvents(uint32_t x, uint32_t y, uint32_t z, vector <t_vein *>
if(!off.vein_ice_vptr && cname == "block_square_event_frozen_liquidst")
{
off.vein_ice_vptr = type;
Core::getInstance().con.printerr("%s %x\n",cname.c_str(), type);
//Core::getInstance().con.printerr("%s %x\n",cname.c_str(), type);
goto retry;
}
else if(!off.vein_mineral_vptr &&cname == "block_square_event_mineralst")
{
off.vein_mineral_vptr = type;
Core::getInstance().con.printerr("%s %x\n",cname.c_str(), type);
//Core::getInstance().con.printerr("%s %x\n",cname.c_str(), type);
goto retry;
}
else if(!off.vein_spatter_vptr && cname == "block_square_event_material_spatterst")
{
off.vein_spatter_vptr = type;
Core::getInstance().con.printerr("%s %x\n",cname.c_str(), type);
//Core::getInstance().con.printerr("%s %x\n",cname.c_str(), type);
goto retry;
}
else if(!off.vein_grass_vptr && cname=="block_square_event_grassst")
{
off.vein_grass_vptr = type;
Core::getInstance().con.printerr("%s %x\n",cname.c_str(), type);
//Core::getInstance().con.printerr("%s %x\n",cname.c_str(), type);
goto retry;
}
else if(!off.vein_worldconstruction_vptr && cname=="block_square_event_world_constructionst")
{
off.vein_worldconstruction_vptr = type;
Core::getInstance().con.printerr("%s %x\n",cname.c_str(), type);
//Core::getInstance().con.printerr("%s %x\n",cname.c_str(), type);
goto retry;
}
#ifdef DEBUG