CScriptDamageableTrigger: Make member variables private

Previously, everything about the class was made public.
This commit is contained in:
Lioncash 2020-04-06 04:48:08 -04:00
parent 27f3078c8a
commit d708337e90
1 changed files with 6 additions and 6 deletions

View File

@ -17,12 +17,7 @@ namespace urde {
class CVisorParameters; class CVisorParameters;
class CScriptDamageableTrigger : public CActor { class CScriptDamageableTrigger : public CActor {
public: private:
enum class ECanOrbit {
NoOrbit,
Orbit,
};
zeus::CFrustum xe8_frustum; zeus::CFrustum xe8_frustum;
zeus::CAABox x14c_bounds; zeus::CAABox x14c_bounds;
CHealthInfo x164_origHInfo; CHealthInfo x164_origHInfo;
@ -49,6 +44,11 @@ public:
float GetPuddleAlphaScale() const; float GetPuddleAlphaScale() const;
public: public:
enum class ECanOrbit {
NoOrbit,
Orbit,
};
CScriptDamageableTrigger(TUniqueId uid, std::string_view name, const CEntityInfo& info, CScriptDamageableTrigger(TUniqueId uid, std::string_view name, const CEntityInfo& info,
const zeus::CVector3f& position, const zeus::CVector3f& extent, const CHealthInfo& hInfo, const zeus::CVector3f& position, const zeus::CVector3f& extent, const CHealthInfo& hInfo,
const CDamageVulnerability& dVuln, u32 faceFlag, CAssetId patternTex1, CAssetId patternTex2, const CDamageVulnerability& dVuln, u32 faceFlag, CAssetId patternTex1, CAssetId patternTex2,