[Modify] 병합

This commit is contained in:
qordlsgur
2025-12-06 00:13:39 +09:00
206 changed files with 1750 additions and 568 deletions
+31
View File
@@ -130,6 +130,7 @@
#include "MapObject_Collision.h"
#include "InstancedProp.h"
#include "MapElement_Light.h"
#include "MapElement_Interactable.h"
#pragma endregion
@@ -499,6 +500,27 @@ HRESULT CLoader::Loading_For_GamePlay()
".bin", false
));
}
{/* Barrel */
jobMapModels.emplace_back(Deferred_FolderLoad(
"../Bin/Resources/Models/MapMesh/Game/Environment/Objects/Meshes",
".bin", false
));
/* Box */
jobMapModels.emplace_back(Deferred_FolderLoad(
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/MiscProps",
".bin", false
));
/* TeaShop Table */
jobMapModels.emplace_back(Deferred_FolderLoad(
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Tables",
".bin", false
));
/* TeaShop Chair*/
jobMapModels.emplace_back(Deferred_FolderLoad(
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Chairs",
".bin", false
));
}
}
#pragma endregion
@@ -1228,6 +1250,11 @@ HRESULT CLoader::Loading_For_GamePlay()
return E_FAIL;
}
Desc.ePxRigidBodyFlags = { PSX::PxRigidBodyFlag::eKINEMATIC };
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX_KIN"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) {
return E_FAIL;
}
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Box"),
CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Box/Box.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixIdentity())))) {
return E_FAIL;
@@ -2043,6 +2070,10 @@ HRESULT CLoader::Loading_For_GamePlay()
if (FAILED(m_pGameInstance->Add_Prototype<CMapElement_Light>(g_iStaticLevel, CMapElement_Light::Create(m_pDevice, m_pContext))))
return E_FAIL;
/* For.Prototype_GameObject_MapElement_Interactable */
if (FAILED(m_pGameInstance->Add_Prototype<CMapElement_Interactable>(g_iStaticLevel, CMapElement_Interactable::Create(m_pDevice, m_pContext))))
return E_FAIL;
#pragma endregion // MAP PROTOTYPE
#pragma region ACTOR PROTOTYPE