Merge pull request #139 from lioncash/ref

IGameArea: Make Dock's reference count variable signed
This commit is contained in:
Phillip Stephens 2020-02-03 14:43:03 -08:00 committed by GitHub
commit ae20a1294a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;