ksys/phys: Move orGroundHitTypeMask to the correct TU

This commit is contained in:
Léo Lam
2021-12-24 23:01:58 +01:00
parent a816125247
commit e9024ed406
4 changed files with 15 additions and 8 deletions
@@ -40,4 +40,13 @@ int EntityGroupFilter::getFreeListIndex(const SystemGroupHandler* handler) {
return handler->getIndex() < NumEntityHandlersInList0;
}
u32 orGroundHitTypeMask(u32 mask, GroundHit type) {
mask |= (0x100 << type) & 0xffff00;
return mask;
}
u32 orGroundHitTypeMask(u32 mask, const sead::SafeString& type) {
return orGroundHitTypeMask(mask, groundHitFromText(type));
}
} // namespace ksys::phys
@@ -60,4 +60,7 @@ private:
sead::SafeArray<u32, ContactLayer::size()> mMasks;
};
u32 orGroundHitTypeMask(u32 mask, GroundHit type);
u32 orGroundHitTypeMask(u32 mask, const sead::SafeString& type);
} // namespace ksys::phys