From 89322a8d0cb0c1aaab509ab653a9368a2ae5dea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 28 Sep 2026 03:39:31 +0200 Subject: ksys/phys: rearrange the folder layout to match link order A folder's files are linked before its subfolders, and the rigid body files are linked as one flat sequence. ListShape is the one file that does not fit this order. | Old | New | |---|---| | RigidBody/Shape//physShape.cpp | RigidBody/Shape/physShape.cpp | | RigidBody/Shape//physRigidBody.cpp | RigidBody/physRigidBody.cpp | | RigidBody/Shape/List/physListShapeRigidBody.cpp | RigidBody/physRigidBodyListShape.cpp | | physHavokMemoryAllocator.cpp | System/physHavokMemoryAllocator.cpp | | StaticCompound/physStaticCompound{,Mgr,RigidBodyGroup,Util}.cpp | System/ | | StaticCompound/physStaticCompound{Info,Autogen}.cpp | System/physStaticCompoundInfo.cpp | The original has the type infos' cleanup functions just before StaticCompoundInfo's functions, so the merged file defines the reflection data first, with plain static cleanup functions as in Havok's generated reflection code. Template instantiations would be emitted after the rest of the file. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5) --- src/KingSystem/Physics/System/physStaticCompoundUtil.cpp | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/KingSystem/Physics/System/physStaticCompoundUtil.cpp (limited to 'src/KingSystem/Physics/System/physStaticCompoundUtil.cpp') diff --git a/src/KingSystem/Physics/System/physStaticCompoundUtil.cpp b/src/KingSystem/Physics/System/physStaticCompoundUtil.cpp new file mode 100644 index 00000000..3216d4bf --- /dev/null +++ b/src/KingSystem/Physics/System/physStaticCompoundUtil.cpp @@ -0,0 +1 @@ +#include "KingSystem/Physics/System/physStaticCompoundUtil.h" -- cgit v1.2.3