2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 23:07:43 +00:00

GameCube spec cook fixes

This commit is contained in:
Jack Andersen
2018-04-01 18:27:24 -10:00
parent 7a2fbfc582
commit 06d755cf4c
28 changed files with 402 additions and 156 deletions

View File

@@ -130,7 +130,7 @@ struct MaterialSet : BigDNA
}
} vaFlags;
const VAFlags& getVAFlags() const {return vaFlags;}
Value<atUint32> groupIdx;
Value<atUint32> uniqueIdx;
Vector<atUint32, AT_DNA_COUNT(flags.konstValuesEnabled())> konstCount;
Vector<GX::Color, AT_DNA_COUNT(flags.konstValuesEnabled() ? konstCount[0] : 0)> konstColors;
@@ -291,7 +291,7 @@ struct MaterialSet : BigDNA
int uvCount,
bool lightmapUVs,
bool matrixSkinning,
atUint32 grpIdx);
std::unordered_map<uint64_t, int>& uniqueMap);
};
Vector<Material, AT_DNA_COUNT(head.materialCount)> materials;