diff --git a/configure.py b/configure.py index e01364d5..8558ecb8 100755 --- a/configure.py +++ b/configure.py @@ -667,7 +667,7 @@ config.libs = [ Object(NonMatching, "WorldFormat/CAreaOctTree_Tests.cpp"), Object(Matching, "WorldFormat/CCollisionSurface.cpp"), Object(Matching, "WorldFormat/CMetroidModelInstance.cpp"), - Object(NonMatching, "WorldFormat/CAreaBspTree.cpp"), + Object(Matching, "WorldFormat/CAreaBspTree.cpp"), Object(NonMatching, "WorldFormat/CAreaOctTree.cpp"), Object(NonMatching, "WorldFormat/CMetroidAreaCollider.cpp"), Object(NonMatching, "WorldFormat/CWorldLight.cpp"), diff --git a/include/WorldFormat/CAreaBspTree.hpp b/include/WorldFormat/CAreaBspTree.hpp new file mode 100644 index 00000000..76b2cc52 --- /dev/null +++ b/include/WorldFormat/CAreaBspTree.hpp @@ -0,0 +1,11 @@ +#ifndef _CAREABSPTREE +#define _CAREABSPTREE + +class CInputStream; +class CTransform4f; +class CAreaBspTree { +public: + CAreaBspTree(CInputStream& in, const CTransform4f& xf); +}; + +#endif // _CAREABSPTREE diff --git a/src/WorldFormat/CAreaBspTree.cpp b/src/WorldFormat/CAreaBspTree.cpp new file mode 100644 index 00000000..f03daa6a --- /dev/null +++ b/src/WorldFormat/CAreaBspTree.cpp @@ -0,0 +1,10 @@ +#include + +#include +#include + +CAreaBspTree::CAreaBspTree(CInputStream& in, const CTransform4f& xf) { + in.ReadLong(); + in.ReadShort(); + in.ReadShort(); +}