Match and link CAreaBspTree

Former-commit-id: ee9de720115f11518d7f0e9e86c1f3aab0202b15
This commit is contained in:
Phillip Stephens 2023-10-19 21:21:31 -07:00
parent 3cb651ad95
commit 4848411822
3 changed files with 22 additions and 1 deletions

View File

@ -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"),

View File

@ -0,0 +1,11 @@
#ifndef _CAREABSPTREE
#define _CAREABSPTREE
class CInputStream;
class CTransform4f;
class CAreaBspTree {
public:
CAreaBspTree(CInputStream& in, const CTransform4f& xf);
};
#endif // _CAREABSPTREE

View File

@ -0,0 +1,10 @@
#include <WorldFormat/CAreaBspTree.hpp>
#include <Kyoto/Math/CTransform4f.hpp>
#include <Kyoto/Streams/CInputStream.hpp>
CAreaBspTree::CAreaBspTree(CInputStream& in, const CTransform4f& xf) {
in.ReadLong();
in.ReadShort();
in.ReadShort();
}