From d708337e908d6ed0ffc646e14eeab4fc30e8609d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 6 Apr 2020 04:48:08 -0400 Subject: [PATCH] CScriptDamageableTrigger: Make member variables private Previously, everything about the class was made public. --- Runtime/World/CScriptDamageableTrigger.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Runtime/World/CScriptDamageableTrigger.hpp b/Runtime/World/CScriptDamageableTrigger.hpp index c66710ab9..344db2222 100644 --- a/Runtime/World/CScriptDamageableTrigger.hpp +++ b/Runtime/World/CScriptDamageableTrigger.hpp @@ -17,12 +17,7 @@ namespace urde { class CVisorParameters; class CScriptDamageableTrigger : public CActor { -public: - enum class ECanOrbit { - NoOrbit, - Orbit, - }; - +private: zeus::CFrustum xe8_frustum; zeus::CAABox x14c_bounds; CHealthInfo x164_origHInfo; @@ -49,6 +44,11 @@ public: float GetPuddleAlphaScale() const; public: + enum class ECanOrbit { + NoOrbit, + Orbit, + }; + CScriptDamageableTrigger(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CVector3f& position, const zeus::CVector3f& extent, const CHealthInfo& hInfo, const CDamageVulnerability& dVuln, u32 faceFlag, CAssetId patternTex1, CAssetId patternTex2,