ksys/phys: Add some prerequisites for ContactInfoTable

This commit is contained in:
Léo Lam
2021-10-30 12:38:27 +02:00
parent 70aaa429fe
commit d10dd65dcd
8 changed files with 77 additions and 25 deletions
+7 -1
View File
@@ -5,6 +5,11 @@
namespace ksys::phys {
enum class ContactLayerType {
Entity,
Sensor,
};
SEAD_ENUM(ContactLayer,
EntityObject,\
EntitySmallObject,\
@@ -161,7 +166,8 @@ enum class MotionType {
bool isSensorLayer(ContactLayer layer);
u32 makeContactLayerMask(ContactLayer layer);
u32 getContactLayerBase(ContactLayerType type);
u32 getContactLayerBaseRelativeValue(ContactLayer layer);
const char* contactLayerToText(ContactLayer layer);
ContactLayer contactLayerFromText(const sead::SafeString& text);