Merge branch 'Develope' into Bloom
This commit is contained in:
@@ -124,6 +124,7 @@
|
||||
#include "MapObject_Collision.h"
|
||||
#include "InstancedProp.h"
|
||||
#include "MapElement_Light.h"
|
||||
#include "MapElement_Interactable.h"
|
||||
|
||||
#pragma endregion
|
||||
|
||||
@@ -493,6 +494,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
|
||||
@@ -1201,6 +1223,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;
|
||||
@@ -1976,6 +2003,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
|
||||
|
||||
Reference in New Issue
Block a user