mirror of https://github.com/AxioDL/metaforce.git
Add ProjectPath::ensureAuxInfo
This commit is contained in:
parent
41dbd30970
commit
bbaf33e4de
|
@ -730,10 +730,8 @@ private:
|
|||
m_iboSz(iboData.size()*4), m_iboData(new uint8_t[iboData.size()*4]),
|
||||
m_surfaces(std::move(surfaces)), m_skinBanks(skinBanks)
|
||||
{
|
||||
{
|
||||
athena::io::MemoryWriter w(m_iboData.get(), m_iboSz);
|
||||
w.enumerateLittle(iboData);
|
||||
}
|
||||
athena::io::MemoryWriter w(m_iboData.get(), m_iboSz);
|
||||
w.enumerateLittle(iboData);
|
||||
}
|
||||
public:
|
||||
HMDLMeta m_meta;
|
||||
|
|
|
@ -1064,6 +1064,15 @@ public:
|
|||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Construct a path with the aux info overwritten with specified string
|
||||
* @param auxStr string to replace existing auxInfo with
|
||||
*/
|
||||
hecl::ProjectPath ensureAuxInfo(const SystemChar* auxStr) const
|
||||
{
|
||||
return hecl::ProjectPath(getProject(), getRelativePath() + _S('|') + auxStr);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Type of path
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue