diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index c0bcca4b1..63418b2ca 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -335,6 +335,7 @@ HRESULT CLevel_GamePlay::Ready_Background() isReady_Background = false; isReady_Hogsmeade = false; isReady_Hogwart = false; + m_pInfoInstance->Load_ReparoObjects("Reparo_Data"); #endif // #ifdef 진우 isReady_Background = false; @@ -988,11 +989,11 @@ HRESULT CLevel_GamePlay::Ready_Layer_Item(const _wstring& strLayerTag) HRESULT CLevel_GamePlay::Ready_Layer_ReparoObject(const _wstring& strLayerTag) { - //for (_uint i = 0; i < 1; ++i) { - // if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag))) { - // return E_FAIL; - // } - //} + /*for (_uint i = 0; i < 1; ++i) { + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag))) { + return E_FAIL; + } + }*/ return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp index 4c4bfe1fa..0b7dd9f52 100644 --- a/Jusin154_Team3D/Client/Private/Player.cpp +++ b/Jusin154_Team3D/Client/Private/Player.cpp @@ -550,8 +550,6 @@ void CPlayer::Trigger(CTimeSocket& Socket) m_pTransformCom->RotationQ(pContents->pxTransform.q); m_pTransformCom->RewindMomentum(); } break; - } - break; case TIMESOCKET_FUNC::TRANSLATION_LERP: { @@ -806,64 +804,6 @@ HRESULT CPlayer::Bind_ShaderParameters(_uint iMeshOrder) fMixerFactor = 0.5f; iColorMixerMethod = 1; break; - case PLAYER_MESH_ORDER::SHOES: - bUseColorMixer = true; - iColorParam = 0x614242; - fMixerFactor = 0.5f; - iColorMixerMethod = 1; - break; - case PLAYER_MESH_ORDER::UPPER: - bUseColorMixer = true; - iColorParam = 0xBFAC29; - fMixerFactor = 0.658333f; - iColorMixerMethod = 1; - break; - //#ifdef 기무리 - // - // case PLAYER_MESH_ORDER::ROBE_CLOTH: - // { - // CMesh* pMesh = m_pModelCom->Get_Mesh(ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH)); - // _uint MeshBoneCount = pMesh->Get_NumBone(); - // - // for (_uint i = 0; i < MeshBoneCount; ++i) - // { - // XMStoreFloat4x4(&SkinMatrices[i], XMMatrixIdentity()); - // } - // - // _uint temp = 0; - // vector<_uint> globalMask = m_pModelCom->Get_BoneMask(ENUM_CLASS(BLEND_BONE::HIPS_CLOTH)); - // vector<_int> boneIndices = pMesh->Get_BoneIndices(); - // - // for (_uint i = 0; i < MeshBoneCount; ++i) - // { - // _uint global = boneIndices[i]; - // if (global == 38) - // continue; - // if (globalMask[global] == 1) - // { - // SkinMatrices[i] = m_pRobePart->Get_RobeJointAnchorMatrix(temp++); - // } - // } - // - // GUI::DragFloat("TempWeight", &m_fTempWeight, 0.01f); - // - // if (FAILED(m_pShaderCom->Bind_RawValue("g_TempWeight", &m_fTempWeight, sizeof(_float)))) { - // return E_FAIL; - // } - // - // - // if (FAILED(m_pShaderCom->Bind_Matrices( - // "g_BoneMatrices", - // SkinMatrices.data(), - // (_int)SkinMatrices.size() - // ))) - // { - // return E_FAIL; - // } - // } - // break; - //#endif // _DEBUG - default: break; } diff --git a/Jusin154_Team3D/Client/Private/ReparoObject.cpp b/Jusin154_Team3D/Client/Private/ReparoObject.cpp index 5fc1d0554..700d2e1e5 100644 --- a/Jusin154_Team3D/Client/Private/ReparoObject.cpp +++ b/Jusin154_Team3D/Client/Private/ReparoObject.cpp @@ -41,8 +41,9 @@ HRESULT CReparoObject::Initialize(void* pArg) // 되돌리기 전 Before m_ePreState = m_eCurState = REPARO_OBJECT_STATE::SLEEP; m_pModelCom->Set_AnimationIndex(2); - m_pInfoInstance->Deregist_PlayerAlly(this); - + //m_pInfoInstance->Deregist_PlayerAlly(this); + + m_pInfoInstance->Deregist_ActiveMonster(this); return S_OK; } @@ -64,8 +65,8 @@ void CReparoObject::Update(_float fTimeDelta) case Client::CReparoObject::REPARO_OBJECT_STATE::BEFORE: break; case Client::CReparoObject::REPARO_OBJECT_STATE::PLAYANIM: - if (true == m_pModelCom->IsFinishedAnim()) - m_eCurState = REPARO_OBJECT_STATE::AFTER; + //if (true == m_pModelCom->IsFinishedAnim()) + // m_eCurState = REPARO_OBJECT_STATE::AFTER; break; case Client::CReparoObject::REPARO_OBJECT_STATE::AFTER: @@ -240,7 +241,7 @@ void CReparoObject::Change_State() break; case Client::CReparoObject::REPARO_OBJECT_STATE::BEFORE: - m_pInfoInstance->Regist_PlayerAlly(this); + m_pInfoInstance->Regist_ActiveMonster(this); break; case Client::CReparoObject::REPARO_OBJECT_STATE::PLAYANIM: @@ -249,7 +250,7 @@ void CReparoObject::Change_State() case Client::CReparoObject::REPARO_OBJECT_STATE::AFTER: m_pModelCom->Set_AnimationIndex(1); - m_pInfoInstance->Deregist_PlayerAlly(this); + m_pInfoInstance->Deregist_ActiveMonster(this); break; case Client::CReparoObject::REPARO_OBJECT_STATE::END: diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin index afd1d0a80..1c946216c 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3105f242284fd06024b2f92a482b7a644c17b7c99f476b289f24cadfcefc7741 -size 7419042 +oid sha256:4481d70e2466f343acb66ed124d38864a0e74cd0f01822baa3373604a22e11ca +size 7418454 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.fbx index 4fcd3ad04..b4f4f1670 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:036ae502f672f524c65c103522c570ba654673b919ef5e26dfac41954b035a72 -size 3493500 +oid sha256:2eccdbc0b46d6a62e59ba6a77dd91cadb62e9fb948d6638cbdf92880596f190e +size 3357868 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig_Anim.bin index 784640f73..1708bc1d9 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig_Anim.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig_Anim.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dc8fd14903a2b807e279d7ee07f54756662c6ed08f6333dd03ce14e244c643ea -size 35685852 +oid sha256:1adfb736b49ddd26748a9f42f26dbf20269b5a6ac6c637b7fd056928b198f21c +size 25325064 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig_Anim.fbx index da8d64f2e..b549f4d6d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig_Anim.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig_Anim.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:98fa7d2d6035652e7c191f33f7f8c5a54cea77b46d0f52ae7fe181ee59df406f -size 38783980 +oid sha256:a2dd570a54b5dc63bf5a996fb9d8e6efa2db33b528bebf41c93e8c1d7b657c41 +size 19794204 diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp index ed8ba357e..eb20d1090 100644 --- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp @@ -71,20 +71,6 @@ HRESULT CLoader::Loading_For_ObjectViewer() vector*>> futures = {}; #pragma region MONSTER -#ifndef 기무리 - /* For.Prototype_Component_Hogsmead_NorthLakeShallow */ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Hogsmead_NorthLakeShallow"), - CModel::Create(m_pDevice, m_pContext, MODEL::ANIM_LOCAL, "C:/MeshTable\\Game\\VFX\\Meshes\\Animated\\HM_Troll_OLI_Reparo\\VFX_SK_OLI_TrollFight_BlockerA\\VFX_SK_OLI_TrollFight_BlockerA.fbx", XMMatrixIdentity())))) - return E_FAIL; - - /* For.Prototype_Component_Hogsmead_NorthLakeShallow */ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Hogsmead_NorthLakeShallow"), - CModel::Create(m_pDevice, m_pContext, MODEL::ANIM_LOCAL, "C:/MeshTable\\Game\\VFX\\Meshes\\Animated\\HM_Troll_OLI_Reparo\\VFX_SK_OLI_TrollFight_BlockerB\\VFX_SK_OLI_TrollFight_BlockerB.fbx", XMMatrixIdentity())))) - return E_FAIL; -#endif // 기무리 - - - futures.emplace_back(Deferred_ModelLoad( MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/SK_GOB_M_T4Melee_INST_A_Master.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_SK_GOB_M_T4Melee_INST_A_Master_Model") @@ -136,10 +122,10 @@ HRESULT CLoader::Loading_For_ObjectViewer() // TEXT("Prototype_Component_ConjuredDragon_Model") //)); - //futures.emplace_back(Deferred_ModelLoad( - // MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), - // TEXT("Prototype_Component_Professor_EleazarFig_Model") - //)); + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin",XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), + TEXT("Prototype_Component_Professor_EleazarFig_Model") + )); #pragma endregion