diff --git a/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl b/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
index 8d7423e2f..d0309f2b0 100644
--- a/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
+++ b/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
@@ -63,6 +63,7 @@ Texture2D g_DiffuseTexture;
Texture2D g_MaskingTexture;
int g_iHover;
+int g_iColor;
int g_iStep1 = 0;
int g_iStep2 = 0;
@@ -1490,6 +1491,136 @@ PS_OUT PS_Boss_HpBer(PS_IN In)
return Out;
}
+PS_OUT PS_Quest_Border(PS_IN In)
+{
+ PS_OUT Out;
+
+ float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha;
+ float4 Color = float4(1.f, 1.f, 1.f, 1.f);
+ float4 Color1 = float4(1.f, 1.f, 1.f, 1.f);
+ float2 uv = In.vTexcoord;
+ float2 CurrentPixelPosition = uv * g_fCurrent_Size;
+ float OriginLeft = g_fNine_Slice.x;
+ float OriginRight = g_fNine_Slice.y;
+ float OriginTop = g_fNine_Slice.z;
+ float OriginBottom = g_fNine_Slice.w;
+
+ float CurrentLeft = OriginLeft;
+ float CurrentRight = g_fCurrent_Size.x - (g_fOrigin_Size.x - OriginRight);
+ float CurrentTop = OriginTop;
+ float CurrentBottom = g_fCurrent_Size.y - (g_fOrigin_Size.y - OriginBottom);
+
+ float2 Finaluv = In.vTexcoord;
+
+ if (CurrentPixelPosition.x < CurrentLeft)
+ {
+ Finaluv.x = CurrentPixelPosition.x / g_fOrigin_Size.x;
+ }
+ else if (CurrentPixelPosition.x > CurrentRight)
+ {
+ float dist = CurrentPixelPosition.x - CurrentRight;
+ Finaluv.x = (OriginRight + dist) / g_fOrigin_Size.x;
+ }
+ else
+ {
+ float scale = (CurrentPixelPosition.x - CurrentLeft) / (CurrentRight - CurrentLeft);
+ Finaluv.x = (OriginLeft / g_fOrigin_Size.x) + scale * ((OriginRight - OriginLeft) / g_fOrigin_Size.x);
+ }
+
+ if (CurrentPixelPosition.y < CurrentTop)
+ {
+ Finaluv.y = CurrentPixelPosition.y / g_fOrigin_Size.y;
+ }
+ else if (CurrentPixelPosition.y > CurrentBottom)
+ {
+ float dist = CurrentPixelPosition.y - CurrentBottom;
+ Finaluv.y = (OriginBottom + dist) / g_fOrigin_Size.y;
+ }
+ else
+ {
+ float scale = (CurrentPixelPosition.y - CurrentTop) / (CurrentBottom - CurrentTop);
+ Finaluv.y = (OriginTop / g_fOrigin_Size.y) + scale * ((OriginBottom - OriginTop) / g_fOrigin_Size.y);
+ }
+
+ float4 tex1 = g_Texture.Sample(DefaultSampler, Finaluv);
+ Color = tex1;
+
+ if (g_iColor == 1)
+ Color.rgb *= float3(100.f, 0.f, 100.f) / 255.f;
+
+ if (g_iColor == 2)
+ {
+ Color.rgb *= 0.3f;
+ }
+
+ Color.a *= Alpha;
+ Out.vColor = Color;
+ return Out;
+}
+
+PS_OUT PS_Quest_Info(PS_IN In)
+{
+ PS_OUT Out;
+
+ float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha;
+ float4 Color = float4(1.f, 1.f, 1.f, 1.f);
+ float4 Color1 = float4(1.f, 1.f, 1.f, 1.f);
+ float2 uv = In.vTexcoord;
+ float2 CurrentPixelPosition = uv * g_fCurrent_Size;
+ float OriginLeft = g_fNine_Slice.x;
+ float OriginRight = g_fNine_Slice.y;
+ float OriginTop = g_fNine_Slice.z;
+ float OriginBottom = g_fNine_Slice.w;
+
+ float CurrentLeft = OriginLeft;
+ float CurrentRight = g_fCurrent_Size.x - (g_fOrigin_Size.x - OriginRight);
+ float CurrentTop = OriginTop;
+ float CurrentBottom = g_fCurrent_Size.y - (g_fOrigin_Size.y - OriginBottom);
+
+ float2 Finaluv = In.vTexcoord;
+
+ if (CurrentPixelPosition.x < CurrentLeft)
+ {
+ Finaluv.x = CurrentPixelPosition.x / g_fOrigin_Size.x;
+ }
+ else if (CurrentPixelPosition.x > CurrentRight)
+ {
+ float dist = CurrentPixelPosition.x - CurrentRight;
+ Finaluv.x = (OriginRight + dist) / g_fOrigin_Size.x;
+ }
+ else
+ {
+ float scale = (CurrentPixelPosition.x - CurrentLeft) / (CurrentRight - CurrentLeft);
+ Finaluv.x = (OriginLeft / g_fOrigin_Size.x) + scale * ((OriginRight - OriginLeft) / g_fOrigin_Size.x);
+ }
+
+ if (CurrentPixelPosition.y < CurrentTop)
+ {
+ Finaluv.y = CurrentPixelPosition.y / g_fOrigin_Size.y;
+ }
+ else if (CurrentPixelPosition.y > CurrentBottom)
+ {
+ float dist = CurrentPixelPosition.y - CurrentBottom;
+ Finaluv.y = (OriginBottom + dist) / g_fOrigin_Size.y;
+ }
+ else
+ {
+ float scale = (CurrentPixelPosition.y - CurrentTop) / (CurrentBottom - CurrentTop);
+ Finaluv.y = (OriginTop / g_fOrigin_Size.y) + scale * ((OriginBottom - OriginTop) / g_fOrigin_Size.y);
+ }
+
+ float4 tex1 = g_Texture.Sample(DefaultSampler, Finaluv);
+ float4 tex2 = g_Texture1.Sample(DefaultSampler, Finaluv);
+
+ Color = tex1;
+
+ Color = lerp(Color, tex2, tex2.a);
+
+ Color.a *= Alpha;
+ Out.vColor = Color;
+ return Out;
+}
+
struct VS_IN3D
{
float3 vPosition : POSITION;
@@ -1953,7 +2084,27 @@ technique11 PosTexTechnique11
PixelShader = compile ps_5_0 PS_Boss_HpBer();
}
- pass PS_Enemy_Detection
+ pass Quest_Border
+ {
+ SetRasterizerState(RS_Nocull);
+ SetDepthStencilState(DSS_Default, 0);
+ SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
+ VertexShader = compile vs_5_0 VS_MAIN();
+ GeometryShader = NULL;
+ PixelShader = compile ps_5_0 PS_Quest_Border();
+ }
+
+ pass Quest_Info
+ {
+ SetRasterizerState(RS_Nocull);
+ SetDepthStencilState(DSS_Default, 0);
+ SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
+ VertexShader = compile vs_5_0 VS_MAIN();
+ GeometryShader = NULL;
+ PixelShader = compile ps_5_0 PS_Quest_Info();
+ }
+
+ pass Enemy_Detection
{
SetRasterizerState(RS_Nocull);
SetDepthStencilState(DSS_Default, 0);
@@ -1962,5 +2113,4 @@ technique11 PosTexTechnique11
GeometryShader = NULL;
PixelShader = compile ps_5_0 PS_Enemy_Detection();
}
-
}
diff --git a/Jusin154_Team3D/Client/Private/Boss_HpBar.cpp b/Jusin154_Team3D/Client/Private/Boss_HpBar.cpp
index 4f248aba7..d376f6f89 100644
--- a/Jusin154_Team3D/Client/Private/Boss_HpBar.cpp
+++ b/Jusin154_Team3D/Client/Private/Boss_HpBar.cpp
@@ -44,7 +44,7 @@ HRESULT CBoss_HpBar::Initialize(void* pArg)
m_fAlpha = 0.f;
m_fAlphaTime = 10.f;
m_vNine_Slice = _float4(60.f, 155.f, 5.f, 82.f);
- m_fMaxHp = 200.f;
+ m_fMaxHp = 0.f;
m_fCurrentHp = m_fMaxHp;
m_fDamage = 0.f;
SizeUpX(750.f);
diff --git a/Jusin154_Team3D/Client/Private/Enemy_Detection.cpp b/Jusin154_Team3D/Client/Private/Enemy_Detection.cpp
index 4b894fa05..cc2f93ad1 100644
--- a/Jusin154_Team3D/Client/Private/Enemy_Detection.cpp
+++ b/Jusin154_Team3D/Client/Private/Enemy_Detection.cpp
@@ -337,7 +337,6 @@ void CEnemy_Detection::Free()
{
__super::Free();
- SAFE_RELEASE(m_pShaderCom);
SAFE_RELEASE(m_pDiffuse_TextureCom);
SAFE_RELEASE(m_pDiffuse_TextureCom1);
SAFE_RELEASE(m_pDiffuse_TextureCom2);
@@ -345,6 +344,7 @@ void CEnemy_Detection::Free()
SAFE_RELEASE(m_pDiffuse_TextureCom4);
SAFE_RELEASE(m_pDiffuse_TextureCom5);
SAFE_RELEASE(m_pVIBufferCom);
+ SAFE_RELEASE(m_pShaderCom);
}
diff --git a/Jusin154_Team3D/Client/Private/Loding_Panel.cpp b/Jusin154_Team3D/Client/Private/Loding_Panel.cpp
index 674b21773..af019652a 100644
--- a/Jusin154_Team3D/Client/Private/Loding_Panel.cpp
+++ b/Jusin154_Team3D/Client/Private/Loding_Panel.cpp
@@ -102,10 +102,9 @@ HRESULT CLoding_Panel::Render()
return E_FAIL;
}
m_pGameInstance->Render_Text(TEXT("Font_size20"), TEXT("<- N M ->."), _float2(100.f, 750.f));
-
+
m_pGameInstance->Render_Text(TEXT("Font_size20"), ToolTip[m_iToolTip_Count].c_str(), _float2(100.f, 800.f));
-
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Public/Client_Enum.h b/Jusin154_Team3D/Client/Public/Client_Enum.h
index b94b23f09..1c0ffdabc 100644
--- a/Jusin154_Team3D/Client/Public/Client_Enum.h
+++ b/Jusin154_Team3D/Client/Public/Client_Enum.h
@@ -12,7 +12,7 @@ namespace Client
enum class SHADER_PASS_PARTICLE { EXPLOSION, END };
enum class SHADER_PASS_POSTEX { DEFAULT, SCISSOR, UI, UVMOVE, TRAIL, TRAIL_BLEND, TRAILWB_FOR_BLEND, TRAIL_BLUR, TRAIL_BLOOM, END };
enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, BLEND, BLEND_NOWORLD, BLOOM, BLOOM_NOWORLD, BLUR_NO_EMMISVE, BLUR_NO_WORLD_NO_EMISSIVE, WEIGHTBLEND_FOR_BLEND, END };
- enum class SHADER_PASS_UIEDITOR { DEFAULT, LOGO, LOGO_TEXT, LOGO_GLOW, ALPHABLEND, CLAMP, CURSOR, LODING, HOLD_ROTATION, MISSION, QUESTYPE, UVMULT, NINECLICE, ROTATION, SLOT, TYPE, HPBAR, MAGIC_METER, MAGIC_ICON, REMOVEUV, REVELIO, POTION, MAGIC_ITEM, SPELL_PREVIEW, SPELL_HEADER, SPELL_HEADER_LINE, SPELL_DRAG, CAMERA_LOCKON, LODING_SCREEN, ENEMY_HPBAR, BOSS_HPBAR, ENEMY_DETECTION, END };
+ enum class SHADER_PASS_UIEDITOR { DEFAULT, LOGO, LOGO_TEXT, LOGO_GLOW, ALPHABLEND, CLAMP, CURSOR, LODING, HOLD_ROTATION, MISSION, QUESTTYPE, UVMULT, NINECLICE, ROTATION, SLOT, TYPE, HPBAR, MAGIC_METER, MAGIC_ICON, REMOVEUV, REVELIO, POTION, MAGIC_ITEM, SPELL_PREVIEW, SPELL_HEADER, SPELL_HEADER_LINE, SPELL_DRAG, CAMERA_LOCKON, LODING_SCREEN, ENEMY_HPBAR, BOSS_HPBAR, ENEMY_DETECTION, END };
enum class SHADER_PASS_UIINTANCE { DEFAULT, ALPHABLEND, UVALPHABLEND, MAGIC_METER, SPELL_LIST, EESSENTIAL_SPELL_SOLT, EESSENTIAL_SPELL, COLOR, SPELL_HOVER, SPELL_SLOT_EFFECT, SPELL_SLOT, SPELL_LOCK, END };
enum class SHADER_PASS_NPC_PBR_ANIM {
diff --git a/Jusin154_Team3D/Client/Public/Loding_Panel.h b/Jusin154_Team3D/Client/Public/Loding_Panel.h
index 50046a73b..ddc693507 100644
--- a/Jusin154_Team3D/Client/Public/Loding_Panel.h
+++ b/Jusin154_Team3D/Client/Public/Loding_Panel.h
@@ -36,7 +36,7 @@ class CLoding_Panel final : public CUIObject
public:
void Set_Image(_int Index);
void ToolTipSetting();
-
+
private:
CTexture* m_pDiffuse_TextureCom = { nullptr };
CTexture* m_pDiffuse_TextureCom1 = { nullptr };
@@ -53,6 +53,9 @@ class CLoding_Panel final : public CUIObject
_wstring ToolTip[5];
_int m_iToolTip_Count{};
+ _wstring ToolTip[5];
+ _int m_iToolTip_Count{};
+
#ifdef _DEBUG
_bool INHYUK = { false };
_bool JINHO = { false };
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Quest/QuestData.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Quest/QuestData.xml
new file mode 100644
index 000000000..5ae2d3c4d
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Quest/QuestData.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
index 8d7423e2f..d0309f2b0 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
@@ -63,6 +63,7 @@ Texture2D g_DiffuseTexture;
Texture2D g_MaskingTexture;
int g_iHover;
+int g_iColor;
int g_iStep1 = 0;
int g_iStep2 = 0;
@@ -1490,6 +1491,136 @@ PS_OUT PS_Boss_HpBer(PS_IN In)
return Out;
}
+PS_OUT PS_Quest_Border(PS_IN In)
+{
+ PS_OUT Out;
+
+ float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha;
+ float4 Color = float4(1.f, 1.f, 1.f, 1.f);
+ float4 Color1 = float4(1.f, 1.f, 1.f, 1.f);
+ float2 uv = In.vTexcoord;
+ float2 CurrentPixelPosition = uv * g_fCurrent_Size;
+ float OriginLeft = g_fNine_Slice.x;
+ float OriginRight = g_fNine_Slice.y;
+ float OriginTop = g_fNine_Slice.z;
+ float OriginBottom = g_fNine_Slice.w;
+
+ float CurrentLeft = OriginLeft;
+ float CurrentRight = g_fCurrent_Size.x - (g_fOrigin_Size.x - OriginRight);
+ float CurrentTop = OriginTop;
+ float CurrentBottom = g_fCurrent_Size.y - (g_fOrigin_Size.y - OriginBottom);
+
+ float2 Finaluv = In.vTexcoord;
+
+ if (CurrentPixelPosition.x < CurrentLeft)
+ {
+ Finaluv.x = CurrentPixelPosition.x / g_fOrigin_Size.x;
+ }
+ else if (CurrentPixelPosition.x > CurrentRight)
+ {
+ float dist = CurrentPixelPosition.x - CurrentRight;
+ Finaluv.x = (OriginRight + dist) / g_fOrigin_Size.x;
+ }
+ else
+ {
+ float scale = (CurrentPixelPosition.x - CurrentLeft) / (CurrentRight - CurrentLeft);
+ Finaluv.x = (OriginLeft / g_fOrigin_Size.x) + scale * ((OriginRight - OriginLeft) / g_fOrigin_Size.x);
+ }
+
+ if (CurrentPixelPosition.y < CurrentTop)
+ {
+ Finaluv.y = CurrentPixelPosition.y / g_fOrigin_Size.y;
+ }
+ else if (CurrentPixelPosition.y > CurrentBottom)
+ {
+ float dist = CurrentPixelPosition.y - CurrentBottom;
+ Finaluv.y = (OriginBottom + dist) / g_fOrigin_Size.y;
+ }
+ else
+ {
+ float scale = (CurrentPixelPosition.y - CurrentTop) / (CurrentBottom - CurrentTop);
+ Finaluv.y = (OriginTop / g_fOrigin_Size.y) + scale * ((OriginBottom - OriginTop) / g_fOrigin_Size.y);
+ }
+
+ float4 tex1 = g_Texture.Sample(DefaultSampler, Finaluv);
+ Color = tex1;
+
+ if (g_iColor == 1)
+ Color.rgb *= float3(100.f, 0.f, 100.f) / 255.f;
+
+ if (g_iColor == 2)
+ {
+ Color.rgb *= 0.3f;
+ }
+
+ Color.a *= Alpha;
+ Out.vColor = Color;
+ return Out;
+}
+
+PS_OUT PS_Quest_Info(PS_IN In)
+{
+ PS_OUT Out;
+
+ float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha;
+ float4 Color = float4(1.f, 1.f, 1.f, 1.f);
+ float4 Color1 = float4(1.f, 1.f, 1.f, 1.f);
+ float2 uv = In.vTexcoord;
+ float2 CurrentPixelPosition = uv * g_fCurrent_Size;
+ float OriginLeft = g_fNine_Slice.x;
+ float OriginRight = g_fNine_Slice.y;
+ float OriginTop = g_fNine_Slice.z;
+ float OriginBottom = g_fNine_Slice.w;
+
+ float CurrentLeft = OriginLeft;
+ float CurrentRight = g_fCurrent_Size.x - (g_fOrigin_Size.x - OriginRight);
+ float CurrentTop = OriginTop;
+ float CurrentBottom = g_fCurrent_Size.y - (g_fOrigin_Size.y - OriginBottom);
+
+ float2 Finaluv = In.vTexcoord;
+
+ if (CurrentPixelPosition.x < CurrentLeft)
+ {
+ Finaluv.x = CurrentPixelPosition.x / g_fOrigin_Size.x;
+ }
+ else if (CurrentPixelPosition.x > CurrentRight)
+ {
+ float dist = CurrentPixelPosition.x - CurrentRight;
+ Finaluv.x = (OriginRight + dist) / g_fOrigin_Size.x;
+ }
+ else
+ {
+ float scale = (CurrentPixelPosition.x - CurrentLeft) / (CurrentRight - CurrentLeft);
+ Finaluv.x = (OriginLeft / g_fOrigin_Size.x) + scale * ((OriginRight - OriginLeft) / g_fOrigin_Size.x);
+ }
+
+ if (CurrentPixelPosition.y < CurrentTop)
+ {
+ Finaluv.y = CurrentPixelPosition.y / g_fOrigin_Size.y;
+ }
+ else if (CurrentPixelPosition.y > CurrentBottom)
+ {
+ float dist = CurrentPixelPosition.y - CurrentBottom;
+ Finaluv.y = (OriginBottom + dist) / g_fOrigin_Size.y;
+ }
+ else
+ {
+ float scale = (CurrentPixelPosition.y - CurrentTop) / (CurrentBottom - CurrentTop);
+ Finaluv.y = (OriginTop / g_fOrigin_Size.y) + scale * ((OriginBottom - OriginTop) / g_fOrigin_Size.y);
+ }
+
+ float4 tex1 = g_Texture.Sample(DefaultSampler, Finaluv);
+ float4 tex2 = g_Texture1.Sample(DefaultSampler, Finaluv);
+
+ Color = tex1;
+
+ Color = lerp(Color, tex2, tex2.a);
+
+ Color.a *= Alpha;
+ Out.vColor = Color;
+ return Out;
+}
+
struct VS_IN3D
{
float3 vPosition : POSITION;
@@ -1953,7 +2084,27 @@ technique11 PosTexTechnique11
PixelShader = compile ps_5_0 PS_Boss_HpBer();
}
- pass PS_Enemy_Detection
+ pass Quest_Border
+ {
+ SetRasterizerState(RS_Nocull);
+ SetDepthStencilState(DSS_Default, 0);
+ SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
+ VertexShader = compile vs_5_0 VS_MAIN();
+ GeometryShader = NULL;
+ PixelShader = compile ps_5_0 PS_Quest_Border();
+ }
+
+ pass Quest_Info
+ {
+ SetRasterizerState(RS_Nocull);
+ SetDepthStencilState(DSS_Default, 0);
+ SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
+ VertexShader = compile vs_5_0 VS_MAIN();
+ GeometryShader = NULL;
+ PixelShader = compile ps_5_0 PS_Quest_Info();
+ }
+
+ pass Enemy_Detection
{
SetRasterizerState(RS_Nocull);
SetDepthStencilState(DSS_Default, 0);
@@ -1962,5 +2113,4 @@ technique11 PosTexTechnique11
GeometryShader = NULL;
PixelShader = compile ps_5_0 PS_Enemy_Detection();
}
-
}
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl
index 5eda5ab45..39b9795ae 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl
@@ -329,7 +329,7 @@ PS_OUT PS_Spell_Effect(PS_IN In)
//float2 maskUV = In.vTexcoord;
- //maskUV.x += g_fTime * float2(0.05, 0.02); // ?띾룄 議곗젅 媛??
+ //maskUV.x += g_fTime * float2(0.05, 0.02);
//float2 center = float2(0.5, 0.0);
//float2 uv = In.vTexcoord - center;
@@ -371,7 +371,7 @@ PS_OUT PS_Spell_Slot(PS_IN In)
switch (In.vBaseColor)
{
case 0:
- BGColor = float3(255.f, 255.f, 0.f) / 255.f;
+ BGColor = float3(220.f, 165.f, 70.f) / 255.f;
break;
case 1:
BGColor = float3(150.f, 120.f, 240.f) / 255.f;
@@ -388,7 +388,6 @@ PS_OUT PS_Spell_Slot(PS_IN In)
case 5:
BGColor = float3(50.f, 150.f, 110.f) / 255.f;
break;
-
}
float4 tex1 = g_Texture.Sample(ClampSampler, Rotation);
tex1.rgb *= BGColor;
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_BossMeterShadow.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_BossMeterShadow.png
deleted file mode 100644
index 77c2c4a57..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_BossMeterShadow.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/Combine_the_stylized-removebg-preview.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/Combine_the_stylized-removebg-preview.png
new file mode 100644
index 000000000..77cb3273d
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/Combine_the_stylized-removebg-preview.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/Line.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/Line.png
new file mode 100644
index 000000000..a663976ea
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/Line.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/Quest_Atlas.dds b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/Quest_Atlas.dds
new file mode 100644
index 000000000..0b1cb3fce
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/Quest_Atlas.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/Quest_Widget.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/Quest_Widget.png
new file mode 100644
index 000000000..51ed1e6c8
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/Quest_Widget.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_DropdownBoxBack.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_DropdownBoxBack.png
new file mode 100644
index 000000000..7b7b35c84
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_DropdownBoxBack.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_LighthouseGoalBorder_4k.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_LighthouseGoalBorder_4k.png
new file mode 100644
index 000000000..8ba75697c
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_LighthouseGoalBorder_4k.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_LighthouseHeaderBack.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_LighthouseHeaderBack.png
new file mode 100644
index 000000000..ab94ead0f
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_LighthouseHeaderBack.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_MenuTextButtonBorder.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_MenuTextButtonBorder.png
new file mode 100644
index 000000000..71ace81e8
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_MenuTextButtonBorder.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_ScrollBarThumbBackBright.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_ScrollBarThumbBackBright.png
new file mode 100644
index 000000000..70e0f37fa
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_ScrollBarThumbBackBright.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_ScrollBarThumbBright.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_ScrollBarThumbBright.png
new file mode 100644
index 000000000..be77bdad3
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_ScrollBarThumbBright.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_TutorialDividerBottom_middle.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_TutorialDividerBottom_middle.png
new file mode 100644
index 000000000..cba77bff7
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_TutorialDividerBottom_middle.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_TutorialMediaBorder.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_TutorialMediaBorder.png
new file mode 100644
index 000000000..0f1689099
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Quest/UI_T_TutorialMediaBorder.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SU_Bombarda_Path.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SU_Bombarda_Path.png
new file mode 100644
index 000000000..305e46e2d
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SU_Bombarda_Path.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SU_ButtonCalloutRing.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SU_ButtonCalloutRing.png
new file mode 100644
index 000000000..d0bbb6e39
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SU_ButtonCalloutRing.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SU_Cursor.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SU_Cursor.png
new file mode 100644
index 000000000..25f79bf8d
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SU_Cursor.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SU_CursorArrow.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SU_CursorArrow.png
new file mode 100644
index 000000000..9df5cba6e
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SU_CursorArrow.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SpellLinkDivide.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SpellLinkDivide.png
new file mode 100644
index 000000000..7da69c4b5
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellUnlock/UI_T_SpellLinkDivide.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellWidget/Spell_Widget.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellWidget/Spell_Widget.png
index f8ec4801b..dba578cf7 100644
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellWidget/Spell_Widget.png and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/SpellWidget/Spell_Widget.png differ
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
index 10a9b7259..f326b81f9 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
@@ -185,6 +185,17 @@ call Update_Shaders.bat
+
+
+
+
+
+
+
+
+
+
+
@@ -392,6 +403,17 @@ call Update_Shaders.bat
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
index 513346fe3..601c61307 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
@@ -564,7 +564,7 @@
{d276d751-77aa-423e-9499-c63875e36266}
-
+
{81c6b163-6c8b-47ac-a4b6-e86088ce709f}
@@ -577,6 +577,39 @@
{a1e789e1-dce1-4069-8c61-b9f9c89f795d}
+
+ {bafb5bee-4fbd-48f8-97a1-66142e96f920}
+
+
+ {0cd16ac8-6b17-4110-8774-4b3dbd2fb8da}
+
+
+ {cf0e6cef-f688-481a-8e7e-478038907ca8}
+
+
+ {0a514079-ba47-4973-8472-07a80f1390cc}
+
+
+ {104ae31b-3c6a-4acb-9886-abace9859c6e}
+
+
+ {2af37b38-5cbe-4701-8681-638dfe78a9ce}
+
+
+ {0dfdc08d-b662-45f1-a1ea-1ca474010600}
+
+
+ {971fb38a-f92c-4eea-99d3-287704800ba5}
+
+
+ {2cf94833-8061-4a5f-9575-ebf2e491954a}
+
+
+ {a5e3c859-7e28-47b3-8b2e-3be3348bb7ee}
+
+
+ {2347d77a-ac72-4b3e-bf5f-434ca410e544}
+
@@ -1139,7 +1172,7 @@
02.GameObjects\Layer_Effect\Effect\State_Effect
-
+
50.UI\GamePlay_Canvas\Enemy_Panel\Enemy_Detection
@@ -1152,6 +1185,39 @@
02.GameObjects\Env\03.MapElement\Chest\Lid
+
+ 50.UI\Quest_Data
+
+
+ 50.UI\Quest_Canvas
+
+
+ 50.UI\Quest_Canvas\Quest_Panel
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_Border
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_Header
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_HeaderLine
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_List
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_Info
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_Info_Header
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_Info_Line
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_Entry_Line
+
@@ -1716,7 +1782,7 @@
02.GameObjects\Layer_Effect\Effect\State_Effect
-
+
50.UI\GamePlay_Canvas\Enemy_Panel\Enemy_Detection
@@ -1729,6 +1795,39 @@
02.GameObjects\Env\03.MapElement\Chest\Lid
+
+ 50.UI\Quest_Data
+
+
+ 50.UI\Quest_Canvas
+
+
+ 50.UI\Quest_Canvas\Quest_Panel
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_Border
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_Header
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_HeaderLine
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_List
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_Info
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_Info_Header
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_Info_Line
+
+
+ 50.UI\Quest_Canvas\Quest_Panel\Quest_Entry_Line
+
diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp
index f0dcde1d6..9594322c9 100644
--- a/Jusin154_Team3D/Editor/Private/Loader.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader.cpp
@@ -41,6 +41,7 @@
#include "Logo_Glow.h"
#include "Spell_Data.h"
+#include "Quest_Data.h"
#include "UI_Manager.h"
#include "Mouse_Cursor.h"
@@ -99,6 +100,17 @@
#include "Current_Slot_Number.h"
#include "Spell_Drag.h"
+#include "Quest_Canvas.h"
+#include "Quest_Panel.h"
+#include "Quest_Border.h"
+#include "Quest_Header.h"
+#include "Quest_HeaderLine.h"
+#include "Quest_List.h"
+#include "Quest_Info.h"
+#include "Quest_Info_Header.h"
+#include "Quest_Info_Line.h"
+#include "Quest_Entry_Line.h"
+
#include "IMGUIUI.h"
#pragma endregion
@@ -458,7 +470,6 @@ HRESULT CLoader::Loading_For_UI()
return E_FAIL;
}
-
Asset_FileLoad("../Bin/Resources/Textures/MiniMap", L"Prototype_Texture_", [&](_wstring wstrFileName, const _char* pFilePath)
{
@@ -587,6 +598,24 @@ HRESULT CLoader::Loading_For_UI()
});
+ Asset_FileLoad("../Bin/Resources/Textures/Quest", L"Prototype_Texture_", [&](_wstring wstrFileName, const _char* pFilePath)
+ {
+
+ _string strFilePath = pFilePath;
+ _wstring wstrFilePath = CMyTools::ToWstring(strFilePath);
+
+
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::UI), wstrFileName,
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, wstrFilePath.c_str(), 0)))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+
+ });
+
+
+
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::UI), TEXT("Item"),
CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/GadgetWheel/Item%d.png"), 8)))) {
return E_FAIL;
@@ -899,6 +928,10 @@ HRESULT CLoader::Loading_For_UI()
{
return E_FAIL;
}
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CQuest_Data::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CUI_Manager::Create(m_pDevice, m_pContext))))
{
@@ -1100,6 +1133,47 @@ HRESULT CLoader::Loading_For_UI()
return E_FAIL;
}
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CQuest_Canvas::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CQuest_Panel::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CQuest_Border::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CQuest_Header::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CQuest_HeaderLine::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CQuest_List::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CQuest_Info::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CQuest_Info_Header::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CQuest_Info_Line::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CQuest_Entry_Line::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
+
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CIMGUIUI::Create(m_pDevice, m_pContext))))
{
return E_FAIL;
diff --git a/Jusin154_Team3D/Editor/Private/MissionBanner_Key.cpp b/Jusin154_Team3D/Editor/Private/MissionBanner_Key.cpp
index 8bb1b80f9..ee826e330 100644
--- a/Jusin154_Team3D/Editor/Private/MissionBanner_Key.cpp
+++ b/Jusin154_Team3D/Editor/Private/MissionBanner_Key.cpp
@@ -43,11 +43,11 @@ HRESULT CMissionBanner_Key::Initialize(void* pArg)
m_fPI = AI_MATH_TWO_PI_F;
Compute_UV();
Compute_Alphabat('V');
- m_eType = QUESTYPE::MAIN;
+ m_eType = QUESTTYPE::MAIN;
return S_OK;
}
-void CMissionBanner_Key::QuestType(QUESTYPE eType)
+void CMissionBanner_Key::QuestType(QUESTTYPE eType)
{
m_eType = eType;
}
diff --git a/Jusin154_Team3D/Editor/Private/Mission_Icon.cpp b/Jusin154_Team3D/Editor/Private/Mission_Icon.cpp
index 7be1c58ca..485107494 100644
--- a/Jusin154_Team3D/Editor/Private/Mission_Icon.cpp
+++ b/Jusin154_Team3D/Editor/Private/Mission_Icon.cpp
@@ -44,7 +44,7 @@ HRESULT CMission_Icon::Initialize(void* pArg)
m_fLerpX = m_fX;
m_fLerpY = 45;
m_fSortZ = 0.1f;
- m_eQuestType = QUESTYPE::MAIN;
+ m_eQuestType = QUESTTYPE::MAIN;
//static_cast(m_pOwner)->Add_Function(TEXT("Mission_SizeUp"), [this](void* p) {
// if (p == nullptr)
// return;
@@ -58,7 +58,7 @@ HRESULT CMission_Icon::Initialize(void* pArg)
return S_OK;
}
-void CMission_Icon::QuestType(QUESTYPE eType)
+void CMission_Icon::QuestType(QUESTTYPE eType)
{
m_eQuestType = eType;
}
@@ -125,7 +125,7 @@ HRESULT CMission_Icon::Render()
if (FAILED(Bind_ShaderResources())) {
return E_FAIL;
}
- if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::QUESTYPE)))) {
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::QUESTTYPE)))) {
return E_FAIL;
}
if (FAILED(m_pVIBufferCom->Bind_Resources())) {
diff --git a/Jusin154_Team3D/Editor/Private/Quest_Border.cpp b/Jusin154_Team3D/Editor/Private/Quest_Border.cpp
new file mode 100644
index 000000000..2e803da8f
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Quest_Border.cpp
@@ -0,0 +1,248 @@
+#include "pch.h"
+#include "Quest_Border.h"
+#include "GameInstance.h"
+
+CQuest_Border::CQuest_Border(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CElementObject(pDevice, pContext)
+{
+}
+
+CQuest_Border::CQuest_Border(const CQuest_Border& rhs)
+ :CElementObject(rhs)
+{
+}
+
+HRESULT CQuest_Border::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CQuest_Border::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = -485.f;
+ Desc.fY = -150.f;
+ Desc.fSizeX = 192.f;
+ Desc.fSizeY = 192.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_fTimeMult = 3.f;
+ m_fAlpha = 1.f;
+ m_fAlphaTime = 5.f;
+ m_vNine_Slice = _float4(48.f, 148.f, 48.f, 148.f);
+ m_fSortZ = 0.02f;
+ m_fFontX = 740.f;
+ m_fFontY = 500.f;
+ SizeUpX(500.f);
+ SizeUpY(500.f);
+ Visible(true);
+ return S_OK;
+}
+
+void CQuest_Border::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CQuest_Border::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_bHover = true;
+ m_fAlpha = 1.f;
+ }
+ }
+
+ if (m_bFadeOut == true)
+ {
+ if (m_fAlpha >= 0.f)
+ {
+ m_fAlpha -= fTimeDelta * m_fAlphaTime;
+ m_bHover = false;
+ }
+
+ if (m_fAlpha <= 0.f)
+ {
+ m_bFadeOut = false;
+ m_fAlpha = 0.f;
+ }
+ }
+ m_fTime += fTimeDelta * m_fTimeMult;
+
+ __super::Update(fTimeDelta);
+}
+
+void CQuest_Border::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ if (m_bVisible) {
+ m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
+ __super::Late_Update(fTimeDelta);
+ }
+}
+
+HRESULT CQuest_Border::Render()
+{
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::QUEST_BORDER)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render())) {
+ return E_FAIL;
+ }
+
+ //m_pGameInstance->Render_Text(TEXT("Font_size14"), m_pSpell_Info.c_str(), _float2(m_fFontX + m_fX, (m_fFontY + m_fY) - m_fPreviewOffSet * 0.5f), XMVectorSet(1.f * m_fAlpha, 1.f * m_fAlpha, 1.f * m_fAlpha, m_fAlpha));
+ return S_OK;
+}
+
+_vector CQuest_Border::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CQuest_Border::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_fTime", &m_fTime, 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;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fNine_Slice", &m_vNine_Slice, sizeof(_float4))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fOrigin_Size", &m_fOrigin_Size, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fCurrent_Size", &m_vScale, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_iColor", &m_iColor, sizeof(_int))))
+ {
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+HRESULT CQuest_Border::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_LighthouseGoalBorder_4k"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+CQuest_Border* CQuest_Border::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CQuest_Border* pInstance = new CQuest_Border(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CQuest_Border");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CQuest_Border::Clone(void* pArg, CGameObject* pOwner)
+{
+ CQuest_Border* pInstance = new CQuest_Border(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CQuest_Border");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CQuest_Border::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CQuest_Border::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/Quest_Canvas.cpp b/Jusin154_Team3D/Editor/Private/Quest_Canvas.cpp
new file mode 100644
index 000000000..2275e8a47
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Quest_Canvas.cpp
@@ -0,0 +1,137 @@
+#include "pch.h"
+#include "UI_Manager.h"
+#include "Quest_Canvas.h"
+#include "GameInstance.h"
+#include "Quest_Panel.h"
+
+CQuest_Canvas::CQuest_Canvas(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CCanvasObject(pDevice, pContext)
+{
+}
+
+CQuest_Canvas::CQuest_Canvas(const CQuest_Canvas& rhs)
+ :CCanvasObject(rhs)
+{
+}
+
+HRESULT CQuest_Canvas::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CQuest_Canvas::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = 0.f;
+ Desc.fY = 0.f;
+ Desc.fSizeX = 1920.f;
+ Desc.fSizeY = 1080.f;
+
+ if (FAILED(__super::Initialize(&Desc)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Components(pArg)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Panel(pArg)))
+ {
+ return E_FAIL;
+ }
+ Visible(false);
+ return S_OK;
+}
+
+void CQuest_Canvas::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CQuest_Canvas::Update(_float fTimeDelta)
+{
+ __super::Update(fTimeDelta);
+}
+
+void CQuest_Canvas::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible) {
+ }
+ __super::Late_Update(fTimeDelta);
+}
+
+HRESULT CQuest_Canvas::Render()
+{
+ return S_OK;
+}
+
+_vector CQuest_Canvas::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CQuest_Canvas::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+HRESULT CQuest_Canvas::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CQuest_Canvas::Ready_Panel(void* pArg)
+{
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast (&m_pQuest_Panel))))
+ {
+ return E_FAIL;
+ }
+ Add_Panel(TEXT("Quest_Panel"), m_pQuest_Panel);
+ return S_OK;
+}
+
+void CQuest_Canvas::Clear_Penel()
+{
+}
+
+CQuest_Canvas* CQuest_Canvas::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CQuest_Canvas* pInstance = new CQuest_Canvas(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CQuest_Canvas");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CQuest_Canvas::Clone(void* pArg, CGameObject* pOwner)
+{
+ CQuest_Canvas* pInstance = new CQuest_Canvas(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CQuest_Canvas");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CQuest_Canvas::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CQuest_Canvas::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/Quest_Data.cpp b/Jusin154_Team3D/Editor/Private/Quest_Data.cpp
new file mode 100644
index 000000000..ff7fc53e4
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Quest_Data.cpp
@@ -0,0 +1,159 @@
+#include "pch.h"
+#include "Quest_Data.h"
+#include "GameObject.h"
+#include "UIObject.h"
+#include "tinyxml2.h"
+
+CQuest_Data::CQuest_Data(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CGameObject(pDevice, pContext)
+{
+}
+
+CQuest_Data::CQuest_Data(const CQuest_Data& rhs)
+ :CGameObject(rhs)
+{
+}
+
+HRESULT CQuest_Data::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CQuest_Data::Initialize(void* pArg)
+{
+ auto* pInfo = static_cast(pArg);
+
+ tinyxml2::XMLDocument doc;
+ tinyxml2::XMLError Error = doc.LoadFile("../Bin/Resources/Data/Quest/QuestData.xml");
+ if (Error != tinyxml2::XML_SUCCESS)
+ return E_FAIL;
+
+ tinyxml2::XMLElement* pQuestInfo = doc.FirstChildElement("QuestInfo");
+ if (!pQuestInfo)
+ return E_FAIL;
+
+ tinyxml2::XMLElement* pQuestData = pQuestInfo->FirstChildElement("QuestData");
+ if (!pQuestData)
+ return E_FAIL;
+
+ tinyxml2::XMLElement* pQuest = pQuestData->FirstChildElement("Quest");
+ while (pQuest)
+ {
+ QUESTINFO quest{};
+
+ pQuest->QueryIntAttribute("QuestID", &quest.iQuestID);
+ pQuest->QueryIntAttribute("QuestType", &quest.iType);
+ quest.pQuestName = pQuest->Attribute("QuestName");
+ quest.pQuestInfo = pQuest->Attribute("QuestInfo");
+
+ tinyxml2::XMLElement* pObjectives = pQuest->FirstChildElement("Objectives");
+ if (pObjectives)
+ {
+ tinyxml2::XMLElement* pObjective = pObjectives->FirstChildElement("Objective");
+ while (pObjective)
+ {
+ OBJECTIVEINFO obj{};
+
+ pObjective->QueryIntAttribute("Objective", &obj.iObjectType);
+ pObjective->QueryIntAttribute("TargetID", &obj.iTargetID);
+ pObjective->QueryIntAttribute("RequiredCount", &obj.iRequiredCount);
+ pObjective->QueryIntAttribute("CurrentCount", &obj.iCurrentCount);
+
+ quest.ObjectiveInfo.push_back(obj);
+
+ pObjective = pObjective->NextSiblingElement("Objective");
+ }
+ }
+
+ tinyxml2::XMLElement* pRewards = pQuest->FirstChildElement("Rewards");
+ if (pRewards)
+ {
+ tinyxml2::XMLElement* pReward = pRewards->FirstChildElement("Reward");
+ while (pReward)
+ {
+ REWARDSINFO reward{};
+
+ pReward->QueryIntAttribute("RequiredCount", &reward.iRewardType);
+ pReward->QueryIntAttribute("CurrentCount", &reward.iRewardID);
+
+ quest.RewardsInfo.push_back(reward);
+
+ pReward = pReward->NextSiblingElement("Reward");
+ }
+ }
+
+ QuestInfos.push_back(quest);
+
+ pQuest = pQuest->NextSiblingElement("Quest");
+ }
+
+ return S_OK;
+}
+
+void CQuest_Data::Priority_Update(_float fTimeDelta)
+{
+}
+
+void CQuest_Data::Update(_float fTimeDelta)
+{
+}
+
+void CQuest_Data::Late_Update(_float fTimeDelta)
+{
+}
+
+HRESULT CQuest_Data::Render()
+{
+ return S_OK;
+}
+
+_vector CQuest_Data::Get_WorldPostion()
+{
+ return _vector();
+}
+
+HRESULT CQuest_Data::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+HRESULT CQuest_Data::Ready_Components(void* pArg)
+{
+ return S_OK;
+}
+
+CQuest_Data* CQuest_Data::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CQuest_Data* pInstance = new CQuest_Data(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CQuest_Data");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CQuest_Data::Clone(void* pArg, CGameObject* pOwner)
+{
+ CQuest_Data* pInstance = new CQuest_Data(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CQuest_Data");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CQuest_Data::Free()
+{
+ __super::Free();
+
+}
+
+void CQuest_Data::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/Quest_Entry_Line.cpp b/Jusin154_Team3D/Editor/Private/Quest_Entry_Line.cpp
new file mode 100644
index 000000000..2122bd4a8
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Quest_Entry_Line.cpp
@@ -0,0 +1,247 @@
+#include "pch.h"
+#include "Quest_Entry_Line.h"
+#include "GameInstance.h"
+
+CQuest_Entry_Line::CQuest_Entry_Line(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CElementObject(pDevice, pContext)
+{
+}
+
+CQuest_Entry_Line::CQuest_Entry_Line(const CQuest_Entry_Line& rhs)
+ :CElementObject(rhs)
+{
+}
+
+HRESULT CQuest_Entry_Line::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CQuest_Entry_Line::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = 330.f;
+ Desc.fY = -230.f;
+ Desc.fSizeX = 256.f;
+ Desc.fSizeY = 64.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_fTimeMult = 3.f;
+ m_fAlpha = 1.f;
+ m_fAlphaTime = 5.f;
+ m_vNine_Slice = _float4(0.f, 256.f, 0.f, 64.f);
+ m_fFontX = 928.f;
+ m_fFontY = 520.f;
+ SizeUpX(800.f);
+ SizeUpY(15.f);
+ Visible(true);
+ return S_OK;
+}
+
+void CQuest_Entry_Line::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CQuest_Entry_Line::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 * m_fAlphaTime;;
+
+ if (m_fAlpha <= 0.f)
+ {
+ m_bFadeOut = false;
+ m_fAlpha = 0.f;
+ }
+ }
+
+ m_fTime += fTimeDelta * m_fTimeMult;
+ __super::Update(fTimeDelta);
+}
+
+void CQuest_Entry_Line::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ if (m_bVisible) {
+ m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
+ __super::Late_Update(fTimeDelta);
+ }
+}
+
+HRESULT CQuest_Entry_Line::Render()
+{
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::QUEST_BORDER)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render())) {
+ return E_FAIL;
+ }
+
+ _float OffSet = m_pGameInstance->FontSizeX(TEXT("Font_size20"), TEXT("보 상") - 22) * 0.5f;
+ m_pGameInstance->Render_Text(TEXT("Font_size20"), TEXT("조 건"), _float2((m_fFontX + m_fX) - OffSet, m_fFontY + m_fY), XMVectorSet(1.f * m_fAlpha, 1.f * m_fAlpha, 1.f * m_fAlpha, m_fAlpha));
+
+ return S_OK;
+}
+
+_vector CQuest_Entry_Line::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CQuest_Entry_Line::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_fTime", &m_fTime, 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;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fNine_Slice", &m_vNine_Slice, sizeof(_float4))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fOrigin_Size", &m_fOrigin_Size, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fCurrent_Size", &m_vScale, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_iColor", &m_iColor, sizeof(_int))))
+ {
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+HRESULT CQuest_Entry_Line::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_Line"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+CQuest_Entry_Line* CQuest_Entry_Line::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CQuest_Entry_Line* pInstance = new CQuest_Entry_Line(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CQuest_Entry_Line");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CQuest_Entry_Line::Clone(void* pArg, CGameObject* pOwner)
+{
+ CQuest_Entry_Line* pInstance = new CQuest_Entry_Line(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CSpell_Header");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CQuest_Entry_Line::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CQuest_Entry_Line::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/Quest_Header.cpp b/Jusin154_Team3D/Editor/Private/Quest_Header.cpp
new file mode 100644
index 000000000..819ea129f
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Quest_Header.cpp
@@ -0,0 +1,249 @@
+#include "pch.h"
+#include "Quest_Header.h"
+#include "GameInstance.h"
+
+CQuest_Header::CQuest_Header(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CElementObject(pDevice, pContext)
+{
+}
+
+CQuest_Header::CQuest_Header(const CQuest_Header& rhs)
+ :CElementObject(rhs)
+{
+}
+
+HRESULT CQuest_Header::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CQuest_Header::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = -485.f;
+ Desc.fY = -352.f;
+ Desc.fSizeX = 128.f;
+ Desc.fSizeY = 32.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_fTimeMult = 3.f;
+ m_fAlpha = 1.f;
+ m_fAlphaTime = 5.f;
+ m_vNine_Slice = _float4(0.f, 128.f, 0.f, 32.f);
+ m_fSortZ = 0.02f;
+ m_fFontX = 780.f;
+ m_fFontY = 520.f;
+ SizeUpX(600.f);
+ SizeUpY(80.f);
+ Visible(true);
+ return S_OK;
+}
+
+void CQuest_Header::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CQuest_Header::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_bHover = true;
+ m_fAlpha = 1.f;
+ }
+ }
+
+ if (m_bFadeOut == true)
+ {
+ if (m_fAlpha >= 0.f)
+ {
+ m_fAlpha -= fTimeDelta * m_fAlphaTime;
+ m_bHover = false;
+ }
+
+ if (m_fAlpha <= 0.f)
+ {
+ m_bFadeOut = false;
+ m_fAlpha = 0.f;
+ }
+ }
+ m_fTime += fTimeDelta * m_fTimeMult;
+
+ __super::Update(fTimeDelta);
+}
+
+void CQuest_Header::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ if (m_bVisible) {
+ m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
+ __super::Late_Update(fTimeDelta);
+ }
+}
+
+HRESULT CQuest_Header::Render()
+{
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::QUEST_BORDER)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render())) {
+ return E_FAIL;
+ }
+
+ _float OffSet = m_pGameInstance->FontSizeX(TEXT("Font_size20"), TEXT("마을의 평화를 위해서 노력하기") - 22) * 0.5f;
+ m_pGameInstance->Render_Text(TEXT("Font_size20"), TEXT("마을의 평화를 위해서 노력하기"), _float2((m_fFontX + m_fX) - OffSet, m_fFontY + m_fY), XMVectorSet(1.f * m_fAlpha, 1.f * m_fAlpha, 1.f * m_fAlpha, m_fAlpha));
+ return S_OK;
+}
+
+_vector CQuest_Header::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CQuest_Header::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_fTime", &m_fTime, 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;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fNine_Slice", &m_vNine_Slice, sizeof(_float4))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fOrigin_Size", &m_fOrigin_Size, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fCurrent_Size", &m_vScale, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_iColor", &m_iColor, sizeof(_int))))
+ {
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+HRESULT CQuest_Header::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_LighthouseHeaderBack"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+CQuest_Header* CQuest_Header::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CQuest_Header* pInstance = new CQuest_Header(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CQuest_Header");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CQuest_Header::Clone(void* pArg, CGameObject* pOwner)
+{
+ CQuest_Header* pInstance = new CQuest_Header(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CQuest_Header");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CQuest_Header::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CQuest_Header::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/Quest_HeaderLine.cpp b/Jusin154_Team3D/Editor/Private/Quest_HeaderLine.cpp
new file mode 100644
index 000000000..a3abf2465
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Quest_HeaderLine.cpp
@@ -0,0 +1,222 @@
+#include "pch.h"
+#include "Quest_HeaderLine.h"
+#include "GameInstance.h"
+
+CQuest_HeaderLine::CQuest_HeaderLine(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CElementObject(pDevice, pContext)
+{
+}
+
+CQuest_HeaderLine::CQuest_HeaderLine(const CQuest_HeaderLine& rhs)
+ :CElementObject(rhs)
+{
+}
+
+HRESULT CQuest_HeaderLine::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CQuest_HeaderLine::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = -485.f;
+ Desc.fY = -310.f;
+ Desc.fSizeX = 480.f;
+ Desc.fSizeY = 10.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_fTimeMult = 3.f;
+ m_fAlpha = 1.f;
+ m_fAlphaTime = 5.f;
+ Visible(true);
+ return S_OK;
+}
+
+void CQuest_HeaderLine::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CQuest_HeaderLine::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 * m_fAlphaTime;;
+
+ if (m_fAlpha <= 0.f)
+ {
+ m_bFadeOut = false;
+ m_fAlpha = 0.f;
+ }
+ }
+
+ m_fTime += fTimeDelta * m_fTimeMult;
+ __super::Update(fTimeDelta);
+}
+
+void CQuest_HeaderLine::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ if (m_bVisible) {
+ m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
+ __super::Late_Update(fTimeDelta);
+ }
+}
+
+HRESULT CQuest_HeaderLine::Render()
+{
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::ALPHABLEND)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render())) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+_vector CQuest_HeaderLine::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CQuest_HeaderLine::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_fTime", &m_fTime, 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 CQuest_HeaderLine::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_TutorialDividerBottom_middle"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+CQuest_HeaderLine* CQuest_HeaderLine::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CQuest_HeaderLine* pInstance = new CQuest_HeaderLine(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CQuest_HeaderLine");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CQuest_HeaderLine::Clone(void* pArg, CGameObject* pOwner)
+{
+ CQuest_HeaderLine* pInstance = new CQuest_HeaderLine(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CQuest_HeaderLine");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CQuest_HeaderLine::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CQuest_HeaderLine::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/Quest_Info.cpp b/Jusin154_Team3D/Editor/Private/Quest_Info.cpp
new file mode 100644
index 000000000..e3ca732f3
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Quest_Info.cpp
@@ -0,0 +1,276 @@
+#include "pch.h"
+#include "Quest_Info.h"
+#include "GameInstance.h"
+
+CQuest_Info::CQuest_Info(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CElementObject(pDevice, pContext)
+{
+}
+
+CQuest_Info::CQuest_Info(const CQuest_Info& rhs)
+ :CElementObject(rhs)
+{
+}
+
+HRESULT CQuest_Info::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CQuest_Info::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = 325.f;
+ Desc.fY = -250.f;
+ Desc.fSizeX = 128.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) };
+
+ if (FAILED(__super::Initialize(&Desc)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Components(pArg)))
+ {
+ return E_FAIL;
+ }
+ m_fTimeMult = 3.f;
+ m_fAlpha = 1.f;
+ m_fAlphaTime = 5.f;
+ m_vNine_Slice = _float4(50.f, 75.f, 30.f, 96.f);
+ m_fPreviewOffSet = 0.f;
+ m_fOriginPerviewSize = 280.f;
+ SizeUpX(960);
+ SizeUpY(m_fOriginPerviewSize);
+ m_fSortZ = 0.02f;
+ m_fFontX = 740.f;
+ m_fFontY = 500.f;
+ m_iPerQuestIndex = -1;
+ Visible(true);
+ return S_OK;
+}
+
+void CQuest_Info::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CQuest_Info::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_bHover = true;
+ m_fAlpha = 1.f;
+ }
+ }
+
+ if (m_bFadeOut == true)
+ {
+ if (m_fAlpha >= 0.f)
+ {
+ m_fAlpha -= fTimeDelta * m_fAlphaTime;
+ m_bHover = false;
+ }
+
+ if (m_fAlpha <= 0.f)
+ {
+ m_bFadeOut = false;
+ m_fAlpha = 0.f;
+ }
+ }
+ m_fTime += fTimeDelta * m_fTimeMult;
+ Hover();
+ m_pRect.left = long(m_fX - m_vScale.x * 0.5f);
+ m_pRect.top = long(m_fY - m_vScale.y * 0.5f);
+ m_pRect.right = long(m_fX + m_vScale.x * 0.5f);
+ m_pRect.bottom = long(m_fY + m_vScale.y * 0.5f);
+ __super::Update(fTimeDelta);
+}
+
+void CQuest_Info::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ if (m_bVisible) {
+ m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
+ __super::Late_Update(fTimeDelta);
+ }
+}
+
+HRESULT CQuest_Info::Render()
+{
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::QUEST_INFO)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render())) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+_vector CQuest_Info::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CQuest_Info::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_pDiffuse_TextureCom1->Bind_ShaderResource(m_pShaderCom, "g_Texture1", 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_fTime", &m_fTime, 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;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fNine_Slice", &m_vNine_Slice, sizeof(_float4))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fOrigin_Size", &m_fOrigin_Size, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fCurrent_Size", &m_vScale, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+HRESULT CQuest_Info::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_SpellWidgetPanelBack"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_TutorialMediaBorder"), reinterpret_cast(&m_pDiffuse_TextureCom1), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+void CQuest_Info::Hover()
+{
+ POINT ptMouse{};
+ GetCursorPos(&ptMouse);
+ ScreenToClient(g_hWnd, &ptMouse);
+ _float2 fMouse;
+ fMouse.x = ptMouse.x - g_iWinSizeX * 0.5f;
+ fMouse.y = -(ptMouse.y - g_iWinSizeY * 0.5f);
+
+ if (fMouse.x >= m_pRect.left && fMouse.x <= m_pRect.right &&
+ fMouse.y >= m_pRect.top && fMouse.y <= m_pRect.bottom)
+ {
+ _int a = 0;
+ }
+
+}
+
+CQuest_Info* CQuest_Info::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CQuest_Info* pInstance = new CQuest_Info(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CQuest_Info");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CQuest_Info::Clone(void* pArg, CGameObject* pOwner)
+{
+ CQuest_Info* pInstance = new CQuest_Info(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CQuest_Info");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CQuest_Info::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
+ SAFE_RELEASE(m_pDiffuse_TextureCom1);
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CQuest_Info::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/Quest_Info_Header.cpp b/Jusin154_Team3D/Editor/Private/Quest_Info_Header.cpp
new file mode 100644
index 000000000..4e49775f4
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Quest_Info_Header.cpp
@@ -0,0 +1,246 @@
+#include "pch.h"
+#include "Quest_Info_Header.h"
+#include "GameInstance.h"
+
+CQuest_Info_Header::CQuest_Info_Header(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CElementObject(pDevice, pContext)
+{
+}
+
+CQuest_Info_Header::CQuest_Info_Header(const CQuest_Info_Header& rhs)
+ :CElementObject(rhs)
+{
+}
+
+HRESULT CQuest_Info_Header::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CQuest_Info_Header::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = 345.f;
+ Desc.fY = -350.f;
+ Desc.fSizeX = 128.f;
+ Desc.fSizeY = 32.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_fTimeMult = 3.f;
+ m_fAlpha = 1.f;
+ m_fAlphaTime = 5.f;
+ m_vNine_Slice = _float4(0.f, 128.f, 0.f, 32.f);
+ m_fSortZ = 0.02f;
+ m_fFontX = 740.f;
+ m_fFontY = 520.f;
+ m_iColor = 2;
+ SizeUpX(1105.f);
+ SizeUpY(60.f);
+ Visible(true);
+ return S_OK;
+}
+
+void CQuest_Info_Header::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+
+void CQuest_Info_Header::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_bHover = true;
+ m_fAlpha = 1.f;
+ }
+ }
+
+ if (m_bFadeOut == true)
+ {
+ if (m_fAlpha >= 0.f)
+ {
+ m_fAlpha -= fTimeDelta * m_fAlphaTime;
+ m_bHover = false;
+ }
+
+ if (m_fAlpha <= 0.f)
+ {
+ m_bFadeOut = false;
+ m_fAlpha = 0.f;
+ }
+ }
+ m_fTime += fTimeDelta * m_fTimeMult;
+
+ __super::Update(fTimeDelta);
+}
+
+void CQuest_Info_Header::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ if (m_bVisible) {
+ m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
+ __super::Late_Update(fTimeDelta);
+ }
+}
+
+HRESULT CQuest_Info_Header::Render()
+{
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::QUEST_BORDER)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render())) {
+ return E_FAIL;
+ }
+
+ _float OffSet = m_pGameInstance->FontSizeX(TEXT("Font_size20"), TEXT("마을의 평화를 위해서 노력하기") - 22) * 0.5f;
+ m_pGameInstance->Render_Text(TEXT("Font_size20"), TEXT("마을의 평화를 위해서 노력하기"), _float2((m_fFontX + m_fX) - OffSet, m_fFontY + m_fY), XMVectorSet(1.f * m_fAlpha, 1.f * m_fAlpha, 1.f * m_fAlpha, m_fAlpha));
+ return S_OK;
+}
+
+_vector CQuest_Info_Header::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CQuest_Info_Header::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_fTime", &m_fTime, 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;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fNine_Slice", &m_vNine_Slice, sizeof(_float4))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fOrigin_Size", &m_fOrigin_Size, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fCurrent_Size", &m_vScale, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_iColor", &m_iColor, sizeof(_int))))
+ {
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+HRESULT CQuest_Info_Header::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_LighthouseHeaderBack"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+CQuest_Info_Header* CQuest_Info_Header::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CQuest_Info_Header* pInstance = new CQuest_Info_Header(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CQuest_Info_Header");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CQuest_Info_Header::Clone(void* pArg, CGameObject* pOwner)
+{
+ CQuest_Info_Header* pInstance = new CQuest_Info_Header(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CQuest_Info_Header");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CQuest_Info_Header::Free()
+{
+}
+
+void CQuest_Info_Header::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/Quest_Info_Line.cpp b/Jusin154_Team3D/Editor/Private/Quest_Info_Line.cpp
new file mode 100644
index 000000000..4cac3f91f
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Quest_Info_Line.cpp
@@ -0,0 +1,241 @@
+#include "pch.h"
+#include "Quest_Info_Line.h"
+#include "GameInstance.h"
+
+CQuest_Info_Line::CQuest_Info_Line(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CElementObject(pDevice, pContext)
+{
+}
+
+CQuest_Info_Line::CQuest_Info_Line(const CQuest_Info_Line& rhs)
+ :CElementObject(rhs)
+{
+}
+
+HRESULT CQuest_Info_Line::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CQuest_Info_Line::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = 323.f;
+ Desc.fY = -315.f;
+ Desc.fSizeX = 256.f;
+ Desc.fSizeY = 64.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_fTimeMult = 3.f;
+ m_fAlpha = 1.f;
+ m_fAlphaTime = 5.f;
+ m_vNine_Slice = _float4(11.f, 245.f, 0.f, 64.f);
+ SizeUpX(934.f);
+ SizeUpY(15.f);
+ Visible(true);
+ return S_OK;
+}
+
+void CQuest_Info_Line::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CQuest_Info_Line::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 * m_fAlphaTime;;
+
+ if (m_fAlpha <= 0.f)
+ {
+ m_bFadeOut = false;
+ m_fAlpha = 0.f;
+ }
+ }
+
+ m_fTime += fTimeDelta * m_fTimeMult;
+ __super::Update(fTimeDelta);
+}
+
+void CQuest_Info_Line::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ if (m_bVisible) {
+ m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
+ __super::Late_Update(fTimeDelta);
+ }
+}
+
+HRESULT CQuest_Info_Line::Render()
+{
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::QUEST_BORDER)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render())) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+_vector CQuest_Info_Line::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CQuest_Info_Line::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_fTime", &m_fTime, 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;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fNine_Slice", &m_vNine_Slice, sizeof(_float4))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fOrigin_Size", &m_fOrigin_Size, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fCurrent_Size", &m_vScale, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_iColor", &m_iColor, sizeof(_int))))
+ {
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+HRESULT CQuest_Info_Line::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_Header_Line"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+CQuest_Info_Line* CQuest_Info_Line::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CQuest_Info_Line* pInstance = new CQuest_Info_Line(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CQuest_Info_Line");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CQuest_Info_Line::Clone(void* pArg, CGameObject* pOwner)
+{
+ CQuest_Info_Line* pInstance = new CQuest_Info_Line(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CQuest_Info_Line");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CQuest_Info_Line::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CQuest_Info_Line::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/Quest_List.cpp b/Jusin154_Team3D/Editor/Private/Quest_List.cpp
new file mode 100644
index 000000000..789247975
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Quest_List.cpp
@@ -0,0 +1,241 @@
+#include "pch.h"
+#include "Quest_List.h"
+#include "GameInstance.h"
+
+CQuest_List::CQuest_List(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CElementObject(pDevice, pContext)
+{
+}
+
+CQuest_List::CQuest_List(const CQuest_List& rhs)
+ :CElementObject(rhs)
+{
+}
+
+HRESULT CQuest_List::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CQuest_List::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = -485.f;
+ Desc.fY = 150.f;
+ Desc.fSizeX = 256.f;
+ Desc.fSizeY = 64.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_fTimeMult = 3.f;
+ m_fAlpha = 1.f;
+ m_fAlphaTime = 5.f;
+ m_vNine_Slice = _float4(70.f, 186.f, 0.f, 64.f);
+ SizeUpX(495.f);
+ SizeUpY(80.f);
+ Visible(true);
+ return S_OK;
+}
+
+void CQuest_List::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CQuest_List::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 * m_fAlphaTime;;
+
+ if (m_fAlpha <= 0.f)
+ {
+ m_bFadeOut = false;
+ m_fAlpha = 0.f;
+ }
+ }
+
+ m_fTime += fTimeDelta * m_fTimeMult;
+ __super::Update(fTimeDelta);
+}
+
+void CQuest_List::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ if (m_bVisible) {
+ m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
+ __super::Late_Update(fTimeDelta);
+ }
+}
+
+HRESULT CQuest_List::Render()
+{
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::QUEST_BORDER)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render())) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+_vector CQuest_List::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CQuest_List::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_fTime", &m_fTime, 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;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fNine_Slice", &m_vNine_Slice, sizeof(_float4))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fOrigin_Size", &m_fOrigin_Size, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fCurrent_Size", &m_vScale, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_iColor", &m_iColor, sizeof(_int))))
+ {
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+HRESULT CQuest_List::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_MenuTextButtonBorder"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+CQuest_List* CQuest_List::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CQuest_List* pInstance = new CQuest_List(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CQuest_List");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CQuest_List::Clone(void* pArg, CGameObject* pOwner)
+{
+ CQuest_List* pInstance = new CQuest_List(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CSpell_Header");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CQuest_List::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CQuest_List::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/Quest_Panel.cpp b/Jusin154_Team3D/Editor/Private/Quest_Panel.cpp
new file mode 100644
index 000000000..afeebf301
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Quest_Panel.cpp
@@ -0,0 +1,257 @@
+#include "pch.h"
+#include "Quest_Panel.h"
+#include "GameInstance.h"
+#include "Quest_Border.h"
+#include "Quest_Header.h"
+#include "Quest_HeaderLine.h"
+#include "Quest_List.h"
+#include "Quest_Info.h"
+#include "Quest_Info_Header.h"
+#include "Quest_Info_Line.h"
+#include "Quest_Entry_Line.h"
+
+CQuest_Panel::CQuest_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CPanelObject(pDevice, pContext)
+{
+}
+
+CQuest_Panel::CQuest_Panel(const CQuest_Panel& rhs)
+ :CPanelObject(rhs)
+{
+}
+
+HRESULT CQuest_Panel::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CQuest_Panel::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = 960.f;
+ Desc.fY = 540.f;
+ Desc.fSizeX = g_iWinSizeX;
+ Desc.fSizeY = g_iWinSizeY;
+
+ if (FAILED(__super::Initialize(&Desc)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Components(pArg)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Element(pArg)))
+ {
+ return E_FAIL;
+ }
+ m_fCanvasAlpha = 1.f;
+ m_fSortZ = 0.05f;
+ m_iSpellType = -1;
+ m_fDelayTime = 1.f;
+ Visible(true);
+ ElementAllVisible(true);
+ return S_OK;
+}
+
+void CQuest_Panel::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CQuest_Panel::Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+
+ __super::Update(fTimeDelta);
+}
+
+void CQuest_Panel::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ if (m_bVisible) {
+ m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
+ __super::Late_Update(fTimeDelta);
+ }
+}
+
+HRESULT CQuest_Panel::Render()
+{
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::ALPHABLEND)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render())) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+_vector CQuest_Panel::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CQuest_Panel::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_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 CQuest_Panel::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_Quest_Widget"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CQuest_Panel::Ready_Element(void* pArg)
+{
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pQuest_Border))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Quest_Border"), m_pQuest_Border);
+
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pQuest_Header))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Quest_Header"), m_pQuest_Header);
+
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pQuest_HeaderLine))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Quest_HeaderLine"), m_pQuest_HeaderLine);
+
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pQuest_List))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Quest_List"), m_pQuest_List);
+
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pQuest_Info))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Quest_Info"), m_pQuest_Info);
+
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pQuest_Info_Header))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Quest_Info_Header"), m_pQuest_Info_Header);
+
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pQuest_Info_Line))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Quest_Info_Line"), m_pQuest_Info_Line);
+
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pQuest_Entry_Line))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Quest_Entry_Line"), m_pQuest_Entry_Line);
+
+ return S_OK;
+}
+
+CQuest_Panel* CQuest_Panel::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CQuest_Panel* pInstance = new CQuest_Panel(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CQuest_Panel");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CQuest_Panel::Clone(void* pArg, CGameObject* pOwner)
+{
+ CQuest_Panel* pInstance = new CQuest_Panel(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CQuest_Panel");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CQuest_Panel::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CQuest_Panel::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/Spell_Canvas.cpp b/Jusin154_Team3D/Editor/Private/Spell_Canvas.cpp
index b15c58a94..1b53268cb 100644
--- a/Jusin154_Team3D/Editor/Private/Spell_Canvas.cpp
+++ b/Jusin154_Team3D/Editor/Private/Spell_Canvas.cpp
@@ -51,7 +51,6 @@ void CSpell_Canvas::Priority_Update(_float fTimeDelta)
void CSpell_Canvas::Update(_float fTimeDelta)
{
-
__super::Update(fTimeDelta);
}
diff --git a/Jusin154_Team3D/Editor/Private/Spell_Data.cpp b/Jusin154_Team3D/Editor/Private/Spell_Data.cpp
index 20157c07d..c38fcb243 100644
--- a/Jusin154_Team3D/Editor/Private/Spell_Data.cpp
+++ b/Jusin154_Team3D/Editor/Private/Spell_Data.cpp
@@ -4,8 +4,6 @@
#include "UIObject.h"
#include "tinyxml2.h"
-;
-
CSpell_Data::CSpell_Data(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
:CGameObject(pDevice, pContext)
{
@@ -18,7 +16,6 @@ CSpell_Data::CSpell_Data(const CSpell_Data& rhs)
HRESULT CSpell_Data::Initialize_Prototype()
{
-
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Spell_List.cpp b/Jusin154_Team3D/Editor/Private/Spell_List.cpp
index 3afd78cd1..185061394 100644
--- a/Jusin154_Team3D/Editor/Private/Spell_List.cpp
+++ b/Jusin154_Team3D/Editor/Private/Spell_List.cpp
@@ -182,10 +182,6 @@ void CSpell_List::Hover()
fMouse.x = ptMouse.x - (g_iWinSizeX * 0.5f);
fMouse.y = -(ptMouse.y - (g_iWinSizeY * 0.5f));
- // 엘리먼트의 월드 위치를 더해주면 엘리먼트 좌표계 기준이 됨
- fMouse.x -= m_pOwner->Get_WorldPostion().m128_f32[0];
- fMouse.y -= m_pOwner->Get_WorldPostion().m128_f32[1];
-
m_iSpellType = m_pVIBufferCom->Set_Mouse_Hover(fMouse);
CUIObject::HOVER_INFO Info;
diff --git a/Jusin154_Team3D/Editor/Private/Spell_Preview.cpp b/Jusin154_Team3D/Editor/Private/Spell_Preview.cpp
index f48f0c060..c7c7fa9fb 100644
--- a/Jusin154_Team3D/Editor/Private/Spell_Preview.cpp
+++ b/Jusin154_Team3D/Editor/Private/Spell_Preview.cpp
@@ -156,7 +156,6 @@ void CSpell_Preview::SizeUpX(_float fSizeX)
m_fSizeX = fSizeX;
m_fX += fX;
m_fLerpX += fX;
-
}
void CSpell_Preview::SizeUpY(_float fSizeY)
@@ -164,9 +163,7 @@ void CSpell_Preview::SizeUpY(_float fSizeY)
_float prevY = m_fY;
m_fSizeY = fSizeY;
m_fY = m_fTopY + fSizeY * 0.5f;
-
_float deltaY = m_fY - prevY;
-
}
HRESULT CSpell_Preview::Bind_ShaderResources()
diff --git a/Jusin154_Team3D/Editor/Private/UI_Manager.cpp b/Jusin154_Team3D/Editor/Private/UI_Manager.cpp
index 477e7b000..4e94201a2 100644
--- a/Jusin154_Team3D/Editor/Private/UI_Manager.cpp
+++ b/Jusin154_Team3D/Editor/Private/UI_Manager.cpp
@@ -3,6 +3,7 @@
#include "GameInstance.h"
#include "GamePlay_Canvas.h"
#include "Spell_Canvas.h"
+#include "Quest_Canvas.h"
#include "Mouse_Cursor.h"
#include "CameraLockOn.h"
#include "Loding_Canvas.h"
@@ -43,12 +44,18 @@ void CUI_Manager::Canvas_Change(Canvases eType)
case Canvases::GAMEPLAYER_CANVAS:
static_cast(m_pGamePlay_Canves)->Visible(true);
static_cast(m_pSpell_Canvas)->Visible(false);
+ static_cast(m_pQuest_Canves)->Visible(false);
break;
case Canvases::SPELL_CANVAS:
static_cast(m_pSpell_Canvas)->Visible(true);
static_cast(m_pGamePlay_Canves)->Visible(false);
+ break;
+ case Canvases::QUEST_CANVES:
+ static_cast(m_pQuest_Canves)->Visible(true);
+ static_cast(m_pGamePlay_Canves)->Visible(false);
+
break;
default:
return;
@@ -99,7 +106,15 @@ void CUI_Manager::Update(_float fTimeDelta)
{
if (m_eType == Canvases::GAMEPLAYER_CANVAS)
Canvas_Change(Canvases::SPELL_CANVAS);
- else
+ else if(m_eType == Canvases::SPELL_CANVAS)
+ Canvas_Change(Canvases::GAMEPLAYER_CANVAS);
+ }
+
+ if (m_pGameInstance->Key_Down(DIK_TAB))
+ {
+ if (m_eType == Canvases::GAMEPLAYER_CANVAS)
+ Canvas_Change(Canvases::QUEST_CANVES);
+ else if (m_eType == Canvases::QUEST_CANVES)
Canvas_Change(Canvases::GAMEPLAYER_CANVAS);
}
@@ -145,15 +160,20 @@ HRESULT CUI_Manager::Ready_Components(void* pArg)
}
Add_Canvas(TEXT("Spell_Canvas"), m_pSpell_Canvas);
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, g_iStaticLevel, LAYER_UI, nullptr, this, reinterpret_cast(&m_pQuest_Canves)))) {
+ return E_FAIL;
+ }
+ Add_Canvas(TEXT("Quest_Canves"), m_pQuest_Canves);
+
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, g_iStaticLevel, LAYER_UI, nullptr, this, reinterpret_cast(&m_pMouse_Cursor)))) {
return E_FAIL;
}
//Add_Canvas(TEXT("Mouse_Cursor"), m_pMouse_Cursor);
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, g_iStaticLevel, LAYER_UI, nullptr, this, reinterpret_cast(&m_pCamera_LockOn)))) {
- return E_FAIL;
- }
- //Add_Canvas(TEXT("Camera_LockOn"), m_pCamera_LockOn);
+ //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, g_iStaticLevel, LAYER_UI, nullptr, this, reinterpret_cast(&m_pCamera_LockOn)))) {
+ // return E_FAIL;
+ //}
+ ////Add_Canvas(TEXT("Camera_LockOn"), m_pCamera_LockOn);
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Public/Editor_Define.h b/Jusin154_Team3D/Editor/Public/Editor_Define.h
index b52ba7b07..e916fe354 100644
--- a/Jusin154_Team3D/Editor/Public/Editor_Define.h
+++ b/Jusin154_Team3D/Editor/Public/Editor_Define.h
@@ -28,7 +28,13 @@ namespace Editor
enum class SHADER_PASS_POSTEX { DEFAULT, SCISSOR, UI, UVMOVE, TRAIL, TRAIL_BLEND, TRAILWB_FOR_BLEND, TRAIL_BLUR, TRAIL_BLOOM, END };
- enum class SHADER_PASS_UIEDITOR { DEFAULT, LOGO, LOGO_TEXT, LOGO_GLOW, ALPHABLEND, CLAMP, CURSOR, LODING, HOLD_ROTATION, MISSION, QUESTYPE, UVMULT, NINECLICE, ROTATION, SLOT, TYPE, HPBAR, MAGIC_METER, MAGIC_ICON, REMOVEUV, REVELIO, POTION, MAGIC_ITEM, SPELL_PREVIEW, SPELL_HEADER, SPELL_HEADER_LINE, SPELL_DRAG, CAMERA_LOCKON, LODING_SCREEN, ENEMY_HPBAR, BOSS_HPBAR, ENEMY_DETECTION, END };
+ enum class SHADER_PASS_UIEDITOR { DEFAULT, LOGO, LOGO_TEXT, LOGO_GLOW, ALPHABLEND, CLAMP, CURSOR,
+ LODING, HOLD_ROTATION, MISSION, QUESTTYPE, UVMULT, NINECLICE,
+ ROTATION, SLOT, TYPE, HPBAR, MAGIC_METER, MAGIC_ICON, REMOVEUV,
+ REVELIO, POTION, MAGIC_ITEM, SPELL_PREVIEW, SPELL_HEADER,
+ SPELL_HEADER_LINE, SPELL_DRAG, CAMERA_LOCKON, LODING_SCREEN,
+ ENEMY_HPBAR, BOSS_HPBAR, QUEST_BORDER, QUEST_INFO,
+ ENEMY_DETECTION, END };
enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, BLEND, BLEND_NOWORLD, BLOOM, BLOOM_NOWORLD, BLUR_NO_EMMISVE, BLUR_NO_WORLD_NO_EMISSIVE, WEIGHTBLEND_FOR_BLEND, DEPTH_STOP, END };
enum class SHADER_PASS_UIINTANCE { DEFAULT, ALPHABLEND, UVALPHABLEND, MAGIC_METER, SPELL_LIST, EESSENTIAL_SPELL_SOLT, EESSENTIAL_SPELL, COLOR, SPELL_HOVER, SPELL_SLOT_EFFECT, SPELL_SLOT, SPELL_LOCK,END };
diff --git a/Jusin154_Team3D/Editor/Public/MissionBanner_Key.h b/Jusin154_Team3D/Editor/Public/MissionBanner_Key.h
index b28825909..779720695 100644
--- a/Jusin154_Team3D/Editor/Public/MissionBanner_Key.h
+++ b/Jusin154_Team3D/Editor/Public/MissionBanner_Key.h
@@ -27,7 +27,7 @@ class CMissionBanner_Key final : public CElementObject
virtual HRESULT Initialize(void* pArg) override;
public:
- void QuestType(QUESTYPE eType);
+ void QuestType(QUESTTYPE eType);
private:
void Compute_UV();
@@ -49,7 +49,7 @@ class CMissionBanner_Key final : public CElementObject
_float4 m_vKey{};
_float4 m_vUV{};
_float4 m_vActive_Icon{};
- QUESTYPE m_eType = QUESTYPE::END;
+ QUESTTYPE m_eType = QUESTTYPE::END;
public:
static CMissionBanner_Key* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
diff --git a/Jusin154_Team3D/Editor/Public/Mission_Icon.h b/Jusin154_Team3D/Editor/Public/Mission_Icon.h
index 7cd6094ba..e8cdfb474 100644
--- a/Jusin154_Team3D/Editor/Public/Mission_Icon.h
+++ b/Jusin154_Team3D/Editor/Public/Mission_Icon.h
@@ -29,13 +29,13 @@ class CMission_Icon final : public CElementObject
virtual HRESULT Initialize(void* pArg) override;
public:
- void QuestType(QUESTYPE eType);
+ void QuestType(QUESTTYPE eType);
private:
CTexture* m_pDiffuse_TextureCom = { nullptr };
CShader* m_pShaderCom = { nullptr };
CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
- QUESTYPE m_eQuestType = QUESTYPE::END;
+ QUESTTYPE m_eQuestType = QUESTTYPE::END;
_uint m_iType{};
public:
diff --git a/Jusin154_Team3D/Editor/Public/Quest_Border.h b/Jusin154_Team3D/Editor/Public/Quest_Border.h
new file mode 100644
index 000000000..116ccb3cd
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Quest_Border.h
@@ -0,0 +1,43 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "ElementObject.h"
+
+NS_BEGIN(Editor)
+
+class CQuest_Border final : public CElementObject
+{
+private:
+ CQuest_Border(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CQuest_Border(const CQuest_Border& rhs);
+ virtual ~CQuest_Border() = 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;
+
+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_Rect* m_pVIBufferCom = { nullptr };
+
+ _int m_iColor = { false };
+
+
+public:
+ static CQuest_Border* 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/Quest_Canvas.h b/Jusin154_Team3D/Editor/Public/Quest_Canvas.h
new file mode 100644
index 000000000..7c7cdad96
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Quest_Canvas.h
@@ -0,0 +1,46 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "CanvasObject.h"
+
+NS_BEGIN(Engine)
+class CGameObject;
+NS_END
+
+NS_BEGIN(Editor)
+
+class CQuest_Canvas final : public CCanvasObject
+{
+private:
+ CQuest_Canvas(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CQuest_Canvas(const CQuest_Canvas& rhs);
+ virtual ~CQuest_Canvas() = 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;
+
+private:
+ virtual HRESULT Bind_ShaderResources() override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ virtual HRESULT Ready_Panel(void* pArg) override;
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+
+public:
+ void Clear_Penel();
+
+private:
+ CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
+ CGameObject* m_pQuest_Panel = { nullptr };
+public:
+ static CQuest_Canvas* 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/Quest_Data.h b/Jusin154_Team3D/Editor/Public/Quest_Data.h
new file mode 100644
index 000000000..9c5187f3c
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Quest_Data.h
@@ -0,0 +1,73 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "GameObject.h"
+
+NS_BEGIN(Engine)
+class CGameObject;
+NS_END
+
+NS_BEGIN(Editor)
+class CQuest_Data final : public CGameObject
+{
+public:
+ typedef struct tagObjectiveInfo
+ {
+ _int iObjectType{};
+ _int iTargetID{};
+ _int iRequiredCount{};
+ _int iCurrentCount{};
+ }OBJECTIVEINFO;
+ typedef struct tagRewardsInfo
+ {
+ _int iRewardType{};
+ _int iRewardID{};
+ }REWARDSINFO;
+ typedef struct tagQuestInfo
+ {
+ _int iQuestID{};
+ _int iType{};
+ _string pQuestName;
+ _string pQuestInfo;
+ vector ObjectiveInfo;
+ vector RewardsInfo;
+ }QUESTINFO;
+private:
+ CQuest_Data(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CQuest_Data(const CQuest_Data& rhs);
+ virtual ~CQuest_Data() = 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;
+
+private:
+ virtual HRESULT Bind_ShaderResources() override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+
+public:
+ //const SPELLINFO& Get_Info(_uint SpellID) const;
+
+private:
+ CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
+
+ QUESTINFO QuestInfo = {};
+ OBJECTIVEINFO ObjectiveInfo = {};
+ REWARDSINFO RewardsInfo = {};
+
+ vector QuestInfos;
+
+ _bool m_bClear[1] = { false };
+public:
+ static CQuest_Data* 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/Quest_Entry_Line.h b/Jusin154_Team3D/Editor/Public/Quest_Entry_Line.h
new file mode 100644
index 000000000..0fe2fd216
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Quest_Entry_Line.h
@@ -0,0 +1,41 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "ElementObject.h"
+
+NS_BEGIN(Editor)
+
+class CQuest_Entry_Line final : public CElementObject
+{
+private:
+ CQuest_Entry_Line(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CQuest_Entry_Line(const CQuest_Entry_Line& rhs);
+ virtual ~CQuest_Entry_Line() = 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;
+
+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_Rect* m_pVIBufferCom = { nullptr };
+
+ _int m_iColor = { false };
+public:
+ static CQuest_Entry_Line* 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/Quest_Header.h b/Jusin154_Team3D/Editor/Public/Quest_Header.h
new file mode 100644
index 000000000..7b7e416d1
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Quest_Header.h
@@ -0,0 +1,42 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "ElementObject.h"
+
+NS_BEGIN(Editor)
+
+class CQuest_Header final : public CElementObject
+{
+private:
+ CQuest_Header(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CQuest_Header(const CQuest_Header& rhs);
+ virtual ~CQuest_Header() = 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;
+
+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_Rect* m_pVIBufferCom = { nullptr };
+
+ _int m_iColor = true;
+
+public:
+ static CQuest_Header* 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/Quest_HeaderLine.h b/Jusin154_Team3D/Editor/Public/Quest_HeaderLine.h
new file mode 100644
index 000000000..7adf793fc
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Quest_HeaderLine.h
@@ -0,0 +1,40 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "ElementObject.h"
+
+NS_BEGIN(Editor)
+
+class CQuest_HeaderLine final : public CElementObject
+{
+private:
+ CQuest_HeaderLine(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CQuest_HeaderLine(const CQuest_HeaderLine& rhs);
+ virtual ~CQuest_HeaderLine() = 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;
+
+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_Rect* m_pVIBufferCom = { nullptr };
+
+public:
+ static CQuest_HeaderLine* 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/Quest_Info.h b/Jusin154_Team3D/Editor/Public/Quest_Info.h
new file mode 100644
index 000000000..685cffe23
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Quest_Info.h
@@ -0,0 +1,51 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "ElementObject.h"
+
+NS_BEGIN(Editor)
+
+class CQuest_Info final : public CElementObject
+{
+private:
+ CQuest_Info(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CQuest_Info(const CQuest_Info& rhs);
+ virtual ~CQuest_Info() = 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;
+
+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:
+ void Hover();
+
+private:
+ CTexture* m_pDiffuse_TextureCom = { nullptr };
+ CTexture* m_pDiffuse_TextureCom1 = { nullptr };
+ CShader* m_pShaderCom = { nullptr };
+ CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
+
+ _wstring m_pQuest_Info;
+
+ _float m_fOriginPerviewSize{};
+ _float m_fPreviewOffSet{};
+ _float4 m_vHeaderBack{};
+
+ _int m_iPerQuestIndex{};
+public:
+ static CQuest_Info* 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/Quest_Info_Header.h b/Jusin154_Team3D/Editor/Public/Quest_Info_Header.h
new file mode 100644
index 000000000..128abf1c0
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Quest_Info_Header.h
@@ -0,0 +1,42 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "ElementObject.h"
+
+NS_BEGIN(Editor)
+
+class CQuest_Info_Header final : public CElementObject
+{
+private:
+ CQuest_Info_Header(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CQuest_Info_Header(const CQuest_Info_Header& rhs);
+ virtual ~CQuest_Info_Header() = 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;
+
+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_Rect* m_pVIBufferCom = { nullptr };
+
+ _int m_iColor = true;
+
+public:
+ static CQuest_Info_Header* 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/Quest_Info_Line.h b/Jusin154_Team3D/Editor/Public/Quest_Info_Line.h
new file mode 100644
index 000000000..a108174bf
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Quest_Info_Line.h
@@ -0,0 +1,41 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "ElementObject.h"
+
+NS_BEGIN(Editor)
+
+class CQuest_Info_Line final : public CElementObject
+{
+private:
+ CQuest_Info_Line(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CQuest_Info_Line(const CQuest_Info_Line& rhs);
+ virtual ~CQuest_Info_Line() = 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;
+
+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_Rect* m_pVIBufferCom = { nullptr };
+
+ _int m_iColor = { false };
+public:
+ static CQuest_Info_Line* 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/Quest_List.h b/Jusin154_Team3D/Editor/Public/Quest_List.h
new file mode 100644
index 000000000..a9738fa7c
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Quest_List.h
@@ -0,0 +1,41 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "ElementObject.h"
+
+NS_BEGIN(Editor)
+
+class CQuest_List final : public CElementObject
+{
+private:
+ CQuest_List(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CQuest_List(const CQuest_List& rhs);
+ virtual ~CQuest_List() = 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;
+
+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_Rect* m_pVIBufferCom = { nullptr };
+
+ _int m_iColor = { false };
+public:
+ static CQuest_List* 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/Quest_Panel.h b/Jusin154_Team3D/Editor/Public/Quest_Panel.h
new file mode 100644
index 000000000..fe79f07dc
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Quest_Panel.h
@@ -0,0 +1,55 @@
+
+#pragma once
+
+#include "Editor_Define.h"
+#include "PanelObject.h"
+
+NS_BEGIN(Engine)
+class CGameObject;
+NS_END
+
+NS_BEGIN(Editor)
+
+class CQuest_Panel final : public CPanelObject
+{
+private:
+ CQuest_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CQuest_Panel(const CQuest_Panel& rhs);
+ virtual ~CQuest_Panel() = 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;
+
+private:
+ virtual HRESULT Bind_ShaderResources() override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ virtual HRESULT Ready_Element(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_Rect* m_pVIBufferCom = { nullptr };
+
+ CGameObject* m_pQuest_Border = { nullptr };
+ CGameObject* m_pQuest_Header = { nullptr };
+ CGameObject* m_pQuest_HeaderLine = { nullptr };
+ CGameObject* m_pQuest_List = { nullptr };
+ CGameObject* m_pQuest_Info = { nullptr };
+ CGameObject* m_pQuest_Info_Header= { nullptr };
+ CGameObject* m_pQuest_Info_Line = { nullptr };
+ CGameObject* m_pQuest_Entry_Line = { nullptr };
+
+public:
+ static CQuest_Panel* 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_Data.h b/Jusin154_Team3D/Editor/Public/Spell_Data.h
index 1f45e81f2..92e571e5a 100644
--- a/Jusin154_Team3D/Editor/Public/Spell_Data.h
+++ b/Jusin154_Team3D/Editor/Public/Spell_Data.h
@@ -52,7 +52,6 @@ class CSpell_Data final : public CGameObject
private:
CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
- CGameObject* m_pSpell_Panel = { nullptr };
SPELLINFO SpellInfo = {};
public:
diff --git a/Jusin154_Team3D/Editor/Public/UI_Manager.h b/Jusin154_Team3D/Editor/Public/UI_Manager.h
index 8140f98aa..9461bd7df 100644
--- a/Jusin154_Team3D/Editor/Public/UI_Manager.h
+++ b/Jusin154_Team3D/Editor/Public/UI_Manager.h
@@ -12,7 +12,7 @@ NS_BEGIN(Editor)
class CUI_Manager final : public CUIObject
{
public:
- enum class Canvases { GAMEPLAYER_CANVAS, SPELL_CANVAS };
+ enum class Canvases { GAMEPLAYER_CANVAS, SPELL_CANVAS, QUEST_CANVES };
private:
CUI_Manager(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
@@ -52,6 +52,7 @@ class CUI_Manager final : public CUIObject
CGameObject* m_pGamePlay_Canves = { nullptr };
CGameObject* m_pSpell_Canvas = { nullptr };
CGameObject* m_pLoding_Canvas= { nullptr };
+ CGameObject* m_pQuest_Canves= { nullptr };
CGameObject* m_pMouse_Cursor = { nullptr };
CGameObject* m_pCamera_LockOn = { nullptr };
_bool m_bCanvas_Change = { false };
diff --git a/Jusin154_Team3D/Engine/Public/Engine_Enum.h b/Jusin154_Team3D/Engine/Public/Engine_Enum.h
index ecf271a31..368ff8a22 100644
--- a/Jusin154_Team3D/Engine/Public/Engine_Enum.h
+++ b/Jusin154_Team3D/Engine/Public/Engine_Enum.h
@@ -43,7 +43,7 @@ enum class SHADER_PASS_DEFERRED { DEBUG, DIRECTIONAL, POINT, COMBINED, BLUR, SPO
POSTCOMBINED, FOG, TONE_MAPPING, SSAO_OCCLUSION, SSAO_BLUR,
END };
-enum class QUESTYPE {MAIN, SUB, END};
+enum class QUESTTYPE {MAIN, SUB, END};
enum class TEXTURE_MOUNT_SLOT0 { NOT_DEFINED, METALLIC, SPECULAR, HEIGHT, END };
enum class TEXTURE_MOUNT_SLOT1 { NOT_DEFINED, ROUGHNESS, END };
enum class TEXTURE_MOUNT_SLOT2 { NOT_DEFINED, OCCLUSION, ALPHA, Amount_Scatter, END };