Merge branch 'Develope' into Camera

This commit is contained in:
kimnuri
2026-01-15 22:59:49 +09:00
4 changed files with 11 additions and 11 deletions
@@ -106,6 +106,7 @@ HRESULT CInstancedProp::Ready_Components(void* pArg)
m_isShake = pDesc->isShake; m_isShake = pDesc->isShake;
m_isTree = pDesc->isTree; m_isTree = pDesc->isTree;
m_bEnableRigidbody = pDesc->bEnableRigidbody;
/* Com_VIBuffer_Instance_Model */ /* Com_VIBuffer_Instance_Model */
if (FAILED(__super::Add_Asset_Component(NEXT_LEVEL, pDesc->strPrototypeTag, if (FAILED(__super::Add_Asset_Component(NEXT_LEVEL, pDesc->strPrototypeTag,
@@ -114,17 +115,15 @@ HRESULT CInstancedProp::Ready_Components(void* pArg)
m_iNumMesh = m_pVIBufferInstanceCom->Get_NumMesh(); m_iNumMesh = m_pVIBufferInstanceCom->Get_NumMesh();
if(pDesc->bEnableRigidbody) if(m_bEnableRigidbody)
{ {
if (FAILED(ReadyForPhysX())) if (FAILED(ReadyForPhysX()))
return E_FAIL; return E_FAIL;
/* Laod Instance Data */
if (FAILED(Load_InstancedProp(pDesc->strInstanceDataPath.c_str(), pDesc)))
return E_FAIL;
} }
/* Laod Instance Data */
if (FAILED(Load_InstancedProp(pDesc->strInstanceDataPath.c_str(), pDesc)))
return E_FAIL;
if (m_isShake) if (m_isShake)
m_pVIBufferInstanceCom->Set_Shake_Value(pDesc->vRadius, pDesc->vSpeed); m_pVIBufferInstanceCom->Set_Shake_Value(pDesc->vRadius, pDesc->vSpeed);
@@ -193,7 +192,7 @@ HRESULT CInstancedProp::Load_InstancedProp(const _char* pFilePath, INSTANCE_PROP
vector<_wstring> RigidBodyTags; vector<_wstring> RigidBodyTags;
for (_uint i = 0; i < m_iNumMesh; ++i) for (_uint i = 0; i < m_iNumMesh; ++i)
{ {
RigidBodyTags.push_back(CMyTools::ToWstring(m_pVIBufferInstanceCom->Get_MeshName(i)) + to_wstring(i)); RigidBodyTags.push_back(CMyTools::ToWstring(m_pVIBufferInstanceCom->Get_MeshName(i)) + to_wstring(i));
@@ -206,7 +205,7 @@ HRESULT CInstancedProp::Load_InstancedProp(const _char* pFilePath, INSTANCE_PROP
WorldMatrices.push_back(WorldMatrix); WorldMatrices.push_back(WorldMatrix);
if(pDesc->bEnableRigidbody) if(m_bEnableRigidbody)
{ {
for (_uint i = 0; i < m_iNumMesh; ++i) for (_uint i = 0; i < m_iNumMesh; ++i)
{ {
@@ -343,13 +343,13 @@ HRESULT CLevel_GamePlay::Ready_Background()
// 맵 로드할지 안할지 bool 설정 // 맵 로드할지 안할지 bool 설정
// --------------------------------- // ---------------------------------
_bool isReady_Background = { true }; _bool isReady_Background = { true };
_bool isReady_Hogsmeade = { true }; _bool isReady_Hogsmeade = { false };
_bool isReady_Hogwart = { true }; _bool isReady_Hogwart = { true };
#ifdef _DEBUG #ifdef _DEBUG
#ifdef gimch #ifdef gimch
isReady_Background = true; isReady_Background = true;
isReady_Hogsmeade = true; isReady_Hogsmeade = false;
isReady_Hogwart = false; isReady_Hogwart = false;
#endif // gimch #endif // gimch
#ifdef Bin #ifdef Bin
+1 -1
View File
@@ -565,7 +565,7 @@ HRESULT CLoader::Loading_For_GamePlay()
isLoad_Background = true; isLoad_Background = true;
isLoad_Hogwart = false; isLoad_Hogwart = false;
isLoad_UI_SEQUANTIAL = false; isLoad_UI_SEQUANTIAL = false;
isLoad_NPC = true; isLoad_NPC = false;
isLoad_DataClassroom = false; isLoad_DataClassroom = false;
#endif // gimch #endif // gimch
#ifdef 진우 #ifdef 진우
@@ -40,6 +40,7 @@ class CInstancedProp final : public CGameObject
private: private:
_bool m_isShake = {}; _bool m_isShake = {};
_bool m_isTree = {}; _bool m_isTree = {};
_bool m_bEnableRigidbody = {};
_uint m_iNumMesh = {}; _uint m_iNumMesh = {};
_uint m_iNumInstacne = {}; _uint m_iNumInstacne = {};
SHADER_PASS_WORLDMODLE_INSTANCE m_eShaderPass = {}; SHADER_PASS_WORLDMODLE_INSTANCE m_eShaderPass = {};