From 65965b444ffc94e02c7dfc63301b66169cc480a9 Mon Sep 17 00:00:00 2001 From: hyunbin14 Date: Sat, 8 Nov 2025 20:44:55 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=EB=B2=84=EA=B7=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jusin154_Team3D/Editor/Default/Editor.vcxproj | 2 +- .../Editor/Default/Editor.vcxproj.filters | 6 +- Jusin154_Team3D/Editor/Private/Loader.cpp | 82 +++++++++++++------ 3 files changed, 62 insertions(+), 28 deletions(-) diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj index 74cc8ffbd..91e3fcace 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj @@ -179,6 +179,7 @@ + @@ -186,7 +187,6 @@ - diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters index c88e19efc..78aa79ea1 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters @@ -181,9 +181,6 @@ 01.Level\00.Loading - - 01.Level\00.Loading\Loader - 01.Level\01.Logo @@ -226,6 +223,9 @@ 02.GameObjects\ModelParts\Head + + 01.Level\00.Loading\Loader + diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp index 3fda142fe..2ad9bef74 100644 --- a/Jusin154_Team3D/Editor/Private/Loader.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader.cpp @@ -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(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(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(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(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(g_iStaticLevel, CBody::Create(m_pDevice, m_pContext)))) + return E_FAIL; + + /* For.Prototype_GameObject_Head */ + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CHead::Create(m_pDevice, m_pContext)))) return E_FAIL; /* For.Prototype_GameObject_Dummy_Cube */ if (FAILED(m_pGameInstance->Add_Prototype(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;