diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
index 327c0cf17..1aee12e67 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
@@ -530,7 +530,7 @@ PS_OUT PS_SpellAnim(PS_IN In)
float2 OverrayUV = In.vTexcoord;
float CoolTime = 1.f - g_fDeltaV;
- float CoolTime2 = 1.f - g_fDeltaV + 0.05;
+ float CoolTime2 = 1.f - g_fDeltaV + 0.1f;
atlasUV = startUV + In.vTexcoord * (endUV - startUV);
float4 tex3 = g_Texture1.Sample(ClampSampler, OverrayUV);
tex3.rgb *= BGColor;
@@ -541,21 +541,25 @@ PS_OUT PS_SpellAnim(PS_IN In)
color1 = tex3;
- float wave1 = sin(OverrayUV.x * 10.f + g_fTime * 2.f) * 0.01f;
- float wave2 = sin(OverrayUV.x * 10.f + g_fTime * 2.f) * 0.01f;
-
+ float wave1 = sin(OverrayUV.x * 10.f + g_fTime ) * 0.01f;
+ float wave2 = sin(OverrayUV.x * 10.f + g_fTime ) * 0.01f;
float waveThreshold1 = CoolTime + wave1;
float waveThreshold2 = CoolTime2 + wave2;
+ float2 waveUV = float2(waveUV.x = OverrayUV.x * 2.f + g_fTime * 0.3f , waveUV.y = (OverrayUV.y - waveThreshold1) /(waveThreshold2 - waveThreshold1));
+ waveUV = saturate(waveUV);
+ float tex5 = g_Texture3.Sample(DefaultSampler, waveUV).r;
if (g_fDeltaV <= 1.f)
{
if (OverrayUV.y >= waveThreshold1 && OverrayUV.y <= waveThreshold2)
{
- color1.rgb = float3(1.f, 1.f, 1.f);
+ color1.rgb += float3(1.f, 1.f, 1.f) * tex5 * g_fDeltaU;
}
}
- if (OverrayUV.y <= CoolTime)
+ float waveThreshold = CoolTime + wave1;
+
+ if (OverrayUV.y <= waveThreshold)
{
color1.a = 0.f;
}
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Mission/UI_T_InteractSelectionBracket.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Mission/UI_T_InteractSelectionBracket.png
deleted file mode 100644
index f31219fd0..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Mission/UI_T_InteractSelectionBracket.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Spells/SpellMeters/UI_T_tillingSmokes.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Spells/SpellMeters/UI_T_tillingSmokes.png
new file mode 100644
index 000000000..6b4026e84
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Spells/SpellMeters/UI_T_tillingSmokes.png differ
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
index 48eb183be..97c92149b 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
@@ -166,6 +166,7 @@
+
@@ -303,6 +304,7 @@
+
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
index a24652e75..741323ffe 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
@@ -385,6 +385,9 @@
{d9a965e7-77c6-450f-88e8-ef69c42d9053}
+
+ {c7b1ffc6-548f-464c-8f19-8b6ff5913b06}
+
@@ -750,6 +753,9 @@
50.UI\Spell_Canvas\Spell_Panel
+
+ 50.UI\Spell_Canvas\Spell_Panel\Current_Spell_Slot
+
@@ -1114,6 +1120,9 @@
50.UI\Spell_Canvas\Spell_Panel
+
+ 50.UI\Spell_Canvas\Spell_Panel\Current_Spell_Slot
+
diff --git a/Jusin154_Team3D/Editor/Private/Current_Spell_Slot.cpp b/Jusin154_Team3D/Editor/Private/Current_Spell_Slot.cpp
new file mode 100644
index 000000000..5e22856f8
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Current_Spell_Slot.cpp
@@ -0,0 +1,253 @@
+#include "pch.h"
+#include "Current_Spell_Slot.h"
+#include "GameInstance.h"
+
+CCurrent_Spell_Slot::CCurrent_Spell_Slot(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CElementObject(pDevice, pContext)
+{
+}
+
+CCurrent_Spell_Slot::CCurrent_Spell_Slot(const CCurrent_Spell_Slot& rhs)
+ :CElementObject(rhs)
+{
+}
+
+HRESULT CCurrent_Spell_Slot::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CCurrent_Spell_Slot::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = 0.f;
+ Desc.fY = 0.f;
+ Desc.fSizeX = 105.f;
+ Desc.fSizeY = 105.f;
+
+ m_pRect = { long(Desc.fX - Desc.fSizeX * 0.5f), long(Desc.fY - Desc.fSizeY * 0.5f), long(Desc.fX + Desc.fSizeX * 0.5f), long(Desc.fY + Desc.fSizeY * 0.5f) };
+
+ if (FAILED(__super::Initialize(&Desc)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Components(pArg)))
+ {
+ return E_FAIL;
+ }
+
+ m_fAlpha = 1.f;
+ m_fTimeMult = 3.f;
+ m_fAngle = XMConvertToRadians(45);
+ m_fAlphaTime = 1.f;
+ m_fOffSetX = 105.f;
+ m_fOffSetY = 150.f;
+ m_iCols = 4;
+ m_pVIBufferCom->Set_Cloned(true);
+ m_pVIBufferCom->Set_Pos(-780.f, -110.f, m_fOffSetX, m_fOffSetY, m_iCols);
+ m_pVIBufferCom->Set_Size(m_fSizeX, m_fSizeY);
+ m_pVIBufferCom->Set_ImageUV();
+ return S_OK;
+}
+
+void CCurrent_Spell_Slot::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CCurrent_Spell_Slot::Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+
+ if (m_bFadeIn == true)
+ {
+ if (m_fAlpha <= 1.f)
+ m_fAlpha += fTimeDelta * m_fAlphaTime;
+
+ if (m_fAlpha >= 1.f)
+ {
+ m_bFadeIn = false;
+ m_fAlpha = 1.f;
+ }
+ }
+
+ if (m_bFadeOut == true)
+ {
+ if (m_fAlpha >= 0.f)
+ m_fAlpha -= fTimeDelta;
+
+ if (m_fAlpha <= 0.f)
+ {
+ m_bFadeOut = false;
+ m_fAlpha = 0.f;
+ }
+ }
+ m_fTime += fTimeDelta * m_fTimeMult;
+ __super::Update(fTimeDelta);
+}
+
+void CCurrent_Spell_Slot::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ if (m_bVisible)
+ {
+ m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
+ }
+ __super::Late_Update(fTimeDelta);
+}
+
+HRESULT CCurrent_Spell_Slot::Render()
+{
+ if (FAILED(Bind_ShaderResources()))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::DEFAULT))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources()))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render()))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+_vector CCurrent_Spell_Slot::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+void CCurrent_Spell_Slot::SizeUpX(_float fSizeX)
+{
+ m_fSizeX = fSizeX;
+ m_pVIBufferCom->Set_SizeX(m_fSizeX);
+}
+
+void CCurrent_Spell_Slot::SizeUpY(_float fSizeY)
+{
+ m_fSizeY = fSizeY;
+ m_pVIBufferCom->Set_SizeY(m_fSizeY);
+}
+
+void CCurrent_Spell_Slot::SizeUpdate(_float fSizeX, _float fSizeY)
+{
+ m_fSizeX = fSizeX;
+ m_fSizeY = fSizeY;
+ m_pVIBufferCom->Set_Size(m_fSizeX, m_fSizeY);
+}
+
+HRESULT CCurrent_Spell_Slot::Bind_ShaderResources()
+{
+ if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix")))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", &m_ViewMatrix)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", &m_ProjMatrix)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pDiffuse_TextureCom->Bind_ShaderResource(m_pShaderCom, "g_Texture", 0)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fAngle", &m_fAngle, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fAlpha", &m_fAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fOwnerAlpha", &m_fOwnerAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fCanvasAlpha", &m_fCanvasAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CCurrent_Spell_Slot::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_UI_Current_Spell_Slot"), (CComponent**)&m_pVIBufferCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_ActionItemGoldleaf_4K"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIINSTANCE, (CComponent**)&m_pShaderCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+CCurrent_Spell_Slot* CCurrent_Spell_Slot::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CCurrent_Spell_Slot* pInstance = new CCurrent_Spell_Slot(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CCurrent_Spell_Slot");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CCurrent_Spell_Slot::Clone(void* pArg, CGameObject* pOwner)
+{
+ CCurrent_Spell_Slot* pInstance = new CCurrent_Spell_Slot(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CSpell_Slot");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CCurrent_Spell_Slot::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CCurrent_Spell_Slot::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/HpBarBG.cpp b/Jusin154_Team3D/Editor/Private/HpBarBG.cpp
index d65652395..8af4488ab 100644
--- a/Jusin154_Team3D/Editor/Private/HpBarBG.cpp
+++ b/Jusin154_Team3D/Editor/Private/HpBarBG.cpp
@@ -41,7 +41,7 @@ HRESULT CHpBarBG::Initialize(void* pArg)
m_fAlpha = 1.f;
m_fAlphaTime = 1.f;
m_vNine_Slice = _float4(27.f, 125.f, m_fSizeY * 0.5f, m_fSizeY * 0.5f);
- m_fMaxHp = 1000.f;
+ m_fMaxHp = 200.f;
m_fCurrentHp = m_fMaxHp;
m_fMoveSpeed = 5.f;
m_fHpBGSize = _float2(144.f, 24.f);
diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp
index 7c9fbac6b..160b367c4 100644
--- a/Jusin154_Team3D/Editor/Private/Loader.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader.cpp
@@ -65,6 +65,7 @@
#include "Spell_Canvas.h"
#include "Spell_Panel.h"
+#include "Current_Spell_Slot.h"
#include "IMGUIUI.h"
@@ -498,11 +499,20 @@ HRESULT CLoader::Loading_For_UI()
SpellSlotUIDesc.iNum = 4;
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_UI_Instance"),
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_UI_Spell_Slot"),
CVIBuffer_UI_Instance::Create(m_pDevice, m_pContext, &SpellSlotUIDesc)))) {
return E_FAIL;
}
+ CVIBuffer_UI_Instance::UI_INSTANCE_DESC CurrentSpellSlotUIDesc{};
+
+ CurrentSpellSlotUIDesc.iNum = 16;
+
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_UI_Current_Spell_Slot"),
+ CVIBuffer_UI_Instance::Create(m_pDevice, m_pContext, &CurrentSpellSlotUIDesc)))) {
+ return E_FAIL;
+ }
+
CVIBuffer_UI_Instance::UI_INSTANCE_DESC SlotNumberUIDesc{};
SlotNumberUIDesc.iNum = 4;
@@ -650,6 +660,10 @@ HRESULT CLoader::Loading_For_UI()
{
return E_FAIL;
}
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CCurrent_Spell_Slot::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CIMGUIUI::Create(m_pDevice, m_pContext))))
{
diff --git a/Jusin154_Team3D/Editor/Private/MissionBanner_Border.cpp b/Jusin154_Team3D/Editor/Private/MissionBanner_Border.cpp
index 0258e390e..1d67b69e9 100644
--- a/Jusin154_Team3D/Editor/Private/MissionBanner_Border.cpp
+++ b/Jusin154_Team3D/Editor/Private/MissionBanner_Border.cpp
@@ -26,7 +26,7 @@ HRESULT CMissionBanner_Border::Initialize(void* pArg)
Desc.fX = -207.f;
Desc.fY = 115.f;
Desc.fSizeX = 256.f;
- Desc.fSizeY = 175.f;
+ Desc.fSizeY = 128.f;
m_pRect = { long(Desc.fX - Desc.fSizeX * 0.5f), long(Desc.fY - Desc.fSizeY * 0.5f), long(Desc.fX + Desc.fSizeX * 0.5f), long(Desc.fY + Desc.fSizeY * 0.5f) };
diff --git a/Jusin154_Team3D/Editor/Private/Spell_Overlay.cpp b/Jusin154_Team3D/Editor/Private/Spell_Overlay.cpp
index 5c7597dd3..0b657c26f 100644
--- a/Jusin154_Team3D/Editor/Private/Spell_Overlay.cpp
+++ b/Jusin154_Team3D/Editor/Private/Spell_Overlay.cpp
@@ -44,6 +44,7 @@ HRESULT CSpell_Overlay::Initialize(void* pArg)
m_fAngle = XMConvertToRadians(-135.f);
m_fAlpha = 1.f;
m_fAlphaTime = 1.f;
+ m_vUVScale.x = 1.f;
m_vUVScale.y = 1.f;
m_fCoolTime = 5.f;
m_fSortZ = 1.f;
@@ -200,6 +201,10 @@ HRESULT CSpell_Overlay::Bind_ShaderResources()
{
return E_FAIL;
}
+ if (FAILED(m_pDiffuse_TextureCom3->Bind_ShaderResource(m_pShaderCom, "g_Texture3", 0)))
+ {
+ return E_FAIL;
+ }
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float))))
{
return E_FAIL;
@@ -240,6 +245,10 @@ HRESULT CSpell_Overlay::Bind_ShaderResources()
{
return E_FAIL;
}
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fDeltaU", &m_vUVScale.x, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
if (FAILED(m_pShaderCom->Bind_RawValue("g_fDeltaV", &m_vUVScale.y, sizeof(_float))))
{
return E_FAIL;
@@ -273,6 +282,10 @@ HRESULT CSpell_Overlay::Ready_Components(void* pArg)
{
return E_FAIL;
}
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_tillingSmokes"), reinterpret_cast(&m_pDiffuse_TextureCom3), nullptr)))
+ {
+ return E_FAIL;
+ }
if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr)))
{
return E_FAIL;
@@ -314,6 +327,7 @@ void CSpell_Overlay::Free()
SAFE_RELEASE(m_pDiffuse_TextureCom);
SAFE_RELEASE(m_pDiffuse_TextureCom1);
SAFE_RELEASE(m_pDiffuse_TextureCom2);
+ SAFE_RELEASE(m_pDiffuse_TextureCom3);
SAFE_RELEASE(m_pShaderCom);
SAFE_RELEASE(m_pVIBufferCom);
}
diff --git a/Jusin154_Team3D/Editor/Private/Spell_Panel.cpp b/Jusin154_Team3D/Editor/Private/Spell_Panel.cpp
index 2dde27eed..40ad30251 100644
--- a/Jusin154_Team3D/Editor/Private/Spell_Panel.cpp
+++ b/Jusin154_Team3D/Editor/Private/Spell_Panel.cpp
@@ -1,6 +1,7 @@
#include "pch.h"
#include "Spell_Panel.h"
#include "GameInstance.h"
+#include "Current_Spell_Slot.h"
CSpell_Panel::CSpell_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
:CPanelObject(pDevice, pContext)
@@ -154,6 +155,12 @@ HRESULT CSpell_Panel::Ready_Components(void* pArg)
HRESULT CSpell_Panel::Ready_Element(void* pArg)
{
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pCurrent_Spell_Slot))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Current_Spell_Slot"), m_pCurrent_Spell_Slot);
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Spell_Slot.cpp b/Jusin154_Team3D/Editor/Private/Spell_Slot.cpp
index 5b2e5b2bc..ebe541b3d 100644
--- a/Jusin154_Team3D/Editor/Private/Spell_Slot.cpp
+++ b/Jusin154_Team3D/Editor/Private/Spell_Slot.cpp
@@ -197,7 +197,7 @@ HRESULT CSpell_Slot::Bind_ShaderResources()
HRESULT CSpell_Slot::Ready_Components(void* pArg)
{
- if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_UI_Instance"), (CComponent**)&m_pVIBufferCom, nullptr)))
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_UI_Spell_Slot"), (CComponent**)&m_pVIBufferCom, nullptr)))
{
return E_FAIL;
}
diff --git a/Jusin154_Team3D/Editor/Public/Current_Spell_Slot.h b/Jusin154_Team3D/Editor/Public/Current_Spell_Slot.h
new file mode 100644
index 000000000..4bba09fc0
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Current_Spell_Slot.h
@@ -0,0 +1,49 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "ElementObject.h"
+
+NS_BEGIN(Editor)
+
+class CCurrent_Spell_Slot final : public CElementObject
+{
+private:
+ CCurrent_Spell_Slot(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CCurrent_Spell_Slot(const CCurrent_Spell_Slot& rhs);
+ virtual ~CCurrent_Spell_Slot() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta);
+ virtual void Update(_float fTimeDelta);
+ virtual void Late_Update(_float fTimeDelta);
+ virtual HRESULT Render() override;
+ virtual _vector Get_WorldPostion() override;
+
+ virtual void SizeUpX(_float fSizeX) override;
+ virtual void SizeUpY(_float fSizeY) override;
+ virtual void SizeUpdate(_float fSizeX, _float fSizeY) override;
+
+
+private:
+ virtual HRESULT Bind_ShaderResources() override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+
+private:
+ CTexture* m_pDiffuse_TextureCom = { nullptr };
+ CShader* m_pShaderCom = { nullptr };
+ CVIBuffer_UI_Instance* m_pVIBufferCom = { nullptr };
+
+ _float m_fOffSetX{};
+ _float m_fOffSetY{};
+ _uint m_iCols{};
+
+public:
+ static CCurrent_Spell_Slot* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;
+ virtual void Free() override;
+ void Describe_Entity() override;
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Public/Spell_Overlay.h b/Jusin154_Team3D/Editor/Public/Spell_Overlay.h
index 9e7a52fb5..ab60ac9ef 100644
--- a/Jusin154_Team3D/Editor/Public/Spell_Overlay.h
+++ b/Jusin154_Team3D/Editor/Public/Spell_Overlay.h
@@ -33,6 +33,7 @@ class CSpell_Overlay final : public CElementObject
CTexture* m_pDiffuse_TextureCom = { nullptr };
CTexture* m_pDiffuse_TextureCom1 = { nullptr };
CTexture* m_pDiffuse_TextureCom2 = { nullptr };
+ CTexture* m_pDiffuse_TextureCom3 = { nullptr };
CShader* m_pShaderCom = { nullptr };
CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
diff --git a/Jusin154_Team3D/Editor/Public/Spell_Panel.h b/Jusin154_Team3D/Editor/Public/Spell_Panel.h
index 70361028c..4d7ebe882 100644
--- a/Jusin154_Team3D/Editor/Public/Spell_Panel.h
+++ b/Jusin154_Team3D/Editor/Public/Spell_Panel.h
@@ -35,6 +35,7 @@ class CSpell_Panel final : public CPanelObject
CShader* m_pShaderCom = { nullptr };
CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
+ CGameObject* m_pCurrent_Spell_Slot = { nullptr };
public:
static CSpell_Panel* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);