mirror of https://github.com/AxioDL/metaforce.git
Add ProjectPath::ensureAuxInfo
This commit is contained in:
parent
41dbd30970
commit
bbaf33e4de
|
@ -729,12 +729,10 @@ private:
|
||||||
m_vboSz(vboSz), m_vboData(new uint8_t[vboSz]),
|
m_vboSz(vboSz), m_vboData(new uint8_t[vboSz]),
|
||||||
m_iboSz(iboData.size()*4), m_iboData(new uint8_t[iboData.size()*4]),
|
m_iboSz(iboData.size()*4), m_iboData(new uint8_t[iboData.size()*4]),
|
||||||
m_surfaces(std::move(surfaces)), m_skinBanks(skinBanks)
|
m_surfaces(std::move(surfaces)), m_skinBanks(skinBanks)
|
||||||
{
|
|
||||||
{
|
{
|
||||||
athena::io::MemoryWriter w(m_iboData.get(), m_iboSz);
|
athena::io::MemoryWriter w(m_iboData.get(), m_iboSz);
|
||||||
w.enumerateLittle(iboData);
|
w.enumerateLittle(iboData);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
public:
|
public:
|
||||||
HMDLMeta m_meta;
|
HMDLMeta m_meta;
|
||||||
size_t m_vboSz;
|
size_t m_vboSz;
|
||||||
|
|
|
@ -1064,6 +1064,15 @@ public:
|
||||||
#endif
|
#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
|
* @brief Type of path
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue