mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 06:27:43 +00:00
Reformat pass
This commit is contained in:
@@ -9,7 +9,7 @@ class CPaletteInfo {
|
||||
|
||||
public:
|
||||
explicit CPaletteInfo(CInputStream& in)
|
||||
: m_format(in.readUint32Big()), m_elementCount(in.readUint32Big()), m_dolphinHash(in.readUint64Big()) {}
|
||||
: m_format(in.readUint32Big()), m_elementCount(in.readUint32Big()), m_dolphinHash(in.readUint64Big()) {}
|
||||
};
|
||||
class CTextureInfo {
|
||||
ETexelFormat m_format;
|
||||
@@ -21,11 +21,11 @@ class CTextureInfo {
|
||||
|
||||
public:
|
||||
explicit CTextureInfo(CInputStream& in)
|
||||
: m_format(ETexelFormat(in.readUint32Big()))
|
||||
, m_mipCount(in.readUint32Big())
|
||||
, m_width(in.readUint16Big())
|
||||
, m_height(in.readUint16Big())
|
||||
, m_dolphinHash(in.readUint64Big()) {
|
||||
: m_format(ETexelFormat(in.readUint32Big()))
|
||||
, m_mipCount(in.readUint32Big())
|
||||
, m_width(in.readUint16Big())
|
||||
, m_height(in.readUint16Big())
|
||||
, m_dolphinHash(in.readUint64Big()) {
|
||||
bool hasPal = in.readBool();
|
||||
if (hasPal)
|
||||
m_paletteInfo.emplace(in);
|
||||
@@ -38,10 +38,9 @@ public:
|
||||
public:
|
||||
explicit CTextureCache(CInputStream& in);
|
||||
|
||||
|
||||
const CTextureInfo* GetTextureInfo(CAssetId id) const;
|
||||
};
|
||||
|
||||
CFactoryFnReturn FTextureCacheFactory(const metaforce::SObjectTag& tag, CInputStream& in,
|
||||
const metaforce::CVParamTransfer& vparms, CObjectReference* selfRef);
|
||||
}
|
||||
} // namespace metaforce
|
||||
Reference in New Issue
Block a user