[fix]버그

This commit is contained in:
hyunbin14
2025-11-08 20:44:55 +09:00
parent a023cbdb93
commit 65965b444f
3 changed files with 62 additions and 28 deletions
@@ -179,6 +179,7 @@
<ClCompile Include="..\Private\DummyRect.cpp" />
<ClCompile Include="..\Private\Dummy_Cube.cpp" />
<ClCompile Include="..\Private\Dummy_Goblin.cpp" />
<ClCompile Include="..\Private\Loader.cpp" />
<ClCompile Include="..\private\Mission.cpp" />
<ClCompile Include="..\Private\Dummy_Goblin_Head.cpp" />
<ClCompile Include="..\Private\Head.cpp" />
@@ -186,7 +187,6 @@
<ClCompile Include="..\Private\Level_Logo.cpp" />
<ClCompile Include="..\private\Level_UI.cpp" />
<ClCompile Include="..\Private\Level_ObjectViewer.cpp" />
<ClCompile Include="..\Private\Loader.cpp" />
<ClCompile Include="..\Private\MainApp.cpp" />
<ClCompile Include="..\Private\ModelParts.cpp" />
<ClCompile Include="..\private\Mouse_Cursor.cpp" />
@@ -181,9 +181,6 @@
<ClCompile Include="..\Private\Level_Loading.cpp">
<Filter>01.Level\00.Loading</Filter>
</ClCompile>
<ClCompile Include="..\Private\Loader.cpp">
<Filter>01.Level\00.Loading\Loader</Filter>
</ClCompile>
<ClCompile Include="..\Private\Level_Logo.cpp">
<Filter>01.Level\01.Logo</Filter>
</ClCompile>
@@ -226,6 +223,9 @@
<ClCompile Include="..\Private\Head.cpp">
<Filter>02.GameObjects\ModelParts\Head</Filter>
</ClCompile>
<ClCompile Include="..\Private\Loader.cpp">
<Filter>01.Level\00.Loading\Loader</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Editor.rc">
+58 -24
View File
@@ -6,6 +6,8 @@
#include "MainApp.h"
#include "Mission.h"
#include "Mouse_Cursor.h"
#include "Head.h"
#include "Body.h"
#include "Dummy_Goblin.h"
#include "Dummy_Cube.h"
@@ -104,16 +106,15 @@ void CLoader::Output()
HRESULT CLoader::Loading_For_Logo()
{
m_strMessage = TEXT("????�?(??) ?ュ? ?? ????.");
m_strMessage = TEXT("텍스쳐를(을) 로딩 중 입니다.");
m_strMessage = TEXT("모델를(을) 로딩 중 입니다.");
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Dororong"),
CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Textures/DororongDoro.png"), TEXT("Dororong"), 0)))){
return E_FAIL;
}
m_strMessage = TEXT("????(??) ?ュ? ?? ????.");
m_strMessage = TEXT("???????(??) ?ュ? ?? ????.");
m_strMessage = TEXT("셰이더를(을) 로딩 중 입니다.");
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_POSTEX,
CShader::Create(m_pDevice, m_pContext, TEXT("../Bin/Resources/ShaderFiles/Shader_VtxPosTex.hlsl"),
@@ -151,7 +152,7 @@ HRESULT CLoader::Loading_For_Logo()
return E_FAIL;
}
m_strMessage = TEXT("?????????(??) ?ュ? ?? ????.");
m_strMessage = TEXT("객체원형를(을) 로딩 중 입니다.");
if (FAILED(m_pGameInstance->Add_Prototype<CDummyRect>(g_iStaticLevel, CDummyRect::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
@@ -160,7 +161,7 @@ HRESULT CLoader::Loading_For_Logo()
if (FAILED(m_pGameInstance->Add_Prototype<CDebugCamera>(g_iStaticLevel, CDebugCamera::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
m_strMessage = TEXT("?ュ??? ??????????..");
m_strMessage = TEXT("로딩이 완료되었습니다..");
m_isFinished = true;
@@ -169,8 +170,7 @@ HRESULT CLoader::Loading_For_Logo()
HRESULT CLoader::Loading_For_UI()
{
m_strMessage = TEXT("????�?(??) ?ュ? ?? ????.");
m_strMessage = TEXT("텍스쳐를(을) 로딩 중 입니다.");
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Keyboard"),
CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Keyboard/Keyboard_%d.png"), TEXT("Keyboard"), 10)))) {
return E_FAIL;
@@ -181,11 +181,13 @@ HRESULT CLoader::Loading_For_UI()
return E_FAIL;
}
m_strMessage = TEXT("????(??) ?ュ? ?? ????.");
m_strMessage = TEXT("모델를(을) 로딩 중 입니다.");
m_strMessage = TEXT("???????(??) ?ュ? ?? ????.");
m_strMessage = TEXT("셰이더를(을) 로딩 중 입니다.");
m_strMessage = TEXT("?????????(??) ?ュ? ?? ????.");
m_strMessage = TEXT("이펙트를(을) 로딩 중 입니다.");
m_strMessage = TEXT("객체원형를(을) 로딩 중 입니다.");
if (FAILED(m_pGameInstance->Add_Prototype<CMission>(g_iStaticLevel, CMission::Create(m_pDevice, m_pContext))))
{
@@ -197,7 +199,9 @@ HRESULT CLoader::Loading_For_UI()
return E_FAIL;
}
m_strMessage = TEXT("?ュ??? ??????????..");
m_strMessage = TEXT("정보를 불러오는 중입니다.");
m_strMessage = TEXT("로딩이 완료되었습니다..");
m_isFinished = true;
@@ -206,35 +210,65 @@ HRESULT CLoader::Loading_For_UI()
HRESULT CLoader::Loading_For_ObjectViewer()
{
m_strMessage = TEXT("????�?(??) ?ュ? ?? ????.");
m_strMessage = TEXT("텍스쳐를(을) 로딩 중 입니다.");
m_strMessage = TEXT("????(??) ?ュ? ?? ????.");
m_strMessage = TEXT("모델를(을) 로딩 중 입니다.");
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_GoblinBody_Model"),
/*if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinBody_Model"),
CModel::Create(m_pDevice, m_pContext, "../Bin/Resources/Models/Goblin/GoblinBody.fbx", MODEL::ANIM, XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixIdentity(), 0))))
return E_FAIL;
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Desc_Box"),
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinHead_Model"),
CModel::Create(m_pDevice, m_pContext, "../Bin/Resources/Models/Goblin/GoblinHead.fbx", MODEL::ANIM, XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixIdentity(), 0))))
return E_FAIL;
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Desc_Box"),
CModel::Create(m_pDevice, m_pContext, "../Bin/Resources/Models/Box/Box.fbx", MODEL::NONANIM, XMMatrixIdentity(), 0))))
return E_FAIL;
m_strMessage = TEXT("???????(??) ?ュ? ?? ????.");
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Steve_Model"),
CModel::Create(m_pDevice, m_pContext, "../Bin/Resources/Models/Steve/Steve.fbx", MODEL::ANIM, XMMatrixIdentity(), 0))))
return E_FAIL;
m_strMessage = TEXT("???????(??) ?ュ? ?? ????.");
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_TombProtector_Model"),
CModel::Create(m_pDevice, m_pContext, "../Bin/Resources/Models/TombProtector/TombProtector.fbx", MODEL::ANIM,XMMatrixIdentity(), 0))))
return E_FAIL;*/
m_strMessage = TEXT("?????????(??) ?ュ? ?? ????.");
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_GoblinBody_Model"),
CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/SaveFile/GoblinBody", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
return E_FAIL;
/* For.Prototype_GameObject_Dummy_Goblin */
if (FAILED(m_pGameInstance->Add_Prototype<CDummy_Goblin>(g_iStaticLevel, CDummy_Goblin::Create(m_pDevice, m_pContext))))
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Steve_Model"),
CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/SaveFile/Steve",XMMatrixScaling(0.01f,0.01f,0.01f)* XMMatrixIdentity()))))
return E_FAIL;
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_TombProtector_Model"),
CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/SaveFile/TombProtector", XMMatrixScaling(0.001f, 0.001f, 0.001f) * XMMatrixIdentity()))))
return E_FAIL;
m_strMessage = TEXT("셰이더를(을) 로딩 중 입니다.");
m_strMessage = TEXT("이펙트를(을) 로딩 중 입니다.");
m_strMessage = TEXT("객체원형를(을) 로딩 중 입니다.");
/* For.Prototype_GameObject_Body */
if (FAILED(m_pGameInstance->Add_Prototype<CBody>(g_iStaticLevel, CBody::Create(m_pDevice, m_pContext))))
return E_FAIL;
/* For.Prototype_GameObject_Head */
if (FAILED(m_pGameInstance->Add_Prototype<CHead>(g_iStaticLevel, CHead::Create(m_pDevice, m_pContext))))
return E_FAIL;
/* For.Prototype_GameObject_Dummy_Cube */
if (FAILED(m_pGameInstance->Add_Prototype<CDummy_Cube>(g_iStaticLevel, CDummy_Cube::Create(m_pDevice, m_pContext))))
return E_FAIL;
m_strMessage = TEXT("?????? ??????? ??????.");
m_strMessage = TEXT("정보를 불러오는 중입니다.");
m_strMessage = TEXT("?ュ??? ??????????..");
m_strMessage = TEXT("로딩이 완료되었습니다..");
m_isFinished = true;