diff --git a/Jusin154_Team3D/Client/Private/Camera_Debug.cpp b/Jusin154_Team3D/Client/Private/Camera_Debug.cpp index aa2e662cb..7fe2793d2 100644 --- a/Jusin154_Team3D/Client/Private/Camera_Debug.cpp +++ b/Jusin154_Team3D/Client/Private/Camera_Debug.cpp @@ -28,7 +28,10 @@ void CCamera_Debug::Update(_float fTimeDelta) Transition(fTimeDelta); _float3 vCamPos = {}; XMStoreFloat3(&vCamPos, m_pTransformCom->Get_State(STATE::POSITION)); +#ifdef _DEBUG GUI::Text("Cam Coord %.2f, %.2f, %.2f", vCamPos.x, vCamPos.y, vCamPos.z); +#endif // _DEBUG + if (m_pGameInstance->Key_Up(DIK_GRAVE)) { m_bMovable = !m_bMovable; } diff --git a/Jusin154_Team3D/Client/Private/EffectPool.cpp b/Jusin154_Team3D/Client/Private/EffectPool.cpp index 9247652a3..cfc0a3d02 100644 --- a/Jusin154_Team3D/Client/Private/EffectPool.cpp +++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp @@ -135,19 +135,19 @@ HRESULT CEffectPool::Bind_ShaderResources() HRESULT CEffectPool::Ready_Effect() { -#ifdef 기무리 - if (FAILED(Create_Effect(SKILL_TYPE::JAP, 5, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* { - CNomalJap* pEffect = nullptr; - - pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr); - - return pEffect; } - ))) return E_FAIL; - -#endif // 기무리 +//#ifdef 기무리 +// if (FAILED(Create_Effect(SKILL_TYPE::JAP, 5, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* { +// CNomalJap* pEffect = nullptr; +// +// pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr); +// +// return pEffect; } +// ))) return E_FAIL; +// +//#endif // 기무리 -#ifndef 기무리 +//#ifndef 기무리 if (FAILED(Create_Effect(SKILL_TYPE::JAP, 10, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* { CNomalJap* pEffect = nullptr; @@ -260,7 +260,7 @@ HRESULT CEffectPool::Ready_Effect() return pEffect; } ))) return E_FAIL; -#endif // !기무리 +//#endif // !기무리 return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Goblin.cpp b/Jusin154_Team3D/Client/Private/Goblin.cpp index e2dbeb2fe..6a2c734f9 100644 --- a/Jusin154_Team3D/Client/Private/Goblin.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin.cpp @@ -86,9 +86,12 @@ void CGoblin::Update(_float fTimeDelta) m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom); Play_Event(); +#ifdef _DEBUG GUI::Text("%d", m_pCharacter_Controller->IsActive()); GUI::Text("%f %f", m_vStunTimer.x, m_vStunTimer.y); +#endif // _DEBUG + if (true == m_pCharacter_Controller->IsActive()) { m_pCharacter_Controller->Move(fTimeDelta); m_vStunTimer.x = 0.f; diff --git a/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp index 03a4a60fb..7926f26d0 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp @@ -83,9 +83,12 @@ void CGoblin_Mage::Update(_float fTimeDelta) m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom); Play_Event(); +#ifdef _DEBUG GUI::Text("%d", m_pCharacter_Controller->IsActive()); GUI::Text("%f %f", m_vStunTimer.x, m_vStunTimer.y); +#endif // _DEBUG + if (true == m_pCharacter_Controller->IsActive()) { m_pCharacter_Controller->Move(fTimeDelta); m_vStunTimer.x = 0.f; diff --git a/Jusin154_Team3D/Client/Private/Intro_BG.cpp b/Jusin154_Team3D/Client/Private/Intro_BG.cpp index d09188264..7d4525be7 100644 --- a/Jusin154_Team3D/Client/Private/Intro_BG.cpp +++ b/Jusin154_Team3D/Client/Private/Intro_BG.cpp @@ -171,7 +171,10 @@ void CIntro_BG::Free() SAFE_RELEASE(m_pShaderCom); SAFE_RELEASE(m_pVIBufferCom); } +#ifdef _DEBUG void CIntro_BG::Describe_Entity() { } + +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Intro_Image.cpp b/Jusin154_Team3D/Client/Private/Intro_Image.cpp index f22020e28..d564ab528 100644 --- a/Jusin154_Team3D/Client/Private/Intro_Image.cpp +++ b/Jusin154_Team3D/Client/Private/Intro_Image.cpp @@ -182,6 +182,9 @@ void CIntro_Image::Free() SAFE_RELEASE(m_pVIBufferCom); } +#ifdef _DEBUG void CIntro_Image::Describe_Entity() { } + +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Level_Logo.cpp b/Jusin154_Team3D/Client/Private/Level_Logo.cpp index 9e0e471b9..5a9e978f9 100644 --- a/Jusin154_Team3D/Client/Private/Level_Logo.cpp +++ b/Jusin154_Team3D/Client/Private/Level_Logo.cpp @@ -26,9 +26,9 @@ HRESULT CLevel_Logo::Initialize() void CLevel_Logo::Update(_float fTimeDelta) { -#ifdef 기무리 - m_pGameInstance->Set_LevelToChange(); -#endif // 기무리 +//#ifdef 기무리 +// m_pGameInstance->Set_LevelToChange(); +//#endif // 기무리 if (m_pGameInstance->Key_Down(DIK_F1)) { diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index efba09c5e..5d0d3f76d 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -843,205 +843,205 @@ HRESULT CLoader::Loading_For_GamePlay() m_pGameInstance->Load_GlobalSRV(TEXT("GLOBAL_DISOLVE_BURN_VERTICAL"), "../Bin/Resources/Textures/Effect/Diffuse/drp_fire_Line_Vertical.png"); } #pragma endregion -//#pragma region UI_ANI -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Altering_Spell"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Altering_Spell\\Altering_Spell%d.png"), 349)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Alohomora"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Alohomora\\Alohomora%d.png"), 394)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic\\Ancient_Magic%d.png"), 152)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic_Throw"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic_Throw\\Ancient_Magic_Throw%d.png"), 89)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Arresto_Momentum"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Arresto_Momentum\\Arresto_Momentum%d.png"), 120)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Avada_Kedavra"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Avada_Kedavra\\Avada_Kedavra%d.png"), 208)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Basic_Cast"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Basic_Cast\\Basic_Cast%d.png"), 308)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Feed"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Feed\\Beast_Feed%d.png"), 378)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Petting_Brush"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Petting_Brush\\Beast_Petting_Brush%d.png"), 327)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Bombarda"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Bombarda\\Bombarda%d.png"), 262)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Confringo"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Confringo\\Confringo%d.png"), 157)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Conjuring_Spell"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Conjuring_Spell\\Conjuring_Spell%d.png"), 115)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Descendo"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Descendo\\Descendo%d.png"), 155)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Depulso"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Depulso\\Depulso%d.png"), 152)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Diffindo"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Diffindo\\Diffindo%d.png"), 150)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Disillusionment"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Disillusionment\\Disillusionment%d.png"), 260)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Evanesco"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Evanesco\\Evanesco%d.png"), 136)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Expelliarmus"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Expelliarmus\\Expelliarmus%d.png"), 146)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Flipendo"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Flipendo\\Flipendo%d.png"), 188)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Glacius"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Glacius\\Glacius%d.png"), 156)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Imperio"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Imperio\\Imperio%d.png"), 462)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Incendio"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Incendio\\Incendio%d.png"), 213)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Levioso"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Levioso\\Levioso%d.png"), 180)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Lumos"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Lumos\\Lumos%d.png"), 365)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Nab_Sack"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Nab_Sack\\Nab_Sack%d.png"), 235)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Petrificus_Totalus"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Petrificus_Totalus\\Petrificus_Totalus%d.png"), 275)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Protego"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Protego\\Protego%d.png"), 285)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Reparo"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Reparo\\Reparo%d.png"), 385)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Revelio"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Revelio\\Revelio%d.png"), 227)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Stupefy"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Stupefy\\Stupefy%d.png"), 222)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Transformation"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Transformation\\Transformation%d.png"), 146)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Wingardium_Leviosa"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Wingardium_Leviosa\\Wingardium_Leviosa%d.png"), 273)))) -// { -// return E_FAIL; -// } -// -// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Crucio"), -// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Crucio\\Crucio%d.png"), 216)))) -// { -// return E_FAIL; -// } -// +#pragma region UI_ANI + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Altering_Spell"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Altering_Spell\\Altering_Spell%d.png"), 349)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Alohomora"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Alohomora\\Alohomora%d.png"), 394)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic\\Ancient_Magic%d.png"), 152)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic_Throw"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic_Throw\\Ancient_Magic_Throw%d.png"), 89)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Arresto_Momentum"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Arresto_Momentum\\Arresto_Momentum%d.png"), 120)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Avada_Kedavra"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Avada_Kedavra\\Avada_Kedavra%d.png"), 208)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Basic_Cast"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Basic_Cast\\Basic_Cast%d.png"), 308)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Feed"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Feed\\Beast_Feed%d.png"), 378)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Petting_Brush"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Petting_Brush\\Beast_Petting_Brush%d.png"), 327)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Bombarda"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Bombarda\\Bombarda%d.png"), 262)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Confringo"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Confringo\\Confringo%d.png"), 157)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Conjuring_Spell"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Conjuring_Spell\\Conjuring_Spell%d.png"), 115)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Descendo"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Descendo\\Descendo%d.png"), 155)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Depulso"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Depulso\\Depulso%d.png"), 152)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Diffindo"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Diffindo\\Diffindo%d.png"), 150)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Disillusionment"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Disillusionment\\Disillusionment%d.png"), 260)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Evanesco"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Evanesco\\Evanesco%d.png"), 136)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Expelliarmus"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Expelliarmus\\Expelliarmus%d.png"), 146)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Flipendo"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Flipendo\\Flipendo%d.png"), 188)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Glacius"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Glacius\\Glacius%d.png"), 156)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Imperio"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Imperio\\Imperio%d.png"), 462)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Incendio"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Incendio\\Incendio%d.png"), 213)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Levioso"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Levioso\\Levioso%d.png"), 180)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Lumos"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Lumos\\Lumos%d.png"), 365)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Nab_Sack"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Nab_Sack\\Nab_Sack%d.png"), 235)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Petrificus_Totalus"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Petrificus_Totalus\\Petrificus_Totalus%d.png"), 275)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Protego"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Protego\\Protego%d.png"), 285)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Reparo"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Reparo\\Reparo%d.png"), 385)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Revelio"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Revelio\\Revelio%d.png"), 227)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Stupefy"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Stupefy\\Stupefy%d.png"), 222)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Transformation"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Transformation\\Transformation%d.png"), 146)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Wingardium_Leviosa"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Wingardium_Leviosa\\Wingardium_Leviosa%d.png"), 273)))) + { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Crucio"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Crucio\\Crucio%d.png"), 216)))) + { + return E_FAIL; + } + #pragma endregion #pragma region TERRAIN_TEXTURE diff --git a/Jusin154_Team3D/Client/Private/Loding_Panel.cpp b/Jusin154_Team3D/Client/Private/Loding_Panel.cpp index be9e9d9db..8fccf7321 100644 --- a/Jusin154_Team3D/Client/Private/Loding_Panel.cpp +++ b/Jusin154_Team3D/Client/Private/Loding_Panel.cpp @@ -270,6 +270,9 @@ void CLoding_Panel::Free() SAFE_RELEASE(m_pVIBufferCom); } +#ifdef _DEBUG void CLoding_Panel::Describe_Entity() { } + +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Logo.cpp b/Jusin154_Team3D/Client/Private/Logo.cpp index f7cccd7d7..f3ac8cd93 100644 --- a/Jusin154_Team3D/Client/Private/Logo.cpp +++ b/Jusin154_Team3D/Client/Private/Logo.cpp @@ -173,7 +173,10 @@ void CLogo::Free() SAFE_RELEASE(m_pVIBufferCom); } +#ifdef _DEBUG void CLogo::Describe_Entity() { } +#endif // _DEBUG + diff --git a/Jusin154_Team3D/Client/Private/Logo_Glow.cpp b/Jusin154_Team3D/Client/Private/Logo_Glow.cpp index 83d955946..f533d525e 100644 --- a/Jusin154_Team3D/Client/Private/Logo_Glow.cpp +++ b/Jusin154_Team3D/Client/Private/Logo_Glow.cpp @@ -196,6 +196,9 @@ void CLogo_Glow::Free() SAFE_RELEASE(m_pVIBufferCom); } +#ifdef _DEBUG void CLogo_Glow::Describe_Entity() { } + +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Logo_Text.cpp b/Jusin154_Team3D/Client/Private/Logo_Text.cpp index 55a0a6d53..db80da98c 100644 --- a/Jusin154_Team3D/Client/Private/Logo_Text.cpp +++ b/Jusin154_Team3D/Client/Private/Logo_Text.cpp @@ -186,7 +186,10 @@ void CLogo_Text::Free() SAFE_RELEASE(m_pShaderCom); SAFE_RELEASE(m_pVIBufferCom); } +#ifdef _DEBUG void CLogo_Text::Describe_Entity() { } + +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp b/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp index 1efc5d2dc..81f4b8394 100644 --- a/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp +++ b/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp @@ -185,11 +185,14 @@ HRESULT CMapElement_Interactable::Render_OutLine() return E_FAIL; } +#ifdef _DEBUG GUI::SetNextItemWidth(80.f); GUI::ColorPicker3("vOutLineColor", (_float*)&m_vOutLineColor); GUI::SliderFloat("Thickness", &m_fOutLineThickness, 0.1f, 2.f, "%.1f"); GUI::SliderFloat("Scale", &m_fOutLineScale, 0.1f, 2.f, "%.1f"); GUI::SliderFloat("Power", &m_fOutLinePower, 0.1f, 2.f, "%.1f"); +#endif // _DEBUG + Compute_Depth(); _float fRatio = (m_fCamDepth / *m_pGameInstance->Get_CurrentCameraFar()); m_fOutLineThickness = CMyTools::Lerp_f1D(0.07f, 0.15f, fRatio); diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp index 6367cae66..be72717cf 100644 --- a/Jusin154_Team3D/Client/Private/Player_States.cpp +++ b/Jusin154_Team3D/Client/Private/Player_States.cpp @@ -1724,8 +1724,10 @@ void CPlayer::Add_FSM() _matrix BoneNoScale = XMMatrixRotationQuaternion(Rot) * XMMatrixTranslationFromVector(Trans); m_OffsetPos = { 0.f, 1.4f, 0.f }; - +#ifdef _DEBUG GUI::DragFloat3("BroomOffset", (_float*)&m_OffsetPos, 0.01f); +#endif // _DEBUG + _matrix Offset = XMMatrixTranslation(m_OffsetPos.x, m_OffsetPos.y, m_OffsetPos.z); diff --git a/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp b/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp index faf2b8ecd..7db2d9694 100644 --- a/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp +++ b/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp @@ -34,6 +34,7 @@ HRESULT CTroll_Weapon::Initialize(void* pArg) return E_FAIL; } + return S_OK; } @@ -50,6 +51,7 @@ void CTroll_Weapon::Priority_Update(_float fTimeDelta) m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr())); + #ifdef _DEBUG Describe_Entity(); @@ -69,8 +71,9 @@ void CTroll_Weapon::Late_Update(_float fTimeDelta) HRESULT CTroll_Weapon::Render() { - if (!m_pModelCom) + if (!m_pModelCom){ return S_OK; + } if (FAILED(Bind_ShaderResources())) { return E_FAIL; @@ -103,13 +106,15 @@ HRESULT CTroll_Weapon::Ready_Components() /* Com_Model */ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_Troll_Weapon_Model"), - reinterpret_cast(&m_pModelCom)))) + reinterpret_cast(&m_pModelCom)))){ return E_FAIL; + } /* Com_Shader */ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_MESH, - reinterpret_cast(&m_pShaderCom)))) + reinterpret_cast(&m_pShaderCom)))){ return E_FAIL; + } return S_OK; } diff --git a/Jusin154_Team3D/Client/Public/Goblin_Attack.h b/Jusin154_Team3D/Client/Public/Goblin_Attack.h index c0cb952c7..ad6aee3bf 100644 --- a/Jusin154_Team3D/Client/Public/Goblin_Attack.h +++ b/Jusin154_Team3D/Client/Public/Goblin_Attack.h @@ -38,7 +38,10 @@ class CGoblin_Attack final : public CEffect_Container static CGoblin_Attack* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual void Free() override; CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG void Describe_Entity() override; +#endif // _DEBUG + }; NS_END diff --git a/Jusin154_Team3D/Client/Public/Intro_BG.h b/Jusin154_Team3D/Client/Public/Intro_BG.h index 8c3235a6d..1463b15c4 100644 --- a/Jusin154_Team3D/Client/Public/Intro_BG.h +++ b/Jusin154_Team3D/Client/Public/Intro_BG.h @@ -40,7 +40,10 @@ class CIntro_BG final : public CUIObject static CIntro_BG* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; +#ifdef _DEBUG void Describe_Entity() override; +#endif // _DEBUG + }; diff --git a/Jusin154_Team3D/Client/Public/Intro_Image.h b/Jusin154_Team3D/Client/Public/Intro_Image.h index 1e2b0bf16..12eb07d4e 100644 --- a/Jusin154_Team3D/Client/Public/Intro_Image.h +++ b/Jusin154_Team3D/Client/Public/Intro_Image.h @@ -41,8 +41,11 @@ class CIntro_Image final : public CUIObject static CIntro_Image* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; +#ifdef _DEBUG void Describe_Entity() override; +#endif // _DEBUG + }; NS_END; diff --git a/Jusin154_Team3D/Client/Public/Loding_Panel.h b/Jusin154_Team3D/Client/Public/Loding_Panel.h index 9b5224e89..33fd32b47 100644 --- a/Jusin154_Team3D/Client/Public/Loding_Panel.h +++ b/Jusin154_Team3D/Client/Public/Loding_Panel.h @@ -62,7 +62,11 @@ class CLoding_Panel final : public CUIObject static CLoding_Panel* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; +#ifdef _DEBUG void Describe_Entity() override; + +#endif // _DEBUG + }; NS_END diff --git a/Jusin154_Team3D/Client/Public/Logo.h b/Jusin154_Team3D/Client/Public/Logo.h index 57ec45751..a013712e6 100644 --- a/Jusin154_Team3D/Client/Public/Logo.h +++ b/Jusin154_Team3D/Client/Public/Logo.h @@ -40,8 +40,11 @@ class CLogo final : public CUIObject static CLogo* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; +#ifdef _DEBUG void Describe_Entity() override; +#endif // _DEBUG + }; NS_END; diff --git a/Jusin154_Team3D/Client/Public/Logo_Glow.h b/Jusin154_Team3D/Client/Public/Logo_Glow.h index 6e2627198..0ec63ff1d 100644 --- a/Jusin154_Team3D/Client/Public/Logo_Glow.h +++ b/Jusin154_Team3D/Client/Public/Logo_Glow.h @@ -41,8 +41,11 @@ class CLogo_Glow final : public CUIObject static CLogo_Glow* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; +#ifdef _DEBUG void Describe_Entity() override; +#endif // _DEBUG + }; NS_END; diff --git a/Jusin154_Team3D/Client/Public/Logo_Text.h b/Jusin154_Team3D/Client/Public/Logo_Text.h index 42d3f69fc..de6677b58 100644 --- a/Jusin154_Team3D/Client/Public/Logo_Text.h +++ b/Jusin154_Team3D/Client/Public/Logo_Text.h @@ -40,8 +40,11 @@ class CLogo_Text final : public CUIObject static CLogo_Text* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; virtual void Free() override; +#ifdef _DEBUG void Describe_Entity() override; +#endif // _DEBUG + }; NS_END; diff --git a/Jusin154_Team3D/Client/Public/TrollSwing.h b/Jusin154_Team3D/Client/Public/TrollSwing.h index 975909e94..ce771cd49 100644 --- a/Jusin154_Team3D/Client/Public/TrollSwing.h +++ b/Jusin154_Team3D/Client/Public/TrollSwing.h @@ -37,7 +37,11 @@ class CTrollSwing final : public CEffect_Container static CTrollSwing* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual void Free() override; CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG void Describe_Entity() override; + +#endif // _DEBUG + }; NS_END diff --git a/Jusin154_Team3D/Client/Public/Troll_Nomal_Smoke.h b/Jusin154_Team3D/Client/Public/Troll_Nomal_Smoke.h index 57aadfb29..b118cbfda 100644 --- a/Jusin154_Team3D/Client/Public/Troll_Nomal_Smoke.h +++ b/Jusin154_Team3D/Client/Public/Troll_Nomal_Smoke.h @@ -37,7 +37,11 @@ class CTroll_Nomal_Smoke final : public CEffect_Container static CTroll_Nomal_Smoke* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual void Free() override; CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG void Describe_Entity() override; + +#endif // _DEBUG + }; NS_END diff --git a/Jusin154_Team3D/Client/Public/Troll_Rush_Hit.h b/Jusin154_Team3D/Client/Public/Troll_Rush_Hit.h index feb24d740..3825391d3 100644 --- a/Jusin154_Team3D/Client/Public/Troll_Rush_Hit.h +++ b/Jusin154_Team3D/Client/Public/Troll_Rush_Hit.h @@ -37,7 +37,11 @@ class CTroll_Rush_Hit final : public CEffect_Container static CTroll_Rush_Hit* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual void Free() override; CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG void Describe_Entity() override; + +#endif // _DEBUG + }; NS_END diff --git a/Jusin154_Team3D/Client/Public/Troll_Weapon.h b/Jusin154_Team3D/Client/Public/Troll_Weapon.h index 0b923df94..a8818a088 100644 --- a/Jusin154_Team3D/Client/Public/Troll_Weapon.h +++ b/Jusin154_Team3D/Client/Public/Troll_Weapon.h @@ -18,8 +18,6 @@ class CTroll_Weapon final : public CPartObject virtual ~CTroll_Weapon() = default; public: - virtual HRESULT Initialize_Prototype() override; - virtual HRESULT Initialize(void* pArg) override; virtual void Priority_Update(_float fTimeDelta) override; virtual void Update(_float fTimeDelta) override; virtual void Late_Update(_float fTimeDelta) override; @@ -28,10 +26,13 @@ class CTroll_Weapon final : public CPartObject private: const _float4x4* m_pSocketMatrices = { }; + _float4x4 m_pHammerMatrix = { }; CShader* m_pShaderCom = { nullptr }; CModel* m_pModelCom = { nullptr }; private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; HRESULT Ready_Components(); HRESULT Bind_ShaderResources(); diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj index cfba68a06..92e9f7e1c 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj @@ -611,7 +611,10 @@ call Update_Shaders.bat Effect 5.0 - + + Effect + 5.0 + Effect 5.0 diff --git a/Jusin154_Team3D/Engine/Default/Engine.vcxproj b/Jusin154_Team3D/Engine/Default/Engine.vcxproj index 389a14646..d16d3a165 100644 --- a/Jusin154_Team3D/Engine/Default/Engine.vcxproj +++ b/Jusin154_Team3D/Engine/Default/Engine.vcxproj @@ -641,7 +641,10 @@ call Update_Lib.bat - + + Effect + 5.0 + Effect 5.0 diff --git a/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp b/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp index 14bce229c..dcc5e0e6b 100644 --- a/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp +++ b/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp @@ -108,7 +108,10 @@ void CRigidBody_Dynamic::Move_LocalPos(_float4 vNewRotQ, _float3 vNewTranslation PSX::PxShape* pShape = { nullptr }; m_pRigidBody->getShapes(&pShape, m_pRigidBody->getNbShapes()); pShape->setLocalPose(PSX::PxTransform(vNewTranslation.x, vNewTranslation.y, vNewTranslation.z, PSX::PxQuat(vNewRotQ.x, vNewRotQ.y, vNewRotQ.z, vNewRotQ.w))); +#ifdef _DEBUG Add_DebugShape(); +#endif // _DEBUG + } // _DEBUG void CRigidBody_Dynamic::Add_Force(_fvector vForce, PSX::PxForceMode::Enum eType) diff --git a/Jusin154_Team3D/Engine/Public/GameInstance.h b/Jusin154_Team3D/Engine/Public/GameInstance.h index 65f2cdaec..325f70a41 100644 --- a/Jusin154_Team3D/Engine/Public/GameInstance.h +++ b/Jusin154_Team3D/Engine/Public/GameInstance.h @@ -298,6 +298,7 @@ class ENGINE_DLL CGameInstance final : public CBase class CFont_Manager* m_pFont_Manager = { nullptr }; mt19937 m_Rng{ random_device{}() }; + _float2 m_vViewPortSize = {}; #ifdef _DEBUG private: _float m_fTimer_PriorityUpdate = { 0.f }; @@ -310,7 +311,6 @@ class ENGINE_DLL CGameInstance final : public CBase _float m_fTimer_Level = { 0.f }; _float m_fTimer_FrameCount = { 0.f }; - _float2 m_vViewPortSize = {}; vector m_FilePaths = {}; map m_ModelMap;