[add] Client_Release

This commit is contained in:
kimnuri
2025-11-25 10:29:56 +09:00
parent 543a7ea29f
commit bc256178d4
6 changed files with 21 additions and 0 deletions
@@ -212,6 +212,8 @@ void CCamPosition_Shoulder::Free()
SAFE_RELEASE(m_pTarget_LookPart); SAFE_RELEASE(m_pTarget_LookPart);
SAFE_RELEASE(m_pTarget_FollowPart); SAFE_RELEASE(m_pTarget_FollowPart);
} }
#ifdef _DEBUG
void CCamPosition_Shoulder::Describe_Entity() void CCamPosition_Shoulder::Describe_Entity()
{ {
GUI::Begin("Cam_Shoulder"); GUI::Begin("Cam_Shoulder");
@@ -223,3 +225,5 @@ void CCamPosition_Shoulder::Describe_Entity()
GUI::SliderFloat3("ShoulderPosRatio", (_float*)&m_vShoulderPosRatio, -2.f, 2.f, "%.1f"); GUI::SliderFloat3("ShoulderPosRatio", (_float*)&m_vShoulderPosRatio, -2.f, 2.f, "%.1f");
GUI::End(); GUI::End();
} }
#endif // _DEBUG
@@ -168,6 +168,9 @@ void CCamera_Gaze::Free()
{ {
__super::Free(); __super::Free();
} }
#ifdef _DEBUG
void CCamera_Gaze::Describe_Entity() void CCamera_Gaze::Describe_Entity()
{ {
GUI::Begin("Camera_Gaze_Describe"); GUI::Begin("Camera_Gaze_Describe");
@@ -196,3 +199,5 @@ void CCamera_Gaze::Describe_Entity()
GUI::End(); GUI::End();
} }
#endif // _DEBUG
@@ -219,8 +219,11 @@ void CDummy_PhysXPlayable::Free()
SAFE_RELEASE(m_pShaderCom); SAFE_RELEASE(m_pShaderCom);
SAFE_RELEASE(m_pModelCom); SAFE_RELEASE(m_pModelCom);
} }
#ifdef _DEBUG
void CDummy_PhysXPlayable::Describe_Entity() void CDummy_PhysXPlayable::Describe_Entity()
{ {
m_pCharacter_Controller->Describe_Entity(); m_pCharacter_Controller->Describe_Entity();
} }
#endif // _DEBUG
@@ -58,7 +58,11 @@ class CCamPosition_Shoulder final : public CCamPosition
static CCamPosition_Shoulder* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); static CCamPosition_Shoulder* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
virtual CCamPosition_Shoulder* Clone(void* pArg, class CGameObject* pOWner) override; virtual CCamPosition_Shoulder* Clone(void* pArg, class CGameObject* pOWner) override;
virtual void Free() override; virtual void Free() override;
#ifdef _DEBUG
void Describe_Entity() override; void Describe_Entity() override;
#endif // _DEBUG
}; };
NS_END NS_END
@@ -36,8 +36,11 @@ class CCamera_Gaze final : public CCamera
static CCamera_Gaze* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); static CCamera_Gaze* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
virtual CGameObject* Clone(void* pArg, CGameObject* pOwner) override; virtual CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
virtual void Free() override; virtual void Free() override;
#ifdef _DEBUG
void Describe_Entity() override; void Describe_Entity() override;
#endif // _DEBUG
}; };
NS_END NS_END
@@ -46,7 +46,9 @@ class CDummy_PhysXPlayable final : public CGameObject
static CDummy_PhysXPlayable* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); static CDummy_PhysXPlayable* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;
virtual void Free() override; virtual void Free() override;
#ifdef _DEBUG
void Describe_Entity() override; void Describe_Entity() override;
#endif // _DEBUG
}; };
NS_END NS_END