|
|
|
@ -357,34 +357,34 @@ void CMainWindow::extractWords(QString typeq)
|
|
|
|
|
{
|
|
|
|
|
column_name = "item ID";
|
|
|
|
|
builderS.SheetExt = "sitem";
|
|
|
|
|
builderS.SheetPath = level_design_path.append("/game_element/sitem").toUtf8();
|
|
|
|
|
builderS.SheetPath = level_design_path.append("/game_element/sitem").toUtf8().constData();
|
|
|
|
|
isSheet = true;
|
|
|
|
|
}
|
|
|
|
|
else if(typeq.toAscii() == Constants::WK_CREATURE)
|
|
|
|
|
{
|
|
|
|
|
column_name = "creature ID";
|
|
|
|
|
builderS.SheetExt = "creature";
|
|
|
|
|
builderS.SheetPath = level_design_path.append("/Game_elem/Creature/fauna").toUtf8();
|
|
|
|
|
builderS.SheetPath = level_design_path.append("/Game_elem/Creature/fauna").toUtf8().constData();
|
|
|
|
|
isSheet = true;
|
|
|
|
|
}
|
|
|
|
|
else if(typeq.toAscii() == Constants::WK_SBRICK)
|
|
|
|
|
{
|
|
|
|
|
column_name = "sbrick ID";
|
|
|
|
|
builderS.SheetExt = "sbrick";
|
|
|
|
|
builderS.SheetPath = level_design_path.append("/game_element/sbrick").toUtf8();
|
|
|
|
|
builderS.SheetPath = level_design_path.append("/game_element/sbrick").toUtf8().constData();
|
|
|
|
|
isSheet = true;
|
|
|
|
|
}
|
|
|
|
|
else if(typeq.toAscii() == Constants::WK_SPHRASE)
|
|
|
|
|
{
|
|
|
|
|
column_name = "sphrase ID";
|
|
|
|
|
builderS.SheetExt = "sphrase";
|
|
|
|
|
builderS.SheetPath = level_design_path.append("/game_element/sphrase").toUtf8();
|
|
|
|
|
builderS.SheetPath = level_design_path.append("/game_element/sphrase").toUtf8().constData();
|
|
|
|
|
isSheet = true;
|
|
|
|
|
}
|
|
|
|
|
else if(typeq.toAscii() == Constants::WK_PLACE)
|
|
|
|
|
{
|
|
|
|
|
column_name = "placeId";
|
|
|
|
|
builderP.PrimPath = primitives_path.toUtf8();
|
|
|
|
|
builderP.PrimPath = primitives_path.toUtf8().constData();
|
|
|
|
|
builderP.PrimFilter.push_back("region_*.primitive");
|
|
|
|
|
builderP.PrimFilter.push_back("indoors_*.primitive");
|
|
|
|
|
isSheet = false;
|
|
|
|
|