IGameArea: Make Dock's reference count variable signed

In all usage cases, this variable is used with functions that expect a
signed value. This eliminates quite a few signed mismatch warnings.
This commit is contained in:
Lioncash 2020-01-31 21:29:45 -05:00
parent cbf7140d21
commit 458ff8949a
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;