2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 21:47:41 +00:00

PATH stubs

This commit is contained in:
2016-08-10 09:05:14 -07:00
parent 4519e3abf2
commit 9c9002cee3
21 changed files with 309 additions and 57 deletions

View File

@@ -4,77 +4,70 @@
#include "IObj.hpp"
#include "zeus/CTransform.hpp"
#include "zeus/CAABox.hpp"
#include "CPathFindOpenList.hpp"
namespace urde
{
class CVParamTransfer;
class CPFRegion
class CPFBitSet
{
friend class CPFOpenList;
u32 x0_ = 0;
u32 x4_ = 0;
u32 x8_ = 0;
u32 xc_ = 0;
u32 x10_ = 0;
float x14_ = 0.f;
zeus::CVector3f x18_;
u32 x24_ = 0;
zeus::CVector3f x28_;
zeus::CAABox x34_;
public:
CPFBitSet() = default;
void Clear();
void Add(s32);
bool Test(s32);
void Rmv(s32);
};
class CPFRegionData
class CPFArea
{
friend class CPFOpenList;
float x0_ = 0.f;
float x0_ = FLT_MAX;
zeus::CVector3f x4_;
s32 x10_ = -1;
zeus::CVector3f x14_;
s32 x20_ = 0;
s32 x24_ = 0;
s32 x28_ = 0;
s32 x2c_ = 0;
};
class CPFOpenList
{
friend class CPathFindArea;
u32 x0_ = 0;
u32 x4_ = 0;
u32 x8_ = 0;
u32 xc_ = 0;
u32 x10_ = 0;
u32 x14_ = 0;
u32 x18_ = 0;
u32 x1c_ = 0;
std::vector<zeus::CVector3f> x10_;
u32 x20_ = 0;
u32 x24_ = 0;
u32 x28_ = 0;
u32 x2c_ = 0;
u32 x30_ = 0;
bool x30_ = false;
u32 x34_ = 0;
u32 x38_ = 0;
u32 x3c_ = 0;
std::vector<CPFRegion> x40_region;
std::vector<CPFRegionData> x90_regionData;
public:
CPFOpenList()
{
}
};
class CPathFindArea
{
zeus::CVector3f x0_;
float xc_ = 0.f;
std::vector<zeus::CVector3f> x10_;
bool x30_ = false;
std::vector<CPFOpenList> x78_;
u8* x13c_data;
u32 x40_ = 0;
u32 x44_ = 0;
u32 x48_ = 0;
u32 x4c_ = 0;
u32 x50_ = 0;
u32 x54_ = 0;
u32 x58_ = 0;
u32 x5c_ = 0;
u32 x60_ = 0;
u32 x64_ = 0;
u32 x68_ = 0;
u32 x6c_ = 0;
u32 x70_ = 0;
u32 x74_ = 0;
CPFOpenList x78_;
u32 x138_;
u8* x13c_ = nullptr;
u32 x140_ = 0;
u8* x144_ = nullptr;
u32 x148_ = 0;
u8* x14c_ = nullptr;
u32 x150_ = 0;
u8* x154_ = nullptr;
u32 x158_ = 0;
u32 x15c_ = 0;
u32 x160_ = 0;
u32 x164_ = 0;
u32 x168_ = 0;
u32 x16c_ = 0;
u32 x170_ = 0;
u32 x174_ = 0;
std::vector<CPFRegionData> x178_;
zeus::CTransform x188_;
public:
CPathFindArea(const std::unique_ptr<u8[]>&& buf, int len);
CPFArea(const std::unique_ptr<u8[]>&& buf, int len);
};