mirror of
https://github.com/zeldaret/botw
synced 2026-08-18 21:27:36 -04:00
ksys/phys: Move orGroundHitTypeMask to the correct TU
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user