From b513fbbf03dddaaf9084dd8358a656380f73c3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 27 Dec 2021 21:56:20 +0100 Subject: ksys/phys: Start adding RigidContactPoints Super messy stuff. I have no idea what it's used for --- src/KingSystem/Physics/System/physSystemData.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/KingSystem/Physics/System/physSystemData.cpp') diff --git a/src/KingSystem/Physics/System/physSystemData.cpp b/src/KingSystem/Physics/System/physSystemData.cpp index 9280e5f5..825edf69 100644 --- a/src/KingSystem/Physics/System/physSystemData.cpp +++ b/src/KingSystem/Physics/System/physSystemData.cpp @@ -135,6 +135,8 @@ agl::utl::ResParameterArchive SystemData::loadLayerTableRes(const SystemData::La case ContactLayerType::Sensor: path = "Physics/System/SensorLayerTable.bphyslayer"; break; + case ContactLayerType::Invalid: + break; } const auto& resource = *matrix.mResHandle->load(path, &request); auto* direct_resource = sead::DynamicCast(&resource); @@ -170,6 +172,8 @@ agl::utl::ResParameterArchive SystemData::loadContactInfoTableRes(ContactLayerTy case ContactLayerType::Sensor: path = "Physics/System/SensorContactInfoTable.bphyscontact"; break; + case ContactLayerType::Invalid: + break; } /// @bug Possible bug? The request is never used. const auto& resource = *mContactInfoTableHandles[int(type)]->load(path, nullptr); -- cgit v1.2.3