Merge pull request #339 from SpicyGangjeong/Effect_Follow_1205

Effect follow 1205
This commit is contained in:
jinwoo0522
2025-12-05 22:22:44 +09:00
committed by GitHub
168 changed files with 882 additions and 534 deletions
@@ -125,6 +125,25 @@ HRESULT CEffectObject::Render_Blur()
return S_OK;
}
void CEffectObject::Disable_Light()
{
if (m_pLightCom == nullptr)
return;
m_pGameInstance->Delete_Light(CURRENT_LEVEL, m_pLightCom);
}
void CEffectObject::Add_Light()
{
if (m_pLightCom == nullptr)
return;
m_pGameInstance->Add_Light(CURRENT_LEVEL, m_pLightCom);
}
HRESULT CEffectObject::Render_Bloom()
{
if (FAILED(Bind_ShaderResources()))
@@ -214,6 +214,8 @@ HRESULT CEffect_Container::Pre_Setting(CGameObject* pObject, void* pArg)
m_pOwner = pObject;
//Add_Chlid_Light();
Reset_EffectParts();
m_fAccTime = 0.f;
@@ -364,6 +366,8 @@ void CEffect_Container::Update_Event(_float fTimeDelta)
pPart.second->Set_Visible(false);
}
}
//Delete_Chlid_Light();
}
@@ -45,13 +45,7 @@ HRESULT CProtego::Initialize(void* pArg)
m_wstrEffectName = L"Protego";
m_Events.emplace(1.3f, [&]() {
m_pSphere->Set_Dissolve(true);
m_pBottom->Set_Dissolve(true);
m_pCircle->Set_Dissolve(true);
});
m_fAmountSize = 0.1f;
@@ -127,9 +121,6 @@ HRESULT CProtego::Pre_Setting(CGameObject* pObject, void* pArg)
m_fSizeAccTime = 0.f;
m_pSphere->Set_Dissolve(false);
m_pBottom->Set_Dissolve(false);
m_pCircle->Set_Dissolve(false);
return S_OK;
}
@@ -407,7 +407,6 @@ void CSpell_Drag::Free()
SAFE_RELEASE(m_pShaderCom);
SAFE_RELEASE(m_pVIBufferCom);
}
#ifdef _DEBUG
#ifdef _DEBUG
void CSpell_Drag::Describe_Entity()
+2 -4
View File
@@ -134,10 +134,8 @@ class CEffectObject abstract : public CPartObject
public:
HRESULT Load(const _char* pFilePath, LEVEL eLevel);
void Set_Dissolve(_bool isDissolve)
{
m_EffectInfo.isDissolve = isDissolve;
}
void Disable_Light();
void Add_Light();
protected:
virtual HRESULT Bind_ShaderResources() override;
virtual HRESULT Ready_Components(void* pArg) override;
@@ -25,7 +25,7 @@ class CEffect_Container abstract : public CContainerObject
virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr);
HRESULT Load_Package(const _char* pPath);
_uint Get_SkillType() const { return m_iSkillType; }
public:
protected:
virtual HRESULT Initialize_Prototype() override;

Some files were not shown because too many files have changed in this diff Show More