mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #139 from lioncash/ref
IGameArea: Make Dock's reference count variable signed
This commit is contained in:
commit
ae20a1294a
|
@ -25,14 +25,14 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
private:
|
private:
|
||||||
u32 x0_referenceCount = 0;
|
s32 x0_referenceCount = 0;
|
||||||
std::vector<SDockReference> x4_dockReferences;
|
std::vector<SDockReference> x4_dockReferences;
|
||||||
rstl::reserved_vector<zeus::CVector3f, 4> x14_planeVertices;
|
rstl::reserved_vector<zeus::CVector3f, 4> x14_planeVertices;
|
||||||
bool x48_isReferenced = false;
|
bool x48_isReferenced = false;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
const rstl::reserved_vector<zeus::CVector3f, 4>& GetPlaneVertices() const { return x14_planeVertices; }
|
const rstl::reserved_vector<zeus::CVector3f, 4>& GetPlaneVertices() const { return x14_planeVertices; }
|
||||||
u32 GetReferenceCount() const { return x0_referenceCount; }
|
s32 GetReferenceCount() const { return x0_referenceCount; }
|
||||||
const std::vector<SDockReference>& GetDockRefs() const { return x4_dockReferences; }
|
const std::vector<SDockReference>& GetDockRefs() const { return x4_dockReferences; }
|
||||||
Dock(CInputStream& in, const zeus::CTransform& xf);
|
Dock(CInputStream& in, const zeus::CTransform& xf);
|
||||||
TAreaId GetConnectedAreaId(s32 other) const;
|
TAreaId GetConnectedAreaId(s32 other) const;
|
||||||
|
|
Loading…
Reference in New Issue