2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 10:27:42 +00:00

Initial CPuddleToadGamma imps

This commit is contained in:
2018-11-30 16:44:33 -08:00
parent 7223231010
commit 9948532957
6 changed files with 439 additions and 10 deletions

View File

@@ -111,7 +111,7 @@ public:
void Add(EMaterialTypes type)
{
x0_list |= (1ull << u32(type));
x0_list |= (1ull << u64(type));
}
void Add(const CMaterialList& l)
@@ -121,7 +121,7 @@ public:
void Remove(EMaterialTypes type)
{
x0_list &= ~(1ull << u32(type));
x0_list &= ~(1ull << u64(type));
}
void Remove(const CMaterialList& other)
@@ -131,7 +131,7 @@ public:
bool HasMaterial(EMaterialTypes type) const
{
return (x0_list & (1ull << u32(type))) != 0;
return (x0_list & (1ull << u64(type))) != 0;
}
bool SharesMaterials(const CMaterialList& other)