Add Model dumping for T6

This commit is contained in:
Jan
2021-08-14 15:39:40 +02:00
parent 963e6537ca
commit d5780a1124
19 changed files with 878 additions and 84 deletions

View File

@ -84,7 +84,7 @@ bool AssetLoaderFontIcon::ParseHashStr(int& value, const std::string& str)
}
else
{
value = CommonT6::Com_HashString(str.c_str());
value = Common::Com_HashString(str.c_str());
}
return true;
@ -121,7 +121,7 @@ bool AssetLoaderFontIcon::ReadIconRow(const std::vector<std::string>& row, FontI
icon.fontIconMaterialHandle = static_cast<Material*>(materialDependency->m_ptr);
icon.fontIconName.string = memory->Dup(row[ROW_ICON_NAME].c_str());
icon.fontIconName.hash = CommonT6::Com_HashString(icon.fontIconName.string);
icon.fontIconName.hash = Common::Com_HashString(icon.fontIconName.string);
return true;
}

View File

@ -66,7 +66,7 @@ bool AssetLoaderStringTable::LoadFromRaw(const std::string& assetName, ISearchPa
else
cell.string = memory->Dup(rowValues[col].c_str());
cell.hash = CommonT6::Com_HashString(cell.string);
cell.hash = Common::Com_HashString(cell.string);
}
}