[Add] 다이얼로그 만듬

This commit is contained in:
qordlsgur
2025-12-28 10:57:49 +09:00
parent 0d020aebce
commit cc1a3f6680
27 changed files with 245 additions and 110 deletions
@@ -82,11 +82,6 @@ void CNPCInteraction::NpcInfo(_wstring Name)
m_NpcName = Name;
}
void CNPCInteraction::Interaction(_bool bInteraction)
{
m_bInteraction = bInteraction;
}
void CNPCInteraction::Priority_Update(_float fTimeDelta)
{
@@ -169,15 +164,12 @@ HRESULT CNPCInteraction::Render()
m_NpcName.c_str(),
m_vFontPosition);
if (m_bInteraction == true)
{
m_pGameInstance->Perspective_Render_Text(
m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW),
m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ),
TEXT("Font_size15"),
TEXT("대화하기"),
m_vPosition);
}
m_pGameInstance->Perspective_Render_Text(
m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW),
m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ),
TEXT("Font_size15"),
TEXT("대화하기"),
m_vPosition);
return S_OK;
@@ -243,10 +235,6 @@ HRESULT CNPCInteraction::Bind_ShaderResources()
{
return E_FAIL;
}
if (FAILED(m_pShaderCom->Bind_RawValue("g_iHover", &m_bInteraction, sizeof(_bool))))
{
return E_FAIL;
}
return S_OK;
}