diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj index c9a6c7f64..87d5d9dd0 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj @@ -166,6 +166,7 @@ call Update_Resources.bat + @@ -278,6 +279,7 @@ call Update_Resources.bat + @@ -299,12 +301,15 @@ call Update_Resources.bat + + + @@ -419,6 +424,7 @@ call Update_Resources.bat + @@ -434,7 +440,6 @@ call Update_Resources.bat - diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters index ee057fee4..408adb875 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters @@ -157,9 +157,6 @@ 02.GameObjects\Cameras\Camera_Gaze - - 02.GameObjects\NPC\Hostile\Monster\Goblin - 02.GameObjects\NPC\Hostile\Monster @@ -412,6 +409,18 @@ 04.Mechanic\State\State_Combat\Dead + + 04.Mechanic\State\Movement\Shuffle + + + 02.GameObjects\Monster\Goblin\Goblin_Warrior + + + 02.GameObjects\NPC\Hostile\Monster\Goblin\Goblin_Mage + + + 02.GameObjects\NPC\Hostile\Monster\Goblin\Goblin_Warrior + @@ -869,9 +878,18 @@ {c584798b-d7aa-4cb0-b6e8-c2aff73757ce} + + {0ed6a11e-5d22-4b9f-a39c-f2319c27caf4} + {81add99f-7450-4730-8d3f-bf1de06b2b8d} + + {5973b96c-42c3-4cda-9627-f741e12124cd} + + + {3e7156ab-9d1f-4b9b-b09d-5dd60638505e} + @@ -1018,12 +1036,6 @@ 02.GameObjects\Cameras\Camera_Gaze - - 02.GameObjects\NPC\Hostile\Monster\Goblin - - - 02.GameObjects\NPC\Hostile\Monster\Goblin - 02.GameObjects\NPC\Hostile\Monster @@ -1105,9 +1117,6 @@ 02.GameObjects\UI\GamePlay_Canvas\Action_Panel\Potion - - 02.GameObjects\Item\Broom - 04.Mechanic\State\Broom @@ -1279,9 +1288,33 @@ 02.GameObjects\UI\Screen\Logo\Logo_Text + + 04.Mechanic\State\Movement\Shuffle + + + 02.GameObjects\Monster\Goblin\Goblin_Warrior + + + 02.GameObjects\Monster\Goblin\Goblin_Warrior + + + 02.GameObjects\Item\Broom + 04.Mechanic\State\State_Combat\Dead + + 02.GameObjects\NPC\Hostile\Monster\Goblin\Goblin_Mage + + + 02.GameObjects\NPC\Hostile\Monster\Goblin\Goblin_Warrior + + + 02.GameObjects\NPC\Hostile\Monster\Goblin\Goblin_Mage + + + 02.GameObjects\NPC\Hostile\Monster\Goblin\Goblin_Warrior + diff --git a/Jusin154_Team3D/Client/Private/Bombard.cpp b/Jusin154_Team3D/Client/Private/Bombard.cpp index fb5869804..b0869da87 100644 --- a/Jusin154_Team3D/Client/Private/Bombard.cpp +++ b/Jusin154_Team3D/Client/Private/Bombard.cpp @@ -88,6 +88,12 @@ void CBombard::Late_Update(_float fTimeDelta) OnCollision(this); } + if (false == m_bHit) { + _vector vStartPos = XMLoadFloat4(&m_vStartPos); + _vector vEndPos = XMLoadFloat4(&m_vEndPos); + SweepTarget(vStartPos, vEndPos, 0.125); + } + } HRESULT CBombard::Pre_Setting(CGameObject* pObject, void* pArg) diff --git a/Jusin154_Team3D/Client/Private/Broom.cpp b/Jusin154_Team3D/Client/Private/Broom.cpp index 9a228ff4e..a56f998ac 100644 --- a/Jusin154_Team3D/Client/Private/Broom.cpp +++ b/Jusin154_Team3D/Client/Private/Broom.cpp @@ -203,9 +203,24 @@ void CBroom::Describe_Entity() string AnimList = m_pModelCom->Get_AnimList(m_pModelCom->Get_AnimIndex()); GUI::Text(AnimList.c_str()); + GUI::Text("AnimIndex %d", m_pModelCom->Get_AnimIndex()); GUI::Text("AnimTrack %.2f", m_pModelCom->Get_CurrentTrackPosition()); GUI::Text("AnimRatio %.2f", m_pModelCom->Get_CurrentTrackProgressRatio()); + _float3 Pos; + XMStoreFloat3(&Pos, Get_WorldPostion()); + + float Pos3[3] = { Pos.x, Pos.y, Pos.z }; + GUI::DragFloat3("Pos", Pos3); + + + _float RotR, RotU, RotL; + RotR = XMVectorGetX(m_pTransformCom->Get_State(STATE::RIGHT)); + RotU = XMVectorGetY(m_pTransformCom->Get_State(STATE::UP)); + RotL = XMVectorGetZ(m_pTransformCom->Get_State(STATE::LOOK)); + + float Rot3[3] = { RotR, RotU,RotL }; + GUI::DragFloat3("Rot", Rot3); } diff --git a/Jusin154_Team3D/Client/Default/Broom_States.cpp b/Jusin154_Team3D/Client/Private/Broom_States.cpp similarity index 81% rename from Jusin154_Team3D/Client/Default/Broom_States.cpp rename to Jusin154_Team3D/Client/Private/Broom_States.cpp index 25a45f5b9..a6366459c 100644 --- a/Jusin154_Team3D/Client/Default/Broom_States.cpp +++ b/Jusin154_Team3D/Client/Private/Broom_States.cpp @@ -220,59 +220,95 @@ HRESULT CBroom::Behavior_MoveExitCheck(_float fTimeDelta) } else { pairAnimInfo = m_Animation[STATEANIM::BROOM_HOVER_STOP_B]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); } m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); } - else - { - if (bFwd) - { - m_fTargetSpeed = m_fFlyMaxSpeed; - m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel; - pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; - Camera_InterpTurn(fTimeDelta); - } - else if (bLft) - { - m_fTargetSpeed = m_fTurnMaxSpeed; - m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fTurnDecel; - pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_LEFT_B]; - m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta*0.1f); - } - else if (bRht) - { - m_fTargetSpeed = m_fTurnMaxSpeed; - m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fTurnDecel; - pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_RIGHT_B]; - m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta* 0.1f); - } - else if (bDown) - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_DOWN_B]; - m_fTargetSpeed = m_fTurnMaxSpeed; - m_fTurnSpeed += (m_fTargetSpeed - m_fTurnSpeed) * fTimeDelta * m_fAccel; - - m_pTransformCom->Go_LerpDown(m_fTurnSpeed, fTimeDelta); - } - else if (bUp) - { - pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_UP_B]; - m_fTargetSpeed = m_fTurnMaxSpeed; - m_fTurnSpeed += (m_fTargetSpeed - m_fTurnSpeed) * fTimeDelta * m_fAccel; - - m_pTransformCom->Go_LerpUp(m_fTurnSpeed, fTimeDelta); - } - else { - m_fTargetSpeed = m_fFlyMaxSpeed; - m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel; - pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; - } + else{ + m_fTargetSpeed = m_fFlyMaxSpeed; + m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel; m_pTransformCom->Go_LerpStraight(m_fSpeed, fTimeDelta); - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + if (SUCCEEDED(InputAction()) || SUCCEEDED(InputMove())) + { + _float3 vInput = { 0.f, 0.f, 0.f }; + + if (bFwd) vInput.z += 1.f; + if (bLft) vInput.x -= 1.f; + if (bRht) vInput.x += 1.f; + if (bUp) vInput.y += 1.f; + if (bDown) vInput.y -= 1.f; + + _bool bHasInput = !(vInput.x == 0 && vInput.y == 0 && vInput.z == 0); + _vector vDir = XMVector3Normalize(XMLoadFloat3(&vInput)); + + if (bUp || bDown) + { + m_fTargetSpeed = m_fTurnMaxSpeed; + m_fTurnSpeed += (m_fTurnMaxSpeed - m_fTurnSpeed) * fTimeDelta * m_fAccel; + + if (bUp) + { + pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_UP_B]; + m_pTransformCom->Go_LerpUp(m_fTurnSpeed, fTimeDelta); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + } + else + { + pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_DOWN_B]; + m_pTransformCom->Go_LerpDown(m_fTurnSpeed, fTimeDelta); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + + } + } + + + if (vInput.x < 0.f) + { + m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.1f); + } + else if (vInput.x > 0.f) + { + m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.1f); + } + + _float ax = fabsf(vInput.x); + _float ay = fabsf(vInput.y); + _float az = fabsf(vInput.z); + + if (ay > ax && ay > az) + { + if (vInput.y > 0) + pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_UP_B]; + else + pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_DOWN_B]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + } + else if (az >= ax) + { + if (vInput.z > 0) + { + pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + Camera_InterpTurn(fTimeDelta); + } + } + else + { + if (vInput.x < 0) + pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_LEFT_B]; + else + pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_RIGHT_B]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + } + } + else { + pairAnimInfo = m_Animation[STATEANIM::BROOM_FLY_B]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + } + + } if (m_bHoverToggle && !SUCCEEDED(InputMove()) && !SUCCEEDED(InputAction())) diff --git a/Jusin154_Team3D/Client/Private/Decendo.cpp b/Jusin154_Team3D/Client/Private/Decendo.cpp index 406a3e61f..618bc1b54 100644 --- a/Jusin154_Team3D/Client/Private/Decendo.cpp +++ b/Jusin154_Team3D/Client/Private/Decendo.cpp @@ -97,50 +97,6 @@ void CDecendo::Late_Update(_float fTimeDelta) Get_PartObject()->Trail_Update(m_pProjectile->Get_Component()->Get_XMWorldMatrix(), fTimeDelta); - _vector vStartPos = m_pProjectile->Get_WorldPostion(); - - _vector vEndPos = XMLoadFloat4(&m_vTargetPos); - - _vector vDir2 = { vEndPos - vStartPos }; - - _float fDistance = XMVectorGetX(XMVector3Length(vEndPos - vStartPos)); - - PSX::PxSweepBuffer pxBuffer = {}; - - _bool bHit = m_pGameInstance->SphereCast(0.2f, vStartPos, vDir2, fDistance, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC, pxBuffer); - - if (bHit) { - const PSX::PxSweepHit& hit = pxBuffer.block; - PSX::PxRigidActor* pActor = hit.actor; - PSX::PxShape* pShape = hit.shape; - - if (nullptr != pActor && nullptr != pActor->userData) - { - PhsXUserData* pUserData = static_cast(pActor->userData); - - switch (pUserData->eKind) - { - case PHYSX_KIND::CCTActor: - { - switch (PXOBJECT(pUserData->iSubKind)) - { - case PXOBJECT::MONSTER: - case PXOBJECT::GOBLIN_WARRIOR: - { - pUserData->pOwner->OnCollision(this); - } - break; - case PXOBJECT::TROLL: - { - pUserData->pOwner->OnCollision(this); - } - break; - } - } - } - } - } - XMStoreFloat4(&m_vEndPos, m_pProjectile->Get_WorldPostion()); _vector vDir = XMLoadFloat4(&m_vEndPos) - XMLoadFloat4(&m_vStartPos); @@ -151,6 +107,12 @@ void CDecendo::Late_Update(_float fTimeDelta) OnCollision(); } + if (false == m_bHit) { + _vector vStartPos = XMLoadFloat4(&m_vStartPos); + _vector vEndPos = XMLoadFloat4(&m_vEndPos); + SweepTarget(vStartPos, vEndPos, 0.2f); + } + __super::Late_Update(fTimeDelta); } diff --git a/Jusin154_Team3D/Client/Private/EffectObject.cpp b/Jusin154_Team3D/Client/Private/EffectObject.cpp index 92de39155..7d9f66942 100644 --- a/Jusin154_Team3D/Client/Private/EffectObject.cpp +++ b/Jusin154_Team3D/Client/Private/EffectObject.cpp @@ -143,6 +143,16 @@ void CEffectObject::Add_Light() m_pGameInstance->Add_Light(CURRENT_LEVEL, m_pLightCom); } +void CEffectObject::FollowParants(const _float4x4* pParantsMat) +{ + if (pParantsMat == nullptr) + return; + + + m_pPerentMatrix = pParantsMat; + m_bVisible = true; +} + HRESULT CEffectObject::Render_Bloom() { @@ -207,9 +217,8 @@ HRESULT CEffectObject::Load(const _char* pFilePath, LEVEL eLevel) SAFE_RELEASE(m_pInstance_ModelCom); - if (m_pLightCom != nullptr){ + if (m_pLightCom != nullptr) SAFE_RELEASE(m_pLightCom); - } _string strPerfectFilePath = pFilePath; @@ -244,6 +253,7 @@ HRESULT CEffectObject::Load(const _char* pFilePath, LEVEL eLevel) m_EffectInfo.LightDesc.pPosition = m_pTransformCom->Get_StatePtr(STATE::POSITION); m_EffectInfo.LightDesc.iLevel = ENUM_CLASS(eLevel); + if (m_EffectInfo.LightDesc.eType != LIGHT::DIRECTIONAL) // 0이 아닐때만 생성 { if (FAILED(Add_Component(g_iStaticLevel, &m_pLightCom, &m_EffectInfo.LightDesc))) @@ -251,9 +261,13 @@ HRESULT CEffectObject::Load(const _char* pFilePath, LEVEL eLevel) CloseHandle(hFile); return E_FAIL; } + + m_pLightCom->Set_LightIntensity(m_EffectInfo.fLightIntensity); } + + if (m_EffectInfo.isDiffuse) { size_t iComponentLength = {}; @@ -481,11 +495,30 @@ HRESULT CEffectObject::Load(const _char* pFilePath, LEVEL eLevel) } + HRESULT CEffectObject::Bind_ShaderResources() { + if (m_pPerentMatrix != nullptr) + { + + _matrix socketMatrix = XMLoadFloat4x4(m_pPerentMatrix); + + for (int i = 0; i < 3; ++i) { + socketMatrix.r[i] = XMVector3Normalize(socketMatrix.r[i]); + } + socketMatrix = socketMatrix * m_pParentTransformCom->Get_XMWorldMatrix(); + + m_pTransformCom->Set_State(STATE::POSITION, socketMatrix.r[3]); + } + + if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) return E_FAIL; + if (FAILED(m_pGameInstance->Bind_RenderTarget(TEXT("Target_Depth"), m_pShaderCom, "g_DepthTexture"))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) { return E_FAIL; } @@ -493,6 +526,13 @@ HRESULT CEffectObject::Bind_ShaderResources() return E_FAIL; } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW_INV)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ_INV)))) { + return E_FAIL; + + } if (FAILED(m_pShaderCom->Bind_RawValue("g_isDiffuse", &m_EffectInfo.isDiffuse, sizeof(_bool)))) { return E_FAIL; @@ -702,6 +742,13 @@ HRESULT CEffectObject::Bind_ShaderResources() } + if (FAILED(m_pShaderCom->Bind_RawValue("g_vDissolveColor", &m_EffectInfo.vDissolveColor, sizeof(_float4)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_vDissolveColorCut", &m_EffectInfo.vDissolveColorCut, sizeof(_float2)))) { + return E_FAIL; + } @@ -753,7 +800,6 @@ HRESULT CEffectObject::Bind_ShaderResources() return E_FAIL; } - return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/EffectParts.cpp b/Jusin154_Team3D/Client/Private/EffectParts.cpp index 6c42097fe..308426c27 100644 --- a/Jusin154_Team3D/Client/Private/EffectParts.cpp +++ b/Jusin154_Team3D/Client/Private/EffectParts.cpp @@ -54,7 +54,6 @@ void CEffectParts::Update(_float fTimeDelta) void CEffectParts::Late_Update(_float fTimeDelta) { - if (m_bVisible == false) return; @@ -65,17 +64,18 @@ void CEffectParts::Late_Update(_float fTimeDelta) m_pInstance_ModelCom->Drop(fTimeDelta); + if (m_EffectInfo.isBillboard) + m_pGameInstance->BillBoard(m_pTransformCom); + + if (m_EffectInfo.isLightDissolve == true) { if (m_pLightCom != nullptr) { - m_pLightCom->Update_AmbientRatio(fTimeDelta, m_EffectInfo.isLightTime); + m_pLightCom->Update_IntensityRatio(fTimeDelta, m_EffectInfo.isLightTime, m_EffectInfo.fLightDeley); } } - if (m_EffectInfo.isBillboard) - m_pGameInstance->BillBoard(m_pTransformCom); - if (m_EffectInfo.isBloom == true) { @@ -91,6 +91,7 @@ void CEffectParts::Late_Update(_float fTimeDelta) if (m_EffectInfo.isOnlyBlur == true) return; + if (m_pLightCom != nullptr) m_pGameInstance->Add_Light_Group(CURRENT_LEVEL, m_pLightCom); diff --git a/Jusin154_Team3D/Client/Private/EffectPool.cpp b/Jusin154_Team3D/Client/Private/EffectPool.cpp index b0de40811..eaf158484 100644 --- a/Jusin154_Team3D/Client/Private/EffectPool.cpp +++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp @@ -47,6 +47,8 @@ HRESULT CEffectPool::Initialize(void* pArg) if (FAILED(Ready_Effect())) { return E_FAIL; } + + return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Effect_Container.cpp b/Jusin154_Team3D/Client/Private/Effect_Container.cpp index 62f49e939..6d3a8d649 100644 --- a/Jusin154_Team3D/Client/Private/Effect_Container.cpp +++ b/Jusin154_Team3D/Client/Private/Effect_Container.cpp @@ -72,7 +72,7 @@ void CEffect_Container::Reset_Light() if (pLight == nullptr) continue; - pLight->Reset_AmbientRatio(); + pLight->Reset_IntensityRatio(); } } @@ -315,13 +315,13 @@ _int CEffect_Container::CollisionCheck() continue; case PXOBJECT::MONSTER: case PXOBJECT::GOBLIN_WARRIOR: + case PXOBJECT::GOBLIN_MAGICIAN: case PXOBJECT::TROLL: case PXOBJECT::WALL: - { return i; } - break; + break; default: break; } @@ -347,6 +347,66 @@ _int CEffect_Container::CollisionCheck() } +void CEffect_Container::SweepTarget(_vector StartPos, _vector EndPos, _float fRadius) +{ + _vector vStartPos = StartPos; + _vector vEndPos = EndPos; + _vector vDir = { vEndPos - vStartPos }; + + _float fDistance = XMVectorGetX(XMVector3Length(vEndPos - vStartPos)); + + PSX::PxSweepBuffer pxBuffer = {}; + + _bool bHit = m_pGameInstance->SphereCast(fRadius, vStartPos, vDir, fDistance, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC, pxBuffer); + + if (bHit) { + const PSX::PxSweepHit& hit = pxBuffer.block; + PSX::PxRigidActor* pActor = hit.actor; + PSX::PxShape* pShape = hit.shape; + ON_COLLISION_INFO tagCollInfo = {}; + memcpy_s(&tagCollInfo.vWorldPos, sizeof(tagCollInfo.vWorldPos), &hit.position, sizeof(hit.position)); + memcpy_s(&tagCollInfo.vWorldNomal, sizeof(tagCollInfo.vWorldNomal), &hit.normal, sizeof(hit.normal)); + XMStoreFloat4(&tagCollInfo.vHitDir, vDir); + tagCollInfo.fLength = fDistance; + + + if (nullptr != pActor && nullptr != pActor->userData) + { + PhsXUserData* pUserData = static_cast(pActor->userData); + + switch (pUserData->eKind) + { + case PHYSX_KIND::CCTActor: + { + switch (PXOBJECT(pUserData->iSubKind)) + { + case PXOBJECT::MONSTER: + break; + case PXOBJECT::GOBLIN_WARRIOR: + { + pUserData->pOwner->OnCollision(this, &tagCollInfo); + m_bHit = true; + } + break; + case PXOBJECT::GOBLIN_MAGICIAN: + { + pUserData->pOwner->OnCollision(this, &tagCollInfo); + m_bHit = true; + } + break; + case PXOBJECT::TROLL: + { + pUserData->pOwner->OnCollision(this, &tagCollInfo); + m_bHit = true; + } + break; + } + } + } + } + } +} + void CEffect_Container::Update_Event(_float fTimeDelta) { diff --git a/Jusin154_Team3D/Client/Private/Goblin.cpp b/Jusin154_Team3D/Client/Private/Goblin.cpp index bb92f4009..0b33cbbe3 100644 --- a/Jusin154_Team3D/Client/Private/Goblin.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin.cpp @@ -14,6 +14,8 @@ #include "State_Combat.h" #pragma endregion +#include "EffectParts.h" + CGoblin::CGoblin(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) : CMonster(pDevice, pContext) @@ -57,7 +59,7 @@ HRESULT CGoblin::Initialize(void* pArg) m_pCallBack_Behavior->Initialize(m_pCharacter_Controller, m_pRigidBody); m_pCallBack_HitReport->Initialize(m_pCharacter_Controller, m_pRigidBody); - m_pCharacter_Controller->Set_Position(XMVectorSet(m_pGameInstance->Random_Float(-20.f, 20.f), 0.f, m_pGameInstance->Random_Float(-20.f, 20.f), 1.f)); + m_pCharacter_Controller->Set_Position(XMVectorSet(-40.f, 5.f, -20.f, 1.f)); return S_OK; } @@ -103,6 +105,8 @@ void CGoblin::Update(_float fTimeDelta) for (_uint i = 0; i < ENUM_CLASS(GOBLIN_SKILL::END); i++) m_fSkillCoolTime[i] = max(0.f, m_fSkillCoolTime[i] - fTimeDelta); + + } void CGoblin::Late_Update(_float fTimeDelta) @@ -115,6 +119,7 @@ void CGoblin::Late_Update(_float fTimeDelta) m_pTransformCom->Set_WorldMatrix(m_pRigidBody->Get_FootPositionPxTransform()); } + m_pTransformCom->LookAt_Horizontal(XMLoadFloat4(&m_vTargetPos)); m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); @@ -293,6 +298,46 @@ HRESULT CGoblin::Ready_Parts() Get_PartObject()->Set_Visible(false); +#pragma region EFFECT + /* EFFECT */ + + CPartObject::PARTOBJECT_DESC PartsDesc{}; + + PartsDesc.pParentTransform = m_pTransformCom; + + + + if (FAILED(Add_PartObject("Goblin_Particle",g_iStaticLevel, &m_pGoblin_Particle, &PartsDesc))) + { + return E_FAIL; + } + + m_pGoblin_Particle->Load("../Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Particle", static_cast(NEXT_LEVEL)); + m_pGoblin_Particle->FollowParants(m_pModelCom->Get_BoneMatrixPtr("RightShoulder")); + + + + if (FAILED(Add_PartObject("Goblin_Particle2", g_iStaticLevel, &m_pGoblin_Particle2, &PartsDesc))) + { + return E_FAIL; + } + + m_pGoblin_Particle2->Load("../Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Particle2", static_cast(NEXT_LEVEL)); + m_pGoblin_Particle2->FollowParants(m_pModelCom->Get_BoneMatrixPtr("RightShoulder")); + + + if (FAILED(Add_PartObject("Goblin_Smoke", g_iStaticLevel, &m_pSmoke, &PartsDesc))) + { + return E_FAIL; + } + + m_pSmoke->Load("../Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Smoke", static_cast(NEXT_LEVEL)); + m_pSmoke->FollowParants(m_pModelCom->Get_BoneMatrixPtr("Spine2")); + + +#pragma endregion + return S_OK; + return S_OK; } @@ -351,6 +396,9 @@ void CGoblin::Free() SAFE_RELEASE(m_pCharacter_Controller); SAFE_RELEASE(m_pRigidBody); + SAFE_RELEASE(m_pSmoke); + SAFE_RELEASE(m_pGoblin_Particle); + SAFE_RELEASE(m_pGoblin_Particle2); Safe_Delete(m_pCallBack_Behavior); Safe_Delete(m_pCallBack_HitReport); } @@ -380,6 +428,14 @@ void CGoblin::Describe_Entity() m_pCharacter_Controller->Set_Position(XMLoadFloat3(&Pos)); } + XMFLOAT3 f3; + XMStoreFloat3(&f3, m_vOriginPos); + + GUI::Text("Origin: %.2f, %.2f, %.2f", f3.x, f3.y, f3.z); + + m_fLength = XMVectorGetX(XMVector2Length(m_pTransformCom->Get_State(STATE::POSITION) - m_vOriginPos)); + + GUI::Text("Length %.2f", m_fLength); GUI::TextColored(ImVec4(1.f, 0.f, 0.f, 1.f), "Distance %.2f", m_fTargetDistance); diff --git a/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp new file mode 100644 index 000000000..fb7eef14b --- /dev/null +++ b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp @@ -0,0 +1,379 @@ +#include "pch.h" +#include "Goblin_Mage.h" + +#include "Layer.h" +#include "EffectPool.h" +#include "GameInstance.h" +#include "Goblin_Dagger.h" +#include "Effect_Container.h" +#include "Wand.h" + +#pragma region STATE +#include "State_Idle.h" +#include "State_Dodge.h" +#include "State_Jump.h" +#include "State_Land.h" +#include "State_Move.h" +#include "State_Combat.h" +#pragma endregion + + +CGoblin_Mage::CGoblin_Mage(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CMonster(pDevice, pContext) +{ +} + +CGoblin_Mage::CGoblin_Mage(const CGoblin_Mage& Prototype) + : CMonster(Prototype) +{ +} + +HRESULT CGoblin_Mage::Initialize_Prototype() +{ + return S_OK; +} + +HRESULT CGoblin_Mage::Initialize(void* pArg) +{ + if (FAILED(__super::Initialize(pArg))) + return E_FAIL; + + if (FAILED(Ready_Components())) + return E_FAIL; + + if (FAILED(Ready_Parts())) + return E_FAIL; + + Add_FSM(); + + Set_Anim(); + + { + CFSM::FSM_DESC FSMDesc{}; + FSMDesc.pStates = &m_States; + FSMDesc.pStateMask = &m_iStateMask; + + m_pFSM->Bind_States(FSMDesc); + m_pFSM->Change_State(FSMSTATE::IDLE); + } + + m_pCallBack_Behavior->Initialize(m_pCharacter_Controller, m_pRigidBody); + m_pCallBack_HitReport->Initialize(m_pCharacter_Controller, m_pRigidBody); + + m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object(); + SAFE_ADDREF(m_pEffectPool); + + m_pCharacter_Controller->Set_Position(XMVectorSet(m_pGameInstance->Random_Float(-20.f, 20.f), 0.f, m_pGameInstance->Random_Float(-20.f, 20.f), 1.f)); + + return S_OK; +} + +void CGoblin_Mage::Priority_Update(_float fTimeDelta) +{ + __super::Priority_Update(fTimeDelta); +} + +void CGoblin_Mage::Update(_float fTimeDelta) +{ + __super::Update(fTimeDelta); + + m_pFSM->Update_State(fTimeDelta); + + m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom); + + Play_Event(); + + GUI::Text("%d", m_pCharacter_Controller->IsActive()); + GUI::Text("%f %f", m_vStunTimer.x, m_vStunTimer.y); + if (true == m_pCharacter_Controller->IsActive()) { + m_pCharacter_Controller->Move(fTimeDelta); + m_vStunTimer.x = 0.f; + } + else { + if (0.f == m_vStunTimer.x) { + PSX::PxExtendedVec3 pxControlllerPos = m_pCharacter_Controller->Get_Controller()->getPosition(); + PSX::PxTransform pxTransform((_float)pxControlllerPos.x, (_float)pxControlllerPos.y + 100.f, (_float)pxControlllerPos.z); + m_pCharacter_Controller->Set_Position(XMLoadFloat3((_float3*)&pxTransform.p)); + //m_pCharacter_Controller->Move(fTimeDelta); + } + m_vStunTimer.x += fTimeDelta; + m_pTransformCom->Set_WorldMatrix(m_pRigidBody->Get_Actor()->getGlobalPose()); + if (m_vStunTimer.y < m_vStunTimer.x) { + m_pRigidBody->ConvertToCCT(*m_pCharacter_Controller); + } + } +#ifdef _DEBUG + Describe_Entity(); +#endif // _DEBUG + + for (_uint i = 0; i < ENUM_CLASS(GOBLIN_SKILL::END); i++) + m_fSkillCoolTime[i] = max(0.f, m_fSkillCoolTime[i] - fTimeDelta); + + + +} + +void CGoblin_Mage::Late_Update(_float fTimeDelta) +{ + __super::Late_Update(fTimeDelta); + if (true == m_pCharacter_Controller->IsActive()) { + m_pTransformCom->Set_State(STATE::POSITION, m_pCharacter_Controller->Get_FootPosition()); + } + else { + m_pTransformCom->Set_WorldMatrix(m_pRigidBody->Get_FootPositionPxTransform()); + } + + + m_pTransformCom->LookAt_Horizontal(XMLoadFloat4(&m_vTargetPos)); + + m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); +} + +HRESULT CGoblin_Mage::Render() +{ + + if (!m_bVisible) + return S_OK; + if (FAILED(Bind_ShaderResources())) { + return E_FAIL; + } + + _uint iNumMeshes = m_pModelCom->Get_NumMeshes(); + _uint iShaderPass = ENUM_CLASS(SHADER_PASS_ANIM::DEFAULT); + if (true == m_bDrawOutLine) { + iShaderPass = ENUM_CLASS(SHADER_PASS_ANIM::OUTLINE_WRITE); + } + for (_uint i = 0; i < iNumMeshes; i++) + { + if (FAILED(m_pModelCom->Bind_BoneMatrices(i, m_pShaderCom, "g_BoneMatrices"))) { + return E_FAIL; + } + + if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Begin(iShaderPass))) { + return E_FAIL; + } + + if (FAILED(m_pModelCom->Render(i))) { + return E_FAIL; + } + } + + if (m_bDrawOutLine) { + Render_OutLine(); + } + +#ifdef _DEBUG + if (true == m_pCharacter_Controller->IsActive()) { + if (FAILED(m_pCharacter_Controller->Render())) { + return E_FAIL; + } + } + else { + if (FAILED(m_pRigidBody->Render())) { + return E_FAIL; + } + } +#endif + return S_OK; +} + +void CGoblin_Mage::OnCollision(CGameObject* pOther, void* pDesc) +{ + ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc); + _vector vWorldPos = {}; // 접촉지점 + _vector vWorldNomal = {}; // 접촉노말 + _vector vHitDir = {}; // 시도한 move 방향 + _float fLength = {}; // 작용된 힘 + + _uint iSkillType = dynamic_cast(pOther)->Get_SkillType(); + switch (iSkillType) + { + case ENUM_CLASS(SKILL_TYPE::DESCENDO): + m_eHitSpell = STATEANIM::KNOCKDOWN_FWD; + break; + case ENUM_CLASS(SKILL_TYPE::FLIPENDO): + m_eHitSpell = STATEANIM::TUMBLE2; + break; + case ENUM_CLASS(SKILL_TYPE::JAP): + m_eHitSpell = STATEANIM::HIT_LEVIOSO; + break; + case ENUM_CLASS(SKILL_TYPE::LEVIOSO): + m_eHitSpell = STATEANIM::HIT_LEVIOSO; + break; + default: + m_eHitSpell = STATEANIM::KNOCKDOWN_FWD; + break; + } + if (!m_pFSM->IsEnable(FSMSTATE::BLINK)) + m_pFSM->Change_State(FSMSTATE::HIT); + +} + +void CGoblin_Mage::OnHit(CGameObject* pOther, CGameObject* pCaller) +{ +} + +HRESULT CGoblin_Mage::Ready_Components() +{ + CTransform::TRANSFORM_DESC Desc = {}; + + Desc.fSpeedPerSec = 10.f; + Desc.fRotationPerSec = XMConvertToRadians(180.0f); + Desc.fRadius = 10.f; + + __super::Ready_Components(&Desc); + + m_strModelPrototypeTag = TEXT("Prototype_Component_Goblin_Mage_Model"); + + /* Com_Model */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, m_strModelPrototypeTag, + reinterpret_cast(&m_pModelCom)))) { + return E_FAIL; + } + + { // CCT + CCharacter_Controller::Character_Controller_DESC Desc{}; + + Desc.iSubKind = ENUM_CLASS(PXOBJECT::GOBLIN_MAGICIAN); + Desc.pTransform = m_pTransformCom; + Desc.eBodyType = ACTOR::CAPSULE; + Desc.fContactOffset = 0.3f; + Desc.fMaterial = { 1.2f, 1.0f, 0.0f }; + Desc.bAutoStepping = { false }; + Desc.fStepOffset = { 0.05f }; + Desc.fRadius = 0.6f; + Desc.fHeight = 0.7f; + Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_Monster_HitReport::Create(); + Desc.pCallback_Behavior = m_pCallBack_Behavior = CCallBack_Monster_Behavior::Create(); + Desc.eClimbingMode = PSX::PxCapsuleClimbingMode::eEASY; + Desc.fWalkableSlope = 45.f; + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_CCT_CAPSULE"), (CComponent**)&m_pCharacter_Controller, &Desc))) { + return E_FAIL; + } + } + m_pCharacter_Controller->Set_Position(m_pTransformCom->Get_State(STATE::POSITION)); + { // DO + CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{}; + Desc.iSubKind = ENUM_CLASS(PXOBJECT::GOBLIN_MAGICIAN); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX"), (CComponent**)&m_pRigidBody, &Desc))) { + return E_FAIL; + } + m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor()); + } + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("STAT_GOBLIN"), (CComponent**)&m_pStat))) { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CGoblin_Mage::Ready_Parts() +{ + return S_OK; +} + +HRESULT CGoblin_Mage::Bind_ShaderResources() +{ + if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) { + return E_FAIL; + } + return S_OK; +} + +CGoblin_Mage* CGoblin_Mage::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CGoblin_Mage* pInstance = new CGoblin_Mage(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CGoblin_Mage"); + SAFE_RELEASE(pInstance); + } + return pInstance; +} + +CGameObject* CGoblin_Mage::Clone(void* pArg, CGameObject* pOwner) +{ + CGoblin_Mage* pInstance = new CGoblin_Mage(*this); + + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CGoblin_Mage"); + SAFE_RELEASE(pInstance); + } + return pInstance; +} + +void CGoblin_Mage::Free() +{ + __super::Free(); + + if (nullptr != m_pCallBack_Behavior) { + m_pCallBack_Behavior->Finalize(); + } + if (nullptr != m_pCallBack_HitReport) { + m_pCallBack_HitReport->Finalize(); + } + + SAFE_RELEASE(m_pCharacter_Controller); + SAFE_RELEASE(m_pRigidBody); + SAFE_RELEASE(m_pEffectPool); + Safe_Delete(m_pCallBack_Behavior); + Safe_Delete(m_pCallBack_HitReport); +} +#ifdef _DEBUG + +void CGoblin_Mage::Describe_Entity() +{ + GUI::Begin("Goblin"); + + GUI::Checkbox("LookAt", &m_bLookAt); + + string AnimList = m_pModelCom->Get_AnimList(m_pModelCom->Get_AnimIndex()); + GUI::Text(AnimList.c_str()); + + GUI::Text("AnimTrack %.2f", m_pModelCom->Get_CurrentTrackPosition()); + GUI::Text("AnimRatio %.2f", m_pModelCom->Get_CurrentTrackProgressRatio()); + + _float4 vMomentum = {}; + XMStoreFloat4(&vMomentum, m_pTransformCom->Get_CurrentMomentum()); + GUI::Text("%.2f %.2f %.2f %.2f ", vMomentum.x, vMomentum.y, vMomentum.z, vMomentum.w); + + _float3 Pos; + XMStoreFloat3(&Pos, Get_WorldPostion()); + + if (GUI::DragFloat3("Pos", (_float*)&Pos)) + { + m_pCharacter_Controller->Set_Position(XMLoadFloat3(&Pos)); + } + + XMFLOAT3 f3; + XMStoreFloat3(&f3, m_vOriginPos); + + GUI::Text("Origin: %.2f, %.2f, %.2f", f3.x, f3.y, f3.z); + + m_fLength = XMVectorGetX(XMVector2Length(m_pTransformCom->Get_State(STATE::POSITION) - m_vOriginPos)); + + GUI::Text("Length %.2f", m_fLength); + + GUI::TextColored(ImVec4(1.f, 0.f, 0.f, 1.f), "Distance %.2f", m_fTargetDistance); + + + GUI::End(); +} + +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp new file mode 100644 index 000000000..4c6dac69a --- /dev/null +++ b/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp @@ -0,0 +1,430 @@ +#include "pch.h" +#include "Goblin_Mage.h" + +#include "GameInstance.h" +#include "EffectPool.h" +#include "Player.h" + +#pragma region STATE +#include "State_Idle.h" +#include "State_Move.h" +#include "State_Combat.h" +#include "State_Spell.h" +#include "State_LightAttack.h" +#include "State_Hit.h" +#pragma endregion + + +void CGoblin_Mage::Behavior_IdleEnter() +{ + m_pFSM->Enable_State(FSMSTATE::IDLE); + pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::IDLE]; + + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); +} + +HRESULT CGoblin_Mage::Behavior_IdleExitCheck() +{ + if (m_fTargetDistance <= 20.f && m_fTargetDistance != 0.f) + { + m_vOriginPos = m_pTransformCom->Get_State(STATE::POSITION); + m_pEffectPool->Use_Skill(SKILL_TYPE::PROTEGO, this); + m_pFSM->Change_State(FSMSTATE::MOVE); + } + + return E_FAIL; +} + +void CGoblin_Mage::Behavior_IdleExit() +{ + m_pFSM->Disable_State(FSMSTATE::IDLE); +} + +void CGoblin_Mage::Behavior_MoveEnter() +{ + pair<_uint, _bool> pairAnimInfo = {}; + m_pFSM->Enable_State(FSMSTATE::MOVE); + + m_pFSM->Enable_State(FSMSTATE::JOG); + + pairAnimInfo = m_Animation[STATEANIM::JOG_FWD]; + + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + +} + +HRESULT CGoblin_Mage::Behavior_MoveExitCheck() +{ + pair<_uint, _bool> pairAnimInfo = {}; + _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); + + if (m_fTargetDistance <= 15.f && m_fTargetDistance != 0.f) + m_pFSM->Change_State(FSMSTATE::COMBAT); + + return E_FAIL; +} + +void CGoblin_Mage::Behavior_MoveExit() +{ + m_pFSM->Disable_State(FSMSTATE::MOVE | FSMSTATE::SPRINT | FSMSTATE::JOG | FSMSTATE::WALK); +} + +void CGoblin_Mage::Behavior_CombatEnter() +{ + pair<_uint, _bool> pairAnimInfo = {}; + m_pFSM->Enable_State(FSMSTATE::COMBAT); + + m_bLookAt = true; + +} + +HRESULT CGoblin_Mage::Behavior_CombatExitCheck(_float fTimeDelta) +{ + m_bLookAt = true; + + if (m_fTargetDistance > 25.f && m_fTargetDistance != 0.f) + { + m_pFSM->Change_State(FSMSTATE::IDLE); + return E_FAIL; + } + else if (m_fTargetDistance > 20.f && m_fTargetDistance != 0.f) + { + m_pFSM->Change_State(FSMSTATE::MOVE); + return E_FAIL; + } + + if (m_fTargetDistance <= 15.f && m_fSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::SPELL)] <= 0.f) + { + m_pFSM->Change_State(FSMSTATE::SPELL); + } + else if (m_fTargetDistance <= 15.f && m_fSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::LIGHTATTACK)] <= 0.f) + { + m_pFSM->Change_State(FSMSTATE::LIGHT_ATTACK); + } + else { + m_pFSM->Change_State(FSMSTATE::MOVE); + } + + return E_FAIL; +} + +void CGoblin_Mage::Behavior_CombatExit() +{ + m_pFSM->Disable_State(FSMSTATE::COMBAT); +} + +void CGoblin_Mage::Behavior_SpellEnter() +{ + pair<_uint, _bool> pairAnimInfo = {}; + _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); + pairAnimInfo = m_Animation[STATEANIM::SPELL_CHARGE]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); +} + +HRESULT CGoblin_Mage::Behavior_SpellExitCheck(_float fTimeDelta) +{ + pair<_uint, _bool> pairAnimInfo = {}; + _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); + if (iCurrAnimIndex == m_Animation[STATEANIM::SPELL_CHARGE].first) + { + if (m_pModelCom->IsFinishedAnim()) + { + pairAnimInfo = m_Animation[STATEANIM::SPELL]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + m_fSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::SPELL)] = m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::SPELL)]; + } + return S_OK; + } + + if (m_pModelCom->IsFinishedAnim()) + { + m_bLookAt = true; + m_pFSM->Change_State(FSMSTATE::COMBAT); + return E_FAIL; + } + + return E_FAIL; +} + +void CGoblin_Mage::Behavior_SpellExit() +{ + m_pFSM->Disable_State(FSMSTATE::SPELL); +} + +void CGoblin_Mage::Behavior_LightAttackEnter() +{ + pair<_uint, _bool> pairAnimInfo = {}; + _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); + pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + m_fSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::LIGHTATTACK)] = m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::LIGHTATTACK)]; +} + +HRESULT CGoblin_Mage::Behavior_LightAttackExitCheck(_float fTimeDelta) +{ + if (m_pModelCom->IsFinishedAnim()) + { + m_bLookAt = true; + m_pFSM->Change_State(FSMSTATE::COMBAT); + return E_FAIL; + } + + return E_FAIL; +} + +void CGoblin_Mage::Behavior_LightAttackExit() +{ + m_pFSM->Disable_State(FSMSTATE::LIGHT_ATTACK); +} + +void CGoblin_Mage::Behavior_HitEnter() +{ + pair<_uint, _bool> pairAnimInfo = {}; + m_pFSM->Enable_State(FSMSTATE::HIT); + + switch (m_eHitSpell) + { + case STATEANIM::KNOCKDOWN_FWD: + pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_FWD]; + break; + case STATEANIM::TUMBLE2: + pairAnimInfo = m_Animation[STATEANIM::TUMBLE2]; + break; + case STATEANIM::HIT_LEVIOSO: + { + pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO]; + break; + } + default: + pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_FWD]; + break; + } + + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); +} + +HRESULT CGoblin_Mage::Behavior_HitExitCheck(_float fTimeDelta) +{ + pair<_uint, _bool> pairAnimInfo = {}; + _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); + + if (iCurrAnimIndex == m_Animation[STATEANIM::KNOCKDOWN_FWD].first) + { + if (m_pModelCom->Get_CurrentTrackProgressRatio() >= 0.5f) + { + pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_FWD_SPLT]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f); + } + } + + if (iCurrAnimIndex == m_Animation[STATEANIM::HIT_LEVIOSO].first) + { + _vector vDir = m_pTransformCom->Get_State(STATE::UP); + vDir = XMVector4Normalize(vDir); + _vector vPos = m_pCharacter_Controller->Get_Position(); + m_fAirTime += fTimeDelta; + _vector Force = vDir * fTimeDelta; + if (m_fAirTime < 1.3f) { + m_pCharacter_Controller->Set_Position(vPos + Force); + } + else { + m_pCharacter_Controller->Set_Position(vPos); + } + m_pCharacter_Controller->SetGravity(false); + + if (m_pModelCom->Get_CurrentTrackProgressRatio() >= 0.31f) + { + m_fAirTime = 0.f; + m_pCharacter_Controller->SetGravity(true); + pairAnimInfo = m_Animation[STATEANIM::LAND]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f); + } + } + + + if (m_pModelCom->IsFinishedAnim()) + { + m_bLookAt = true; + m_pFSM->Change_State(FSMSTATE::IDLE); + return E_FAIL; + } + return E_FAIL; +} + +void CGoblin_Mage::Behavior_HitExit() +{ + m_pFSM->Disable_State(FSMSTATE::HIT); +} + + +void CGoblin_Mage::Add_FSM() +{ +#pragma region Behavior_Movement_NotFocus + { + CState_Idle::STATE_IDLE_DESC Desc{}; + Desc.pOwner = this; + Desc.funcEnterEvent = [this]() { Behavior_IdleEnter(); }; + Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_IdleExitCheck(); }; + Desc.funcExitEvent = [this]() { Behavior_IdleExit(); }; + Desc.funcPriorityUpdate = nullptr; + Desc.funcLateUpdate = nullptr; + m_States.emplace(FSMSTATE::IDLE, CState_Idle::Create(&Desc)); + } + { + CState_Move::STATE_MOVE_DESC Desc{}; + Desc.pOwner = this; + Desc.funcEnterEvent = [this]() { Behavior_MoveEnter(); }; + Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_MoveExitCheck(); }; + Desc.funcExitEvent = [this]() { Behavior_MoveExit(); }; + Desc.funcPriorityUpdate = nullptr; + Desc.funcLateUpdate = nullptr; + m_States.emplace(FSMSTATE::MOVE, CState_Move::Create(&Desc)); + } +#pragma endregion +#pragma region Behavior_Combat_NotFocus + { + CState_Combat::STATE_COMBAT_DESC Desc{}; + Desc.pOwner = this; + Desc.funcEnterEvent = [this]() { Behavior_CombatEnter(); }; + Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_CombatExitCheck(fTimedelta); }; + Desc.funcExitEvent = [this]() { Behavior_CombatExit(); }; + Desc.funcPriorityUpdate = nullptr; + Desc.funcLateUpdate = nullptr; + m_States.emplace(FSMSTATE::COMBAT, CState_Combat::Create(&Desc)); + } + + { + CState_Spell::STATE_SPELL_DESC Desc{}; + Desc.pOwner = this; + Desc.funcEnterEvent = [this]() { Behavior_SpellEnter(); }; + Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_SpellExitCheck(fTimedelta); }; + Desc.funcExitEvent = [this]() { Behavior_SpellExit(); }; + Desc.funcPriorityUpdate = nullptr; + Desc.funcLateUpdate = nullptr; + m_States.emplace(FSMSTATE::SPELL, CState_Spell::Create(&Desc)); + } + + { + CState_LightAttack::STATE_LIGHTATTACK_DESC Desc{}; + Desc.pOwner = this; + Desc.funcEnterEvent = [this]() { Behavior_LightAttackEnter(); }; + Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_LightAttackExitCheck(fTimedelta); }; + Desc.funcExitEvent = [this]() { Behavior_LightAttackExit(); }; + Desc.funcPriorityUpdate = nullptr; + Desc.funcLateUpdate = nullptr; + m_States.emplace(FSMSTATE::LIGHT_ATTACK, CState_LightAttack::Create(&Desc)); + } + +#pragma endregion +#pragma region Behavior_Combat_Focus + +#pragma endregion + +#pragma region Hit + { + CState_Hit::STATE_HIT_DESC Desc{}; + Desc.pOwner = this; + Desc.funcEnterEvent = [this]() { Behavior_HitEnter(); }; + Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_HitExitCheck(fTimedelta); }; + Desc.funcExitEvent = [this]() { Behavior_HitExit(); }; + Desc.funcPriorityUpdate = nullptr; + Desc.funcLateUpdate = nullptr; + m_States.emplace(FSMSTATE::HIT, CState_Hit::Create(&Desc)); + } + +#pragma endregion + + +} + +void CGoblin_Mage::Set_Anim() +{ + m_Animation[STATEANIM::IDLE] = { 22,true }; + m_Animation[STATEANIM::IDLE_TURN_BWD] = { 24, false }; + m_Animation[STATEANIM::IDLE_TURN_L] = { 26, false }; + m_Animation[STATEANIM::IDLE_TURN_R] = { 30, false }; + + m_Animation[STATEANIM::WALK_FWD] = { 45,true }; + m_Animation[STATEANIM::WALK_START] = { 57,false }; + m_Animation[STATEANIM::WALK_STOP] = { 58,false }; + m_Animation[STATEANIM::WALK_BWD] = { 252, true }; + + m_Animation[STATEANIM::JOG_FWD] = { 147,true }; // 147 + m_Animation[STATEANIM::JOG_START] = { 157,false }; + m_Animation[STATEANIM::JOG_BWD] = { 146,false }; + + m_Animation[STATEANIM::SHUFFLE1] = { 203,false }; + m_Animation[STATEANIM::SHUFFLE2] = { 204,false }; + m_Animation[STATEANIM::SHUFFLE3] = { 205,false }; + m_Animation[STATEANIM::SHUFFLE4] = { 206,false }; + + m_Animation[STATEANIM::DODGE_LEFT] = { 125, false }; + m_Animation[STATEANIM::DODGE_RIGHT] = { 126, false }; + m_Animation[STATEANIM::SPRINT] = { 90, true }; + + m_Animation[STATEANIM::SKILL] = { 85,false }; // 나이프 던지기 + m_Animation[STATEANIM::BLINK] = { 426,false }; // 텔레포트 + m_Animation[STATEANIM::SWING_FWD] = { 100,false }; // 도끼 스윙 444 + m_Animation[STATEANIM::ATTACK_END] = { 76,false }; + + + m_Animation[STATEANIM::SPELL_CHARGE] = { 437,false }; + m_Animation[STATEANIM::SPELL] = { 435,false }; + m_Animation[STATEANIM::LIGHT_ATTACK] = { 443,false }; + + m_Animation[STATEANIM::HIT_FWD] = { 353, false }; + m_Animation[STATEANIM::HIT_BWD] = { 352, false }; + m_Animation[STATEANIM::HIT_BWD2] = { 349, false }; + m_Animation[STATEANIM::HIT_BWD3] = { 350, false }; + m_Animation[STATEANIM::HIT_BWD4] = { 351, false }; + m_Animation[STATEANIM::HIT_L] = { 354, false }; + m_Animation[STATEANIM::HIT_R] = { 355, false }; + + m_Animation[STATEANIM::KNOCKDOWN_BWD] = { 374, false }; + m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT] = { 375, false }; + m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT_HOLD] = { 370, false }; + m_Animation[STATEANIM::KNOCKDOWN_FWD] = { 371, false }; + m_Animation[STATEANIM::KNOCKDOWN_FWD_SPLT] = { 372, false }; + m_Animation[STATEANIM::KNOCKDOWN_FWD_SPLT_HOLD] = { 373, false }; + + m_Animation[STATEANIM::GETUP_BWD] = { 330, false }; + m_Animation[STATEANIM::GETUP_FWD] = { 332, false }; + m_Animation[STATEANIM::GETUP_L] = { 334, false }; + m_Animation[STATEANIM::GETUP_L_FD] = { 336, false }; + m_Animation[STATEANIM::GETUP_L_FU] = { 338, false }; + m_Animation[STATEANIM::GETUP_R] = { 340, false }; + m_Animation[STATEANIM::GETUP_R_FD] = { 342, false }; + m_Animation[STATEANIM::GETUP_R_FU] = { 344, false }; + m_Animation[STATEANIM::GETUP_SLOUCH] = { 346, false }; + + m_Animation[STATEANIM::KNOCKBACK] = { 377, true }; + m_Animation[STATEANIM::KNOCKBACK2] = { 378, true }; + m_Animation[STATEANIM::TUMBLE] = { 379, true }; + m_Animation[STATEANIM::TUMBLE2] = { 380, true };// 원래 true 였음 + m_Animation[STATEANIM::PETRIFICUSED_START] = { 383, false }; + + m_Animation[STATEANIM::LAND] = { 376, false }; + m_Animation[STATEANIM::HIT_LEVIOSO] = { 381, false }; + + m_Animation[STATEANIM::DEAD_BWD] = { 317, false }; + m_Animation[STATEANIM::DEAD_BWD2] = { 318, false }; + m_Animation[STATEANIM::DEAD_FWD] = { 319, false }; + m_Animation[STATEANIM::DEAD_FWD2] = { 320, false }; + m_Animation[STATEANIM::DEAD_L] = { 321, false }; + m_Animation[STATEANIM::DEAD_L2] = { 322, false }; + m_Animation[STATEANIM::DEAD_R] = { 323, false }; + m_Animation[STATEANIM::DEAD_R2] = { 324, false }; + + // Range 올려치기 어택 443 + // 내려찍기 공격 시작모션 437 + // 내려찍기 공격 435 + + // 쉴드 블럭 + + // 겁먹기 327 328 + + + + + // idle break 137 +} diff --git a/Jusin154_Team3D/Client/Private/Goblin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_States.cpp index e680861ed..c4e638f74 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_States.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_States.cpp @@ -17,6 +17,7 @@ #include "State_Blink.h" #include "State_Hit.h" #include "State_Dead.h" +#include "State_Shuffle.h" #pragma endregion @@ -31,7 +32,10 @@ void CGoblin::Behavior_IdleEnter() HRESULT CGoblin::Behavior_IdleExitCheck() { if (m_fTargetDistance <= 20.f && m_fTargetDistance != 0.f) + { + m_vOriginPos = m_pTransformCom->Get_State(STATE::POSITION); m_pFSM->Change_State(FSMSTATE::MOVE); + } return E_FAIL; } @@ -47,7 +51,9 @@ void CGoblin::Behavior_MoveEnter() m_pFSM->Enable_State(FSMSTATE::MOVE); m_pFSM->Enable_State(FSMSTATE::JOG); + pairAnimInfo = m_Animation[STATEANIM::JOG_FWD]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } @@ -57,10 +63,8 @@ HRESULT CGoblin::Behavior_MoveExitCheck() pair<_uint, _bool> pairAnimInfo = {}; _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); - if (iCurrAnimIndex == m_Animation[STATEANIM::JOG_FWD].first) { - if (m_fTargetDistance <= 15.f && m_fTargetDistance != 0.f) - m_pFSM->Change_State(FSMSTATE::COMBAT); - } + if (m_fTargetDistance <= 15.f && m_fTargetDistance != 0.f) + m_pFSM->Change_State(FSMSTATE::COMBAT); return E_FAIL; } @@ -74,11 +78,29 @@ void CGoblin::Behavior_CombatEnter() { pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::COMBAT); - m_bLookAt = true; - if (m_fTargetDistance <= 7.f && m_fSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::SWING)] <= 0.f) +} + +HRESULT CGoblin::Behavior_CombatExitCheck(_float fTimeDelta) +{ + m_bLookAt = true; + + if (m_fTargetDistance > 25.f && m_fTargetDistance != 0.f) { - m_pFSM->Change_State(FSMSTATE::SWING); + m_pFSM->Change_State(FSMSTATE::IDLE); + return E_FAIL; + } + else if (m_fTargetDistance > 20.f && m_fTargetDistance != 0.f) + { + m_pFSM->Change_State(FSMSTATE::MOVE); + return E_FAIL; + } + + if (m_fTargetDistance <= 7.f) + { + if (m_fSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::SWING)] <= 0.f) { + m_pFSM->Change_State(FSMSTATE::SWING); + } } else if (m_fTargetDistance >= 7.f && m_fTargetDistance <= 12.f && m_fSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::THROW)] <= 0.f) { @@ -89,23 +111,7 @@ void CGoblin::Behavior_CombatEnter() m_pFSM->Change_State(FSMSTATE::BLINK); } else { - pairAnimInfo = m_Animation[STATEANIM::JOG_FWD]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); - } -} - -HRESULT CGoblin::Behavior_CombatExitCheck(_float fTimeDelta) -{ - m_bLookAt = true; - - if (m_fTargetDistance > 20.f && m_fTargetDistance != 0.f) m_pFSM->Change_State(FSMSTATE::MOVE); - else if (m_fTargetDistance > 25.f && m_fTargetDistance != 0.f) - m_pFSM->Change_State(FSMSTATE::IDLE); - else - { - m_pFSM->Disable_State(FSMSTATE::COMBAT); - m_pFSM->Change_State(FSMSTATE::COMBAT); } return E_FAIL; @@ -128,10 +134,11 @@ void CGoblin::Behavior_SwingEnter() Add_Event(pairAnimInfo.first, [this]() {m_bStep = false; }, 0.2f); + Add_Event(pairAnimInfo.first, - [&]() { - pairAnimInfo = m_Animation[STATEANIM::ATTACK_END]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); }, + [&]() { m_bLookAt = true; + m_bStep = true; + m_pFSM->Change_State(FSMSTATE::SHUFFLE); }, 0.4f); } @@ -154,13 +161,6 @@ HRESULT CGoblin::Behavior_SwingExitCheck(_float fTimeDelta) m_pTransformCom->AccumulateMomentum(vDistance * step *fTimeDelta*1.5f); } } - if (m_pModelCom->IsFinishedAnim()) - { - m_bLookAt = true; - m_bStep = true; - m_pFSM->Change_State(FSMSTATE::COMBAT); - return E_FAIL; - } return E_FAIL; } @@ -208,27 +208,34 @@ void CGoblin::Behavior_ThrowExit() void CGoblin::Behavior_BlinkEnter() { - m_bVisible = false; + pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::BLINK); - m_fSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::TP)] = m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::TP)]; - _vector vPlayerPos = XMLoadFloat4(&m_vTargetPos); - _vector vPlayerLook = m_pTarget->Get_Component()->Get_State(STATE::LOOK); - vPlayerLook = XMVectorSetY(vPlayerLook, 0.f); - vPlayerLook = XMVector3Normalize(vPlayerLook); - _float randAngleDeg = m_pGameInstance->Real_Random_Float(-60.f, 60.f); - _float randAngleRad = XMConvertToRadians(randAngleDeg); + pairAnimInfo = m_Animation[STATEANIM::BLINK_START]; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); - _matrix rot = XMMatrixRotationY(randAngleRad); - _vector offsetDir = XMVector3TransformNormal(vPlayerLook, rot); + Add_Event(pairAnimInfo.first, + [this]() { + m_bVisible = false; + m_fSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::TP)] = m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::TP)]; + _vector vPlayerPos = XMLoadFloat4(&m_vTargetPos); + _vector vPlayerLook = m_pTarget->Get_Component()->Get_State(STATE::LOOK); + vPlayerLook = XMVectorSetY(vPlayerLook, 1.f); + vPlayerLook = XMVector3Normalize(vPlayerLook); - _float randDist = m_pGameInstance->Real_Random_Float(1.0f, 1.5f); + _float randAngleDeg = m_pGameInstance->Real_Random_Float(-60.f, 60.f); + _float randAngleRad = XMConvertToRadians(randAngleDeg); - _vector vFinalPos = vPlayerPos + offsetDir * randDist; + _matrix rot = XMMatrixRotationY(randAngleRad); + _vector offsetDir = XMVector3TransformNormal(vPlayerLook, rot); - m_pCharacter_Controller->Set_Position(vFinalPos); + _float randDist = m_pGameInstance->Real_Random_Float(1.f, 1.5f); + _vector vFinalPos = vPlayerPos + offsetDir * randDist; + + m_pCharacter_Controller->Set_Position(vFinalPos); } + , 0.99f); } HRESULT CGoblin::Behavior_BlinkExitCheck(_float fTimeDelta) @@ -260,11 +267,50 @@ void CGoblin::Behavior_BlinkExit() m_pFSM->Disable_State(FSMSTATE::BLINK); } +void CGoblin::Behavior_ShuffleEnter() +{ + pair<_uint, _bool> pairAnimInfo = {}; + m_pFSM->Enable_State(FSMSTATE::SHUFFLE); + _uint iRand = m_pGameInstance->Real_Random_Int(0, 3); + switch (iRand) + { + case 0: + pairAnimInfo = m_Animation[STATEANIM::SHUFFLE1]; + break; + case 1: + pairAnimInfo = m_Animation[STATEANIM::SHUFFLE2]; + break; + case 2: + pairAnimInfo = m_Animation[STATEANIM::SHUFFLE3]; + break; + case 3: + pairAnimInfo = m_Animation[STATEANIM::SHUFFLE4]; + break; + } + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + + Add_Event(pairAnimInfo.first, + [this]() { + m_pFSM->Change_State(FSMSTATE::COMBAT); }, + 0.2f); +} + +HRESULT CGoblin::Behavior_ShuffleExitCheck(_float fTimeDelta) +{ + return E_FAIL; +} + +void CGoblin::Behavior_ShuffleExit() +{ + m_pFSM->Disable_State(FSMSTATE::SHUFFLE); +} + void CGoblin::Behavior_HitEnter() { pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::HIT); + m_bLookAt = false; switch (m_eHitSpell) { case STATEANIM::KNOCKDOWN_FWD: @@ -459,6 +505,17 @@ void CGoblin::Add_FSM() Desc.funcLateUpdate = nullptr; m_States.emplace(FSMSTATE::BLINK, CState_Blink::Create(&Desc)); } + + { + CState_Shuffle::STATE_SHUFFLE_DESC Desc{}; + Desc.pOwner = this; + Desc.funcEnterEvent = [this]() { Behavior_ShuffleEnter(); }; + Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_ShuffleExitCheck(fTimedelta); }; + Desc.funcExitEvent = [this]() { Behavior_ShuffleExit(); }; + Desc.funcPriorityUpdate = nullptr; + Desc.funcLateUpdate = nullptr; + m_States.emplace(FSMSTATE::SHUFFLE, CState_Shuffle::Create(&Desc)); + } #pragma endregion #pragma region Behavior_Combat_Focus { @@ -495,20 +552,26 @@ void CGoblin::Set_Anim() m_Animation[STATEANIM::IDLE_TURN_L] = { 26, false }; m_Animation[STATEANIM::IDLE_TURN_R] = { 30, false }; - m_Animation[STATEANIM::WALK_FWD] = { 50,true }; + m_Animation[STATEANIM::WALK_FWD] = { 45,true }; m_Animation[STATEANIM::WALK_START] = { 57,false }; m_Animation[STATEANIM::WALK_STOP] = { 58,false }; - m_Animation[STATEANIM::WALK_BWD] = { 49, true }; + m_Animation[STATEANIM::WALK_BWD] = { 252, true }; - m_Animation[STATEANIM::JOG_FWD] = { 147,true }; + m_Animation[STATEANIM::JOG_FWD] = { 147,true }; // 147 m_Animation[STATEANIM::JOG_START] = { 157,false }; - m_Animation[STATEANIM::JOG_BWD] = { 154,false }; + m_Animation[STATEANIM::JOG_BWD] = { 146,false }; + + m_Animation[STATEANIM::SHUFFLE1] = { 203,false }; + m_Animation[STATEANIM::SHUFFLE2] = { 204,false }; + m_Animation[STATEANIM::SHUFFLE3] = { 205,false }; + m_Animation[STATEANIM::SHUFFLE4] = { 206,false }; m_Animation[STATEANIM::DODGE_LEFT] = { 125, false }; m_Animation[STATEANIM::DODGE_RIGHT] = { 126, false }; m_Animation[STATEANIM::SPRINT] = { 90, true }; m_Animation[STATEANIM::SKILL] = { 85,false }; // 나이프 던지기 + m_Animation[STATEANIM::BLINK_START] = { 428,false }; // 텔레포트 m_Animation[STATEANIM::BLINK] = { 426,false }; // 텔레포트 m_Animation[STATEANIM::SWING_FWD] = { 100,false }; // 도끼 스윙 444 m_Animation[STATEANIM::ATTACK_END] = { 76,false }; @@ -557,6 +620,7 @@ void CGoblin::Set_Anim() m_Animation[STATEANIM::DEAD_R2] = { 324, false }; //Tp 426 + // Tp Start 428 // 76 공격끝 @@ -584,4 +648,12 @@ void CGoblin::Set_Anim() // 착지 376 // + // Shuffle1 211 + // Shuffle2 215 + // Shuffle3 219 + // Shuffle4 223 + + //Jog 112도 L 148 + //Jog 112도 R 152 + } diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index e1e7a0f79..747568162 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -19,6 +19,7 @@ #include "Player.h" #include "Troll.h" #include "Goblin.h" +#include "Goblin_Mage.h" #pragma endregion @@ -158,12 +159,38 @@ HRESULT CLevel_GamePlay::Ready_Background() return E_FAIL; } - /* Map Containters */ - /* 테스트용 맵 */ + // --------------------------------- + // >> M A P Configuration << + // 맵 로드할지 안할지 bool 설정 + // --------------------------------- + _bool isReady_Background = { false }; - //CInfoInstance::GetInstance()->Load_MapObjects("ClientTest"); - /* 전체 맵 */ +#ifdef gimch + isReady_Background = false; +#endif // gimch +#ifdef bin + isReady_Background = false; +#endif // +#ifdef 진우 + isReady_Background = false; +#endif // +#ifdef 기무리 + isReady_Background = false; +#endif // +#ifdef 인혁 + isReady_Background = false; +#endif // + + + /* Map Containters */ + if(false == isReady_Background) { + /* 테스트용 맵 */ + CInfoInstance::GetInstance()->Load_MapObjects("ClientTest"); + } + else + { + ///* 전체 맵 */ CInfoInstance::GetInstance()->Load_MapObjects("Hogsmeade_MapContainer_Data"); /* 조명 오브젝트 */ @@ -251,7 +278,9 @@ HRESULT CLevel_GamePlay::Ready_Background() Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Door2b.bin"; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc))) return E_FAIL; + } + return S_OK; } @@ -352,6 +381,9 @@ HRESULT CLevel_GamePlay::Ready_Layer_Monster() return E_FAIL; } } + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_MONSTER))) { + return E_FAIL; + } if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_MONSTER))) { return E_FAIL; } diff --git a/Jusin154_Team3D/Client/Private/Levioso.cpp b/Jusin154_Team3D/Client/Private/Levioso.cpp index f9833d7e1..6813d4568 100644 --- a/Jusin154_Team3D/Client/Private/Levioso.cpp +++ b/Jusin154_Team3D/Client/Private/Levioso.cpp @@ -40,11 +40,9 @@ HRESULT CLevioso::Initialize(void* pArg) return E_FAIL; m_pLeviosoPJ_0 = Get_PartObject("Levioso_PJ0"); - m_pLeviosoTrail = Get_PartObject("Levioso_Trail"); m_pTrail_PT_0 = Get_PartObject("Trail_PT0"); SAFE_ADDREF(m_pLeviosoPJ_0); - SAFE_ADDREF(m_pLeviosoTrail); SAFE_ADDREF(m_pTrail_PT_0); m_wstrEffectName = L"Levioso"; @@ -85,7 +83,6 @@ void CLevioso::Update(_float fTimeDelta) _matrix WorldMat = m_pTrail_PT_0->Get_Component()->Get_XMWorldMatrix(); - m_pLeviosoTrail->Trail_Update(WorldMat, fTimeDelta); } @@ -104,6 +101,12 @@ void CLevioso::Late_Update(_float fTimeDelta) OnCollision(this); } + if (false == m_bHit) { + _vector vStartPos = XMLoadFloat4(&m_vStartPos); + _vector vEndPos = XMLoadFloat4(&m_vEndPos); + SweepTarget(vStartPos, vEndPos, 0.2f); + } + __super::Late_Update(fTimeDelta); @@ -140,8 +143,6 @@ HRESULT CLevioso::Pre_Setting(CGameObject* pObject, void* pArg) pWandSmoke->Set_Visible(true); pWandLight->Set_Visible(true); - m_pLeviosoTrail->Set_Visible(true); - m_pLeviosoTrail->Get_Component()->Reset_Trail(); m_vOwnerLook = XMVector3Normalize(m_pOwner->Get_Component()->Get_State(STATE::LOOK)); @@ -240,9 +241,7 @@ void CLevioso::Free() { __super::Free(); - SAFE_RELEASE(m_pLeviosoPJ_0); - SAFE_RELEASE(m_pLeviosoTrail); SAFE_RELEASE(m_pTrail_PT_0); } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index 09957275e..1adefdcd4 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -23,6 +23,7 @@ #include "Player.h" #include "Goblin.h" +#include "Goblin_Mage.h" #include "Troll.h" #pragma endregion @@ -275,6 +276,24 @@ HRESULT CLoader::Loading_For_GamePlay() { m_strMessage = TEXT("텍스쳐를(을) 로딩 중 입니다."); + _bool isLoad_Background = { false }; + +#ifdef gimch + isLoad_Background = false; +#endif // gimch +#ifdef bin + isLoad_Background = false; +#endif // +#ifdef 진우 + isLoad_Background = false; +#endif // +#ifdef 기무리 + isLoad_Background = false; +#endif // +#ifdef 인혁 + isLoad_Background = false; +#endif // + #pragma region MAP_MODELS vector*>> jobMapModels; { @@ -307,254 +326,257 @@ HRESULT CLoader::Loading_For_GamePlay() )); } - { /* TScrolls */ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Collisions", - ".bin", false - )); - } - { /* 3BroomStick*/ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Collision", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes/3Broom_Kit", - ".bin", false - )); - } + if (true == isLoad_Background) + { + { /* TScrolls */ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Collisions", + ".bin", false + )); + } + { /* 3BroomStick*/ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Collision", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes/3Broom_Kit", + ".bin", false + )); + } - { /* BLDG_QuidditchShop */ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Collision", - ".bin", false - )); - } - { /* BLDG_HogsheadInn */ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Collision", - ".bin", false - )); - } - { /* BLDG_Honeydukes */ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Collision", - ".bin", false - )); - } - { /* BLDG_OwlPost */ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Collision", - ".bin", false - )); - } - { /* BLDG_TeaShop */ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Collision", - ".bin", false - )); - } - { /* BLDG_Zonkos */ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Collision", - ".bin", false - )); - } - { /* BLDG_DB_GR */ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Collision", - ".bin", false - )); - } - { /* BLDG_Potions */ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Collisions", - ".bin", false - )); - } - { /* BLDG_Salon */ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Collision", - ".bin", false - )); - } - { /* Hengist_Tree */ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Vegetation", - ".bin", false - )); - } - { /* GEN A*/ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Collision", - ".bin", false - )); - } - { /* GEN B*/ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Collision", - ".bin", false - )); - } - { /* GEN C*/ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Collision", - ".bin", false - )); - } - { /* GEN E*/ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Collision", - ".bin", false - )); - } - { /* GEN F*/ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Collision", - ".bin", false - )); - } - { /* GEN G*/ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Collision", - ".bin", false - )); - } - { /* GEN H*/ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Collision", - ".bin", false - )); - } - { /* GEN J*/ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Meshes", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Collision", - ".bin", false - )); - } - {/* Light Objects */ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/LightPosts", - ".bin", false - )); - } - {/* Doors */ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Doors", - ".bin", false - )); - } - {/* Step and Stair */ - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/GroundSurfaces", - ".bin", false - )); - jobMapModels.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/GroundSurfaces", - ".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 - )); + { /* BLDG_QuidditchShop */ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Collision", + ".bin", false + )); + } + { /* BLDG_HogsheadInn */ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Collision", + ".bin", false + )); + } + { /* BLDG_Honeydukes */ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Collision", + ".bin", false + )); + } + { /* BLDG_OwlPost */ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Collision", + ".bin", false + )); + } + { /* BLDG_TeaShop */ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Collision", + ".bin", false + )); + } + { /* BLDG_Zonkos */ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Collision", + ".bin", false + )); + } + { /* BLDG_DB_GR */ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Collision", + ".bin", false + )); + } + { /* BLDG_Potions */ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Collisions", + ".bin", false + )); + } + { /* BLDG_Salon */ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Collision", + ".bin", false + )); + } + { /* Hengist_Tree */ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Vegetation", + ".bin", false + )); + } + { /* GEN A*/ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Collision", + ".bin", false + )); + } + { /* GEN B*/ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Collision", + ".bin", false + )); + } + { /* GEN C*/ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Collision", + ".bin", false + )); + } + { /* GEN E*/ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Collision", + ".bin", false + )); + } + { /* GEN F*/ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Collision", + ".bin", false + )); + } + { /* GEN G*/ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Collision", + ".bin", false + )); + } + { /* GEN H*/ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Collision", + ".bin", false + )); + } + { /* GEN J*/ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Meshes", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Collision", + ".bin", false + )); + } + {/* Light Objects */ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/LightPosts", + ".bin", false + )); + } + {/* Doors */ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Doors", + ".bin", false + )); + } + {/* Step and Stair */ + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/GroundSurfaces", + ".bin", false + )); + jobMapModels.emplace_back(Deferred_FolderLoad( + "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/GroundSurfaces", + ".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 + )); + } } } @@ -791,206 +813,208 @@ HRESULT CLoader::Loading_For_GamePlay() { return E_FAIL; } -#pragma region UI_ANI - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Altering_Spell"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Altering_Spell\\Altering_Spell%d.png"), 349)))) - { - return E_FAIL; - } - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Alohomora"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Alohomora\\Alohomora%d.png"), 394)))) - { - return E_FAIL; - } - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic\\Ancient_Magic%d.png"), 152)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic_Throw"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic_Throw\\Ancient_Magic_Throw%d.png"), 89)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Arresto_Momentum"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Arresto_Momentum\\Arresto_Momentum%d.png"), 120)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Avada_Kedavra"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Avada_Kedavra\\Avada_Kedavra%d.png"), 208)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Basic_Cast"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Basic_Cast\\Basic_Cast%d.png"), 308)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Feed"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Feed\\Beast_Feed%d.png"), 378)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Petting_Brush"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Petting_Brush\\Beast_Petting_Brush%d.png"), 327)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Bombarda"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Bombarda\\Bombarda%d.png"), 262)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Confringo"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Confringo\\Confringo%d.png"), 157)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Conjuring_Spell"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Conjuring_Spell\\Conjuring_Spell%d.png"), 115)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Descendo"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Descendo\\Descendo%d.png"), 155)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Depulso"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Depulso\\Depulso%d.png"), 152)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Diffindo"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Diffindo\\Diffindo%d.png"), 150)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Disillusionment"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Disillusionment\\Disillusionment%d.png"), 260)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Evanesco"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Evanesco\\Evanesco%d.png"), 136)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Expelliarmus"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Expelliarmus\\Expelliarmus%d.png"), 146)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Flipendo"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Flipendo\\Flipendo%d.png"), 188)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Glacius"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Glacius\\Glacius%d.png"), 156)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Imperio"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Imperio\\Imperio%d.png"), 462)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Incendio"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Incendio\\Incendio%d.png"), 213)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Levioso"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Levioso\\Levioso%d.png"), 180)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Lumos"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Lumos\\Lumos%d.png"), 365)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Nab_Sack"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Nab_Sack\\Nab_Sack%d.png"), 235)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Petrificus_Totalus"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Petrificus_Totalus\\Petrificus_Totalus%d.png"), 275)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Protego"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Protego\\Protego%d.png"), 285)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Reparo"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Reparo\\Reparo%d.png"), 385)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Revelio"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Revelio\\Revelio%d.png"), 227)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Stupefy"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Stupefy\\Stupefy%d.png"), 222)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Transformation"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Transformation\\Transformation%d.png"), 146)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Wingardium_Leviosa"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Wingardium_Leviosa\\Wingardium_Leviosa%d.png"), 273)))) - { - return E_FAIL; - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Crucio"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Crucio\\Crucio%d.png"), 216)))) - { - return E_FAIL; - } - -#pragma endregion +//#pragma region UI_ANI +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Altering_Spell"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Altering_Spell\\Altering_Spell%d.png"), 349)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Alohomora"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Alohomora\\Alohomora%d.png"), 394)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic\\Ancient_Magic%d.png"), 152)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Ancient_Magic_Throw"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Ancient_Magic_Throw\\Ancient_Magic_Throw%d.png"), 89)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Arresto_Momentum"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Arresto_Momentum\\Arresto_Momentum%d.png"), 120)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Avada_Kedavra"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Avada_Kedavra\\Avada_Kedavra%d.png"), 208)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Basic_Cast"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Basic_Cast\\Basic_Cast%d.png"), 308)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Feed"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Feed\\Beast_Feed%d.png"), 378)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Beast_Petting_Brush"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Beast_Petting_Brush\\Beast_Petting_Brush%d.png"), 327)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Bombarda"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Bombarda\\Bombarda%d.png"), 262)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Confringo"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Confringo\\Confringo%d.png"), 157)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Conjuring_Spell"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Conjuring_Spell\\Conjuring_Spell%d.png"), 115)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Descendo"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Descendo\\Descendo%d.png"), 155)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Depulso"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Depulso\\Depulso%d.png"), 152)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Diffindo"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Diffindo\\Diffindo%d.png"), 150)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Disillusionment"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Disillusionment\\Disillusionment%d.png"), 260)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Evanesco"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Evanesco\\Evanesco%d.png"), 136)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Expelliarmus"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Expelliarmus\\Expelliarmus%d.png"), 146)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Flipendo"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Flipendo\\Flipendo%d.png"), 188)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Glacius"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Glacius\\Glacius%d.png"), 156)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Imperio"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Imperio\\Imperio%d.png"), 462)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Incendio"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Incendio\\Incendio%d.png"), 213)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Levioso"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Levioso\\Levioso%d.png"), 180)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Lumos"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Lumos\\Lumos%d.png"), 365)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Nab_Sack"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Nab_Sack\\Nab_Sack%d.png"), 235)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Petrificus_Totalus"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Petrificus_Totalus\\Petrificus_Totalus%d.png"), 275)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Protego"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Protego\\Protego%d.png"), 285)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Reparo"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Reparo\\Reparo%d.png"), 385)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Revelio"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Revelio\\Revelio%d.png"), 227)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Stupefy"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Stupefy\\Stupefy%d.png"), 222)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Transformation"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Transformation\\Transformation%d.png"), 146)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Wingardium_Leviosa"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Wingardium_Leviosa\\Wingardium_Leviosa%d.png"), 273)))) +// { +// return E_FAIL; +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Crucio"), +// CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("C:\\MeshTable\\SpellAnim\\Crucio\\Crucio%d.png"), 216)))) +// { +// return E_FAIL; +// } +// +//#pragma endregion #pragma region TERRAIN_TEXTURE /* Terrain_Diffuse */ @@ -1307,8 +1331,12 @@ HRESULT CLoader::Loading_For_GamePlay() return E_FAIL; } + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Goblin_Mage_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) + return E_FAIL; + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Troll_Model"), - CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.fbx", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))){ + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))){ return E_FAIL; } @@ -1438,6 +1466,7 @@ HRESULT CLoader::Loading_For_GamePlay() m_strMessage = TEXT("객체원형를(을) 로딩 중 입니다."); +#pragma region UI /* For.Prototype_GameObject_UI_Manager*/ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CUI_Manager::Create(m_pDevice, m_pContext)))) { return E_FAIL; @@ -1632,6 +1661,8 @@ HRESULT CLoader::Loading_For_GamePlay() return E_FAIL; } +#pragma endregion + /* For.Prototype_GameObject_SkyBox */ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CSkyBox::Create(m_pDevice, m_pContext)))) return E_FAIL; @@ -1660,83 +1691,83 @@ HRESULT CLoader::Loading_For_GamePlay() } } - -#pragma region MAP_INSTANCE - /* For.Prototype_Component_VIBuffer_Model_Instancel_SM_OakTree_MedA */ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_OakTree_MedA"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_OakTree_MedA.bin", - "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; - - /* For.Prototype_Component_VIBuffer_Model_Instancel_SM_BearBerry_A */ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_BearBerry_A"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_BearBerry_A.bin", - "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; - - /* For.Prototype_Component_VIBuffer_Model_Instancel_SM_HM_OwlPost_Window_A*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_HM_OwlPost_Window_A"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_HM_OwlPost_Window_A.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; - - /* For.Prototype_Component_VIBuffer_Model_Instancel_WA_Rectangle_Double_A*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_WA_Rectangle_Double_A"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_HM_WindowsStyleA_L_Rectangle_Double_A.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; - - /* For.Prototype_Component_VIBuffer_Model_Instancel_WC_Retangle_Double_A*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_WC_Retangle_Double_A"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_HM_WindowsStyleC_Retangle_Double_A.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; - - /* For.Prototype_Component_VIBuffer_Model_Instancel_WA_Square_Double_C*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_WA_Square_Double_C"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_HM_WindowsStyleA_L_Square_Double_C.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; - - /* For.Prototype_Component_VIBuffer_Model_Instancel_Quid_Window_A*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_Quid_Window_A"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_HM_Quid_Window_A.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; - - /* For.Prototype_Component_VIBuffer_Model_Instancel_Ollivanders_Box_Window*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_Ollivanders_Box_Window"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_HM_Ollivanders_Box_Window.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; - - /* For.Prototype_Component_VIBuffer_Model_Instancel_WC_L_DoubleS_A*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_WC_L_DoubleS_A"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_HM_WindowsStyleC_L_Double_Single_A.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; - - /* For.Prototype_Component_VIBuffer_Model_Instancel_WC_Round_Double_A*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_WC_Round_Double_A"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_HM_WindowsStyleC_Round_Double_A.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; - - /* For.Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door1a*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door1a"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_HM_Door1a.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; - - /* For.Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door2b*/ - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door2b"), - CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, - "../Bin/Resources/Models/InstanceProp/SM_HM_Door2b.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) - return E_FAIL; -#pragma endregion - +// +//#pragma region MAP_INSTANCE +// /* For.Prototype_Component_VIBuffer_Model_Instancel_SM_OakTree_MedA */ +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_OakTree_MedA"), +// CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, +// "../Bin/Resources/Models/InstanceProp/SM_OakTree_MedA.bin", +// "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) +// return E_FAIL; +// +// /* For.Prototype_Component_VIBuffer_Model_Instancel_SM_BearBerry_A */ +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_BearBerry_A"), +// CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, +// "../Bin/Resources/Models/InstanceProp/SM_BearBerry_A.bin", +// "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) +// return E_FAIL; +// +// /* For.Prototype_Component_VIBuffer_Model_Instancel_SM_HM_OwlPost_Window_A*/ +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_HM_OwlPost_Window_A"), +// CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, +// "../Bin/Resources/Models/InstanceProp/SM_HM_OwlPost_Window_A.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) +// return E_FAIL; +// +// /* For.Prototype_Component_VIBuffer_Model_Instancel_WA_Rectangle_Double_A*/ +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_WA_Rectangle_Double_A"), +// CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, +// "../Bin/Resources/Models/InstanceProp/SM_HM_WindowsStyleA_L_Rectangle_Double_A.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) +// return E_FAIL; +// +// /* For.Prototype_Component_VIBuffer_Model_Instancel_WC_Retangle_Double_A*/ +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_WC_Retangle_Double_A"), +// CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, +// "../Bin/Resources/Models/InstanceProp/SM_HM_WindowsStyleC_Retangle_Double_A.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) +// return E_FAIL; +// +// /* For.Prototype_Component_VIBuffer_Model_Instancel_WA_Square_Double_C*/ +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_WA_Square_Double_C"), +// CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, +// "../Bin/Resources/Models/InstanceProp/SM_HM_WindowsStyleA_L_Square_Double_C.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) +// return E_FAIL; +// +// /* For.Prototype_Component_VIBuffer_Model_Instancel_Quid_Window_A*/ +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_Quid_Window_A"), +// CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, +// "../Bin/Resources/Models/InstanceProp/SM_HM_Quid_Window_A.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) +// return E_FAIL; +// +// /* For.Prototype_Component_VIBuffer_Model_Instancel_Ollivanders_Box_Window*/ +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_Ollivanders_Box_Window"), +// CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, +// "../Bin/Resources/Models/InstanceProp/SM_HM_Ollivanders_Box_Window.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) +// return E_FAIL; +// +// /* For.Prototype_Component_VIBuffer_Model_Instancel_WC_L_DoubleS_A*/ +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_WC_L_DoubleS_A"), +// CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, +// "../Bin/Resources/Models/InstanceProp/SM_HM_WindowsStyleC_L_Double_Single_A.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) +// return E_FAIL; +// +// /* For.Prototype_Component_VIBuffer_Model_Instancel_WC_Round_Double_A*/ +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_WC_Round_Double_A"), +// CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, +// "../Bin/Resources/Models/InstanceProp/SM_HM_WindowsStyleC_Round_Double_A.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) +// return E_FAIL; +// +// /* For.Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door1a*/ +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door1a"), +// CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, +// "../Bin/Resources/Models/InstanceProp/SM_HM_Door1a.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) +// return E_FAIL; +// +// /* For.Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door2b*/ +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door2b"), +// CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, +// "../Bin/Resources/Models/InstanceProp/SM_HM_Door2b.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) +// return E_FAIL; +//#pragma endregion +// /* For.Prototype_Component_VIBuffer_Box */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Box"), @@ -1792,6 +1823,10 @@ HRESULT CLoader::Loading_For_GamePlay() if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CGoblin::Create(m_pDevice, m_pContext)))) return E_FAIL; + /* For.Prototype_GameObject_Goblin_Mage */ + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CGoblin_Mage::Create(m_pDevice, m_pContext)))) + return E_FAIL; + /* For.Prototype_GameObject_Troll */ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CTroll::Create(m_pDevice, m_pContext)))) return E_FAIL; @@ -2076,6 +2111,12 @@ future*> CLoader::Deferred_ModelLoad(MODEL eType, const return m_pGameInstance->EnqueueJob(&Deferred_ModelLoad_Main, m_pDevice, m_pContext, eType, pDirectoryPath, pPrototypeTag, PreTransform); } +void CLoader::Ready_MapModels(vector*>>& jobMapModels) +{ + + +} + CLoader* CLoader::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eNextLevelID) { CLoader* pInstance = new CLoader(pDevice, pContext); diff --git a/Jusin154_Team3D/Client/Private/MapInfo.cpp b/Jusin154_Team3D/Client/Private/MapInfo.cpp index 0a63ce306..cabc592b7 100644 --- a/Jusin154_Team3D/Client/Private/MapInfo.cpp +++ b/Jusin154_Team3D/Client/Private/MapInfo.cpp @@ -80,7 +80,7 @@ HRESULT CMapInfo::Load_MapObjects(const _char* pFileName) { const _char* pName = {}; _uint iMapContainerType = {}; - //Container->QueryUnsignedAttribute("MapContainerType", &iMapContainerType); + Container->QueryUnsignedAttribute("MapContainerType", &iMapContainerType); Container->FirstChildElement("MapContainerType")->QueryUnsignedAttribute("type", &iMapContainerType); diff --git a/Jusin154_Team3D/Client/Private/MapObject_Render.cpp b/Jusin154_Team3D/Client/Private/MapObject_Render.cpp index 7155be0e6..433cc9bf3 100644 --- a/Jusin154_Team3D/Client/Private/MapObject_Render.cpp +++ b/Jusin154_Team3D/Client/Private/MapObject_Render.cpp @@ -75,7 +75,7 @@ void CMapObject_Render::Update(_float fTimeDelta) void CMapObject_Render::Late_Update(_float fTimeDelta) { - m_pGameInstance->Add_RenderGroup(RENDER::SHADOW, this); + //m_pGameInstance->Add_RenderGroup(RENDER::SHADOW, this); if (m_pGameInstance->isIn_WorldFrustum(XMLoadFloat4(&m_vExtentPosition), m_fRadius)) { m_fCamDepth = XMVectorGetX(XMVector3LengthSq(XMLoadFloat4(m_pGameInstance->Get_CamPosition()) - XMLoadFloat4(&m_vExtentPosition))); diff --git a/Jusin154_Team3D/Client/Private/NomalJap.cpp b/Jusin154_Team3D/Client/Private/NomalJap.cpp index 502976a40..41a6b1429 100644 --- a/Jusin154_Team3D/Client/Private/NomalJap.cpp +++ b/Jusin154_Team3D/Client/Private/NomalJap.cpp @@ -123,67 +123,15 @@ void CNomalJap::Late_Update(_float fTimeDelta) return; } if (false == m_bHit) { - SweepTarget(); + _vector vStartPos = XMLoadFloat4(&m_vStartPos); + _vector vEndPos = m_pProjectile->Get_WorldPostion(); + SweepTarget(vStartPos,vEndPos, 0.002f); } Get_PartObject()->Trail_Update(m_pProjectile->Get_Component()->Get_XMWorldMatrix(), fTimeDelta); __super::Late_Update(fTimeDelta); } -void CNomalJap::SweepTarget() -{ - _vector vStartPos = m_pProjectile->Get_WorldPostion(); - _vector vEndPos = XMLoadFloat4(&m_vTargetPos); - _vector vDir = { vEndPos - vStartPos }; - - _float fDistance = XMVectorGetX(XMVector3Length(vEndPos - vStartPos)); - - PSX::PxSweepBuffer pxBuffer = {}; - - _bool bHit = m_pGameInstance->SphereCast(0.002f, vStartPos, vDir, fDistance, PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC, pxBuffer); - - if (bHit) { - const PSX::PxSweepHit& hit = pxBuffer.block; - PSX::PxRigidActor* pActor = hit.actor; - PSX::PxShape* pShape = hit.shape; - ON_COLLISION_INFO tagCollInfo = {}; - memcpy_s(&tagCollInfo.vWorldPos, sizeof(tagCollInfo.vWorldPos), &hit.position, sizeof(hit.position)); - memcpy_s(&tagCollInfo.vWorldNomal, sizeof(tagCollInfo.vWorldNomal), &hit.normal, sizeof(hit.normal)); - XMStoreFloat4(&tagCollInfo.vHitDir, vDir); - tagCollInfo.fLength = fDistance; - - - if (nullptr != pActor && nullptr != pActor->userData) - { - PhsXUserData* pUserData = static_cast(pActor->userData); - - switch (pUserData->eKind) - { - case PHYSX_KIND::CCTActor: - { - switch (PXOBJECT(pUserData->iSubKind)) - { - case PXOBJECT::MONSTER: - break; - case PXOBJECT::GOBLIN_WARRIOR: - { - pUserData->pOwner->OnCollision(this, &tagCollInfo); - m_bHit = true; - } - break; - case PXOBJECT::TROLL: - { - pUserData->pOwner->OnCollision(this, &tagCollInfo); - m_bHit = true; - } - break; - } - } - } - } - } -} - HRESULT CNomalJap::Pre_Setting(CGameObject* pObject, void* pArg) { if (FAILED(__super::Pre_Setting(pObject, nullptr))) diff --git a/Jusin154_Team3D/Client/Private/NomalJapSide.cpp b/Jusin154_Team3D/Client/Private/NomalJapSide.cpp index 31f938912..98c485063 100644 --- a/Jusin154_Team3D/Client/Private/NomalJapSide.cpp +++ b/Jusin154_Team3D/Client/Private/NomalJapSide.cpp @@ -42,11 +42,13 @@ HRESULT CNomalJapSide::Initialize(void* pArg) m_pWandParticle = Get_PartObject("WandParticle1"); m_pWandLight = Get_PartObject("Wand_Red_Long"); + m_pWandLight_R = Get_PartObject("Wand_Light_R"); m_pWandTrail = Get_PartObject(); SAFE_ADDREF(m_pWandLight); SAFE_ADDREF(m_pWandTrail); SAFE_ADDREF(m_pWandParticle); + SAFE_ADDREF(m_pWandLight_R); m_Events.emplace(0.6f, [&]() { @@ -64,6 +66,7 @@ HRESULT CNomalJapSide::Initialize(void* pArg) m_isTrailEnd = true; XMStoreFloat4x4(&m_TrailStopMat, pWand->Get_WorldMatrix()); + m_pWandLight_R->Set_Visible(false); }); @@ -94,6 +97,7 @@ void CNomalJapSide::Update(_float fTimeDelta) return; m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); + m_pWandLight_R->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); // 파티클생성이 막히면 실행되지 않음 if (m_isParticleEnd == false) @@ -130,6 +134,7 @@ HRESULT CNomalJapSide::Pre_Setting(CGameObject* pObject, void* pArg) m_isParticleEnd = false; // 파티클이 일정시간이 되면 나오지 않게 하려고 m_pWandLight->Set_Visible(true); + m_pWandLight_R->Set_Visible(true); /*트레일 초기화 */ m_pWandTrail->Set_Visible(true); @@ -139,7 +144,7 @@ HRESULT CNomalJapSide::Pre_Setting(CGameObject* pObject, void* pArg) /*_vector pPos = pPlayer->Get_WandPos().r[3];*/ m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); - + m_pWandLight_R->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); return S_OK; } @@ -198,6 +203,8 @@ void CNomalJapSide::Free() Safe_Release(m_pWandLight); Safe_Release(m_pWandTrail); Safe_Release(m_pWandParticle); + Safe_Release(m_pWandLight_R); + } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp index ef120d229..3ca9bf976 100644 --- a/Jusin154_Team3D/Client/Private/Player.cpp +++ b/Jusin154_Team3D/Client/Private/Player.cpp @@ -72,8 +72,6 @@ HRESULT CPlayer::Initialize(void* pArg) Set_Anim(); - m_eSpell = STATEANIM::DESCENDO; - { CFSM::FSM_DESC FSMDesc{}; FSMDesc.pStates = &m_States; @@ -139,6 +137,12 @@ __super::Update(fTimeDelta); m_pCharacter_Controller->Move(fTimeDelta); m_pCallBack_HitReport->Set_CurrentSlop(); } + if (m_pGameInstance->Mouse_Down(DIM_RBUTTON)) + m_pInfoInstance->Key_Input(ENUM_CLASS(KEYINPUT::DIM_RBUTTON_DOWN)); + if (m_pGameInstance->Mouse_Up(DIM_RBUTTON)) + m_pInfoInstance->Key_Input(ENUM_CLASS(KEYINPUT::DIM_RBUTTON_UP)); + + } void CPlayer::Late_Update(_float fTimeDelta) @@ -158,6 +162,20 @@ void CPlayer::Late_Update(_float fTimeDelta) m_pLockOnMonster = nullptr; } } + //////////////////////////////////////////////////////////////////////////// + _vector look = XMVector3Normalize(m_pTransformCom->Get_State(STATE::LOOK)); + + _vector worldUp = XMVectorSet(0.f, 1.f, 0.f, 0.f); + + _vector right = XMVector3Normalize(XMVector3Cross(worldUp, look)); + _vector up = XMVector3Normalize(XMVector3Cross(look, right)); + + m_pTransformCom->Set_State(STATE::RIGHT, right); + m_pTransformCom->Set_State(STATE::UP, up); + m_pTransformCom->Set_State(STATE::LOOK, look); + //////////////////////////////////////////////////////////////////////////// + + } HRESULT CPlayer::Render() @@ -549,7 +567,7 @@ void CPlayer::Describe_Entity() GUI::Text(AnimList.c_str()); GUI::Text("AnimTrack %.2f", m_pModelCom->Get_CurrentTrackPosition()); - GUI::Text("AnimRatio %.2f", m_pModelCom->Get_TrackProgressRatio(417)); + GUI::Text("AnimRatio %.2f", m_pModelCom->Get_CurrentTrackProgressRatio()); GUI::Checkbox("Render", &m_bVisible); diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp index ea5fb25b6..38cd6c9d1 100644 --- a/Jusin154_Team3D/Client/Private/Player_States.cpp +++ b/Jusin154_Team3D/Client/Private/Player_States.cpp @@ -307,16 +307,14 @@ void CPlayer::Behavior_MoveEnter() if (true == m_bSprintToggle) { m_pFSM->Enable_State(FSMSTATE::SPRINT); m_bWalkToggle = false; - if (true == bFoward) { - pairAnimInfo = m_Animation[STATEANIM::SPRINT]; - } + + pairAnimInfo = m_Animation[STATEANIM::SPRINT]; } else if (true == m_bWalkToggle) { m_pFSM->Enable_State(FSMSTATE::WALK); m_bSprintToggle = false; - if (true == bFoward) { - pairAnimInfo = m_Animation[STATEANIM::WALK_FWD]; - } + + pairAnimInfo = m_Animation[STATEANIM::WALK_FWD]; } else { @@ -337,9 +335,9 @@ void CPlayer::Behavior_MoveEnter() else if (true == m_bWalkToggle) { m_pFSM->Enable_State(FSMSTATE::WALK); m_bSprintToggle = false; - if (true == bFoward) { - pairAnimInfo = m_Animation[STATEANIM::WALK_FWD]; - } + + pairAnimInfo = m_Animation[STATEANIM::WALK_FWD]; + } else { m_pFSM->Enable_State(FSMSTATE::JOG); @@ -359,6 +357,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta) _vector xmvLook = XMVector4Normalize(XMVectorSetY(m_pTransformCom->Get_State(STATE::LOOK), 0.f)); _vector xmvRight = XMVector4Normalize(XMVectorSetY(m_pTransformCom->Get_State(STATE::RIGHT), 0.f)); _uint iCurrentAnimIndex = m_pModelCom->Get_AnimIndex(); + _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio(); if (SUCCEEDED(InputAction()) || SUCCEEDED(InputSpell())) { if (m_pGameInstance->Key_Down(DIK_SPACE)) { @@ -391,36 +390,38 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta) else if (m_pGameInstance->Key_Down(DIK_B)) { m_pFSM->Change_State(FSMSTATE::BROOM_RIDE); } - else if (m_pGameInstance->Key_Down(DIK_LSHIFT)) { + else if (m_pGameInstance->Key_Down(DIK_LSHIFT) && !m_pFSM->IsEnable(FSMSTATE::STOP)) { m_bSprintToggle = !m_bSprintToggle; m_bWalkToggle = false; if (m_bSprintToggle) { m_pFSM->Enable_State(FSMSTATE::SPRINT); - m_pFSM->Disable_State(FSMSTATE::JOG); + m_pFSM->Disable_State(FSMSTATE::WALK); pairAnimInfo = m_Animation[STATEANIM::SPRINT]; } else { m_pFSM->Enable_State(FSMSTATE::JOG); m_pFSM->Disable_State(FSMSTATE::SPRINT); + m_pFSM->Disable_State(FSMSTATE::WALK); pairAnimInfo = m_Animation[STATEANIM::JOG_FWD]; } m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } - else if (m_pGameInstance->Key_Down(DIK_C)) { + else if (m_pGameInstance->Key_Down(DIK_C) && !m_pFSM->IsEnable(FSMSTATE::STOP)) { m_bWalkToggle = !m_bWalkToggle; m_bSprintToggle = false; if (m_bWalkToggle) { m_pFSM->Enable_State(FSMSTATE::WALK); - m_pFSM->Disable_State(FSMSTATE::JOG); + m_pFSM->Disable_State(FSMSTATE::SPRINT); pairAnimInfo = m_Animation[STATEANIM::WALK_FWD]; } else { m_pFSM->Enable_State(FSMSTATE::JOG); m_pFSM->Disable_State(FSMSTATE::WALK); + m_pFSM->Disable_State(FSMSTATE::SPRINT); pairAnimInfo = m_Animation[STATEANIM::JOG_FWD]; } m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); @@ -465,9 +466,10 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta) _float degree = XMConvertToDegrees(angle); _bool bSkipAngleCheck = { false }; - if (m_pFSM->IsEnable(FSMSTATE::JOG | FSMSTATE::WALK)) { + if (m_pFSM->IsEnable(FSMSTATE::JOG | FSMSTATE::WALK| FSMSTATE::SPRINT)) { if (iCurrentAnimIndex != m_Animation[STATEANIM::JOG_FWD].first && - iCurrentAnimIndex != m_Animation[STATEANIM::WALK_FWD].first) { + iCurrentAnimIndex != m_Animation[STATEANIM::WALK_FWD].first&& + iCurrentAnimIndex != m_Animation[STATEANIM::SPRINT].first) { bSkipAngleCheck = true; if (m_pModelCom->IsFinishedAnim() || m_pFSM->IsEnable(FSMSTATE::STOP) || SUCCEEDED(InputAim())) { @@ -477,15 +479,19 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta) } if (!bSkipAngleCheck) { _float absDir = fabsf(vDir); - if (absDir < XMConvertToRadians(80.f)) { - if (m_pFSM->IsEnable(FSMSTATE::JOG)) - { - pairAnimInfo = m_Animation[STATEANIM::JOG_FWD]; - } - if (m_pFSM->IsEnable(FSMSTATE::WALK)) + if (absDir < XMConvertToRadians(85.f)) { + if (m_bWalkToggle) { pairAnimInfo = m_Animation[STATEANIM::WALK_FWD]; } + else if ( m_bSprintToggle) + { + pairAnimInfo = m_Animation[STATEANIM::SPRINT]; + } + else + { + pairAnimInfo = m_Animation[STATEANIM::JOG_FWD]; + } } else if (absDir < XMConvertToRadians(160.f)) { if (cross > 0) @@ -494,7 +500,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta) { pairAnimInfo = m_Animation[STATEANIM::JOG_AIM_LEFT]; } - else if (m_pFSM->IsEnable(FSMSTATE::JOG)) + else if (m_pFSM->IsEnable(FSMSTATE::JOG) && !m_pFSM->IsEnable(FSMSTATE::SPRINT)) { if (degree > 35.f && degree < 55.f) { @@ -512,9 +518,11 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta) else { pairAnimInfo = m_Animation[STATEANIM::JOG_LEFT]; } - } } + else { + pairAnimInfo = m_Animation[STATEANIM::JOG_FWD]; + } m_fAmount = 0.5f; m_bRatio = true; @@ -524,7 +532,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta) { pairAnimInfo = m_Animation[STATEANIM::JOG_AIM_RIGHT]; } - else if (m_pFSM->IsEnable(FSMSTATE::JOG)) + else if (m_pFSM->IsEnable(FSMSTATE::JOG) && !m_pFSM->IsEnable(FSMSTATE::SPRINT)) { if (degree < -35.f && degree > -55.f) { @@ -542,9 +550,11 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta) else { pairAnimInfo = m_Animation[STATEANIM::JOG_RIGHT]; } - } } + else { + pairAnimInfo = m_Animation[STATEANIM::JOG_FWD]; + } m_fAmount = 0.5f; m_bRatio = true; @@ -555,7 +565,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta) { pairAnimInfo = m_Animation[STATEANIM::JOG_AIM_BWD]; } - else if (m_pFSM->IsEnable(FSMSTATE::JOG)) + else if (m_pFSM->IsEnable(FSMSTATE::JOG) && !m_pFSM->IsEnable(FSMSTATE::SPRINT)) { if (m_pModelCom->IsFinishedAnim() && iCurrentAnimIndex == m_Animation[STATEANIM::JOG_BWD].first) { @@ -571,6 +581,10 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta) { pairAnimInfo = m_Animation[STATEANIM::WALK_BWD]; } + else { + pairAnimInfo = m_Animation[STATEANIM::JOG_FWD]; + } + m_fAmount = 0.5f; m_bRatio = true; } @@ -591,10 +605,12 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta) { m_pFSM->Enable_State(FSMSTATE::STOP); if (m_pFSM->IsEnable(FSMSTATE::WALK)) { + m_bWalkToggle = false; pairAnimInfo = m_Animation[STATEANIM::WALK_STOP]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } else if (m_pFSM->IsEnable(FSMSTATE::SPRINT)) { + m_bSprintToggle = false; pairAnimInfo = m_Animation[STATEANIM::JOG_STOP]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } @@ -618,10 +634,10 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta) m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } } - else if (IsCurrentKeyFrame("TurnStop")) + else if (fRatio >= 0.2f) { - m_pFSM->Change_State(FSMSTATE::IDLE); m_pFSM->Disable_State(FSMSTATE::STOP); + m_pFSM->Change_State(FSMSTATE::IDLE); } return S_OK; @@ -632,7 +648,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta) void CPlayer::Behavior_MoveExit() { - m_pFSM->Disable_State(FSMSTATE::MOVE | FSMSTATE::SPRINT | FSMSTATE::JOG | FSMSTATE::WALK); + m_pFSM->Disable_State(FSMSTATE::MOVE | FSMSTATE::SPRINT | FSMSTATE::JOG | FSMSTATE::WALK | FSMSTATE::STOP); } void CPlayer::Behavior_JumpEnter() @@ -841,29 +857,6 @@ HRESULT CPlayer::Behavior_CombatExitCheck() } } - if (m_pFSM->IsEnable(FSMSTATE::SPELL) && IsCurrentKeyFrame("Combat")) - { - if (m_eSpell != ENUM_CLASS(SKILL_TYPE::END)) - { - switch (m_eSpell) - { - case ENUM_CLASS(SKILL_TYPE::ACCIO): - pairAnimInfo = m_Animation[STATEANIM::ACCIO]; - break; - case ENUM_CLASS(SKILL_TYPE::DESCENDO): - pairAnimInfo = m_Animation[STATEANIM::DESCENDO]; - break; - default: - m_eSpell = ENUM_CLASS(SKILL_TYPE::END); - return S_OK; - break; - } - - m_eSpell = ENUM_CLASS(SKILL_TYPE::END); - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); - } - } - if (m_pFSM->IsEnable(FSMSTATE::ANCIENT_THROW)) { if (SUCCEEDED(InputMove()) && IsCurrentKeyFrame("Throw")) { @@ -917,23 +910,35 @@ void CPlayer::Behavior_LightAttackEnter() HRESULT CPlayer::Behavior_LightAttackExitCheck() { pair<_uint, _bool> pairAnimInfo; + if (m_pGameInstance->Mouse_Up(DIM_LBUTTON)) { - _uint iIndex = m_pModelCom->Get_AnimIndex(); - if (m_Animation[STATEANIM::LIGHT_ATTACK].first <= iIndex && m_Animation[STATEANIM::LIGHT_ATTACK].first + 3 > iIndex) { + _uint iCurr = m_pModelCom->Get_AnimIndex(); + _uint iStart = m_Animation[STATEANIM::LIGHT_ATTACK].first; + + if (iCurr >= iStart && iCurr < iStart + 3) + { _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio(); - if (fRatio >= 0.1f) { - pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK]; - pairAnimInfo.first = iIndex + 1; + + _uint iNext = iCurr + 1; + pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK]; + pairAnimInfo.first = iNext; + + if (fRatio >= 0.1f) + { m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); - Add_Event(pairAnimInfo.first, + Add_Event(iNext, [this]() { - _uint iIndex = m_pModelCom->Get_AnimIndex() - m_Animation[STATEANIM::LIGHT_ATTACK].first; - m_pEffectPool->Use_Skill(SKILL_TYPE::JAP, Get_PartObject(), &iIndex); }, + _uint comboIndex = m_pModelCom->Get_AnimIndex() - m_Animation[STATEANIM::LIGHT_ATTACK].first; + m_pEffectPool->Use_Skill(SKILL_TYPE::JAP, Get_PartObject(), &comboIndex); + }, 0.05f); - Add_Event(pairAnimInfo.first, [this]() { m_pEffectPool->Use_Skill(SKILL_TYPE::JAP_SIDE, Get_PartObject()); }, 0.0f); + Add_Event(iNext, + [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::JAP_SIDE,Get_PartObject()); + }, + 0.0f); } } } @@ -943,18 +948,19 @@ HRESULT CPlayer::Behavior_LightAttackExitCheck() return E_FAIL; } - if (m_pModelCom->IsFinishedAnim()) { + if (m_pModelCom->IsFinishedAnim()) + { if (SUCCEEDED(InputMove())) { m_pFSM->Change_State(FSMSTATE::MOVE); return E_FAIL; } - else { - m_pFSM->Change_State(FSMSTATE::IDLE); - } + + m_pFSM->Change_State(FSMSTATE::IDLE); } return E_FAIL; + } void CPlayer::Behavior_LightAttackExit() @@ -1065,12 +1071,19 @@ HRESULT CPlayer::Behavior_SpellExitCheck() if (SUCCEEDED(InputSpell())) { - if (m_Animation[STATEANIM::SPELL].first <= iIndex && m_Animation[STATEANIM::SPELL].first + 3 > iIndex) { + _uint iCurr = m_pModelCom->Get_AnimIndex(); + _uint iStart = m_Animation[STATEANIM::SPELL].first; + + if (iCurr >= iStart && iCurr < iStart + 3) + { _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio(); - if (fRatio >= 0.15f) { + if (fRatio >= 0.1f) + { + _uint iNext = iCurr + 1; pairAnimInfo = m_Animation[STATEANIM::SPELL]; - pairAnimInfo.first = iIndex + 1; + pairAnimInfo.first = iNext; + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); if (m_eSpell != ENUM_CLASS(SKILL_TYPE::END)) @@ -1107,6 +1120,28 @@ HRESULT CPlayer::Behavior_SpellExitCheck() } } + if (m_pFSM->IsEnable(FSMSTATE::SPELL) && IsCurrentKeyFrame("Combat")) + { + if (m_eSpell != ENUM_CLASS(SKILL_TYPE::END)) + { + switch (m_eSpell) + { + case ENUM_CLASS(SKILL_TYPE::ACCIO): + pairAnimInfo = m_Animation[STATEANIM::ACCIO]; + break; + case ENUM_CLASS(SKILL_TYPE::DESCENDO): + pairAnimInfo = m_Animation[STATEANIM::DESCENDO]; + break; + default: + m_eSpell = ENUM_CLASS(SKILL_TYPE::END); + return S_OK; + break; + } + + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); + } + } + if (SUCCEEDED(InputMove()) && IsCurrentKeyFrame("Combat")) { m_pFSM->Change_State(FSMSTATE::MOVE); @@ -1499,7 +1534,7 @@ void CPlayer::Add_FSM() _matrix BoneNoScale = XMMatrixRotationQuaternion(Rot) * XMMatrixTranslationFromVector(Trans); - m_OffsetPos = { 0.f, 1.22f, 0.f }; + m_OffsetPos = { 0.f, 1.4f, 0.f }; GUI::DragFloat3("BroomOffset", (_float*)&m_OffsetPos, 0.01f); _matrix Offset = XMMatrixTranslation(m_OffsetPos.x, @@ -1511,19 +1546,55 @@ void CPlayer::Add_FSM() _matrix FinalWorld = FixRot * SocketWorld; + //_matrix PlayerWorld = XMLoadFloat4x4(m_pTransformCom->Get_WorldMatrixPtr()); + + //_matrix GoalWorld = FinalWorld; + + //_vector CurS, CurR, CurT; + //_vector GoalS, GoalR, GoalT; + + //XMMatrixDecompose(&CurS, &CurR, &CurT, PlayerWorld); + //XMMatrixDecompose(&GoalS, &GoalR, &GoalT, GoalWorld); + + //_vector finalR = XMQuaternionSlerp(CurR, GoalR, fTimeDelta); // 8~12는 튐 방지 + //_vector finalT = XMVectorLerp(CurT, GoalT, fTimeDelta); + + //_matrix finalMat = XMMatrixAffineTransformation(GoalS, XMVectorZero(), finalR, finalT); + + //m_pTransformCom->Set_WorldMatrix(finalMat); + //m_pCharacter_Controller->Set_Position(finalMat.r[3]); + + _vector SourS, SourR, SourT; _vector DestS, DestR, DestT; XMMatrixDecompose(&SourS, &SourR, &SourT, FinalWorld); XMMatrixDecompose(&DestS, &DestR, &DestT, m_pTransformCom->Get_XMWorldMatrix()); - _vector finalR = XMQuaternionSlerp(SourR, DestR, fTimeDelta * 10.f); - _vector finalT = XMVectorLerp(SourT, DestT, fTimeDelta * 10.f); + _vector finalR = XMQuaternionSlerp(SourR, DestR, fTimeDelta); + _vector finalT = XMVectorLerp(SourT, DestT, fTimeDelta); _matrix finalMat = XMMatrixAffineTransformation(DestS, XMVectorZero(), finalR, finalT); m_pTransformCom->Set_WorldMatrix(finalMat); m_pCharacter_Controller->Set_Position(finalMat.r[3]); + + + + + + + + + + + + + + + + + }; Desc.funcLateUpdate = nullptr; m_States.emplace(FSMSTATE::BROOM_RIDE, CState_Broom_Ride::Create(&Desc)); diff --git a/Jusin154_Team3D/Client/Private/State_Shuffle.cpp b/Jusin154_Team3D/Client/Private/State_Shuffle.cpp new file mode 100644 index 000000000..d569201bd --- /dev/null +++ b/Jusin154_Team3D/Client/Private/State_Shuffle.cpp @@ -0,0 +1,64 @@ +#include "pch.h" +#include "State_Shuffle.h" +#include "GameInstance.h" +#include "Unit.h" + +CState_Shuffle::CState_Shuffle() + :CState_Root() +{ +} + +void CState_Shuffle::Enter() +{ + __super::Enter(); +} + +HRESULT CState_Shuffle::Update(_float fTimeDelta) +{ + if (nullptr != m_funcPriorityUpdate) { + m_funcPriorityUpdate(fTimeDelta); + } + if (E_FAIL == (__super::Update(fTimeDelta))) { + return E_FAIL; + } + if (nullptr != m_funcLateUpdate) { + m_funcLateUpdate(fTimeDelta); + } + return S_OK; +} + +void CState_Shuffle::Exit() +{ + __super::Exit(); +} + +HRESULT CState_Shuffle::Initialize(STATE_SHUFFLE_DESC* pDesc) +{ + if (FAILED(__super::Initialize(pDesc))) { + return E_FAIL; + } + m_funcPriorityUpdate = pDesc->funcPriorityUpdate; + m_funcLateUpdate = pDesc->funcLateUpdate; + m_pModel = m_pOwner->Get_Component(); + m_pFSM = m_pOwner->Get_Component(); + + return S_OK; +} + +CState_Shuffle* CState_Shuffle::Create(STATE_SHUFFLE_DESC* pDesc) +{ + CState_Shuffle* pInstance = new CState_Shuffle; + if (FAILED(pInstance->Initialize(pDesc))) { + SAFE_RELEASE(pInstance); + } + return pInstance; +} + +void CState_Shuffle::Free() +{ + __super::Free(); +} + +void CState_Shuffle::Describe_Entity() +{ +} diff --git a/Jusin154_Team3D/Client/Private/Troll.cpp b/Jusin154_Team3D/Client/Private/Troll.cpp index fd6aa35af..97ea4331f 100644 --- a/Jusin154_Team3D/Client/Private/Troll.cpp +++ b/Jusin154_Team3D/Client/Private/Troll.cpp @@ -5,6 +5,7 @@ #include "Troll_Rock.h" #include "GameInstance.h" #include "Effect_Container.h" +#include "EffectParts.h" #pragma region STATE #include "State_Idle.h" @@ -173,16 +174,16 @@ HRESULT CTroll::Render() } #ifdef _DEBUG - if (true == m_pCharacter_Controller->IsActive()) { - if (FAILED(m_pCharacter_Controller->Render())) { - return E_FAIL; - } - } - else { - if (FAILED(m_pRigidBody->Render())) { - return E_FAIL; - } - } + //if (true == m_pCharacter_Controller->IsActive()) { + // if (FAILED(m_pCharacter_Controller->Render())) { + // return E_FAIL; + // } + //} + //else { + // if (FAILED(m_pRigidBody->Render())) { + // return E_FAIL; + // } + //} #endif return S_OK; @@ -304,7 +305,53 @@ HRESULT CTroll::Ready_Parts() } Get_PartObject()->Set_Visible(false); - + + +#pragma region EFFECT + /* EFFECT */ + + CPartObject::PARTOBJECT_DESC PartsDesc{}; + + PartsDesc.pParentTransform = m_pTransformCom; + + + + if (FAILED(Add_PartObject("Troll_Particle", g_iStaticLevel, &m_pTroll_Particle, &PartsDesc))) + { + return E_FAIL; + } + + m_pTroll_Particle->Load("../Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Particle", static_cast(NEXT_LEVEL)); + m_pTroll_Particle->FollowParants(m_pModelCom->Get_BoneMatrixPtr("HeadEnd")); + + + + if (FAILED(Add_PartObject("Troll_Particle2", g_iStaticLevel, &m_pTroll_Particle2, &PartsDesc))) + { + return E_FAIL; + } + + m_pTroll_Particle2->Load("../Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Particle2", static_cast(NEXT_LEVEL)); + m_pTroll_Particle2->FollowParants(m_pModelCom->Get_BoneMatrixPtr("HeadEnd")); + + + if (FAILED(Add_PartObject("Troll_Right_Smoke", g_iStaticLevel, &m_pRight_Smoke, &PartsDesc))) + { + return E_FAIL; + } + + m_pRight_Smoke->Load("../Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Smoke", static_cast(NEXT_LEVEL)); + m_pRight_Smoke->FollowParants(m_pModelCom->Get_BoneMatrixPtr("RightArm")); + + if (FAILED(Add_PartObject("Troll_Left_Smoke", g_iStaticLevel, &m_pLeft_Smoke, &PartsDesc))) + { + return E_FAIL; + } + + m_pLeft_Smoke->Load("../Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Smoke", static_cast(NEXT_LEVEL)); + m_pLeft_Smoke->FollowParants(m_pModelCom->Get_BoneMatrixPtr("LeftArm")); + +#pragma endregion return S_OK; } @@ -365,6 +412,11 @@ void CTroll::Free() SAFE_RELEASE(m_pRigidBody); Safe_Delete(m_pCallBack_Behavior); Safe_Delete(m_pCallBack_HitReport); + + SAFE_RELEASE(m_pTroll_Particle); + SAFE_RELEASE(m_pTroll_Particle2); + SAFE_RELEASE(m_pRight_Smoke); + SAFE_RELEASE(m_pLeft_Smoke); } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Troll_States.cpp b/Jusin154_Team3D/Client/Private/Troll_States.cpp index bd95cf27d..931118eed 100644 --- a/Jusin154_Team3D/Client/Private/Troll_States.cpp +++ b/Jusin154_Team3D/Client/Private/Troll_States.cpp @@ -29,7 +29,7 @@ void CTroll::Behavior_IdleEnter() HRESULT CTroll::Behavior_IdleExitCheck() { - if (m_fTargetDistance <= 19.f && m_fTargetDistance !=0) + if (m_fTargetDistance <= 18.f && m_fTargetDistance !=0) m_pFSM->Change_State(FSMSTATE::MOVE); return E_FAIL; @@ -61,7 +61,7 @@ void CTroll::Behavior_IdleBreakEnter() pairAnimInfo = m_Animation[STATEANIM::IDLE_BREAK4]; break; } - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 0.5f, true); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } HRESULT CTroll::Behavior_IdleBreakExitCheck() @@ -100,14 +100,15 @@ HRESULT CTroll::Behavior_MoveExitCheck(_float fTimeDelta) if (iCurrAnimIndex == m_Animation[STATEANIM::JOG_START].first) { - if (m_pModelCom->IsFinishedAnim()) + _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio(); + if (fRatio >= 0.9f) { pairAnimInfo = m_Animation[STATEANIM::JOG_FWD]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } } - if (m_fTargetDistance <= 19.f && m_fTargetDistance >= 14.f) { + if (m_fTargetDistance <= 18.f && m_fTargetDistance >= 14.f) { m_pFSM->Change_State(FSMSTATE::COMBAT); return E_FAIL; } @@ -136,7 +137,7 @@ HRESULT CTroll::Behavior_MoveExitCheck(_float fTimeDelta) else pairAnimInfo = m_Animation[STATEANIM::JOG_RIGHT_TURN]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); return S_OK; } @@ -146,8 +147,8 @@ HRESULT CTroll::Behavior_MoveExitCheck(_float fTimeDelta) if (iCurrAnimIndex == m_Animation[STATEANIM::JOG_START].first) { - if (m_pModelCom->IsFinishedAnim()) - { + _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio(); + if (fRatio >= 0.9f){ pairAnimInfo = m_Animation[STATEANIM::JOG_FWD]; m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } @@ -179,17 +180,20 @@ void CTroll::Behavior_CombatEnter() m_pFSM->Enable_State(FSMSTATE::COMBAT); m_bLookAt = true; - if (m_fTargetDistance <= 6.f && m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::SLAM)] <= 0.f) + + if (m_fTargetDistance <= 6.f) { - m_pFSM->Change_State(FSMSTATE::SLAM); - } - else if (m_fTargetDistance <= 6.f && m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::BACKHAND_SWING)] <= 0.f) - { - m_pFSM->Change_State(FSMSTATE::BACKHAND_SWING); - } - else if (m_fTargetDistance <= 6.f && m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::SWING)] <= 0.f) - { - m_pFSM->Change_State(FSMSTATE::SWING); + if (m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::SLAM)] <= 0.f) { + m_pFSM->Change_State(FSMSTATE::SLAM); + } + + if (m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::BACKHAND_SWING)] <= 0.f) { + m_pFSM->Change_State(FSMSTATE::BACKHAND_SWING); + } + + if (m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::SWING)] <= 0.f) { + m_pFSM->Change_State(FSMSTATE::SWING); + } } else if (m_fTargetDistance <= 15.f && m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::THROWROCK)] <= 0.f) { @@ -209,10 +213,10 @@ void CTroll::Behavior_CombatEnter() HRESULT CTroll::Behavior_CombatExitCheck(_float fTimeDelta) { m_bLookAt = true; - if (m_fTargetDistance > 25.f && m_fTargetDistance != 0.f) - m_pFSM->Change_State(FSMSTATE::MOVE); - else if (m_fTargetDistance > 30.f && m_fTargetDistance != 0.f) + if (m_fTargetDistance > 30.f && m_fTargetDistance != 0.f) m_pFSM->Change_State(FSMSTATE::IDLE); + else if (m_fTargetDistance > 25.f && m_fTargetDistance != 0.f) + m_pFSM->Change_State(FSMSTATE::MOVE); return E_FAIL; } @@ -228,7 +232,7 @@ void CTroll::Behavior_RushEnter() m_pFSM->Enable_State(FSMSTATE::RUSH); pairAnimInfo = m_Animation[STATEANIM::RUSH_START]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } HRESULT CTroll::Behavior_RushExitCheck(_float fTimeDelta) @@ -255,7 +259,7 @@ HRESULT CTroll::Behavior_RushExitCheck(_float fTimeDelta) m_fRushTime = 0.f; m_pFSM->Disable_State(FSMSTATE::RUSH); pairAnimInfo = m_Animation[STATEANIM::RUSH_END]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); } } return S_OK; @@ -291,7 +295,7 @@ void CTroll::Behavior_ThrowEnter() pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::THROW_ROCK); pairAnimInfo = m_Animation[STATEANIM::THROW_ROCK_START]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); Add_Event(pairAnimInfo.first, [this](){Get_PartObject()->Set_Visible(true);}, @@ -310,8 +314,9 @@ HRESULT CTroll::Behavior_ThrowExitCheck(_float fTimeDelta) { m_pFSM->Disable_State(FSMSTATE::THROW_ROCK); pairAnimInfo = m_Animation[STATEANIM::THROW_ROCK]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::THROWROCK)] = m_fMaxSkillCoolTime[ENUM_CLASS(TROLL_SKILL::THROWROCK)]; + Add_Event(pairAnimInfo.first, [this]() {Get_PartObject()->Set_Attach(false); }, 0.25f); @@ -340,7 +345,7 @@ void CTroll::Behavior_SwingEnter() m_pFSM->Enable_State(FSMSTATE::SWING); pairAnimInfo = m_Animation[STATEANIM::SWING_FWD]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::SWING)] = m_fMaxSkillCoolTime[ENUM_CLASS(TROLL_SKILL::SWING)]; @@ -376,7 +381,7 @@ void CTroll::Behavior_SlamEnter() pairAnimInfo = m_Animation[STATEANIM::SLAM]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::SLAM)] = m_fMaxSkillCoolTime[ENUM_CLASS(TROLL_SKILL::SLAM)]; @@ -408,7 +413,7 @@ void CTroll::Behavior_BackHandSwingEnter() pair<_uint, _bool> pairAnimInfo = {}; m_pFSM->Enable_State(FSMSTATE::BACKHAND_SWING); pairAnimInfo = m_Animation[STATEANIM::BACKHAND_SWING_JOG]; - m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true); + m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); m_fSkillCoolTime[ENUM_CLASS(TROLL_SKILL::BACKHAND_SWING)] = m_fMaxSkillCoolTime[ENUM_CLASS(TROLL_SKILL::BACKHAND_SWING)]; @@ -441,7 +446,7 @@ void CTroll::Behavior_HitEnter() _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); pair<_uint, _bool> pairAnimInfo; - m_bLookAt = true; + m_bLookAt = false; if (iCurrAnimIndex == m_Animation[STATEANIM::SLAM].first) { pairAnimInfo = m_Animation[STATEANIM::HIT_FACE]; @@ -480,6 +485,7 @@ HRESULT CTroll::Behavior_HitExitCheck() if (m_pModelCom->IsFinishedAnim()) { m_pFSM->Change_State(FSMSTATE::COMBAT); + m_bLookAt = true; return E_FAIL; } return E_FAIL; diff --git a/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp b/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp index c23f31333..faf2b8ecd 100644 --- a/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp +++ b/Jusin154_Team3D/Client/Private/Troll_Weapon.cpp @@ -38,7 +38,8 @@ HRESULT CTroll_Weapon::Initialize(void* pArg) } void CTroll_Weapon::Priority_Update(_float fTimeDelta) -{ +{ + m_pModelCom->Combined_BoneMatrix(); _matrix socketMatrix = {}; socketMatrix = XMLoadFloat4x4(m_pSocketMatrices); @@ -57,7 +58,7 @@ void CTroll_Weapon::Priority_Update(_float fTimeDelta) void CTroll_Weapon::Update(_float fTimeDelta) { - m_pModelCom->Combined_BoneMatrix(); + } diff --git a/Jusin154_Team3D/Client/Private/Wand.cpp b/Jusin154_Team3D/Client/Private/Wand.cpp index 9e277efc1..7a4582a3c 100644 --- a/Jusin154_Team3D/Client/Private/Wand.cpp +++ b/Jusin154_Team3D/Client/Private/Wand.cpp @@ -44,17 +44,6 @@ HRESULT CWand::Initialize(void* pArg) void CWand::Priority_Update(_float fTimeDelta) { - _matrix socketMatrix = {}; - - socketMatrix = XMLoadFloat4x4(m_pSocketMatrices); - - for (int i = 0; i < 3; ++i) { - socketMatrix.r[i] = XMVector3Normalize(socketMatrix.r[i]); - } - - m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr())); - XMStoreFloat4x4(&m_pWandTipMatrix, XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("Effect")) * m_pTransformCom->Get_XMWorldMatrix()); - #ifdef _DEBUG Describe_Entity(); @@ -69,7 +58,17 @@ void CWand::Update(_float fTimeDelta) void CWand::Late_Update(_float fTimeDelta) { - m_pGameInstance->Add_RenderGroup(RENDER::BLEND, this); + _matrix socketMatrix = {}; + + socketMatrix = XMLoadFloat4x4(m_pSocketMatrices); + + for (int i = 0; i < 3; ++i) { + socketMatrix.r[i] = XMVector3Normalize(socketMatrix.r[i]); + } + + m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr())); + XMStoreFloat4x4(&m_pWandTipMatrix, XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("Effect")) * m_pTransformCom->Get_XMWorldMatrix()); + m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); } HRESULT CWand::Render() diff --git a/Jusin154_Team3D/Client/Public/Client_Enum.h b/Jusin154_Team3D/Client/Public/Client_Enum.h index 7c11e701d..17e759cc5 100644 --- a/Jusin154_Team3D/Client/Public/Client_Enum.h +++ b/Jusin154_Team3D/Client/Public/Client_Enum.h @@ -39,6 +39,7 @@ namespace Client INPUT_1 = 1, INPUT_2, INPUT_3, INPUT_4, INPUT_T, INPUT_G, INPUT_TAB, + DIM_RBUTTON_UP, DIM_RBUTTON_DOWN, END }; enum class MOUSEINPUT { LBUTTON, RBUTTON }; diff --git a/Jusin154_Team3D/Client/Public/EffectObject.h b/Jusin154_Team3D/Client/Public/EffectObject.h index e06833b44..d941deff3 100644 --- a/Jusin154_Team3D/Client/Public/EffectObject.h +++ b/Jusin154_Team3D/Client/Public/EffectObject.h @@ -104,19 +104,31 @@ class CEffectObject abstract : public CPartObject _float2 vDissolveUVGainAmount = {}; _bool isDissolveMove = {}; - - _float3 vDissolveValue = {}; - _float3 vPadding1 = {}; - - _float fPadding0 = {}; + _float2 vPadding0 = {}; + _float fLightDeley = {}; + _float fLightIntensity = {}; _float isLightTime = { 0.f }; _bool isLightDissolve = {}; + _bool isPadding0 = {}; + + _float4 vDissolveColor = {}; + _float2 vDissolveColorCut = {}; + + _float3 vPadding1 = {}; + _float4 vPadding2 = {}; + _float4 vPadding3 = {}; + _float4 vPadding4 = {}; + _float4 vPadding5 = {}; + _bool isPadding1 = {}; + _bool isPadding2 = {}; + _bool isPadding3 = {}; + _bool isPadding4 = {}; }EFFECT_INFO; @@ -137,6 +149,7 @@ class CEffectObject abstract : public CPartObject void Disable_Light(); void Add_Light(); + void FollowParants(const _float4x4* pParantsMat); protected: virtual HRESULT Bind_ShaderResources() override; virtual HRESULT Ready_Components(void* pArg) override; @@ -156,6 +169,7 @@ class CEffectObject abstract : public CPartObject CInstance_Model* m_pInstance_ModelCom = { nullptr }; + const _float4x4* m_pPerentMatrix = { nullptr }; protected: EFFECT_INFO m_EffectInfo = {}; diff --git a/Jusin154_Team3D/Client/Public/Effect_Container.h b/Jusin154_Team3D/Client/Public/Effect_Container.h index e8951b667..b190a0fcc 100644 --- a/Jusin154_Team3D/Client/Public/Effect_Container.h +++ b/Jusin154_Team3D/Client/Public/Effect_Container.h @@ -37,6 +37,7 @@ class CEffect_Container abstract : public CContainerObject void Update_Event(_float fTimeDelta); HRESULT Reset_EffectParts(); _int CollisionCheck(); + void SweepTarget(_vector StartPos, _vector EndPos, _float fRadius); protected: _float4 m_vStartPos = {}; @@ -44,7 +45,7 @@ class CEffect_Container abstract : public CContainerObject PSX::PxSweepBufferN<12> m_Hitbuffer = {}; protected: _wstring m_wstrEffectName = {}; - + _bool m_bHit = { false }; _bool m_isLoop = {}; _float m_fAccTime = {}; diff --git a/Jusin154_Team3D/Client/Public/Goblin.h b/Jusin154_Team3D/Client/Public/Goblin.h index 3e467c587..4cb6d514e 100644 --- a/Jusin154_Team3D/Client/Public/Goblin.h +++ b/Jusin154_Team3D/Client/Public/Goblin.h @@ -40,6 +40,11 @@ class CGoblin final : public CMonster _float2 m_vStunTimer = { 0.f, 4.f }; _uint iIndex; + + class CEffectParts* m_pSmoke = { nullptr }; + class CEffectParts* m_pGoblin_Particle = { nullptr }; + class CEffectParts* m_pGoblin_Particle2 = { nullptr }; + private: virtual HRESULT Initialize_Prototype() override; virtual HRESULT Initialize(void* pArg) override; @@ -66,6 +71,8 @@ class CGoblin final : public CMonster _bool m_bStep = { false }; _float m_fTpTime = {}; _float m_fAirTime = {}; + _vector m_vOriginPos = {}; + _float m_fLength = {}; void Behavior_IdleEnter(); HRESULT Behavior_IdleExitCheck(); @@ -92,6 +99,10 @@ class CGoblin final : public CMonster HRESULT Behavior_BlinkExitCheck(_float fTimeDelta); void Behavior_BlinkExit(); + void Behavior_ShuffleEnter(); + HRESULT Behavior_ShuffleExitCheck(_float fTimeDelta); + void Behavior_ShuffleExit(); + void Behavior_HitEnter(); HRESULT Behavior_HitExitCheck(_float fTimeDelta); void Behavior_HitExit(); diff --git a/Jusin154_Team3D/Client/Public/Goblin_Mage.h b/Jusin154_Team3D/Client/Public/Goblin_Mage.h new file mode 100644 index 000000000..170a74974 --- /dev/null +++ b/Jusin154_Team3D/Client/Public/Goblin_Mage.h @@ -0,0 +1,98 @@ +#pragma once + +#include "Client_Define.h" +#include "Monster.h" +#include "CallBack_Monster_Behavior.h" +#include "CallBack_Monster_HitReport.h" + +NS_BEGIN(Client) + +class CGoblin_Mage final : public CMonster +{ + enum class GOBLIN_SKILL + { + SPELL, + LIGHTATTACK, + END + }; +private: + CGoblin_Mage(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CGoblin_Mage(const CGoblin_Mage& Prototype); + virtual ~CGoblin_Mage() = default; + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + virtual HRESULT Render() override; + virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr)override; + virtual void OnHit(CGameObject* pOther, CGameObject* pCaller = nullptr)override; + + +private: + CCallBack_Monster_Behavior* m_pCallBack_Behavior = { nullptr }; + CCallBack_Monster_HitReport* m_pCallBack_HitReport = { nullptr }; + + CCharacter_Controller* m_pCharacter_Controller = { nullptr }; + CRigidBody_Dynamic* m_pRigidBody = { nullptr }; + _float2 m_vStunTimer = { 0.f, 4.f }; + _uint iIndex; + +private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + HRESULT Ready_Components(); + HRESULT Ready_Parts(); + HRESULT Bind_ShaderResources(); + +public: + static CGoblin_Mage* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual CGameObject* Clone(void* pArg, CGameObject* pOwner = nullptr) override; + virtual void Free() override; +#ifdef _DEBUG + virtual void Describe_Entity() override; + +#endif // _DEBUG + +private: + virtual void Add_FSM(); + virtual void Set_Anim(); + + _float m_fSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::END)] = {}; + _float m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::END)] = { 20.f,20.f, }; + + _bool m_bStep = { false }; + _float m_fTpTime = {}; + _float m_fAirTime = {}; + _vector m_vOriginPos = {}; + _float m_fLength = {}; + + void Behavior_IdleEnter(); + HRESULT Behavior_IdleExitCheck(); + void Behavior_IdleExit(); + + void Behavior_MoveEnter(); + HRESULT Behavior_MoveExitCheck(); + void Behavior_MoveExit(); + + void Behavior_CombatEnter(); + HRESULT Behavior_CombatExitCheck(_float fTimeDelta); + void Behavior_CombatExit(); + + void Behavior_SpellEnter(); + HRESULT Behavior_SpellExitCheck(_float fTimeDelta); + void Behavior_SpellExit(); + + void Behavior_LightAttackEnter(); + HRESULT Behavior_LightAttackExitCheck(_float fTimeDelta); + void Behavior_LightAttackExit(); + + void Behavior_HitEnter(); + HRESULT Behavior_HitExitCheck(_float fTimeDelta); + void Behavior_HitExit(); + +private: + class CEffectPool* m_pEffectPool = nullptr; +}; + +NS_END diff --git a/Jusin154_Team3D/Client/Public/Levioso.h b/Jusin154_Team3D/Client/Public/Levioso.h index a0275c221..4c365ccee 100644 --- a/Jusin154_Team3D/Client/Public/Levioso.h +++ b/Jusin154_Team3D/Client/Public/Levioso.h @@ -36,7 +36,6 @@ class CLevioso final : public CEffect_Container class CEffectParts* m_pLeviosoPJ_0 = { nullptr }; class CEffectParts* m_pLeviosoPJ_1 = { nullptr }; - class CTrailObject* m_pLeviosoTrail = { nullptr }; class CEffectParts* m_pTrail_PT_0 = { nullptr }; _vector m_vOwnerLook = {}; diff --git a/Jusin154_Team3D/Client/Public/Loader.h b/Jusin154_Team3D/Client/Public/Loader.h index 565eed6e8..c75611a58 100644 --- a/Jusin154_Team3D/Client/Public/Loader.h +++ b/Jusin154_Team3D/Client/Public/Loader.h @@ -43,6 +43,7 @@ class CLoader final : public CBase HRESULT Stat_FileLoad(const _char* pDirectoryPath); future*> Deferred_FolderLoad(const _char* pDirectoryPath, const _char* pFileExt, _bool bUseTag); future*> Deferred_ModelLoad(MODEL eType, const _char* pDirectoryPath, _fmatrix PreTransform, const _tchar* pPrototypeTag); + void Ready_MapModels(vector*>>& jobMapModels); public: static CLoader* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eNextLevelID); diff --git a/Jusin154_Team3D/Client/Public/NomalJap.h b/Jusin154_Team3D/Client/Public/NomalJap.h index 0dbdfa863..f599fc6a6 100644 --- a/Jusin154_Team3D/Client/Public/NomalJap.h +++ b/Jusin154_Team3D/Client/Public/NomalJap.h @@ -30,7 +30,6 @@ class CNomalJap final : public CEffect_Container HRESULT Ready_Child(); HRESULT Bind_ShaderResources() override; virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; - void SweepTarget(); private: class CInfoInstance* m_pInfoInstance = { nullptr }; _wstring m_wstrEffectName = {}; @@ -57,7 +56,6 @@ class CNomalJap final : public CEffect_Container _float m_fAngularSpeed = {}; _float m_fLinearSpeed = 35.f; _float m_fTimeRate = {}; - _bool m_bHit = { false }; /*좌우 무빙 관련 변수들*/ _float3 m_vRotateRight = {}; diff --git a/Jusin154_Team3D/Client/Public/NomalJapSide.h b/Jusin154_Team3D/Client/Public/NomalJapSide.h index dcb24ad6a..c4b1b4593 100644 --- a/Jusin154_Team3D/Client/Public/NomalJapSide.h +++ b/Jusin154_Team3D/Client/Public/NomalJapSide.h @@ -37,6 +37,7 @@ class CNomalJapSide final : public CEffect_Container _bool m_isTrailEnd = {}; _float4x4 m_TrailStopMat = {}; + class CEffectParts* m_pWandLight_R = { nullptr }; class CEffectParts* m_pWandLight = { nullptr }; class CTrailObject* m_pWandTrail = { nullptr }; class CEffectParts* m_pWandParticle = { nullptr }; diff --git a/Jusin154_Team3D/Client/Public/Player.h b/Jusin154_Team3D/Client/Public/Player.h index 8c7e76025..942b21e0a 100644 --- a/Jusin154_Team3D/Client/Public/Player.h +++ b/Jusin154_Team3D/Client/Public/Player.h @@ -20,7 +20,6 @@ class CPlayer final : public CUnit virtual HRESULT Render_Shadow() override; virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr)override; virtual void OnHit(CGameObject* pOther, CGameObject* pCaller = nullptr)override; - #ifdef _DEBUG void Render_CameraCoordinateSystem(); #endif // _DEBUG @@ -84,8 +83,6 @@ class CPlayer final : public CUnit virtual void Reset_Sprint() { m_bSprintToggle = false; } virtual void Reset_Walk() { m_bWalkToggle = false; } - - private: // UI 연동 추가 void Get_Spell(_int SkillIndex); @@ -94,13 +91,18 @@ class CPlayer final : public CUnit virtual void Add_FSM(); virtual void Set_Anim(); - function m_InputAction = nullptr; - _int m_eUIState = { }; + void Reset_LightCombo() { m_iLightCombo = 0; } + _uint Next_LightCombo() { return ++m_iLightCombo; } + void Set_LightCombo(_uint LightCombo) { m_iLightCombo = LightCombo; } - _float3 m_OffsetPos = {}; - _float m_fAmount = { 1.f }; - _float m_fInputTime = {}; - _bool m_bRatio = { false }; + function m_InputAction = nullptr; + _int m_eUIState = { }; + _uint m_iLightCombo = { 0 }; + + _float3 m_OffsetPos = {}; + _float m_fAmount = { 1.f }; + _float m_fInputTime = {}; + _bool m_bRatio = { false }; HRESULT InputAction(); HRESULT InputMove(); diff --git a/Jusin154_Team3D/Client/Public/State_Shuffle.h b/Jusin154_Team3D/Client/Public/State_Shuffle.h new file mode 100644 index 000000000..33ff9d64f --- /dev/null +++ b/Jusin154_Team3D/Client/Public/State_Shuffle.h @@ -0,0 +1,36 @@ +#pragma once +#include "Client_Define.h" +#include "State_Root.h" + +NS_BEGIN(Client) + +class CState_Shuffle final : public CState_Root +{ +public: + typedef struct tagShuffle : public CState_Root::STATE_ROOT_DESC { + function funcPriorityUpdate = { nullptr }; + function funcLateUpdate = { nullptr }; + }STATE_SHUFFLE_DESC; +public: + CState_Shuffle(); + virtual ~CState_Shuffle() = default; + +public: + virtual void Enter(); + virtual HRESULT Update(_float fTimeDelta); + virtual void Exit(); + +private: + function m_funcPriorityUpdate = { nullptr }; + function m_funcLateUpdate = { nullptr }; + +private: + HRESULT Initialize(STATE_SHUFFLE_DESC* pDesc); + +public: + static CState_Shuffle* Create(STATE_SHUFFLE_DESC* pDesc); + virtual void Free() override; + virtual void Describe_Entity(); +}; + +NS_END diff --git a/Jusin154_Team3D/Client/Public/Troll.h b/Jusin154_Team3D/Client/Public/Troll.h index a1dc4e9bf..b9d80b1b0 100644 --- a/Jusin154_Team3D/Client/Public/Troll.h +++ b/Jusin154_Team3D/Client/Public/Troll.h @@ -43,6 +43,11 @@ class CTroll final : public CMonster _float2 m_vStunTimer = { 0.f, 4.f }; _uint iIndex; + class CEffectParts* m_pRight_Smoke = { nullptr }; + class CEffectParts* m_pLeft_Smoke = { nullptr }; + class CEffectParts* m_pTroll_Particle = { nullptr }; + class CEffectParts* m_pTroll_Particle2 = { nullptr }; + private: virtual HRESULT Initialize_Prototype() override; virtual HRESULT Initialize(void* pArg) override; diff --git a/Jusin154_Team3D/Client/Public/Wand.h b/Jusin154_Team3D/Client/Public/Wand.h index 192c3b779..0ec4ef4b9 100644 --- a/Jusin154_Team3D/Client/Public/Wand.h +++ b/Jusin154_Team3D/Client/Public/Wand.h @@ -34,7 +34,7 @@ class CWand final : public CPartObject CModel* m_pModelCom = { nullptr }; _float4x4 m_pWandTipMatrix = {}; - + _float3 m_Offset = {}; #ifdef _DEBUG unique_ptr m_pGripShape = { nullptr }; unique_ptr m_pSubShape = { nullptr }; diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/2w2w/Wand_Red_Long.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/2w2w/Wand_Red_Long.bin deleted file mode 100644 index 2c547a396..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/2w2w/Wand_Red_Long.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e153084cdc55fcdd9bd2fdd31772d20aa0164d1cabfba425ab78ab8076fddc9 -size 849 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Circle_S.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Circle_S.bin index 0e116c3db..301dc7e46 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Circle_S.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Accio/Accio_Circle_S.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f4982ae6d9d2aa2a7d9d080be0620bb80bfe29f0d76d724da8e2b808890e6734 -size 939 +oid sha256:2b6ac214e96d4da30d987ce20c3558e50b4ed717c5220787477abdfaaba008ec +size 1131 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle0.bin index 821032287..30a2d8402 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e23d2fbae1afc68c8f2b1b9932eab1997a420db15e478baad3739589f0424979 -size 934 +oid sha256:377e5395d8757335ec7fb6996c511c756bed17174acbfcb928ebdd941d79ceb2 +size 1126 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle1.bin index c49549ff6..f863cf149 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:33166959d341985ce19c2287eca35f802644107341304cfa3230761d7bd8b2c9 -size 892 +oid sha256:aaa06e374bcfc56f65154e4d2293463f823d5c74cc61a5c49c69a5ba55e0eeac +size 1124 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Explosion.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Explosion.bin index 734251a4b..a373bbb1d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Explosion.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Explosion.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a66d082a202629c9c4a98e452582f0988e202d443c48c66100f9660c79a524f9 -size 886 +oid sha256:db346033f515749f0d4556f3095a54ae6f0b95a3573c6289efa9ae14a98c55f1 +size 1078 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_0.bin index d02a75ef2..af1a3ce5e 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:eea7ec18e3b6a10a9384a658dd2b17c050f8589c8be0b0465040d01d92418ae1 -size 894 +oid sha256:e7be6c40fc89bd24a6e52b241c38060de62459db7b2ca5c9a73a3796f93ab4b6 +size 1086 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_1.bin index 3c238dbaa..defad9844 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a6d7d022a477f09b26c5416713b84ba46117bc6e22b1eed24ffbf1f12377b444 -size 894 +oid sha256:9637ca3adc6bfb8e08c16d2aa301210d56e16746d3edcf64a601a86e4ba843f0 +size 1086 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_2.bin index 0ae3bb312..38cf0f270 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_2.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_2.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4eb7e229ae2d592272751b6d435beebd2bceebb9fd4a47db875ce032b4cbc079 -size 886 +oid sha256:193806a665e16659703332985e175a4cc91701b0b6852577d51fc58b85ae49d1 +size 1078 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_3.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_3.bin index b70d9d198..60ff9cd2c 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_3.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_3.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1682a1e194e9522960e9399ef044dd62f7d2acc4c1b7708367e903478f5112d9 -size 886 +oid sha256:c1ddb59edb9de096b776a19ed62ce291c1453eab460e7c34efc15696e7971677 +size 1078 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Projectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Projectile.bin index 2e03975c7..a05de1534 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Projectile.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Projectile.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9347dfd7bc45e98e449da16170de9f2585100941a91df91d054ebfaab99fa833 -size 991 +oid sha256:a035417dfceaef27d4a26f4049c6f58e7a7d9a9a55d2e0c7df7a9a4f7d242d2a +size 1183 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Projectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Projectile.bin index fd383ae0c..6b6478374 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Projectile.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Projectile.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e661cf40073840d2c3342f58b3933a08f445811cfa8775f29ca49467d944d0dd -size 989 +oid sha256:6396dfcf2ec2ae0c17043d76aae02724cb1357403c82c37b1bade33e0f9c8214 +size 1181 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Pt.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Pt.bin index 2cae4b52c..9bcdb0de6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Pt.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Pt.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fa34ce3f1dcd6e07a2f88cde9a505f5b62c5e8ef264d69a04df5cf1363473ea0 -size 890 +oid sha256:9101fac6ba963410e5282ca2127264bab27525c37fccf45f83c139ed48cc5b6e +size 1082 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Smoke.bin index 1d63bec70..f60f08151 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Smoke.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Smoke.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7d2d0bca1f174f149ed0c785fc77bc8952f0552f118b36d65d81863daca82d26 -size 852 +oid sha256:f56590e67f319d45402d6529cde5f57a680966e945fe097e713031ecd1fac0e0 +size 1044 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/WandParticle_B_1000.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/WandParticle_B_1000.bin index b50a4a758..4b5017beb 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/WandParticle_B_1000.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/WandParticle_B_1000.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9890c29b54063e2ef8ebd7a980a4f09a13edbd8e721a906445b16fd2b85f7506 -size 867 +oid sha256:fa01889c99f54820be2bd08567c251b2fb7c99674847ad56dd3a345ba6de77a0 +size 1059 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/Wand_Light_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/Wand_Light_B.bin index 58cff23be..74fd7115f 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/Wand_Light_B.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/Wand_Light_B.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:503d5221bfd3cadb71653ff08c9c58a947080ad2ef866928ac3f2fdd9dffe48f -size 888 +oid sha256:7f30d683b587cc16c5499f64d2971b0ed1b755f172ea9fc4dae00aa5ba8fe365 +size 1080 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Circle_S.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Circle_S.bin index 1b224a281..82c5c9ef7 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Circle_S.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Circle_S.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f1d5850e1f6c81c3506a1ce74f39467ba740d98f2e04e165b83ddac638174ad8 -size 897 +oid sha256:7be855e1a322fe23be04351bba63c8076fb478c08daeed63dd47671a463e8200 +size 1089 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Down.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Down.bin index 23d5a9e5d..830ad2f3e 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Down.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Down.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:170d5ec8ed70c7db6e2b58cac0dcb739351d9cec941721d74333efc3bfdd377c -size 904 +oid sha256:77456eacc5a33250c30b9287c11fec1c22cbeddfdde492ed715099efd9d30868 +size 1096 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_PT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_PT0.bin index 9063576a6..2ef503ea1 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_PT0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_PT0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0d3cbde0a391f9961fad37ce5b2a0396db836805b2b578909606acb92ac2e176 -size 890 +oid sha256:7b3ed267395967eb9780d0bc00421dd4b96ecbd37ab68e25761ad82834cdd2ab +size 1082 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj.bin index bb45391fc..74cf73e60 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:12efcb8f2884fef77496816bc3bc8d1bcbf87a1e0ea51560d8386afdf6b2b7fb -size 893 +oid sha256:18d13829d51b648d7a673f99a6a9179adea0a86b81a6176f1358a5455fb4272a +size 1085 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj_Blur.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj_Blur.bin index fd1e2b836..34a8f8fe4 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj_Blur.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Proj_Blur.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8db24ad8c49b3753b25ba0bc241eee35c9ed11d7146e1aaf55f2e49f3b3ae7c0 -size 835 +oid sha256:22ba13040b9bd24959b0fd0b1d9f1af6932c5b802964199d6482264fd2cd7a63 +size 1027 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Ring.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Ring.bin index 41d9a41e8..485912ad6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Ring.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Ring.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ffa3be24968023fec2a03a0b8652fe86681a898767754b5225ccd1f859f5fa70 -size 844 +oid sha256:cd2a595005be802b075ab785fd96287b50c9d835bb64b4aecfaaedaa713676b1 +size 1036 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Smoke.bin index 582ca1705..edf67e9dc 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Smoke.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Smoke.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3899a259f6b6c3abc07c7f0a29c37f9002f5f4d1242d310a6bbb80a522272141 -size 850 +oid sha256:883f62dfd809c08dd1a19af917f03186d2b9cf98985c6f24314a00a2be67c2da +size 1042 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Light.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Light.bin index bb1c069ff..ad0bad3a7 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Light.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Decendo/Decendo_Wand_Light.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8e19e2c6faa0e308d3cb34d74e1cdf859bed9d6e3782a738928b49a051d31c3e -size 987 +oid sha256:9408de7e9af59c23253c5898946eadae263632f4902567fe41913704b9fa0a50 +size 1179 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Light_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Light_R.bin index 84291808b..fa26e58e6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Light_R.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/DecendoSide/Wand_Light_R.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:31b6142312d4e23feb52059f63ad991dd03babf9b1465e66119f03e31d585901 -size 888 +oid sha256:90c99a730683d9f48097ce09544deb13faf2626556a8db026f3d0d3231f0c54f +size 1080 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Particle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Particle.bin new file mode 100644 index 000000000..b845844bf --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Particle.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:930799fefb3bca8cd3001418a2342fcdc74e35b1975ef54dbd0a129a5551abca +size 1241 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Particle2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Particle2.bin new file mode 100644 index 000000000..befeb53ad --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Particle2.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8f9f0d8399e20f3811226000130a5dc004b351195afea93185d568e95bf645a +size 1182 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Smoke.bin new file mode 100644 index 000000000..ea061c68e --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Smoke.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b6485f8ea045d881466f2da3b6b77b0827dea289c5fe71244f12f5ef9bb41b11 +size 1121 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Trail_R.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Trail_R.trail new file mode 100644 index 000000000..e397ae5f6 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Trail_R.trail differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/Circle_Particle_Red.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/Circle_Particle_Red.bin index bdfb1f400..37c1a5a9a 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/Circle_Particle_Red.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/Circle_Particle_Red.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e99dbf52bb2e97dcac555f8a371e56f8ffe6dd70e6c02ab5721999c1a9b6430f -size 851 +oid sha256:88260c597965852584fdb3b3813fc45737770150617e6105f71ae4057376e57c +size 1043 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit0.bin index 9628ac5bc..37e04f1f6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7c09bc8d6f722548e4992dd7b3ec97ad3361bd04c61617731b1a6364501cd232 -size 927 +oid sha256:8094b4da5316e8a98501ec71123a7214af4e66f3e32d040ea9fda366bda47f07 +size 1119 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit1.bin index 22d4200d9..0be1dbb5c 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapHit1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1a7f630df6cbb75e1b9c8f6bc2574a88d769ddf70aae5196e05bf66f8216fb1e -size 901 +oid sha256:738e598412c1387d50dc4e947ac610d31b6e85ac61dfd27653e24b7f4f7981ba +size 1093 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapPT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapPT0.bin index 29f8faaac..9aebda538 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapPT0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapPT0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:745584fb88e30df42ac5cc770fffcdbd8f9b4556f186041e380ffbaa44e91d6b -size 851 +oid sha256:6985f802101c9123a86dea9cbeb657e56e61fe3dcb4530eb8bfc0ab0edc67200 +size 1043 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjCircle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjCircle.bin index a9bcb3be8..1bcd4f6fc 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjCircle.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjCircle.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e30d27fc6a2553c66969f4530ef60c36969596b9e66a4f01832d513f3a1f38cb -size 936 +oid sha256:f2c88ace7083579ea52f6280bb38e5977d6b4466a66c3e3f506fa9e16e50da2c +size 1128 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjSide.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjSide.bin index c64aa5ac1..bc10838e5 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjSide.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapProjSide.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:279647ef118bfd585aa4179522fd3dca04889a5d95e70a87c79e9d9e964e7c75 -size 854 +oid sha256:e915456730332b776ff1128e2ad7795f131a60ae73c031e70c22ec75a61a9d70 +size 1046 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapTrail.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapTrail.trail index 7317469cb..337154657 100644 Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapTrail.trail and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Jap/JapTrail.trail differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/WandParticle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/WandParticle1.bin index 40a5784cb..3c8637d44 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/WandParticle1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/WandParticle1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e5419ffe167e5265371a10257bf6f98b98f8e13e9988ddd6f19cbbbc6c0c554e -size 867 +oid sha256:bc98c7cb2d207e45529ba528e760ea8ad0b606d10ae001a423e3fd68538ea713 +size 1059 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/Wand_Light_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/Wand_Light_R.bin new file mode 100644 index 000000000..42e29c68e --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/Wand_Light_R.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:964879cf444c4b44ee740b040fcc8c7e514745ce589c0064554e2de2e59c95e0 +size 1080 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/Wand_Red_Long.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/Wand_Red_Long.bin index c28802f6c..7a26ab0b1 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/Wand_Red_Long.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapSideEffect/Wand_Red_Long.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bf9f8ef7f1db3a61ef0edec2f01ac4efc165b9117b0fa0a10ef404f2238171ac -size 857 +oid sha256:1f985636e0121a35e5a69f6b4ada7b35c4f49111065353ed6f7380c87d2765f8 +size 1049 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_PT.bin index 8570b8900..5f30e9d4a 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_PT.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_PT.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2d43f892f944e930e63cf0819ea01afa1790b837078e153c5871f00157d43469 -size 853 +oid sha256:bd618c0c98518702cc47e8c03a78068b223ccbf0149890896c1844709c60e749 +size 1045 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_Wind.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_Wind.bin index e73bb8f57..c1c1eb727 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_Wind.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_Wind.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:116419f8af98d28995fff998bbaa3e5a903a6510015d8c3642c1634e54ebd395 -size 892 +oid sha256:1e6b330c22c99173404d1a7084102c8a47eb101d49fdd3894c232f25bd62df78 +size 1084 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Hit.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Hit.bin index 54ecfeb8e..40a333060 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Hit.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Hit.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:02ed2d7311d1dd8a9973ef5e333c2cbb2287ef33d19cc6b75b972a76c078cf65 -size 939 +oid sha256:b7f432b4354554e54b2b7cf35621a51eb85261b0b48ded8a98c87474faaa50b4 +size 1131 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_PJ0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_PJ0.bin index a4ed6e8d1..5ae1ccd19 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_PJ0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_PJ0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b3f18fea3b470c012c6b85bed14f6902872f63defd27309498945c2d1aa1aa71 -size 853 +oid sha256:9557ddd746b50e2e05e3af9ddb86d33f0f4cd4ccd8bef1dd389c97ade6f4b91a +size 1045 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate0.bin index dd5def07d..7fb8e9a14 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:610b4a2f877d463be79cbe0e879fe092c2374b99b7365878c4f41e2da14025be -size 846 +oid sha256:89d5ad4ce55c1ee4ef9479db01069badd6da9a49b76540a25eb635b2d3473966 +size 1038 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate1.bin index 5fed507bb..d4923e9a5 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6ff25fa522f8454386a9d95553b914ccd0ef3df5091430993904282b86f608cb -size 846 +oid sha256:92fd89dc2aad977330b0619823fac3c7048b1d97fa69004d16c5daeec6f0abc4 +size 1038 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Tornado.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Tornado.bin index 0137e0a86..d6a091c3f 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Tornado.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Tornado.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a57929919341c072920b4863d43dddc8c45791b5f7806e5fe3e4d61cf472bc85 -size 908 +oid sha256:2313becaef73e5ed33599de33b8ca9af9d72e86ec8798b36c24010c5206000a8 +size 1100 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand0.bin index d2fd356d5..f4ebe7526 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4e785a47a5a86c3ce3b81393c5c43de76348c7e378148e9d787d6a2db896827a -size 885 +oid sha256:ea2310b83f57b7a83309a0908e2ddae11eed3967cdd1f409a6ef3baaf8e0939b +size 1077 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand_Light.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand_Light.bin index 85418c281..6ceafad49 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand_Light.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand_Light.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dbe3538e3dd6dc2d20f6e1eea79806b155d94ae990e199e2461f3a8dc0695ad8 -size 1022 +oid sha256:570794aab6db4ce525347b99d5775c984bab5bcf4ad594cc5732ae47bdda6378 +size 1214 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Trail_PT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Trail_PT0.bin index c92bca8de..6e7e1c0f3 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Trail_PT0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Trail_PT0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cdfaffcc12699dc67f67d22869c5b28823ea99a60569c1d781d96f8607c39793 -size 853 +oid sha256:3507cb051a6c5b703d63ed65549587fde761d0d522da15838f49111f3bc28d55 +size 1045 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Wand_Light_P.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Wand_Light_P.bin index 7ff8f8f63..b86bdde02 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Wand_Light_P.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Wand_Light_P.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2b0f468c25b89711942c94f876b7c5d3b3a805e255b1b27b67c7f9b307bdaed3 -size 888 +oid sha256:b76bef4948453dd2d17f8a6d1671b759dad20023ea31e0bf9aa35ff88d983a13 +size 1080 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lumos/Lumos.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lumos/Lumos.bin index d2c2752a0..14e149de8 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lumos/Lumos.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Lumos/Lumos.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:65f80d66d63314fa4a87dfe3ff13e30a1d0ff5a978eef9fe6663feedebc41019 -size 888 +oid sha256:cca351a65f0502727999c0ceab439f28dc4d94108b2e59ed85a54e7c095076e1 +size 1080 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/.bin deleted file mode 100644 index d3f56394f..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:274f316e589af69601de1ec5c3a5e06f2d3a78942b26474031c2a5879a9df64c -size 215 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/JapsideEffect.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/JapsideEffect.bin index 886e6288f..e35483954 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/JapsideEffect.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/JapsideEffect.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b6088a9dcf3bd646cacdb15ee2988034b88a5b705aeec8129cea37181eebedb5 -size 209 +oid sha256:b00bb82a4991d3d41720a6890a3f56c481a337d8fa4bac5e06ca8f654a666931 +size 277 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoBottom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoBottom.bin index 6bef637b5..f3847aa6a 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoBottom.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoBottom.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:15833dcafbd0eb537af1778fbc67272b54e9822228954cd5b30f65595132ecb7 -size 881 +oid sha256:a600cc4489502d2909c4542d2ac3240106d0ddf6ede43588f573cf9e11726749 +size 1073 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoCircle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoCircle.bin index 21c147fb6..1dc126b14 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoCircle.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoCircle.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:644e92a872fc3fb447f96797cc650b3b4aee66dae89a41bbb0fd365e751a51be -size 929 +oid sha256:e51ef5ceb2e67e3f28a71ac406b7b954971793218cf087a6b21980d2645c5beb +size 1121 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHitPT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHitPT0.bin index 4210328a2..db0d9cb1f 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHitPT0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHitPT0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c50e7c84eb5365daf3027b87f0df1eab4bcf02b38139942ec6995ebb286ccdd9 -size 886 +oid sha256:b4c30dde390dbaf394054a565d10cb6ce15d503ff5af19ddf2804f6ae0facdd0 +size 1078 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Lay.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Lay.bin index e41c1fb0d..46f1fbd37 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Lay.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Lay.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:12363ee96cc40dbd2583a5d01f50f5c4fafd57cd9afdd167d9aff32023e036dd -size 876 +oid sha256:bf42c45bcf958ab7ff58983cc1e7e27cb6f7f42f181b1eb3bdcde8249ada8727 +size 1068 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Spread.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Spread.bin index 9bcfb9d2d..ef53ab80f 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Spread.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoHit_Spread.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f338986ada7267c670a79cdcd6d73a5e05561fc4785b3c7e9ecd4dc54413dd6e -size 839 +oid sha256:a47e473a0f9ecb337e83df02cad7988a591c785ee5070e40a7808e14f9a758e8 +size 1031 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoSphere.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoSphere.bin index 2a3977ac2..e4911bf16 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoSphere.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Protego/ProtegoSphere.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2e9da0c1375d14ea6a7e87fdc2b50d694a9e664d4256a899a67eca21152a2cdd -size 904 +oid sha256:4654728d937fa4bd660d9cea86dbbf3255a10d8e26c18192fe0af843c9071423 +size 1096 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Ring.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Ring.bin index 99889f73b..3a1c45b68 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Ring.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/Revelio_Ring.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a69321b1bb53845f1371cb226c951b0188e3837762b51f6c544352bec27c4f0f -size 921 +oid sha256:f9de3e3523fc314885db67856e7bc991b5d30e4deac24987b8ea1e4f2197e6b9 +size 1113 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_B.bin index acfc209ed..8f595449c 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_B.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_B.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:db5a4d106360bc3e2988164a58233d85434ea704f8ba26038eb21c865f696eb0 -size 867 +oid sha256:1b8f38c414a3e2d36b9b7a0e6dae6e918a459cc059a1cdf88eb9dd41fad8fc74 +size 1059 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_R.bin index 8a181f0c9..463d918be 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_R.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_R.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b1ab99ab6a72cac79f590e76f3892a25292c61267636c53746115317cc6e56d2 -size 867 +oid sha256:909afda0251ea941a133029a04dfcbd9a11a3c97e252766cdfa800236828e0d8 +size 1059 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_Y.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_Y.bin index cc2a9982e..cd99bee1d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_Y.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Revelio/WandPT_Y.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6393d40f55a9150a81325961f40f2826aa157758f1b143a2fb9bd49f315c07e2 -size 867 +oid sha256:3a509e8d871655509eb36cb4063ed6c1d0d291f08dde00a91d2d55a524695b78 +size 1059 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin deleted file mode 100644 index 2e92a175c..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dba1c71ec461ed664e404f650c7be341d981da3da0592ed53a37cbedf051abe2 -size 877 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollRush/HitSmoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollRush/HitSmoke.bin new file mode 100644 index 000000000..bea2feaa6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollRush/HitSmoke.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:984611013def232f63103bd6208057f74170eca7e958cd3f9531bca920186992 +size 1125 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Pyosik.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Pyosik.bin new file mode 100644 index 000000000..c447e575b --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Pyosik.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe33a34188cfe88af0b057e74bf3a74f968bbdf30955fbea4d6dddedc9b762f8 +size 1074 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Particle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Particle.bin new file mode 100644 index 000000000..ee80e72e5 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Particle.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1b50f6d7e8ce495956a0db039b5411ae820f3c0b6f708c0b70781600e89b643 +size 1241 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Particle2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Particle2.bin new file mode 100644 index 000000000..5b70c9a35 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Particle2.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4530b2d6177a830637d49060b0f3bb84a20d6e46da9ac243f77bb1c45a662a3a +size 1182 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Smoke.bin new file mode 100644 index 000000000..1a916f96b --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Smoke.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdac73008a58068ff482eb3361bc7a044fff87c43ad129628d0fe4e47c976c10 +size 1121 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Trail.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Trail.trail new file mode 100644 index 000000000..bad634117 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSide/Troll_Trail.trail differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSwing/Rock_PT_25.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSwing/Rock_PT_25.bin new file mode 100644 index 000000000..f419ec2bc --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSwing/Rock_PT_25.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3e451d893a7c2979e9844c4dcf50f23b5b118d5c4ffda9f1947a1a46843997f +size 1023 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSwing/Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSwing/Smoke.bin new file mode 100644 index 000000000..3cb7b5d0e --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Troll/TrollSwing/Smoke.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f7dd07558998c717ae52e92bfc6d277cefc72d8f36a1e10d01ce6c97678c216 +size 1074 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/Circle_Particle_Red.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/Circle_Particle_Red.bin index 29844aa9a..7bc6914de 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/Circle_Particle_Red.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/Circle_Particle_Red.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:790370fd2eccf5334bcd29231f55bea5aca19b7a6f168a2944efa562dc4570bc -size 851 +oid sha256:5e2602ee8766acd9372a95acb251a499c428ae3c9194702d73cb1ccb5d401dfb +size 1043 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle0.bin index f54818d24..2630722e8 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:74493bae7b833781d0286ca1bc8bda7f2c9e8a28565f11906df5a76241061d7f -size 894 +oid sha256:b30a2d20fb44e1b18854256c07f9dbc53868c2859bfe550e0adee72073b171b2 +size 1086 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle1.bin index ef8d5548b..c65030587 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3617a2afa91c199f403487d4e21af86cfb070ca789d777033114d12cb11296cd -size 867 +oid sha256:fc743f3f64b00584fe581caf8ba4c9645eb4c155b7645a882a596e7a0042305d +size 1059 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B.bin index 3fc08b46a..a2649c658 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:70b7dc5ee336a42c79f37a04a81d90dd4e6646f2a157a08ca2e5169bf5851c4e -size 867 +oid sha256:48c40469781510eced1657f5437699f7fc6ab4c0b0569692ad92ec7dd3eeeab2 +size 1059 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B_100.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B_100.bin index 0da254df9..2fe1634c3 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B_100.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_B_100.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a0ea5d00b37b14c3e66085d178ac836f1deca29fc6b4f330aa9c0e4da0179f51 -size 867 +oid sha256:166a3853eeb4f821b84a4b310043ce478f1b75874f4205b4f43fa245ee7ebf2c +size 1059 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_R.bin index 40a5784cb..f7cd21134 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_R.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_R.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e5419ffe167e5265371a10257bf6f98b98f8e13e9988ddd6f19cbbbc6c0c554e -size 867 +oid sha256:d9419051879b9e4bfa57067d92640a42db30954b7fcf874df8f79e1856a46393 +size 1059 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_W0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_W0.bin index b8bdf5cc0..35e7ec378 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_W0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/WandParticle/WandParticle_W0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1c0775bbc89659643b4a32490db3400029b5008dd14013c385e4a310521616ed -size 867 +oid sha256:01909aca6779d6fb1c1ef7aa2c0f6400eec41460b76cd76bafcd7b279bd3ffc8 +size 1059 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Accio/Accio_Circle_S.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Accio/Accio_Circle_S.bin index 648c4805f..0e116c3db 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Accio/Accio_Circle_S.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Accio/Accio_Circle_S.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a3bed2b06ef49b09f7b4dbf0c5927add5194e3551da21899a6bd0ecc1fadb7d2 +oid sha256:f4982ae6d9d2aa2a7d9d080be0620bb80bfe29f0d76d724da8e2b808890e6734 size 939 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle0.bin index 0c221cce2..ffc691401 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:96dde9ab9521a7d06c8bdc7d2e003cd745a755dcffb688ecb222cccda87e4a3c +oid sha256:c58388e71a115b3b28652b958aaac05289a78b8181580b70c8ebd7a675de4db8 size 934 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle1.bin index b8b365e7f..0f5681939 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Circle1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9e251d6650f1dff13cc7e513a936c5dfc7091dd2656bea006cd344237ed12762 -size 892 +oid sha256:9190b53ef56c8eb20ce94594d529b2a1ef25503860a5d20570360f6927528602 +size 932 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Explosion.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Explosion.bin index 41a5c9e1e..734251a4b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Explosion.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Explosion.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:481f42aebab4fb54c0398fb417b9d4f9d8059c1e931ce3294f59e06c1624adff +oid sha256:a66d082a202629c9c4a98e452582f0988e202d443c48c66100f9660c79a524f9 size 886 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_0.bin index 70d349ec6..20ef30e0d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c11ce182b2d2fae1967039a0ced8f9f8358ba967be1cf8a0fe580f2c3d393365 +oid sha256:1f7c1380e38b4f1965ddb9087e6a83e6e2fa2d86136714232458bb2c4e7ed3a0 size 894 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_1.bin index 058e4cac6..d34126951 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:63afaa4a012202c62b96de055c71a47540f2fe0724066b43daa037b80149d948 +oid sha256:4deba93f7fb49ab2d5df6e734f7d99a2c5f21450e1f0620193e51f7d29220029 size 894 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_2.bin index e8a11edac..84b0c291c 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_2.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_2.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fb13d5e52f6b67711dc45e0a8e9dfb3493191286225295f821990c111465ab11 +oid sha256:beac4799d65bf6bd4ef9bd51f2a1ed47bc14c518b783ee67e6c21baffbdc81e6 size 886 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_3.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_3.bin index c6bdbeeb7..7777c6564 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_3.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_PT_3.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b3b5077077db59e5b1e24148cb7acba8468967acf431105d58ccda2207bf8a25 +oid sha256:71b384e2acbc8589fa6cab5dd4be75c9d6bacd5762cf6626accb8b0c26618181 size 886 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Projectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Projectile.bin index 54ffa3062..07ecf1320 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Projectile.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Projectile.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:42850d82db4cf833592a3e51c8e7d4f2989023750fc5b63e1635be54639e3ec9 +oid sha256:0d386c4e1bd5d71349a425e125c4192b3f1d0468bbb5a6e836248ab4e930a526 size 991 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Projectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Projectile.bin index 7dc32c452..fd383ae0c 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Projectile.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Projectile.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f762a0a06673f7e077ef28d7d70de5e048be67a642a1aa0614784bb6b41a879d +oid sha256:e661cf40073840d2c3342f58b3933a08f445811cfa8775f29ca49467d944d0dd size 989 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Pt.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Pt.bin index 4815e7c21..2cae4b52c 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Pt.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Shoot_Pt.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1f06d345e92b33243f7174140081bef89062febd0582f68028062fae819baec8 +oid sha256:fa34ce3f1dcd6e07a2f88cde9a505f5b62c5e8ef264d69a04df5cf1363473ea0 size 890 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Smoke.bin index 0c244cde5..1d63bec70 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Smoke.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard/Bombard_Smoke.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a54751bd8a94c49eacb3f9b5afc138c5a8071181b858391503836cbef919c5be +oid sha256:7d2d0bca1f174f149ed0c785fc77bc8952f0552f118b36d65d81863daca82d26 size 852 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/WandParticle_B_1000.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/WandParticle_B_1000.bin index cc9e25210..b50a4a758 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/WandParticle_B_1000.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/WandParticle_B_1000.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aa5377d551bf700d292b614acc1458be91daf1717076655859d7ccad7909c2b4 +oid sha256:9890c29b54063e2ef8ebd7a980a4f09a13edbd8e721a906445b16fd2b85f7506 size 867 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/Wand_Light_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/Wand_Light_B.bin index a29e4ac2d..bd240e141 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/Wand_Light_B.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BombardaSide/Wand_Light_B.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:11160e4b0edc9cca952b9f68eaf231c076425a1e7dd1b86195915f8a838180de +oid sha256:6f0ae27a66e2198210a2fd3a30b32ccd2f2c1d322a166185f760b8bb953aa4de size 888 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Circle_S.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Circle_S.bin index 5870fe8e6..1b224a281 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Circle_S.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Circle_S.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:89a1a4370aa456bf9aac89cdcc574476416552b8435e0fce7d95f57dd3b76534 +oid sha256:f1d5850e1f6c81c3506a1ce74f39467ba740d98f2e04e165b83ddac638174ad8 size 897 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Down.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Down.bin index d192aecc0..3842e2d15 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Down.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Down.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2003105ed4b907096ecd7fc2cada5b139e8751a9023e05fdfec28db703597b0f +oid sha256:1e688761cd2c913c58ad2171c8569a40e2f13c4c5f73840e3a5a0a260069f1c3 size 904 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_PT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_PT0.bin index cc813724c..9063576a6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_PT0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_PT0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:53e8fbee4763ad56483bdb08946831685f9074de65a323e5dad77268aac01e60 +oid sha256:0d3cbde0a391f9961fad37ce5b2a0396db836805b2b578909606acb92ac2e176 size 890 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj.bin index 424b432ed..f84b636a6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2761dfc3b5917af0df5c1b434e75491913c66cad7588414eb6184da79699773e +oid sha256:b1c388e0699f2433b62d22280c5ac5cce9094135747f7ce97422f12ef8f5a36d size 893 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj_Blur.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj_Blur.bin index 76520ec14..fd1e2b836 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj_Blur.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Proj_Blur.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:827635b88486f686140dcc3cd9806ec133572665a415ddc6aa1b3353025f8210 +oid sha256:8db24ad8c49b3753b25ba0bc241eee35c9ed11d7146e1aaf55f2e49f3b3ae7c0 size 835 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Ring.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Ring.bin index b486265dc..41d9a41e8 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Ring.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Ring.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:23722d536422fdf289e890409e0458d3cf406f09180a281926f91f9ff40d3b5c +oid sha256:ffa3be24968023fec2a03a0b8652fe86681a898767754b5225ccd1f859f5fa70 size 844 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Smoke.bin index 928478520..582ca1705 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Smoke.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Smoke.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bf55e46332043b2da88f0f74e016f7620bd3c7c7f72a8f9051f548fbbeafeb9a +oid sha256:3899a259f6b6c3abc07c7f0a29c37f9002f5f4d1242d310a6bbb80a522272141 size 850 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Wand_Light.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Wand_Light.bin index 2e1154439..bb1c069ff 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Wand_Light.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Decendo/Decendo_Wand_Light.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:df644319a74c442c891041eefeb5e8a8a957bb44668416cf7498988ea9b30db9 +oid sha256:8e19e2c6faa0e308d3cb34d74e1cdf859bed9d6e3782a738928b49a051d31c3e size 987 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/DecendoSide/Wand_Light_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/DecendoSide/Wand_Light_R.bin index a62c4f494..a8ddfaad5 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/DecendoSide/Wand_Light_R.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/DecendoSide/Wand_Light_R.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a5494fa641c84396110a9a1e80b06c33b5e292f233f34d4964cd7f46f1c02b06 +oid sha256:7b748cd2ce1cd65dd20995dab60f9c55b9923087964fcef3f22a223a48b5edd9 size 888 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/Circle_Particle_Red.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/Circle_Particle_Red.bin index 2c19dc8c1..bdfb1f400 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/Circle_Particle_Red.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/Circle_Particle_Red.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e4cec5cefcfa83e8b4193509ba6de1a7816524dbfb0bd4f26999d03228410d5a +oid sha256:e99dbf52bb2e97dcac555f8a371e56f8ffe6dd70e6c02ab5721999c1a9b6430f size 851 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit0.bin index bb17c3210..5cb1c3d4f 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:74cd6db16d07cb12705871d06bec380e67699fa829d25206ed86ce080cdca0c2 +oid sha256:0962d8ab8438b933b88e47cf067643d17859ac1b3d891025004ac3e3573edd4f size 927 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit1.bin index e88803ae7..22d4200d9 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapHit1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:98a442fe6a39e41c4ecf533bd8a224f4631d3d7a236e9696cd165d3927fcfd04 -size 841 +oid sha256:1a7f630df6cbb75e1b9c8f6bc2574a88d769ddf70aae5196e05bf66f8216fb1e +size 901 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapPT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapPT0.bin index cd0821320..29f8faaac 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapPT0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapPT0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:37d98d035bde4fa313f6ab3f28e4a12f3e300d64b572f72e2784c6be99c58184 +oid sha256:745584fb88e30df42ac5cc770fffcdbd8f9b4556f186041e380ffbaa44e91d6b size 851 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjCircle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjCircle.bin index ff3ed805e..8f1c3ae27 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjCircle.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjCircle.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:866c3598f3dcf69c06b6eb415a294b54da59340f23885f1f713879af9f851ad6 +oid sha256:31fa1d18c1f11e3c09f2b5510a7c5ac5eaae0f5637cde050b3ee8356a40a332d size 936 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjSide.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjSide.bin index b6feb04a2..c64aa5ac1 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjSide.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapProjSide.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7154110fc59c28f63127691a101b416bc7b6a66b2c45df3f8beee3a11c8e015e +oid sha256:279647ef118bfd585aa4179522fd3dca04889a5d95e70a87c79e9d9e964e7c75 size 854 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapTrail.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapTrail.trail index 7317469cb..337154657 100644 Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapTrail.trail and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Jap/JapTrail.trail differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/WandParticle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/WandParticle1.bin index efb21335b..40a5784cb 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/WandParticle1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/WandParticle1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:99d0c452ff523938f930d9bdeb401be7246f0e0bf68e33e57af40da86fd9d6ae +oid sha256:e5419ffe167e5265371a10257bf6f98b98f8e13e9988ddd6f19cbbbc6c0c554e size 867 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/Wand_Light_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/Wand_Light_R.bin new file mode 100644 index 000000000..a8ddfaad5 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/Wand_Light_R.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b748cd2ce1cd65dd20995dab60f9c55b9923087964fcef3f22a223a48b5edd9 +size 888 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/Wand_Red_Long.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/Wand_Red_Long.bin index 4ccade52d..5b98f1b7d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/Wand_Red_Long.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapSideEffect/Wand_Red_Long.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b8a428576119c1b069415537544963fd87baac6bb9ea3542b40a661bebe456cf +oid sha256:3ed3b5aecebeafaeddeeef8f537569a5781b086b461639134bc4accb47dc3288 size 857 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_PT.bin index 0ae8a5a6b..8570b8900 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_PT.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_PT.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:365f473dacad97bc673a6177441980c3f30cba563db43dbc5b1cf350054be395 +oid sha256:2d43f892f944e930e63cf0819ea01afa1790b837078e153c5871f00157d43469 size 853 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_Wind.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_Wind.bin index 5d34d3aa1..e73bb8f57 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_Wind.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Bottom_Wind.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:75e11e8734c60e7a033b6109e030c22ac5f4bbdf8bef218c155f0168cc7599d7 +oid sha256:116419f8af98d28995fff998bbaa3e5a903a6510015d8c3642c1634e54ebd395 size 892 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Hit.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Hit.bin index b27cf4dc3..54ecfeb8e 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Hit.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Hit.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4bddeb46fdc0aa29e830f2e55caf979ab1260d4c87d3b87eb7f4ba1b912ca6b3 +oid sha256:02ed2d7311d1dd8a9973ef5e333c2cbb2287ef33d19cc6b75b972a76c078cf65 size 939 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_PJ0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_PJ0.bin index fa43fa4f0..5ad33e90e 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_PJ0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_PJ0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:75847fb41b6a2eea91f0191132371d2361aacf88ae7ad76977e3e2fbe7daee47 +oid sha256:38b152f73ab32e387b58c6f23705f1abff12e4765e6a9ce937b9e76e4fba99f5 size 853 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate0.bin index a29edf398..dd5def07d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cc338064550f039aff45187d665c60e37cab57bdb986283508620b6088344326 +oid sha256:610b4a2f877d463be79cbe0e879fe092c2374b99b7365878c4f41e2da14025be size 846 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate1.bin index d95c88834..5fed507bb 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Rotate1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1f58a2779531da998d45844266496fb65ecafe27f204b2404a0fa490cc2f80ae +oid sha256:6ff25fa522f8454386a9d95553b914ccd0ef3df5091430993904282b86f608cb size 846 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Tornado.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Tornado.bin index 73351ba9c..c613184b7 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Tornado.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Tornado.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7f546ba755bf1b14d98b6afa3ff82e9850939d9162765558785558adfabdd55c +oid sha256:08f7acdcdf7cfdd03ca2596fedc1b55ad8db73a686613968fc5502028ab59b5c size 908 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand0.bin index cd0c1c7b7..d2fd356d5 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6234b7dc505e9affe10add215091ee37fe0fff3f48c20cdfd4f9147ec3bfddfc +oid sha256:4e785a47a5a86c3ce3b81393c5c43de76348c7e378148e9d787d6a2db896827a size 885 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand_Light.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand_Light.bin index 0a3c60810..e3e05a471 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand_Light.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Levioso_Wand_Light.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:950176215bdac99585a8c8ac27513896f917f39d0cce8b1c4910dc611e2a1f51 +oid sha256:0fe68f2e36ea2fb505e171db1938cf205e82448c68912c334121be6f7ac78ff9 size 1022 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Trail_PT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Trail_PT0.bin index c8cd8af1b..c92bca8de 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Trail_PT0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Levioso/Trail_PT0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:20d45a87e080237af7768c9efa2bfcd008264fd1c982dce56de64ac4ab267806 -size 867 +oid sha256:cdfaffcc12699dc67f67d22869c5b28823ea99a60569c1d781d96f8607c39793 +size 853 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LeviosoSide/Wand_Light_P.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LeviosoSide/Wand_Light_P.bin index b411df6b0..5f9bd62ad 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LeviosoSide/Wand_Light_P.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LeviosoSide/Wand_Light_P.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a8cd98241e6ed7710e6c94be4288380f5b3582a68cafa46fb4140d36225c16ab +oid sha256:412c7c484ca1fa91336e3c5b52f4f68dbab8cdffee689c438bbb455b9487c7be size 888 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Lumos/Lumos.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Lumos/Lumos.bin index 047c88312..d2c2752a0 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Lumos/Lumos.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Lumos/Lumos.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ef304de9bd29c370c8913990795ce36b52015f60383bc1dc67fe956c3aa04669 +oid sha256:65f80d66d63314fa4a87dfe3ff13e30a1d0ff5a978eef9fe6663feedebc41019 size 888 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/JapsideEffect.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/JapsideEffect.bin index 886e6288f..e35483954 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/JapsideEffect.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Package/JapsideEffect.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b6088a9dcf3bd646cacdb15ee2988034b88a5b705aeec8129cea37181eebedb5 -size 209 +oid sha256:b00bb82a4991d3d41720a6890a3f56c481a337d8fa4bac5e06ca8f654a666931 +size 277 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoBottom.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoBottom.bin index ec43553c4..6bef637b5 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoBottom.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoBottom.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ef55aaa0fdc935451e45f7da63e2151fde3a7101d15272a70d0d321bc6bc3bd0 +oid sha256:15833dcafbd0eb537af1778fbc67272b54e9822228954cd5b30f65595132ecb7 size 881 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoCircle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoCircle.bin index b223f7dab..21c147fb6 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoCircle.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoCircle.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:afcdad5afe65cae81f622006e26fe9d3f4d6efba14cda100c946d2dd9117f185 +oid sha256:644e92a872fc3fb447f96797cc650b3b4aee66dae89a41bbb0fd365e751a51be size 929 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHitPT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHitPT0.bin index a859c20dc..4210328a2 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHitPT0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHitPT0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8781d89f88cc91b41a69943b1fb356f108979b6b5cecd21bf9e33c72fba50b49 +oid sha256:c50e7c84eb5365daf3027b87f0df1eab4bcf02b38139942ec6995ebb286ccdd9 size 886 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Lay.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Lay.bin index ca2c359cf..e41c1fb0d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Lay.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Lay.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d7151cc27d6c1e91208bfb2ad06c59b454473ba8b95e998df16154755a3f93d2 +oid sha256:12363ee96cc40dbd2583a5d01f50f5c4fafd57cd9afdd167d9aff32023e036dd size 876 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Spread.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Spread.bin index d6baa7e2a..9bcfb9d2d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Spread.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoHit_Spread.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7f7f214d6baccfa885eae74371c77ff387788b25303dcab97f3e066cd8297292 +oid sha256:f338986ada7267c670a79cdcd6d73a5e05561fc4785b3c7e9ecd4dc54413dd6e size 839 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoSphere.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoSphere.bin index 3eee1a32d..2a3977ac2 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoSphere.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Protego/ProtegoSphere.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9d98ee731a134a8e63dbf0fbf71c51d3b4e953c56f0bb29cee99f404212e71c +oid sha256:2e9da0c1375d14ea6a7e87fdc2b50d694a9e664d4256a899a67eca21152a2cdd size 904 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Pyosik.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Pyosik.bin new file mode 100644 index 000000000..7635c9f53 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Pyosik.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42d86dd5971770a03c318e6c9d807493303f65884522eb57ec985633436b6b0f +size 882 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/Revelio_Ring.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/Revelio_Ring.bin index 6594176a7..99889f73b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/Revelio_Ring.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/Revelio_Ring.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2ae29120bf3fa3ff0a8b046d9780469eed58072fdc5e9ef6414efa29c78ef9e6 +oid sha256:a69321b1bb53845f1371cb226c951b0188e3837762b51f6c544352bec27c4f0f size 921 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_B.bin index 07fe64d72..acfc209ed 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_B.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_B.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f559dae3ec7dd4b09a6dc6bb36679675f9a85de3717a3e838c07882042e5d7ed +oid sha256:db5a4d106360bc3e2988164a58233d85434ea704f8ba26038eb21c865f696eb0 size 867 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_R.bin index 60f736a68..8a181f0c9 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_R.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_R.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9c9ded88d15c8f30df4ec6902f6e7e6958f854abfb75a11fa96c9811d6fe9030 +oid sha256:b1ab99ab6a72cac79f590e76f3892a25292c61267636c53746115317cc6e56d2 size 867 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_Y.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_Y.bin index bb6fe87ce..cc2a9982e 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_Y.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Revelio/WandPT_Y.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2c8e1dabde157cd3c66883b33abdce1d8ad56a78c05d48ebca521a8d75e41e06 +oid sha256:6393d40f55a9150a81325961f40f2826aa157758f1b143a2fb9bd49f315c07e2 size 867 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSide/Troll_Particle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSide/Troll_Particle.bin new file mode 100644 index 000000000..eb266de99 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSide/Troll_Particle.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5518cb1b28a4f3fb3d527bf3ef1149e0b0d5f88afd540dc584787f21e5c5b9fb +size 1003 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSide/Troll_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSide/Troll_Smoke.bin new file mode 100644 index 000000000..f8ef9cf2d --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSide/Troll_Smoke.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:041c2dfcbd450946046b2c5df7fe04bf860d35ea8fe3264190427df569aec78c +size 879 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSide/Troll_Trail.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSide/Troll_Trail.bin new file mode 100644 index 000000000..63eb8ae60 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSide/Troll_Trail.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:767dd41e7bf0f2c92d803c1d8d4de0a49f49d4c89868dd77881cca013aeb67d1 +size 384 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSwing/Rock_PT_25.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSwing/Rock_PT_25.bin new file mode 100644 index 000000000..cf4364b4d --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSwing/Rock_PT_25.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ddb0eabe19d693cc93216d6de214126fee23994be866294843b695694c1ea1e5 +size 831 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSwing/Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSwing/Smoke.bin new file mode 100644 index 000000000..06d624b3b --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Troll/TrollSwing/Smoke.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3728fedc4291ed12aaf3ad416d3a00774e1a2cd52524ac720fe1a95aaa6af35 +size 882 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandLight/Wand_Red_Long.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandLight/Wand_Red_Long.bin deleted file mode 100644 index 7a4caa62e..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandLight/Wand_Red_Long.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d2450d2e39e80e4c256a360e3e3bc7de99f8c3d7caa537384f34f6abd825d4f2 -size 849 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/Circle_Particle_Red.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/Circle_Particle_Red.bin index 96ae5b7f2..29844aa9a 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/Circle_Particle_Red.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/Circle_Particle_Red.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f2ab30832be2d0139ac2b9d4dc44d79d49b3d58e07fe2b50cf7fe475eb4c7e7a +oid sha256:790370fd2eccf5334bcd29231f55bea5aca19b7a6f168a2944efa562dc4570bc size 851 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle0.bin index 8fab88bf8..f54818d24 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle0.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle0.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:039300ca6048836a37b4f76497599d2d36ab74e40c50e660d72cdeddf5ace1e4 +oid sha256:74493bae7b833781d0286ca1bc8bda7f2c9e8a28565f11906df5a76241061d7f size 894 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle1.bin index 3161917de..ef8d5548b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ecd4eb0156ff2ba3c535e10f0765c150d5a6391552d3b0995d4a5c55208448ce +oid sha256:3617a2afa91c199f403487d4e21af86cfb070ca789d777033114d12cb11296cd size 867 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B.bin index 035aaa208..3fc08b46a 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ea59c900924414e9335eea8c0bab76568457414b1b93d197b1c5f8fbba8efa6c +oid sha256:70b7dc5ee336a42c79f37a04a81d90dd4e6646f2a157a08ca2e5169bf5851c4e size 867 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B_100.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B_100.bin index 731622d77..0da254df9 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B_100.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_B_100.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e4d55c6250744fea5b4d553ece9ebf7a11557b976e3dd3f9461b44259a680645 +oid sha256:a0ea5d00b37b14c3e66085d178ac836f1deca29fc6b4f330aa9c0e4da0179f51 size 867 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_R.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_R.bin index 18e7de0dc..40a5784cb 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_R.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_R.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:35d020e1b4c81b2895d56b9a7a934fbe585bf9695f1869fde0c1d5e443139c05 +oid sha256:e5419ffe167e5265371a10257bf6f98b98f8e13e9988ddd6f19cbbbc6c0c554e size 867 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_W0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_W0.bin new file mode 100644 index 000000000..b8bdf5cc0 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/WandParticle/WandParticle_W0.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c0775bbc89659643b4a32490db3400029b5008dd14013c385e4a310521616ed +size 867 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogwart_Height.png b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogwart_Height.png new file mode 100644 index 000000000..fe65c5b6a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogwart_Height.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart.bin new file mode 100644 index 000000000..3c7eb17d9 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9b625ea2894a3db68ba5c5cacd361a3e5b04820240aa64b297a8c7b8cd7a28b +size 395780 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart_Height.png b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart_Height.png new file mode 100644 index 000000000..93ce9dfc9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/North_Hogwart_Height.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/South_Hogwart_Height.png b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/South_Hogwart_Height.png new file mode 100644 index 000000000..085134d97 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/South_Hogwart_Height.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.001.bin new file mode 100644 index 000000000..b3a21c232 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.001.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02496cf5e32cb9f9ed484c996d0ff202c97e3fc3a0dffd5b22c2bb12b64490f9 +size 19494 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.001.fbx new file mode 100644 index 000000000..504e7065c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.001.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71fd1de97bcf1219b8fc5adef6b9257556fe28dc7c85880b272a06e59de71c7f +size 21948 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.props.txt b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.props.txt deleted file mode 100644 index b08b9cb84..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.props.txt +++ /dev/null @@ -1,38 +0,0 @@ -Materials[2] = -{ - Materials[0] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight' - Materials[1] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock' -} -SourceModels[0] = {} -StaticMaterials[2] = -{ - StaticMaterials[0] = - { - MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight' - MaterialSlotName = constant - UVChannelData = - { - bInitialized = true - bOverrideDensities = false - LocalUVDensities[4] = { 51.2115, 0, 0, 0 } - } - } - StaticMaterials[1] = - { - MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock' - MaterialSlotName = default_material - UVChannelData = - { - bInitialized = true - bOverrideDensities = false - LocalUVDensities[4] = { 59.5543, 0, 0, 0 } - } - } -} -Sockets[0] = {} -ExtendedBounds = -{ - Origin = { X=-0.0218182, Y=0.0875816, Z=-9.53674e-07 } - BoxExtent = { X=14.4636, Y=9.28013, Z=12.4679 } - SphereRadius = 17.7629 -} diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.pskx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.pskx deleted file mode 100644 index 25553b73d..000000000 Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_0.pskx and /dev/null differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.001.bin new file mode 100644 index 000000000..2fc7855d9 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.001.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:354da7a24ac5dfd36a56767bd41680992b6c722a11e0d882842985eb052faeb4 +size 21562 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.001.fbx new file mode 100644 index 000000000..90f3aa190 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.001.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a50fd69592f29c946325f107782ca12ec1d4447151e7f18a777c8d417cd67da +size 23004 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.props.txt b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.props.txt deleted file mode 100644 index 4c6d550f7..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.props.txt +++ /dev/null @@ -1,38 +0,0 @@ -Materials[2] = -{ - Materials[0] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight' - Materials[1] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock' -} -SourceModels[0] = {} -StaticMaterials[2] = -{ - StaticMaterials[0] = - { - MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight' - MaterialSlotName = constant - UVChannelData = - { - bInitialized = true - bOverrideDensities = false - LocalUVDensities[4] = { 49.676, 0, 0, 0 } - } - } - StaticMaterials[1] = - { - MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock' - MaterialSlotName = default_material - UVChannelData = - { - bInitialized = true - bOverrideDensities = false - LocalUVDensities[4] = { 59.5587, 0, 0, 0 } - } - } -} -Sockets[0] = {} -ExtendedBounds = -{ - Origin = { X=-9.53674e-07, Y=0, Z=-0.138607 } - BoxExtent = { X=10.5868, Y=21.5313, Z=12.3241 } - SphereRadius = 26.4292 -} diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.pskx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.pskx deleted file mode 100644 index d4ea3f518..000000000 Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_1.pskx and /dev/null differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.001.bin new file mode 100644 index 000000000..ec86ada6c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.001.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7550ffe21999195a405c65a1bfc4ab62832ec2ec2d5d5c10d528c20e9b0a16c6 +size 27426 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.001.fbx new file mode 100644 index 000000000..17f1ab7a0 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.001.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e2cb10b00133b89b2d6f8868121868ed2ba8cbec72dc2df0c86021720aff257 +size 24412 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.props.txt b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.props.txt deleted file mode 100644 index 18b4d49d7..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.props.txt +++ /dev/null @@ -1,38 +0,0 @@ -Materials[2] = -{ - Materials[0] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight' - Materials[1] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock' -} -SourceModels[0] = {} -StaticMaterials[2] = -{ - StaticMaterials[0] = - { - MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight' - MaterialSlotName = constant - UVChannelData = - { - bInitialized = true - bOverrideDensities = false - LocalUVDensities[4] = { 51.2662, 0, 0, 0 } - } - } - StaticMaterials[1] = - { - MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock' - MaterialSlotName = default_material - UVChannelData = - { - bInitialized = true - bOverrideDensities = false - LocalUVDensities[4] = { 59.6151, 0, 0, 0 } - } - } -} -Sockets[0] = {} -ExtendedBounds = -{ - Origin = { X=0, Y=-5.72205e-06, Z=0.0365715 } - BoxExtent = { X=14.9456, Y=15.8451, Z=15.9268 } - SphereRadius = 24.9805 -} diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.pskx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.pskx deleted file mode 100644 index 7edf98a8e..000000000 Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_2.pskx and /dev/null differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.001.bin new file mode 100644 index 000000000..67a76c807 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.001.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5eaf372ee473781f3e37b100b9acaed74e59a8e728fb4e37976db4b6b90d5cda +size 42090 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.001.fbx new file mode 100644 index 000000000..3c2528757 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.001.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d25e312214121fe85e9f87c0024779bded3c26940d6d4f6a9bc1db6842a80ac +size 28956 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.props.txt b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.props.txt deleted file mode 100644 index ae8bd4e82..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.props.txt +++ /dev/null @@ -1,38 +0,0 @@ -Materials[2] = -{ - Materials[0] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight' - Materials[1] = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock' -} -SourceModels[0] = {} -StaticMaterials[2] = -{ - StaticMaterials[0] = - { - MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_RockLight.VFX_MI_RockLight' - MaterialSlotName = constant - UVChannelData = - { - bInitialized = true - bOverrideDensities = false - LocalUVDensities[4] = { 50.2156, 0, 0, 0 } - } - } - StaticMaterials[1] = - { - MaterialInterface = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Mesh/MaterialInstance/VFX_MI_Rock.VFX_MI_Rock' - MaterialSlotName = default_material - UVChannelData = - { - bInitialized = true - bOverrideDensities = false - LocalUVDensities[4] = { 59.5161, 0, 0, 0 } - } - } -} -Sockets[0] = {} -ExtendedBounds = -{ - Origin = { X=0, Y=-1.90735e-06, Z=0 } - BoxExtent = { X=18.8974, Y=28.9561, Z=19.3048 } - SphereRadius = 39.601 -} diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.pskx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.pskx deleted file mode 100644 index 485a00ffc..000000000 Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3.pskx and /dev/null differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.001.bin new file mode 100644 index 000000000..b16732e49 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.001.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbb53146de216f14bdfcefa68e522e6f00e71116ff4e19c6c7a45531ca997ee6 +size 32128 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.001.fbx new file mode 100644 index 000000000..7358ce5fb --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.001.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67820540580f893ab30cc922cb67968838a51df95b4a823cdabf1790d336431e +size 25788 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.pskx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.pskx deleted file mode 100644 index 0d2a104df..000000000 Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/Rock/SM_Rock_Fracture_3_Lod1.pskx and /dev/null differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.bin new file mode 100644 index 000000000..ec54ced95 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6c6b8e0c6b7cc2470c25e46ce160f3be612801ac22807e4052e6abdb6a52477 +size 94853 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.fbx new file mode 100644 index 000000000..9ebabf9d4 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfd53f90e6c9236743b72f330a11a015acc862cb0784567259207bedf91237ea +size 38044 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.bin new file mode 100644 index 000000000..873bc90f4 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:637c6d30f056b0927e6a73965d91e108fd0624d7714ddffe5b7b041eb611dfd1 +size 170244 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.fbx new file mode 100644 index 000000000..d91b0cfc9 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09b637b3fcd96f187c0a479a40c62cafd6acc0aa68a3f031e46dde223367f89d +size 49500 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_0.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_0.png new file mode 100644 index 000000000..074367998 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_0.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_1.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_1.png new file mode 100644 index 000000000..8e0134248 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_1.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_2.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_2.png new file mode 100644 index 000000000..647bcb1b9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_2.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_3.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_3.png new file mode 100644 index 000000000..1beb77836 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_3.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_4.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_4.png new file mode 100644 index 000000000..7e025a3aa Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_4.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_5.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_5.png new file mode 100644 index 000000000..8def3eda1 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/Side_5.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube.dds new file mode 100644 index 000000000..60e6e5097 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube_1.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube_1.dds new file mode 100644 index 000000000..37505f9c3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/SkyCube_1.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Caustics_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Caustics_D.dds new file mode 100644 index 000000000..0cb0e37c5 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Caustics_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Noises_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Noises_D.dds new file mode 100644 index 000000000..b5b69ff96 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Noises_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_N.dds new file mode 100644 index 000000000..c25699441 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_Normal_Large_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_Normal_Large_N.dds new file mode 100644 index 000000000..1ff79279b Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_Normal_Large_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_Normal_Subtle_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_Normal_Subtle_N.dds new file mode 100644 index 000000000..090b09b92 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Lake/T_Water_Normal_Subtle_N.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage.bin new file mode 100644 index 000000000..95b9fb57f --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:620afbbab73effa2c5e7adf737fe8d0cad99055a5102b3da749409f7f4499982 +size 1308608 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim.bin new file mode 100644 index 000000000..0d773ac44 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1aef095b49c93110e90a0af543657e5dfa54fc5aa5e29db4c9427868cb70132 +size 31859991 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim.fbx new file mode 100644 index 000000000..c3b8caccc --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d935ffb4ab4ef97b917b52e018524381136334111404f41639e82922bedb62b +size 70692588 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim2.bin new file mode 100644 index 000000000..485554d3c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim2.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63ccfb2aba0013eb8a23eb0c10f50ce4ebd87d648ad8fc2a101c239af72a3f00 +size 3137030 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim2.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim2.fbx new file mode 100644 index 000000000..727550f1a --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim2.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4765ba7bfae18977c47a70884487775ebccee38f12fd3bae3ffc1a5df0b851d8 +size 3716236 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim3.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim3.bin new file mode 100644 index 000000000..758ea3491 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim3.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a892908214bf58639166edacddc6fc5ee1ba8b67924182db1d6f04ae1518bd01 +size 3101748 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim3.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim3.fbx new file mode 100644 index 000000000..1374ec9d0 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage_Anim3.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:027d965b9d0c145f0e085383a61dc1ee25b5fb6a351b66fe25da2f5cd1ed56d8 +size 3314620 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/teroll1234.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/teroll1234.bin new file mode 100644 index 000000000..400f47ee8 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/teroll1234.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62cc099ed295d989f363f1cb09d528d755327a09e83513887c5cdcb6a4213afb +size 44266214 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin new file mode 100644 index 000000000..e5aaccbbf --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83960820cbce3567145434d63887252639deb0b836109c7ece3656d2df4a4d2a +size 5154581 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx index 4ed5bba04..866d6ed22 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll.fbx @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:33783d796335f0fdefff1f06f34cec423975b05d8147e4316902ac73d9dcf200 -size 135867852 +oid sha256:62c113acb5e15bab839185ad00acf6ede4587fcf44874078ce738d0475fec203 +size 2138700 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll1234.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll1234.fbx new file mode 100644 index 000000000..4ed5bba04 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll1234.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33783d796335f0fdefff1f06f34cec423975b05d8147e4316902ac73d9dcf200 +size 135867852 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin new file mode 100644 index 000000000..6b31d54a7 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79915c33216333ffe8df447e667428f4b5657ff782257a5f38baec6bb74c3890 +size 38582704 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx new file mode 100644 index 000000000..fcda4d970 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5deae579f7148d2b5f0903a497b1e7934e9bcb3af966a4c20e8feaa24ea1fc04 +size 111182908 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Troll_Weapon/SK_WPN_Troll_Club07.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Troll_Weapon/SK_WPN_Troll_Club07.bin new file mode 100644 index 000000000..b67d7cecc --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Troll_Weapon/SK_WPN_Troll_Club07.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3d6d4a8aa630f162940bc9cb975110b19b17b9c8a9e34dae9a25741d6d6beb0 +size 275600 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl index be4a346f6..c0ce8251b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl @@ -1,4 +1,5 @@ #include "Engine_Shader_Functions.hlsli" +#include "Engine_Shader_Defines.hlsli" struct Particle { @@ -41,13 +42,18 @@ struct ParticleValue float fSizeDrag; float3 vDeltaSize; float2 vDelay; - + + bool isCompareStop; + float fCollisionTime; + float fDropAttenuation; }; StructuredBuffer g_ParticleBufferInput : register(t0); StructuredBuffer g_ParticleValueBufferInput : register(t1); +Texture2D g_DepthTexture : register(t2); + RWStructuredBuffer g_VBInstanceOutput : register(u0); RWStructuredBuffer g_ParticleValueOutput : register(u1); @@ -66,14 +72,23 @@ cbuffer g_ConstantBuffer : register(b0) // b0 << 이 숫자와 컨스턴트 쉐 bool isSizeMove; bool isNoWorld; - bool isPadding0; + bool isDetphCompareStop; bool isPadding1; bool isPadding2; float fTimeDelta; float fSizeLerpOption; // 반드시 상수버퍼는 16바이트 배수로 만들어져야 한다. float fMoveLerpOption; - float fPadding3; + float fFar; + + row_major matrix ViewMatrix; + row_major matrix ProjMatrix; + + float2 vScreenSize; + float fPadding0; + float fPadding1; + + } //내가 몇개의 스레드를 사용할 것인지 지정하는데 @@ -84,16 +99,20 @@ void CS_MAIN( { int iIndex = DispatchThreadID.x; // 배열 인덱스 + + Particle particle = g_ParticleBufferInput[iIndex]; ParticleValue particleValue = g_ParticleValueBufferInput[iIndex]; + + float fGravity = particleValue.fGravity; + float fOnlyDropY = 0.f; particleValue.vDelay.x += fTimeDelta; if (particleValue.vDelay.x < particleValue.vDelay.y) { - - + g_VBInstanceOutput[iIndex] = particle; g_ParticleValueOutput[iIndex] = particleValue; @@ -119,6 +138,10 @@ void CS_MAIN( // 라이프타임 움직임 particle.vLifeTime.x += fTimeDelta; + + /* 내 z가 가려지는 상황이었다면 연산하지않음*/ + + if (particle.vLifeTime.x >= particle.vLifeTime.y) { if (isLoop == false) @@ -134,15 +157,37 @@ void CS_MAIN( particle.vLifeTime.x = 0.f; particleValue.vAniIndex.x = 0.f; particleValue.vDelay.x = 0.f; - - + particleValue.isCompareStop = false; + particleValue.fCollisionTime = 0.f; g_VBInstanceOutput[iIndex] = particle; g_ParticleValueOutput[iIndex] = particleValue; return ; } - + + + if (isDrop == true) + { + if (particleValue.isCompareStop == true) // 지면에 부딪혔을 때 + { + // 내 현재 시간의 비례 + // 0.0 ~ 3 + + // 2초에 부딧혓으면 + // 2 - 2 / 3 - 2 + // 0 ~ 1 cos(0) * - 1 + + float fRatio = saturate((particle.vLifeTime.x - particleValue.fCollisionTime) / (particle.vLifeTime.y - particleValue.fCollisionTime)); + + fGravity *= (2.f * fRatio - 1.f) / particleValue.fDropAttenuation; + } + + particle.vTranslation.y -= 0.5f * particle.vLifeTime.x * fGravity; + fOnlyDropY = particle.vTranslation.y; + } + + if (isMoveForward) { @@ -179,12 +224,7 @@ void CS_MAIN( particle.vTranslation += vVelocity * fTimeDelta * fDrag; } - - if (isDrop == true) - { - particle.vTranslation.y -= 0.5f * particle.vLifeTime.x * particleValue.fGravity; - } - + /* 사인 웨이브 */ if(isSinWave == true) { @@ -232,6 +272,51 @@ void CS_MAIN( particle.vLook = CurRotatemat[2].xyzw; + } + + if (isDetphCompareStop) + { + float2 vTexcoord; + + float4x4 matW, matWV, matWVP; + + row_major float4x4 TransformMatrix = float4x4(particle.vRight, particle.vUp, particle.vLook, particle.vTranslation); + + matW = mul(TransformMatrix, WorldMatrix); + matWV = mul(matW, ViewMatrix); + matWVP = mul(matWV, ProjMatrix); + + float4 vProjPos = mul(WorldMatrix[3], matWVP); + + vTexcoord.x = vProjPos.x / vProjPos.w * 0.5f + 0.5f; + vTexcoord.y = vProjPos.y / vProjPos.w * -0.5f + 0.5f; + + uint2 vPixelUV; + + /* 스크린 좌표로 변환 */ + vPixelUV.x = vTexcoord.x * vScreenSize.x; + vPixelUV.y = vTexcoord.y * vScreenSize.y; + + float4 vDepthDesc = g_DepthTexture.Load(int3(vPixelUV, 0)); + + float fOldViewZ = vDepthDesc.y * fFar; + + if (vProjPos.w >= fOldViewZ) + { + if (particleValue.isCompareStop == false) + { + particleValue.isCompareStop = true; // 내가 지면에 사라지는 순간 + particleValue.fCollisionTime = particle.vLifeTime.x; + + } + } + + if (particleValue.isCompareStop == true) // 지면에 부딪혔을 때 + { + particle.vTranslation.y = fOnlyDropY; // 지면에 부딪혓을때 이제 y연산은 오직 drop으로만 수행함 + } + + } if (isSizeMove == true) diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl index 5e1b560a9..69e5d4d84 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl @@ -44,9 +44,26 @@ Texture2D g_DisolveTexture; Texture2D g_GlowTexture; Texture2D g_GlassTexture; +TextureCube g_CubeTexture; +Texture2D g_NormalLargeTexture; +Texture2D g_NormalSubTexture; + +float g_fNormalValue1; +float g_fNormalValue2; +float g_fNormalValue3; + +float g_fUVSpeed1; +float g_fUVSpeed2; +float g_fUVSpeed3; + float g_fBloomStrength; float g_fGlassRatio; +float g_fRefractionStrength; +float g_fRefractionPow; +float4 g_vDiffuseColor; +float4 g_vSurfaceColor; + struct VS_IN { float3 vPosition : POSITION; @@ -313,6 +330,8 @@ PS_OUT PS_GLASS(PS_IN In) return Out; } + + struct PS_IN_SHADOW { float4 vPosition : SV_POSITION; @@ -498,6 +517,47 @@ PS_OUT_CAPTUREDMODEL PS_CAPTUREDMODEL(PS_IN_CAPTUREDMODEL In) Out.vColor.a = saturate(1 - g_LifeRatio) * 0.5f; return Out; } + +PS_OUT PS_LAKE(PS_IN In) +{ + PS_OUT Out; + + float2 vUV = float2(In.vTexcoord.x, In.vTexcoord.y + g_fTime * g_fUVSpeed1) * g_fNormalValue1; + float2 vUVLarge = float2(In.vTexcoord.x, In.vTexcoord.y - g_fTime * g_fUVSpeed2) * g_fNormalValue2; + float2 vUVSub = float2(In.vTexcoord.x - g_fTime * g_fUVSpeed3, In.vTexcoord.y - g_fTime * g_fUVSpeed3) * g_fNormalValue3; + + float3 vNormalDecoded = DecodeNormalFromRG(g_NormalTexture, AnisoTropy_BLUR_Sampler, vUV); + float3 vNormalLarge = DecodeNormalFromRG(g_NormalLargeTexture, AnisoTropy_BLUR_Sampler, vUVLarge); + float3 vNormalSub = DecodeNormalFromRG(g_NormalSubTexture, AnisoTropy_BLUR_Sampler, vUVSub); + + vector vMtrlDiffuse = g_vDiffuseColor; + vector vSurface = g_vSurfaceColor; + + float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal); + + float3 vNormal = normalize(mul(normalize(vNormalDecoded + vNormalLarge + vNormalSub), WorldMatrix)); + + float3 vReflaction = reflect(normalize(In.vWorldPos.xyz - g_vCamPosition.xyz), vNormal); + + float fReflactionValue = dot(vReflaction, float3(0.f, 1.f, 0.f)); + + vMtrlDiffuse = g_CubeTexture.Sample(DefaultSampler, vReflaction); + + + float fFresnelScala = g_fRefractionStrength + (1.f - g_fRefractionStrength) * pow(1.f - dot(normalize(g_vCamPosition.xyz - In.vWorldPos.xyz), vNormal), g_fRefractionPow); + + Out.vAlbedo = float4(vMtrlDiffuse.xyz, 1.f) * fFresnelScala + g_vDiffuseColor * (1.f - fFresnelScala); + Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f); + Out.vDepth = float4((In.vProjPos.z / In.vProjPos.w), // NDC 깊이 ( 0~ 1) + (In.vProjPos.w / g_fFar), // 뷰 스페이스 Z + 2.f / 27.f, // 서페이스 파라미터 + 1.f); + Out.vColor = float4(0.f, 0.f, 0.f, 1.f); + Out.vSurface = vSurface; + + return Out; +} + technique11 MeshTechnique11 { pass MeshPass // 0 @@ -655,4 +715,14 @@ technique11 MeshTechnique11 GeometryShader = NULL; PixelShader = compile ps_5_0 PS_BLOOM(); } + + pass WaterPass // 16 + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_LAKE(); + } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl index 094a0fcab..87fde2ea8 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl @@ -31,10 +31,15 @@ struct ParticleValue float fSizeDrag; float3 vDeltaSize; float2 vDelay; + + bool isCompareStop; + float fCollisionTime; + float fDropAttenuation; }; matrix g_WorldMatrix, g_ViewMatrix, g_ProjMatrix; +matrix g_ProjMatrixInv, g_ViewMatrixInv; Texture2D g_DiffuseTexture : register(t0); @@ -49,7 +54,7 @@ StructuredBuffer g_ParticleValue : register(t5); Texture2D g_EmissiveTexture : register(t6); Texture2D g_DepthStencilTexture : register(t7); Texture2D g_DistortionTexture : register(t8); - +Texture2D g_DepthTexture : register(t9); float4 g_vCamPosition; @@ -142,6 +147,9 @@ float g_fDissolveMaskEdge; float g_fDissolveSoftMask; float g_fDissolveCutRatio; +float4 g_vDissolveColor; +float2 g_vDissolveColorCut; + struct VS_IN { float3 vPosition : POSITION; @@ -228,7 +236,6 @@ VS_OUT VS_NOWORLD(VS_IN In, uint iGPUIndex : SV_InstanceID) return Out; } - struct PS_IN { float4 vPosition : SV_POSITION; @@ -265,7 +272,7 @@ float4 DrawEffect(PS_IN In) float2 vDissolveUVMoveTime = g_ParticleValue[In.iGPUIndex].vDissolveUVMoveTime; float2 vDelay = g_ParticleValue[In.iGPUIndex].vDelay; - + if (vDelay.x < vDelay.y) { discard; @@ -282,43 +289,29 @@ float4 DrawEffect(PS_IN In) UV += SelectLerpUV((g_vDiffuseUVGainAmount / g_vUVCutting), (vDiffuseTime.x / vDiffuseTime.y), g_iDiffuseMoveLerpOption); } - if (g_isTexBlur) + if (g_isDistortion == true) { - float4 fAccDiffuse; + + float2 vDistortionUV = In.vTexcoord + SelectLerpUV(g_vMaskDistortionUVGainAmount, (vDistortionUVMoveTime.x / vDistortionUVMoveTime.y), g_iMaskDistortionMoveLerpOption); + + vMtrlDistortion = g_DistortionTexture.Sample(DefaultSampler, vDistortionUV); + + + float fDistortionIntensity = g_fNoiseDistortionIntensity; + + if (g_vDistortionTime.y != 0) + { + fDistortionIntensity = g_fNoiseDistortionIntensity * ((In.vLifeTime.x / In.vLifeTime.y)); + } + + //디스토션(노이즈) 텍스쳐로 uv를 왜곡함 + UV = UV + (vMtrlDistortion - 0.5f).r * fDistortionIntensity; - float fTexel = g_fBluringStrength; - - if (g_isBlurDissolve) - { - fTexel = saturate(g_fBluringStrength * (In.vLifeTime.x / In.vLifeTime.y)); - } - - if (g_isBlurReverseDissolve) - { - fTexel = saturate(g_fBluringStrength * (1 - (In.vLifeTime.x / In.vLifeTime.y))); - } - - for (int x = -2; x <= 2; x++) - { - for (int y = -2; y <= 2; y++) - { - fAccDiffuse += g_DiffuseTexture.Sample(DefaultSampler, UV + float2(x * fTexel, y * fTexel)); - } - } - - fAccDiffuse = fAccDiffuse / 9.0; - - /* 연산 마스크 대입*/ - vMtrlDiffuse = fAccDiffuse; - } - else - { - /* 최종 색깔 */ - vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, UV); } + + vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, UV); - if (g_vColor.a > 0) vMtrlDiffuse = saturate(g_vColor + vMtrlDiffuse); @@ -518,11 +511,33 @@ float4 DrawEffect(PS_IN In) } + if (g_vDissolveColorCut.y > 0.f) + { + if (vMtrlDiffuse.a > g_vDissolveColorCut.x && vMtrlDiffuse.a <= g_vDissolveColorCut.y) + { + vMtrlDiffuse.rgb += g_vDissolveColor.rgb; + } + } if (vMtrlDiffuse.a <= FLT_EPSILON5) discard; } + /* 소프트 이펙트 */ + + float2 vTexcoord; + + vTexcoord.x = In.vProjPos.x / In.vProjPos.w * 0.5f + 0.5f; + vTexcoord.y = In.vProjPos.y / In.vProjPos.w * -0.5f + 0.5f; + + float4 vDepthDesc = g_DepthTexture.Sample(DefaultSampler, vTexcoord); + + float fOldViewZ = vDepthDesc.y * g_fFar; + + float fDistance = fOldViewZ - In.vProjPos.w; + + vMtrlDiffuse.a = vMtrlDiffuse.a * saturate(fDistance); + return vMtrlDiffuse; } @@ -611,22 +626,10 @@ PS_OUT PS_MAIN(PS_IN In) PS_OUT Out; vector vMtrlDiffuse; - vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, In.vTexcoord); + vMtrlDiffuse = DrawEffect(In); - vector vMtrlNormal = g_NormalTexture.Sample(DefaultSampler, In.vTexcoord); - - float3x3 NormalMap_WorldMatrix = float3x3(In.vTangent, In.vBinormal, In.vNormal.xyz); - - float3 vNormal = mul(vMtrlNormal.xyz * 2.f - 1.f, NormalMap_WorldMatrix); + vMtrlDiffuse.rgb += EmissiveDraw(In).rgb; - - //Out.vNormal = float4(vNormal.xyz * 0.5f + 0.5f, 0.f); - //Out.vDepth = float4(In.vProjPos.z / In.vProjPos.w, In.vProjPos.w / g_fFar, 0.0f, 0.0f); - - if (vMtrlDiffuse.a < 0.3f) - discard; - - Out.vDiffuse.a = saturate(In.vLifeTime.y - In.vLifeTime.x); Out.vDiffuse = vMtrlDiffuse; return Out; @@ -729,15 +732,15 @@ PS_BLUR_OUT PS_BLUR_NOEMISSIVE(PS_IN In) //// 색깔 추가할 처리 (이미시브) - vMtrlDiffuse.a = 1.f; + vMtrlDiffuse.a *= 5.f; - if (g_isDissolve == true) - { - if (g_isNomalDissolve) - { - vMtrlDiffuse.a *= (0.95f - In.vLifeTime.x / In.vLifeTime.y); - } - } + //if (g_isDissolve == true) + //{ + // if (g_isNomalDissolve) + // { + // vMtrlDiffuse.a *= (0.95f - In.vLifeTime.x / In.vLifeTime.y); + // } + //} Out.vDiffuse = vector(vMtrlDiffuse.rgb * g_fBlurIntensity , vMtrlDiffuse.a); Out.vBlurWeight = g_iBlurWeight / 128.f; @@ -753,21 +756,24 @@ PS_BLUR_OUT PS_BLUR(PS_IN In) vMtrlDiffuse = DrawEffect(In); + vMtrlDiffuse.a *= 5.f; + //// 색깔 추가할 처리 (이미시브) - vMtrlDiffuse.rgb += EmissiveDraw(In).rgb; + //vMtrlDiffuse.rgb += EmissiveDraw(In).rgb; - vMtrlDiffuse.a = 1.f; + //vMtrlDiffuse.a = 1.f; - if (g_isDissolve == true) - { - if (g_isNomalDissolve) - { - vMtrlDiffuse.a *= (0.95f - In.vLifeTime.x / In.vLifeTime.y); - } - } + //if (g_isDissolve == true) + //{ + // if (g_isNomalDissolve) + // { + // vMtrlDiffuse.a *= (0.95f - In.vLifeTime.x / In.vLifeTime.y); + // } + //} Out.vDiffuse = vector(vMtrlDiffuse.rgb * g_fBlurIntensity, vMtrlDiffuse.a); + Out.vBlurWeight = g_iBlurWeight / 128.f; return Out; @@ -843,13 +849,14 @@ PS_BLOOM_OUT PS_WEIGHTED_FOR_BLEND(PS_IN In) return Out; } + technique11 DefaultTechnique { pass Model { SetRasterizerState(RS_Default); SetDepthStencilState(DSS_Default, 0); - SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); VertexShader = compile vs_5_0 VS_MAIN(); GeometryShader = NULL; PixelShader = compile ps_5_0 PS_MAIN(); @@ -977,6 +984,18 @@ technique11 DefaultTechnique PixelShader = compile ps_5_0 PS_WEIGHTED_FOR_BLEND(); } + + + pass PARTICLE_DEPTH_STOP + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_MAIN(); + } + } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/T_FX_FracturedRockPiece_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/T_FX_FracturedRockPiece_D.png new file mode 100644 index 000000000..0d0c22059 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/T_FX_FracturedRockPiece_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/T_FX_rock_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/T_FX_rock_D.png new file mode 100644 index 000000000..52e38b3f0 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/T_FX_rock_D.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/VFX_T_Debris_Stones2x2_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/VFX_T_Debris_Stones2x2_D.png new file mode 100644 index 000000000..835930c74 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Diffuse/VFX_T_Debris_Stones2x2_D.png differ diff --git a/Jusin154_Team3D/Editor/Default/Editor.cpp b/Jusin154_Team3D/Editor/Default/Editor.cpp index 2ec23a75a..2957f0ad5 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.cpp +++ b/Jusin154_Team3D/Editor/Default/Editor.cpp @@ -20,8 +20,7 @@ extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg int APIENTRY wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, - _In_ int nCmdShow) -{ + _In_ int nCmdShow){ #ifdef _DEBUG _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); //_CrtSetBreakAlloc(1181); diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj index 133f11df7..55be4d05f 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj @@ -241,6 +241,7 @@ call Update_Shaders.bat + @@ -341,6 +342,7 @@ call Update_Shaders.bat + @@ -417,6 +419,7 @@ call Update_Shaders.bat + @@ -519,6 +522,7 @@ call Update_Shaders.bat + diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters index db0b25f0f..0550963b4 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters @@ -253,9 +253,6 @@ {a193f87a-e222-4dd8-9766-cb32bb368ccb} - - {8882358e-c8eb-4222-a87e-01d902533b8f} - {a9862861-6eaa-4e04-b7f6-217a32db7db4} @@ -289,18 +286,12 @@ {92110a48-81d0-4e98-be06-05dd078d0488} - - {c81350c7-0edb-4e51-babf-09bf627414f1} - {7e8b7123-11fb-4946-99fe-3265932d0536} {54eef1b7-a5ee-444f-9577-44ffc8c3d8bc} - - {a94e6a94-cc46-4c16-8518-5032bfdbd235} - {b4e1da25-c952-4ff4-92fd-7f1501d8c005} @@ -346,9 +337,6 @@ {c0589f6e-ed9c-4e76-8df2-4f95ce3c7b9a} - - {8bb21e5b-933f-4930-8d49-1093e0c3ea77} - {a54567fa-e528-4c98-a605-289d7d300029} @@ -361,12 +349,6 @@ {c7b1ffc6-548f-464c-8f19-8b6ff5913b06} - - {03dca491-c8d3-4204-b450-b6089287aa3d} - - - {c87ea325-8242-4bc4-aec7-b102a5b1c847} - {8d15e456-f0d7-45b6-b725-7f1a8c0f6b0f} @@ -451,18 +433,6 @@ {4aa98871-8d80-4757-b616-e96f4e840857} - - {3fb9a340-293c-413e-ae32-e5986222f711} - - - {51b32cc0-bf57-444f-9a21-0ff756a94291} - - - {09f9fe15-1685-4aac-b3a1-ee98c3e76e3b} - - - {c70a2ce4-8664-45e0-b594-4f416829dab8} - {c30da651-49ea-4d68-b65b-c363eaf820f2} @@ -478,6 +448,45 @@ {fe7d5909-159c-4130-ae5e-e08e648b193c} + + {44155272-ee23-4fbf-ae47-e89f62f34975} + + + {db7324ea-732a-4cac-948e-f99f0544027c} + + + {8882358e-c8eb-4222-a87e-01d902533b8f} + + + {3fb9a340-293c-413e-ae32-e5986222f711} + + + {c81350c7-0edb-4e51-babf-09bf627414f1} + + + {51b32cc0-bf57-444f-9a21-0ff756a94291} + + + {a94e6a94-cc46-4c16-8518-5032bfdbd235} + + + {09f9fe15-1685-4aac-b3a1-ee98c3e76e3b} + + + {8bb21e5b-933f-4930-8d49-1093e0c3ea77} + + + {03dca491-c8d3-4204-b450-b6089287aa3d} + + + {c87ea325-8242-4bc4-aec7-b102a5b1c847} + + + {c70a2ce4-8664-45e0-b594-4f416829dab8} + + + {3a12f2c2-0472-41b7-99ce-2c2f17f26e92} + {ebad2fd8-622f-4c17-9ba3-b0c4bd366c05} @@ -502,6 +511,12 @@ {d8a5038f-4f2c-4226-85ba-9202f11f822d} + + {4b6ac1df-5642-42f1-a492-5c2ca2433559} + + + {df91c194-9910-489b-a9bb-724e1c1f4440} + @@ -769,7 +784,7 @@ 02.GameObjects\Layer_Effect\Effect\04.Effect_Container - 02.GameObjects\Layer_Effect\Effect\05.NomalJap + 02.GameObjects\Layer_Effect\Effect\Magic\05.NomalJap 02.GameObjects\Broom @@ -802,7 +817,7 @@ 02.GameObjects\Wand - 02.GameObjects\Layer_Effect\Effect\06.Bombard + 02.GameObjects\Layer_Effect\Effect\Magic\06.Bombard 80.State @@ -814,7 +829,7 @@ 02.GameObjects\Env\05.AlphaMap - 02.GameObjects\Layer_Effect\Effect\07.Decendo + 02.GameObjects\Layer_Effect\Effect\Magic\07.Decendo 02.GameObjects\Camera\Debug @@ -859,7 +874,7 @@ 02.GameObjects\Layer_Effect\EffectPool - 02.GameObjects\Layer_Effect\Effect\08.Protego + 02.GameObjects\Layer_Effect\Effect\Magic\08.Protego 50.UI\GamePlay_Canvas\Mission_Panel\MissionBanner_Border @@ -874,10 +889,10 @@ 50.UI\Spell_Canvas\Spell_Panel\Current_Spell_Slot - 02.GameObjects\Layer_Effect\Effect\09.Revelio + 02.GameObjects\Layer_Effect\Effect\Magic\09.Revelio - 02.GameObjects\Layer_Effect\Effect\10.Levioso + 02.GameObjects\Layer_Effect\Effect\Magic\10.Levioso 50.UI\Spell_Canvas\Spell_Panel\Spell_List @@ -931,16 +946,16 @@ 50.UI\Spell_Canvas\Spell_Panel\Spell_Drag - 02.GameObjects\Layer_Effect\Effect\05.NomalJap\NomalJapSide + 02.GameObjects\Layer_Effect\Effect\Magic\05.NomalJap\NomalJapSide - 02.GameObjects\Layer_Effect\Effect\06.Bombard\BombardSide + 02.GameObjects\Layer_Effect\Effect\Magic\06.Bombard\BombardSide - 02.GameObjects\Layer_Effect\Effect\07.Decendo\DecendoSide + 02.GameObjects\Layer_Effect\Effect\Magic\07.Decendo\DecendoSide - 02.GameObjects\Layer_Effect\Effect\10.Levioso\LeviosoSide + 02.GameObjects\Layer_Effect\Effect\Magic\10.Levioso\LeviosoSide 04.InfoInstance @@ -981,6 +996,12 @@ 50.UI\Logo\Logo_Glow + + 02.GameObjects\Env\07.Unified + + + 02.GameObjects\Env\03.MapElement\Lake + @@ -1241,7 +1262,7 @@ 02.GameObjects\Layer_Effect\Effect\04.Effect_Container - 02.GameObjects\Layer_Effect\Effect\05.NomalJap + 02.GameObjects\Layer_Effect\Effect\Magic\05.NomalJap 02.GameObjects\Broom @@ -1280,13 +1301,13 @@ 02.GameObjects\Player - 02.GameObjects\Layer_Effect\Effect\06.Bombard + 02.GameObjects\Layer_Effect\Effect\Magic\06.Bombard 02.GameObjects\Env\05.AlphaMap - 02.GameObjects\Layer_Effect\Effect\07.Decendo + 02.GameObjects\Layer_Effect\Effect\Magic\07.Decendo 50.UI\GamePlay_Canvas\Action_Panel\Spell_Slot_Preview @@ -1337,7 +1358,7 @@ 02.GameObjects\Layer_Effect\EffectPool - 02.GameObjects\Layer_Effect\Effect\08.Protego + 02.GameObjects\Layer_Effect\Effect\Magic\08.Protego 50.UI\GamePlay_Canvas\Mission_Panel\MissionBanner_Border @@ -1352,10 +1373,10 @@ 50.UI\Spell_Canvas\Spell_Panel\Current_Spell_Slot - 02.GameObjects\Layer_Effect\Effect\09.Revelio + 02.GameObjects\Layer_Effect\Effect\Magic\09.Revelio - 02.GameObjects\Layer_Effect\Effect\10.Levioso + 02.GameObjects\Layer_Effect\Effect\Magic\10.Levioso 50.UI\Spell_Canvas\Spell_Panel\Spell_List @@ -1409,16 +1430,16 @@ 50.UI\Spell_Canvas\Spell_Panel\Spell_Drag - 02.GameObjects\Layer_Effect\Effect\05.NomalJap\NomalJapSide + 02.GameObjects\Layer_Effect\Effect\Magic\05.NomalJap\NomalJapSide - 02.GameObjects\Layer_Effect\Effect\06.Bombard\BombardSide + 02.GameObjects\Layer_Effect\Effect\Magic\06.Bombard\BombardSide - 02.GameObjects\Layer_Effect\Effect\07.Decendo\DecendoSide + 02.GameObjects\Layer_Effect\Effect\Magic\07.Decendo\DecendoSide - 02.GameObjects\Layer_Effect\Effect\10.Levioso\LeviosoSide + 02.GameObjects\Layer_Effect\Effect\Magic\10.Levioso\LeviosoSide 04.InfoInstance @@ -1459,6 +1480,12 @@ 50.UI\Logo\Logo_Glow + + 02.GameObjects\Env\07.Unified + + + 02.GameObjects\Env\03.MapElement\Lake + diff --git a/Jusin154_Team3D/Editor/Private/EditEffect.cpp b/Jusin154_Team3D/Editor/Private/EditEffect.cpp index 38eb6ebff..5656290eb 100644 --- a/Jusin154_Team3D/Editor/Private/EditEffect.cpp +++ b/Jusin154_Team3D/Editor/Private/EditEffect.cpp @@ -73,7 +73,7 @@ void CEditEffect::Late_Update(_float fTimeDelta) { if (m_pLightCom != nullptr) { - m_pLightCom->Update_AmbientRatio(fTimeDelta , m_EffectInfo.isLightTime); + m_pLightCom->Update_IntensityRatio(fTimeDelta , m_EffectInfo.isLightTime , m_EffectInfo.fLightDeley); } } @@ -420,11 +420,10 @@ void CEditEffect::Describe_Entity() { //여기서 모델, 텍스쳐, 선택할 수 있도록 함 - const char* pLerp[] = { "Linear" , "EaseInQuad", "EaseOutQuad", "EaseInCubic" , "EaseOutCubic" , "EaseInOutSin" , "EaseInBack" , "Expo" , "Circle" }; const char* pRenderNames[] = { "PRIORITY" , "SHADOW", "NONBLEND", "DECAL", "BLUR" , "NONLIGHT" ,"EFFECT", "BLEND" ,"BLOOM" , "UI", "OCCLUSION" , "PRESHADOW"}; const char* pEffectType[] = { "EFFECT" , "TRAIL" }; - const char* pShaderPass[] = { "DEFAULT" , "NON_NOMALMAP" , "BLUR" , "WEIGHTBLEND" , "NON_WORLD" , "NON_WORLD_BLUR", "BLEND", "BLEND_NOWORLD", "BLOOM" ,"BLOOM_NOWORLD" ,"BLUR_NO_EMMISVE", "BLUR_NO_WORLD_NO_EMISSIVE","WEIGHTBLEND_FOR_BLEND"}; + const char* pShaderPass[] = { "DEFAULT" , "NON_NOMALMAP" , "BLUR" , "WEIGHTBLEND" , "NON_WORLD" , "NON_WORLD_BLUR", "BLEND", "BLEND_NOWORLD", "BLOOM" ,"BLOOM_NOWORLD" ,"BLUR_NO_EMMISVE", "BLUR_NO_WORLD_NO_EMISSIVE","WEIGHTBLEND_FOR_BLEND" , "DEPTH_STOP" }; const char* pBloomType[] = { "NONE" , "BASIC" , "MUILTY"}; _int iCurrentItem = static_cast<_int>(m_EffectInfo.eRenderOrder); @@ -432,6 +431,22 @@ void CEditEffect::Describe_Entity() _int iCurrentBloomType = static_cast<_int>(m_EffectInfo.eBloomType); _int iCurrentPass = static_cast<_int>(m_EffectInfo.eShaderPass); + + GUI::InputTextMultiline("BONE NAME", m_szBuffer, sizeof(m_szBuffer), ImVec2(250, 25)); + + m_strBoneName = m_szBuffer; + + if(GUI::Button("Stick Bone")) + { + CModel* pModel = m_pOwner->Get_Component(); + + if (pModel != nullptr) + { + FollowParants(pModel->Get_BoneMatrixPtr(m_strBoneName.c_str())); + } + + } + if (ImGui::Combo("Render Order", &iCurrentItem, pRenderNames, ENUM_CLASS(RENDER::END))) { m_EffectInfo.eRenderOrder = static_cast(iCurrentItem); @@ -600,6 +615,13 @@ void CEditEffect::Describe_Entity() GUI::Checkbox("Light Dissolve", &m_EffectInfo.isLightDissolve); GUI::InputFloat("Light Time", &m_EffectInfo.isLightTime); + GUI::InputFloat("Light Delay", &m_EffectInfo.fLightDeley); + + if (GUI::InputFloat("Light Intensity", &m_EffectInfo.fLightIntensity)) + { + + m_pLightCom->Set_LightIntensity(m_EffectInfo.fLightIntensity); + } if (GUI::Button("ADD_LIGHT_MANAGER")) { @@ -608,7 +630,7 @@ void CEditEffect::Describe_Entity() if (GUI::Button("Reset_Dissolve")) { - m_pLightCom->Reset_AmbientRatio(); + m_pLightCom->Reset_IntensityRatio(); } } @@ -758,7 +780,14 @@ void CEditEffect::Describe_Entity() GUI::DragFloat("DissolveSoftMask", &m_EffectInfo.vDissolveValue.y, 0.005f); GUI::DragFloat("DissolveCutRatio", &m_EffectInfo.vDissolveValue.z, 0.005f); + GUI::Spacing(); + + + GUI::DragFloat2("DissolveColorCut", (_float*)& m_EffectInfo.vDissolveColorCut, 0.005f); + ImGui::PopItemWidth(); + + GUI::ColorEdit4("DissolveColor", (_float*)&m_EffectInfo.vDissolveColor); _string strName = m_pGameInstance->Asset_Description(ENUM_CLASS(LEVEL::EFFECT), "DISSOLVE_TEXTURE", (CComponent**)&m_pDissolve_TextureCom, nullptr, this); if (strName != "") { diff --git a/Jusin154_Team3D/Editor/Private/EffectObject.cpp b/Jusin154_Team3D/Editor/Private/EffectObject.cpp index da9d66d1f..eede58fa7 100644 --- a/Jusin154_Team3D/Editor/Private/EffectObject.cpp +++ b/Jusin154_Team3D/Editor/Private/EffectObject.cpp @@ -237,8 +237,10 @@ HRESULT CEffectObject::Load(const _char* pFilePath , LEVEL eLevel) return E_FAIL; } - + m_pLightCom->Set_LightIntensity(m_EffectInfo.fLightIntensity); } + + if (m_EffectInfo.isDiffuse) @@ -506,14 +508,13 @@ HRESULT CEffectObject::LoadPre(const _char* pFilePath, LEVEL eLevel) PRE_EFFECT_INFO PreEffectInfo = {}; - if (!ReadFile(hFile, &PreEffectInfo, sizeof(PRE_EFFECT_INFO), &dwByte, nullptr)) { + if (!ReadFile(hFile, &m_EffectInfo, sizeof(PRE_EFFECT_INFO), &dwByte, nullptr)) { return E_FAIL; } m_EffectInfo.LightDesc.pPosition = m_pTransformCom->Get_StatePtr(STATE::POSITION); m_EffectInfo.LightDesc.iLevel = ENUM_CLASS(eLevel); - ZeroMemory(&m_EffectInfo.LightDesc, sizeof(LIGHT_DESC)); if (m_EffectInfo.LightDesc.eType != LIGHT::DIRECTIONAL) // 0이 아닐때만 생성 { @@ -714,12 +715,41 @@ HRESULT CEffectObject::LoadPre(const _char* pFilePath, LEVEL eLevel) } #endif // _DEBUG +void CEffectObject::FollowParants(const _float4x4* pParantsMat) +{ + if (pParantsMat == nullptr) + return; + + + m_pPerentMatrix = pParantsMat; + m_bVisible = true; +} + + HRESULT CEffectObject::Bind_ShaderResources() { + if (m_pPerentMatrix != nullptr) + { + + _matrix socketMatrix = XMLoadFloat4x4(m_pPerentMatrix); + + for (int i = 0; i < 3; ++i) { + socketMatrix.r[i] = XMVector3Normalize(socketMatrix.r[i]); + } + socketMatrix = socketMatrix * m_pParentTransformCom->Get_XMWorldMatrix(); + + m_pTransformCom->Set_State(STATE::POSITION, socketMatrix.r[3]); + } + + if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) return E_FAIL; + if (FAILED(m_pGameInstance->Bind_RenderTarget(TEXT("Target_Depth"), m_pShaderCom, "g_DepthTexture"))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) { return E_FAIL; } @@ -727,6 +757,13 @@ HRESULT CEffectObject::Bind_ShaderResources() return E_FAIL; } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW_INV)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ_INV)))) { + return E_FAIL; + + } if (FAILED(m_pShaderCom->Bind_RawValue("g_isDiffuse", &m_EffectInfo.isDiffuse, sizeof(_bool)))) { return E_FAIL; @@ -936,6 +973,13 @@ HRESULT CEffectObject::Bind_ShaderResources() } + if (FAILED(m_pShaderCom->Bind_RawValue("g_vDissolveColor", &m_EffectInfo.vDissolveColor, sizeof(_float4)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_vDissolveColorCut", &m_EffectInfo.vDissolveColorCut, sizeof(_float2)))) { + return E_FAIL; + } diff --git a/Jusin154_Team3D/Editor/Private/EffectPool.cpp b/Jusin154_Team3D/Editor/Private/EffectPool.cpp index c3a39568c..850d18000 100644 --- a/Jusin154_Team3D/Editor/Private/EffectPool.cpp +++ b/Jusin154_Team3D/Editor/Private/EffectPool.cpp @@ -62,7 +62,6 @@ void CEffectPool::Priority_Update(_float fTimeDelta) } } - (*m_EffectList[ENUM_CLASS(SKILL_TYPE::DESCENDO)].begin())->Describe_Entity(); } diff --git a/Jusin154_Team3D/Editor/Private/Effect_Container.cpp b/Jusin154_Team3D/Editor/Private/Effect_Container.cpp index bdd9f5534..60330dd39 100644 --- a/Jusin154_Team3D/Editor/Private/Effect_Container.cpp +++ b/Jusin154_Team3D/Editor/Private/Effect_Container.cpp @@ -335,7 +335,7 @@ void CEffect_Container::Reset_Light() if (pLight == nullptr) continue; - pLight->Reset_AmbientRatio(); + pLight->Reset_IntensityRatio(); } } diff --git a/Jusin154_Team3D/Editor/Private/Goblin.cpp b/Jusin154_Team3D/Editor/Private/Goblin.cpp index e3cba447f..773e4fe8c 100644 --- a/Jusin154_Team3D/Editor/Private/Goblin.cpp +++ b/Jusin154_Team3D/Editor/Private/Goblin.cpp @@ -2,6 +2,7 @@ #include "Goblin.h" #include "GameInstance.h" +#include "EditEffect.h" #pragma region STATE #include "State_Idle.h" @@ -36,6 +37,9 @@ HRESULT CGoblin::Initialize(void* pArg) if (FAILED(Ready_Components())) return E_FAIL; + if (FAILED(Ready_Parts())) + return E_FAIL; + Add_FSM(); Set_Anim(); @@ -61,11 +65,15 @@ HRESULT CGoblin::Initialize(void* pArg) void CGoblin::Priority_Update(_float fTimeDelta) { + __super::Priority_Update(fTimeDelta); + m_pTransformCom->RewindMomentum(); } void CGoblin::Update(_float fTimeDelta) { + __super::Update(fTimeDelta); + m_pFSM->Update_State(fTimeDelta); m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom); @@ -169,6 +177,50 @@ HRESULT CGoblin::Ready_Components() return S_OK; } +HRESULT CGoblin::Ready_Parts() +{ +#pragma region EFFECT + /* EFFECT */ + + CPartObject::PARTOBJECT_DESC PartsDesc{}; + + PartsDesc.pParentTransform = m_pTransformCom; + + + + if (FAILED(Add_PartObject("Goblin_Particle", ENUM_CLASS(LEVEL::EFFECT), &m_pTroll_Particle, &PartsDesc))) + { + return E_FAIL; + } + + m_pTroll_Particle->Load("../Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Particle", static_cast(NEXT_LEVEL)); + m_pTroll_Particle->FollowParants(m_pModelCom->Get_BoneMatrixPtr("RightShoulder")); + + + + if (FAILED(Add_PartObject("Goblin_Particle2", ENUM_CLASS(LEVEL::EFFECT), &m_pTroll_Particle2, &PartsDesc))) + { + return E_FAIL; + } + + m_pTroll_Particle2->Load("../Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Particle2", static_cast(NEXT_LEVEL)); + m_pTroll_Particle2->FollowParants(m_pModelCom->Get_BoneMatrixPtr("RightShoulder")); + + + if (FAILED(Add_PartObject("Goblin_Smoke", ENUM_CLASS(LEVEL::EFFECT), &m_pRight_Smoke, &PartsDesc))) + { + return E_FAIL; + } + + m_pRight_Smoke->Load("../Bin/Resources/Data/Effect/Goblin/GoblinSide/Goblin_Smoke", static_cast(NEXT_LEVEL)); + m_pRight_Smoke->FollowParants(m_pModelCom->Get_BoneMatrixPtr("Spine2")); + + +#pragma endregion + return S_OK; +} + + HRESULT CGoblin::Bind_ShaderResources() { if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) { @@ -226,8 +278,37 @@ void CGoblin::Free() SAFE_RELEASE(m_pRigidBody); Safe_Delete(m_pCallBack_Behavior); Safe_Delete(m_pCallBack_HitReport); + + SAFE_RELEASE(m_pTroll_Particle); + SAFE_RELEASE(m_pTroll_Particle2); + SAFE_RELEASE(m_pRight_Smoke); + SAFE_RELEASE(m_pLeft_Smoke); } void CGoblin::Describe_Entity() { + for (auto& pComponent : m_Components) + { + if (GUI::TreeNode(typeid(*pComponent).name())) + { + pComponent->Describe_Entity(); + + GUI::TreePop(); + } + } + + _uint iIndex = {}; + + for (auto& pParts : m_PartObjects) + { + _string strName = to_string(iIndex++) + " : " + typeid(*pParts.second).name(); + + if (GUI::TreeNode(strName.c_str())) + { + pParts.second->Describe_Entity(); + + GUI::TreePop(); + } + } + } diff --git a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp index ef6720fd5..76ad4faff 100644 --- a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp @@ -17,6 +17,7 @@ #include "EffectPool.h" #include "InfoInstance.h" #include "Goblin.h" +#include "Terrain.h" CLevel_EffectViewer::CLevel_EffectViewer(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eLevelID) : CLevel{ pDevice, pContext, ENUM_CLASS(eLevelID) } @@ -44,7 +45,8 @@ HRESULT CLevel_EffectViewer::Initialize() return E_FAIL; } - + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Terrain")))) + return E_FAIL; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_EffectPool")))) //플레이어보다 먼저 생성해야함! @@ -56,9 +58,9 @@ HRESULT CLevel_EffectViewer::Initialize() return E_FAIL; } - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(ENUM_CLASS(LEVEL::EFFECT), NEXT_LEVEL, LAYER_CUBE))){ - return E_FAIL; - } + //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(ENUM_CLASS(LEVEL::EFFECT), NEXT_LEVEL, LAYER_CUBE))){ + // return E_FAIL; + //} if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_PLAYER))){ diff --git a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp index eb3b755f6..f293b68d5 100644 --- a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp +++ b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp @@ -12,6 +12,8 @@ #include "Land.h" #include "InstancedProp.h" #include "Player.h" +#include "Unified.h" +#include "MapElement_Lake.h" CLevel_MapViewer::CLevel_MapViewer(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, LEVEL eLevelID) : CLevel{ pDevice, pContext, ENUM_CLASS(eLevelID) } @@ -47,12 +49,16 @@ HRESULT CLevel_MapViewer::Initialize() return E_FAIL; } - if (FAILED(Ready_Layer_InstanceProp(TEXT("Layer_InstanceProp")))) { + /*if (FAILED(Ready_Layer_InstanceProp(TEXT("Layer_InstanceProp")))) { return E_FAIL; } if (FAILED(Ready_Layer_BuildingContainer(TEXT("Layer_Building")))) { return E_FAIL; + }*/ + + if (FAILED(Ready_Layer_Unified(TEXT("Layer_Unified")))) { + return E_FAIL; } if (FAILED(Ready_Layer_MapObjectManager(LAYER_MAPOBJECTMANAGER))) { @@ -76,7 +82,7 @@ HRESULT CLevel_MapViewer::Ready_Layer_Camera(const _wstring& strLayerTag) CCamera_Debug::CAMERA_DEBUG_DESC Camera_Desc{}; Camera_Desc.fFovy = XMConvertToRadians(60.0f); Camera_Desc.fNear = 0.1f; - Camera_Desc.fFar = 200.f; + Camera_Desc.fFar = 600.f; Camera_Desc.vEye = _float3(0.f, 10.f, -10.f); Camera_Desc.vAt = _float3(0.f, 0.f, 0.f); Camera_Desc.fSpeedPerSec = 5.f; @@ -111,7 +117,55 @@ HRESULT CLevel_MapViewer::Ready_Layer_Background(const _wstring& strLayerTag) HRESULT CLevel_MapViewer::Ready_Layer_Terrain(const _wstring& strLayerTag) { - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag))) + CTerrain::TERRAIN_DESC Desc = {}; + /* Hogsmeade */ + + Desc.isEdit = false; + Desc.iAlphaSizeX = 2048; + Desc.iAlphaSizeY = 2048; + Desc.vPosition = _float3(-194, 18.5f, -153.f); + Desc.strBufferTag = TEXT("Prototype_Component_VIBuffer_Terrain_Hogsmeade"); + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Desc))) + return E_FAIL; + + /* Hogwart */ + Desc.isEdit = false; + Desc.iAlphaSizeX = 2048; + Desc.iAlphaSizeY = 2560; + Desc.vPosition = _float3(-451.f, 18.5f, -791.f); + Desc.strBufferTag = TEXT("Prototype_Component_VIBuffer_Terrain_Hogwart"); + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Desc))) + return E_FAIL; + + /* North_Hogwart */ + Desc.isEdit = false; + Desc.iAlphaSizeX = 1536; + Desc.iAlphaSizeY = 1024; + Desc.vPosition = _float3(-577.f, 18.5f, -153.f); + Desc.strBufferTag = TEXT("Prototype_Component_VIBuffer_Terrain_North_Hogwart"); + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Desc))) + return E_FAIL; + + /* South_Hogwart */ + Desc.isEdit = true; + Desc.iAlphaSizeX = 2048; + Desc.iAlphaSizeY = 1, 536; + Desc.vPosition = _float3(61.f, 18.5f, -535.f); + Desc.strBufferTag = TEXT("Prototype_Component_VIBuffer_Terrain_South_Hogwart"); + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Desc))) + return E_FAIL; + + CMapElement_Lake::MAPOBJECT_LAKE_DESC Lake_Desc = {}; + + vector<_wstring> ModelPrototypeTags; + ModelPrototypeTags.push_back(TEXT("Prototype_Component_Hogwart_Lake")); + Lake_Desc.iMaxLodLevel = 0; + Lake_Desc.iRenderType = 4; + Lake_Desc.vPosition = _float3(-144.f, -61.9f, -115.f); + Lake_Desc.vRotation = _float3(0.f, 0.f, 0.f); + Lake_Desc.vScale = _float3(3.f, 3.f, 3.f); + Lake_Desc.ModelPrototypeTags = ModelPrototypeTags; + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &Lake_Desc))) return E_FAIL; return S_OK; @@ -216,13 +270,19 @@ HRESULT CLevel_MapViewer::Ready_Layer_BuildingContainer(const _wstring& strLayer return S_OK; } +HRESULT CLevel_MapViewer::Ready_Layer_Unified(const _wstring& strLayerTag) +{ + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag))) + return E_FAIL; + + return S_OK; +} + HRESULT CLevel_MapViewer::Ready_Layer_MapObjectManager(const _wstring& strLayerTag) { if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag))) return E_FAIL; - - return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp index b1e4d5c35..f664f12e9 100644 --- a/Jusin154_Team3D/Editor/Private/Loader.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader.cpp @@ -114,6 +114,8 @@ #include "VIBuffer_Model_Instance.h" #include "Instance_Model.h" #include "InstancedProp.h" +#include "Unified.h" +#include "MapElement_Lake.h" #pragma endregion @@ -1114,6 +1116,32 @@ HRESULT CLoader::Loading_For_Effect() m_strMessage = TEXT("Texture Loading.."); + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("TerrainTest"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Textures//T_LandscapeStreamingProxy_0_LOD1_Summer_D.png"), 0)))) { + return E_FAIL; + } + + /* Terrain_Mask */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_Mask"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/T_OL_GrassBlend_Mask_D.dds"), 0)))) { + return E_FAIL; + } + /* Terrain_Diffuse */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_Diffuse"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Terrain/Terrain_D_%d.dds"), 4)))) { + return E_FAIL; + } + /* Terrain_Normal */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_Normal"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Terrain/Terrain_N_%d.dds"), 4)))) { + return E_FAIL; + } + /* Terrain_MRO */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_MRO"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Terrain/Terrain_MRO_%d.dds"), 4)))) { + return E_FAIL; + } + Asset_FileLoad("../Bin/Resources/Textures/Effect/Noises", L"Prototype_Texture_", [&](_wstring wstrFileName, const _char* pFilePath) { _string strFilePath = pFilePath; @@ -1196,6 +1224,18 @@ HRESULT CLoader::Loading_For_Effect() CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/SkyBox/SkyBox.fbx", XMMatrixIdentity())))) return E_FAIL; + + Asset_FileLoad("../Bin/Resources/Models/Effect/Rock", L"Prototype_Instance_Model_", [&](_wstring wstrFileName, const _char* pFilePath) { + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::EFFECT), wstrFileName, + CInstance_Model::Create(m_pDevice, m_pContext, pFilePath, MODEL::NONANIM, XMMatrixScaling(0.1f, 0.1f, 0.1f) * XMMatrixIdentity(), 0)))) + return E_FAIL; + + return S_OK; + + }); + + Asset_FileLoad("../Bin/Resources/Models/Effect/ParticleMesh", L"Prototype_Instance_Model_", [&](_wstring wstrFileName, const _char* pFilePath) { if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::EFFECT), wstrFileName, @@ -1272,6 +1312,28 @@ HRESULT CLoader::Loading_For_Effect() Safe_Delete(pResult); } + { + CVIBuffer_Terrain* pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "Hogsmeade_HeightMap.bin", 512, 512); + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain"), pTerrain))) { + return E_FAIL; + } + pTerrain->ConvertToHeightField(TEXT("Hogsmeade_HeightMap")); + + CRigidBody_Static::RIGIDBODY_STATIC_PROTOTYPEDESC Desc{}; // 터레인 리지드 지형 추가 + { + Desc.eType = ACTOR::HEIGHTFIELD; + Desc.ePxRigidBodyFlags = {}; + Desc.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE | PSX::PxShapeFlag::eSIMULATION_SHAPE }; + Desc.ePxMaterialTypes = PXMATERIAL::DEFAULT; + Desc.vMatInfo = _float3(0.5f, 0.5f, 0.6f); + Desc.fContactOffset = 0.f; + } + CRigidBody_Static* pRigid = CRigidBody_Static::Create(m_pDevice, m_pContext, Desc); + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_RigidBody_Static_Terrain_Hogsmeade"), pRigid))) { + return E_FAIL; + } + } + m_strMessage = TEXT("Shader Loading.."); @@ -1399,7 +1461,9 @@ HRESULT CLoader::Loading_For_Effect() if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CPlayer::Create(m_pDevice, m_pContext)))) return E_FAIL; - + /* For.Prototype_GameObject_Terrain */ + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CTerrain::Create(m_pDevice, m_pContext)))) + return E_FAIL; @@ -1676,6 +1740,7 @@ HRESULT CLoader::Loading_For_Bloom() TEXT("Prototype_Component_SubTroll_Model") )); + #pragma endregion if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Desc_Box"), CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Box/Box.bin", XMMatrixScaling(10.f, 10.f, 10.f) * XMMatrixIdentity())))) { @@ -1913,6 +1978,12 @@ HRESULT CLoader::Loading_For_ObjectViewer() return E_FAIL; }*/ + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_SK_WPN_Troll_Club07_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::ANIM_LOCAL, "C:/MeshTable\\Game\\RiggedObjects\\Props\\Weapons\\Troll\\SK_WPN_Troll_Club07.fbx", XMMatrixIdentity())))) { + return E_FAIL; + } + // Heavy Wall CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC Desc{}; { @@ -1943,6 +2014,16 @@ HRESULT CLoader::Loading_For_ObjectViewer() } vector*>> futures = {}; + futures.emplace_back(Deferred_ModelLoad( + MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixIdentity(), + TEXT("Prototype_Component_troll_Model") + )); + + //futures.emplace_back(Deferred_ModelLoad( + // MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx", XMMatrixIdentity(), + // TEXT("Prototype_Component_troll_Model") + //)); + #pragma region BODY futures.emplace_back(Deferred_ModelLoad( @@ -2021,6 +2102,12 @@ HRESULT CLoader::Loading_For_ObjectViewer() TEXT("Prototype_Component_Goblin_Model") )); + futures.emplace_back(Deferred_ModelLoad( + MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin_Mage/GoblinMage.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(), + TEXT("Prototype_Component_GoblinMage_Model") + )); + + futures.emplace_back(Deferred_ModelLoad( MODEL::ANIM, "../Bin/Resources/Models/Monster/TombProtector/TombProtector.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixIdentity(), TEXT("Prototype_Component_TombProtector_Model") @@ -2037,6 +2124,11 @@ HRESULT CLoader::Loading_For_ObjectViewer() #pragma endregion + futures.emplace_back(Deferred_ModelLoad( + MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_Anim.fbx", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f)* XMMatrixIdentity(), + TEXT("Prototype_Component_SubTroll_Model") + )); + futures.emplace_back(Deferred_ModelLoad( MODEL::ANIM, "../Bin/Resources/Models/Object/Troll_Weapon/Troll_Weapon.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixIdentity(), TEXT("Prototype_Component_Troll_Weapon_Model") @@ -2251,6 +2343,43 @@ HRESULT CLoader::Loading_For_MapViewer() return E_FAIL; } + /* For.Prototype_Component_Water_Noise_D */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("T_Noises_D"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, + TEXT("../Bin/Resources/Models/Lake/T_Noises_D.dds"), 0)))) { + return E_FAIL; + } + /* For.Prototype_Component_T_Water_Normal_Large_N */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("T_Water_Normal_Large_N"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, + TEXT("../Bin/Resources/Models/Lake/T_Water_Normal_Large_N.dds"), 0)))) { + return E_FAIL; + } + /* For.Prototype_Component_T_Water_Normal_Subtle_N */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("T_Water_Normal_Subtle_N"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, + TEXT("../Bin/Resources/Models/Lake/T_Water_Normal_Subtle_N.dds"), 0)))) { + return E_FAIL; + } + /* For.Prototype_Component_T_Caustics_D */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("T_Caustics_D"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, + TEXT("../Bin/Resources/Models/Lake/T_Caustics_D.dds"), 0)))) { + return E_FAIL; + } + /* For.Prototype_Component_T_Water_N */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("T_Water_N"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, + TEXT("../Bin/Resources/Models/Lake/T_Water_N.dds"), 0)))) { + return E_FAIL; + } + /* Lake_Cube_D */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Lake_Cube_D"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Models/Lake/SkyCube.dds"), 0)))) { + return E_FAIL; + } + + m_strMessage = TEXT("모델를(을) 로딩 중 입니다."); /* For.Prototype_Component_SkyboxModel */ @@ -2263,6 +2392,16 @@ HRESULT CLoader::Loading_For_MapViewer() CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Land/Hogsmead_Land.fbx", XMMatrixIdentity())))) return E_FAIL; + /* For.Prototype_Component_Hogwart_Lake */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Hogwart_Lake"), + CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Lake/SM_Lake_A_Collision_Deep.fbx", XMMatrixIdentity())))) + return E_FAIL; + + /* For.Prototype_Component_Hogwart_LakeSurFace */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_Hogwart_LakeSurFace"), + CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Lake/SM_Lake_A_Collision_Shallow.fbx", XMMatrixIdentity())))) + return E_FAIL; + vector<_wstring> ModelPrototypeTags = {}; vector ModelPrototypePath = {}; @@ -2452,42 +2591,47 @@ HRESULT CLoader::Loading_For_MapViewer() // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) // return E_FAIL; - /* Light */ - if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\LightPosts", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; + ///* Light */ + //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\LightPosts", + // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) + // return E_FAIL; - /* Doors */ - if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Doors", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; + ///* Doors */ + //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Doors", + // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) + // return E_FAIL; - /* Step */ - if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\GroundSurfaces", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; - if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Collision\\GroundSurfaces", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; + ///* Step */ + //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\GroundSurfaces", + // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) + // return E_FAIL; + //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Collision\\GroundSurfaces", + // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) + // return E_FAIL; - /* Barrel */ - if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Objects\\Meshes", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; + ///* Barrel */ + //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Objects\\Meshes", + // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) + // return E_FAIL; - /* Box */ - if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\MiscProps", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; + ///* Box */ + //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\MiscProps", + // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) + // return E_FAIL; - /* TeaShop Table */ - if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Tables", - ".bin", false, ModelPrototypeTags, ModelPrototypePath))) - return E_FAIL; + ///* TeaShop Table */ + //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Tables", + // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) + // return E_FAIL; - /* TeaShop Chair*/ - if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Chairs", - ".bin", true, ModelPrototypeTags, ModelPrototypePath))) + ///* TeaShop Chair*/ + //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Chairs", + // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) + // return E_FAIL; + + /* Hogwart LOD */ + if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogwarts\\HogwartsLOD", + ".fbx", false, ModelPrototypeTags, ModelPrototypePath))) return E_FAIL; #pragma endregion @@ -2498,292 +2642,292 @@ vector> jobFutures; _uint iLoadCount = 46; vector*> Contents(iLoadCount); - -{ - { /* Terrain */ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Terrain", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Terrain", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - - { /* Ollivanders*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - - { /* Gatehouse*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Gatehouse/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - - { /* TScrolls */ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Collisions", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* 3BroomStick*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes/3Broom_Kit", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - - - { /* BLDG_QuidditchShop */ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_HogsheadInn */ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_Honeydukes */ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_OwlPost */ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_TeaShop */ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_Zonkos */ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_DB_GR */ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_Potions */ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Collisions", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_Salon */ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* Hengist_Tree */ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Vegetation", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN A*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN B*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN C*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN E*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN F*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN G*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN H*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN J*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } -} - - for (auto& jobFuture : jobFutures) +// +//{ +// { /* Terrain */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Terrain", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Terrain", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// +// { /* Ollivanders*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Ollivanders/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// +// { /* Gatehouse*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Gatehouse/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// +// { /* TScrolls */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TScrolls/Collisions", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* 3BroomStick*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Meshes/3Broom_Kit", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// +// +// { /* BLDG_QuidditchShop */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_QuidditchShop/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_HogsheadInn */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_HogsheadInn/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_Honeydukes */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Honeydukes/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_OwlPost */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_OwlPost/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_TeaShop */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_TeaShop/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_Zonkos */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Zonkos/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_DB_GR */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_DB_GR/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_Potions */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Potions/Collisions", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_Salon */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_Salon/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* Hengist_Tree */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Vegetation/Hengist_Tree", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Collision/Vegetation", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN A*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_A/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN B*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_B/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN C*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_C/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN E*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_E/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN F*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_F/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN G*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_G/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN H*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_H/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN J*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/BLDG_GEN_J/Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +//} +// + /*for (auto& jobFuture : jobFutures) { jobFuture.get(); } @@ -2807,7 +2951,7 @@ vector*> Contents(iLoadCount); } } - } + }*/ m_strMessage = TEXT("쉐이더를(을) 로딩 중 입니다."); @@ -2855,7 +2999,7 @@ vector*> Contents(iLoadCount); { CVIBuffer_Terrain* pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "Hogsmeade_HeightMap.bin", 512, 512); - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain"), pTerrain))) { + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain_Hogsmeade"), pTerrain))) { return E_FAIL; } pTerrain->ConvertToHeightField(TEXT("Hogsmeade_HeightMap")); @@ -2876,6 +3020,22 @@ vector*> Contents(iLoadCount); } + CVIBuffer_Terrain* pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "../Bin/Resources/Data/Map/Hogwart_Height.png"); + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain_Hogwart"), pTerrain))) { + return E_FAIL; + } + + pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "../Bin/Resources/Data/Map/North_Hogwart_Height.png"); + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain_North_Hogwart"), pTerrain))) { + return E_FAIL; + } + + pTerrain = CVIBuffer_Terrain::Create(m_pDevice, m_pContext, "../Bin/Resources/Data/Map/South_Hogwart_Height.png"); + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain_South_Hogwart"), pTerrain))) { + return E_FAIL; + } + +#pragma region INSTANCE_MODEL CVIBuffer_Model_Instance::INSTANCE_DESC InstanceDesc = {}; InstanceDesc.iNum = 20; @@ -2957,6 +3117,7 @@ vector*> Contents(iLoadCount); CVIBuffer_Model_Instance::Create(m_pDevice, m_pContext, "../Bin/Resources/Models/InstanceProp/SM_HM_Door2b.bin", "../Bin/Resources/Data/Map/Instance/InstanceMaterial.xml")))) return E_FAIL; +#pragma endregion // INSTANCE_MODEL /* For.Prototype_Component_VIBuffer_Box */ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Box"), @@ -3010,6 +3171,14 @@ vector*> Contents(iLoadCount); if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CInstancedProp::Create(m_pDevice, m_pContext)))) return E_FAIL; + /* For.Prototype_GameObject_Unified */ + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CUnified::Create(m_pDevice, m_pContext)))) + return E_FAIL; + + /* For.Prototype_GameObject_Unified */ + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CMapElement_Lake::Create(m_pDevice, m_pContext)))) + return E_FAIL; + /* For.Prototype_GameObject_MapObject_Manager */ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CMapObject_Manager::Create(m_pDevice, m_pContext, ModelPrototypeTags, ModelPrototypePath)))) return E_FAIL; @@ -3021,12 +3190,12 @@ vector*> Contents(iLoadCount); m_isFinished = true; - for (_uint i = 0; i < Contents.size(); ++i) { - for (_uint j = 0; j < (Contents[i])->size(); ++j) { - Safe_Delete((*Contents[i])[j]); - } - Safe_Delete(Contents[i]); - } + //for (_uint i = 0; i < Contents.size(); ++i) { + // for (_uint j = 0; j < (Contents[i])->size(); ++j) { + // Safe_Delete((*Contents[i])[j]); + // } + // Safe_Delete(Contents[i]); + //} #endif return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/MainLight.cpp b/Jusin154_Team3D/Editor/Private/MainLight.cpp index e00210c9e..d38833c15 100644 --- a/Jusin154_Team3D/Editor/Private/MainLight.cpp +++ b/Jusin154_Team3D/Editor/Private/MainLight.cpp @@ -136,6 +136,12 @@ HRESULT CMainLight::Ready_Components() LightDesc.pDirection = m_pTransformCom->Get_StatePtr(STATE::LOOK); LightDesc.iLevel = NEXT_LEVEL; +#ifdef gimch + LightDesc.vDiffuse = _float4(0.8f, 0.8f, 0.8f, 0.f); + LightDesc.vAmbient = _float4(0.6f, 0.6f, 0.6f, 0.f); +#endif // gimch + + /* Com_Light*/ if (FAILED(Add_Component(g_iStaticLevel, &m_pLightCom, &LightDesc))) { diff --git a/Jusin154_Team3D/Editor/Private/MapElement_Lake.cpp b/Jusin154_Team3D/Editor/Private/MapElement_Lake.cpp new file mode 100644 index 000000000..17c90c665 --- /dev/null +++ b/Jusin154_Team3D/Editor/Private/MapElement_Lake.cpp @@ -0,0 +1,324 @@ +#include "pch.h" +#include "MapElement_Lake.h" + +#include "GameInstance.h" + +#include "Terrain.h" +#include "Layer.h" + +CMapElement_Lake::CMapElement_Lake(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CMapElement{ pDevice, pContext } +{ +} + +CMapElement_Lake::CMapElement_Lake(const CMapElement_Lake& rhs) + : CMapElement(rhs) +{ +} + +HRESULT CMapElement_Lake::Initialize_Prototype() +{ + return S_OK; +} + +HRESULT CMapElement_Lake::Initialize(void* pArg) +{ + MAPOBJECT_LOD_DESC* pDesc = static_cast(pArg); + + m_iMaxLodLevel = pDesc->iMaxLodLevel; + + for (_uint i = 0; i < m_iMaxLodLevel + 1; i++) + { + m_ModelPrototypeTags.push_back(pDesc->ModelPrototypeTags[i]); + //m_ModelPathIndices.push_back((*pDesc->pModelPathIndices)[i]); + } + + if (FAILED(__super::Initialize(pArg))) + return E_FAIL; + + if (FAILED(Ready_Components(pArg))) + return E_FAIL; + +#ifdef _DEBUG + m_bSelected = false; + m_vPosition = pDesc->vPosition; + m_vScale = pDesc->vScale; + m_vRotation = pDesc->vRotation; + + m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&m_vPosition), 1.f)); + m_pTransformCom->Set_Scale(m_vScale); + m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z)); +#endif // _DEBUG + + m_vRefractionColor = _float4(0.29f, 0.375f, 0.4f, 1.f); + m_vSurfaceColor = _float4(0.f, 1.f, 1.f, 1.f); + + return S_OK; +} + +void CMapElement_Lake::Priority_Update(_float fTimeDelta) +{ +#ifdef _DEBUG + m_bSelected = false; +#endif +} + +void CMapElement_Lake::Update(_float fTimeDelta) +{ + m_fTimeAcc += fTimeDelta * m_fUVValue; + //Describe_Entity(); +} + +void CMapElement_Lake::Late_Update(_float fTimeDelta) +{ +#ifdef _DEBUG + + m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&m_vPosition), 1.f)); + m_pTransformCom->Set_Scale(m_vScale); + m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z)); + +#endif + m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); +} + +HRESULT CMapElement_Lake::Render() +{ + if (FAILED(Bind_ShaderResources())) + return E_FAIL; + + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::LAKE)))) { + return E_FAIL; + } + + if (FAILED(m_pModelComs[0]->Render(0))) { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CMapElement_Lake::Ready_Components(void* pArg) +{ + if (FAILED(__super::Ready_Components(pArg))) { + return E_FAIL; + } + + for (_uint i = 0; i < m_iMaxLodLevel + 1; ++i) + { + CModel* pModel = { nullptr }; + + /* Com_Model */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, m_ModelPrototypeTags[i], + reinterpret_cast(&pModel)))) + return E_FAIL; + + m_pModelComs.push_back(pModel); + } + + /* Com_Shader */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_MESH, + reinterpret_cast(&m_pShaderCom)))) + return E_FAIL; + + /* Com_Texture */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("T_Noises_D"), + reinterpret_cast(&m_pNoiseTextureCom)))) + return E_FAIL; + /* Com_Texture */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("T_Water_Normal_Large_N"), + reinterpret_cast(&m_pNormalLargeTextureCom)))) + return E_FAIL; + /* Com_Texture */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("T_Water_Normal_Subtle_N"), + reinterpret_cast(&m_pNormalSubTextureCom)))) + return E_FAIL; + /* Com_Texture */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("T_Caustics_D"), + reinterpret_cast(&m_pCausticsTextureCom)))) + return E_FAIL; + /* Com_Texture */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("T_Water_N"), + reinterpret_cast(&m_pNormalTextureCom)))) + return E_FAIL; + /* Com_Texture */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Lake_Cube_D"), + reinterpret_cast(&m_pCubeMapTextureCom)))) + return E_FAIL; + + return S_OK; +} + +HRESULT CMapElement_Lake::Bind_ShaderResources() +{ + if (FAILED(m_pShaderCom->Bind_Matrix("g_WorldMatrix", m_pTransformCom->Get_WorldMatrixPtr()))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) { + return E_FAIL; + } + + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fTime", &m_fTimeAcc, sizeof(_float)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fNormalValue1", &m_fUVValue1, sizeof(_float)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fNormalValue2", &m_fUVValue2, sizeof(_float)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fNormalValue3", &m_fUVValue3, sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fUVSpeed1", &m_fUVSpeed1, sizeof(_float)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fUVSpeed2", &m_fUVSpeed2, sizeof(_float)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fUVSpeed3", &m_fUVSpeed3, sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fRefractionStrength", &m_fRefractionStrength, sizeof(_float)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fRefractionPow", &m_fRefractionPow, sizeof(_float)))) { + return E_FAIL; + } + + + + if (FAILED(m_pShaderCom->Bind_RawValue("g_vCamPosition", m_pGameInstance->Get_CamPosition(), sizeof(_float3)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_vDiffuseColor", &m_vRefractionColor, sizeof(_float4)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_vSurfaceColor", &m_vSurfaceColor, sizeof(_float4)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_SRV("g_NormalTexture", m_pNormalTextureCom->Get_SRV(0)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_SRV("g_NormalLargeTexture", m_pNormalLargeTextureCom->Get_SRV(0)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_SRV("g_NormalSubTexture", m_pNormalSubTextureCom->Get_SRV(0)))) { + return E_FAIL; + } + if (FAILED(m_pCubeMapTextureCom->Bind_ShaderResource(m_pShaderCom, "g_CubeTexture", 0))) { + return E_FAIL; + } + + + return S_OK; +} + +CMapElement_Lake* CMapElement_Lake::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CMapElement_Lake* pInstance = new CMapElement_Lake(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CMapElement_Lake"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +CGameObject* CMapElement_Lake::Clone(void* pArg, CGameObject* pOwner) +{ + CMapElement_Lake* pInstance = new CMapElement_Lake(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CMapElement_Lake"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CMapElement_Lake::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pCubeMapTextureCom); + SAFE_RELEASE(m_pNormalTextureCom); + SAFE_RELEASE(m_pNormalLargeTextureCom); + SAFE_RELEASE(m_pNormalSubTextureCom); + SAFE_RELEASE(m_pCausticsTextureCom); + SAFE_RELEASE(m_pNoiseTextureCom); + SAFE_RELEASE(m_pShaderCom); + for (auto& pModel : m_pModelComs) + SAFE_RELEASE(pModel); +} + +void CMapElement_Lake::Describe_Entity() +{ + if (m_bDead) + return; + if (nullptr == m_pGameInstance) + return; + GUI::Begin("Lake"); + GUI::Text(CMyTools::ToString(m_ModelPrototypeTags[m_iLodIndex]).c_str()); + GUI::InputInt("Lod Level", (_int*)(&m_iLodIndex)); + + GUI::InputFloat("N_V1", (&m_fUVValue1)); + GUI::InputFloat("N_V2", (&m_fUVValue2)); + GUI::InputFloat("N_V3", (&m_fUVValue3)); + + GUI::InputFloat("UV_Speed1", (&m_fUVSpeed1)); + GUI::InputFloat("UV_Speed2", (&m_fUVSpeed2)); + GUI::InputFloat("UV_Speed3", (&m_fUVSpeed3)); + + GUI::InputFloat("m_fRefractionStrength", (&m_fRefractionStrength)); + GUI::InputFloat("m_fRefractionPow", (&m_fRefractionPow)); + + m_iLodIndex = max(0, m_iLodIndex); + m_iLodIndex = min(m_iMaxLodLevel, m_iLodIndex); + + GUI::ColorEdit4("Refaction Color", (_float*)&m_vRefractionColor); + GUI::ColorEdit4("Surface Color", (_float*)&m_vSurfaceColor); + GUI::InputFloat("UV", (_float*)&m_fUVValue); + GUI::Text("----- Transfrom ----"); + GUI::InputFloat("X##Position", &m_vPosition.x, 0.1f, 1.f); + GUI::InputFloat("Y##Position", &m_vPosition.y, 0.1f, 1.f); + GUI::InputFloat("Z##Position", &m_vPosition.z, 0.1f, 1.f); + + if (m_pGameInstance->Mouse_Down(DIM_LBUTTON) && m_pGameInstance->Key_Pressing(DIK_LSHIFT)) + { + if (m_pGameInstance->isPicking(&m_vPosition)) + { + } + } + + GUI::Text("----- Rotation ----"); + GUI::InputFloat("X##Rotation", &m_vRotation.x, 10.f, 45.f); + GUI::InputFloat("Y##Rotation", &m_vRotation.y, 10.f, 45.f); + GUI::InputFloat("Z##Rotation", &m_vRotation.z, 10.f, 45.f); + + GUI::Text("----- Scale ----"); + GUI::InputFloat("X##Scale", &m_vScale.x, 0.1f, 1.f); + GUI::InputFloat("Y##Scale", &m_vScale.y, 0.1f, 1.f); + GUI::InputFloat("Z##Scale", &m_vScale.z, 0.1f, 1.f); + + m_vScale.x = max(0.01f, m_vScale.x); + m_vScale.y = max(0.01f, m_vScale.y); + m_vScale.z = max(0.01f, m_vScale.z); + + if (GUI::Button("Delete")) + m_bDead = true; + GUI::End(); + m_bSelected = true; +} diff --git a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp index 9711db808..8925d8561 100644 --- a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp +++ b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp @@ -58,7 +58,7 @@ HRESULT CMapObject_Manager::Initialize(void* pArg) m_iContainerObjectIndex = 99; //m_pContainer = m_pGameInstance->Get_Layer(ENUM_CLASS(LEVEL::MAP), TEXT("Layer_Building"))->Get_Object(); - if (FAILED(Load_MapData("Map1205"))) + /*if (FAILED(Load_MapData("Map1205"))) return E_FAIL; if (FAILED(Load_LightObject("LightElement"))) @@ -73,7 +73,7 @@ HRESULT CMapObject_Manager::Initialize(void* pArg) if (FAILED(Load_InteractObject("E_INTER_TeaShopTable"))) return E_FAIL; if (FAILED(Load_InteractObject("E_INTER_TeaShopChair"))) - return E_FAIL; + return E_FAIL;*/ /*if (FAILED(Load_LightObject("LightElement"))) diff --git a/Jusin154_Team3D/Editor/Private/Monster.cpp b/Jusin154_Team3D/Editor/Private/Monster.cpp index 0c427ed3f..298c7410b 100644 --- a/Jusin154_Team3D/Editor/Private/Monster.cpp +++ b/Jusin154_Team3D/Editor/Private/Monster.cpp @@ -32,16 +32,17 @@ HRESULT CMonster::Initialize(void* pArg) void CMonster::Priority_Update(_float fTimeDelta) { - + __super::Priority_Update(fTimeDelta); } void CMonster::Update(_float fTimeDelta) { - + __super::Update(fTimeDelta); } void CMonster::Late_Update(_float fTimeDelta) { + __super::Late_Update(fTimeDelta); //m_fTargetDistance = m_pTransformCom->TargetDis(m_pPlayerTransform->Get_State(STATE::POSITION)); } diff --git a/Jusin154_Team3D/Editor/Private/NomalJapSide.cpp b/Jusin154_Team3D/Editor/Private/NomalJapSide.cpp index 7d4879264..ec0ebb145 100644 --- a/Jusin154_Team3D/Editor/Private/NomalJapSide.cpp +++ b/Jusin154_Team3D/Editor/Private/NomalJapSide.cpp @@ -41,9 +41,12 @@ HRESULT CNomalJapSide::Initialize(void* pArg) m_pWandParticle = Get_PartObject("WandParticle1"); + m_pWandLight_R = Get_PartObject("Wand_Light_R"); m_pWandLight = Get_PartObject("Wand_Red_Long"); m_pWandTrail = Get_PartObject(); + + SAFE_ADDREF(m_pWandLight_R); SAFE_ADDREF(m_pWandLight); SAFE_ADDREF(m_pWandTrail); SAFE_ADDREF(m_pWandParticle); @@ -64,6 +67,7 @@ HRESULT CNomalJapSide::Initialize(void* pArg) m_isTrailEnd = true; XMStoreFloat4x4(&m_TrailStopMat, pWand->Get_WorldMatrix()); + m_pWandLight_R->Set_Visible(false); }); @@ -94,6 +98,7 @@ void CNomalJapSide::Update(_float fTimeDelta) return; m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); + m_pWandLight_R->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); // 파티클생성이 막히면 실행되지 않음 if (m_isParticleEnd == false) @@ -130,6 +135,7 @@ HRESULT CNomalJapSide::Pre_Setting(CGameObject* pObject, void* pArg) m_isParticleEnd = false; // 파티클이 일정시간이 되면 나오지 않게 하려고 m_pWandLight->Set_Visible(true); + m_pWandLight_R->Set_Visible(true); /*트레일 초기화 */ m_pWandTrail->Set_Visible(true); @@ -139,7 +145,7 @@ HRESULT CNomalJapSide::Pre_Setting(CGameObject* pObject, void* pArg) /*_vector pPos = pPlayer->Get_WandPos().r[3];*/ m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); - + m_pWandLight_R->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion()); return S_OK; } @@ -198,6 +204,7 @@ void CNomalJapSide::Free() Safe_Release(m_pWandLight); Safe_Release(m_pWandTrail); Safe_Release(m_pWandParticle); + Safe_Release(m_pWandLight_R); } #ifdef _DEBUG diff --git a/Jusin154_Team3D/Editor/Private/Player_States.cpp b/Jusin154_Team3D/Editor/Private/Player_States.cpp index 799462395..1552449a9 100644 --- a/Jusin154_Team3D/Editor/Private/Player_States.cpp +++ b/Jusin154_Team3D/Editor/Private/Player_States.cpp @@ -198,9 +198,6 @@ HRESULT CPlayer::Behavior_IdleExitCheck(_float fTimeDelta) else if (m_pGameInstance->Key_Down(DIK_G)) { m_pFSM->Change_State(FSMSTATE::COMBAT); } - else if (m_pGameInstance->Key_Down(DIK_B)) { - m_pFSM->Change_State(FSMSTATE::BROOM_RIDE); - } return E_FAIL; } diff --git a/Jusin154_Team3D/Editor/Private/Terrain.cpp b/Jusin154_Team3D/Editor/Private/Terrain.cpp index 80a160dc5..b7ffb105d 100644 --- a/Jusin154_Team3D/Editor/Private/Terrain.cpp +++ b/Jusin154_Team3D/Editor/Private/Terrain.cpp @@ -26,108 +26,61 @@ HRESULT CTerrain::Initialize(void* pArg) if (FAILED(__super::Initialize(pArg))) return E_FAIL; - if (FAILED(Ready_Components())) + if (FAILED(Ready_Components(pArg))) return E_FAIL; - if (FAILED(Ready_AlphaMap())) - return E_FAIL; m_fUsingSurfaceParams = 15.f / 27.f; m_vRotation = _float3{ 0.f, 0.f, 0.f }; - m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-194, 18.5f, -153.f, 1.f)); + + TERRAIN_DESC* pDesc = static_cast(pArg); + + m_isEdit = pDesc->isEdit; + + m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&pDesc->vPosition), 1.f)); + + if (FAILED(Ready_AlphaMap(pDesc))) + return E_FAIL; //m_pVIBufferCom->Set_CullingRadius(0.04f); - m_pAlphaMap->Load_ToFile("Hogsmeade_AlphaMap.bin"); + if(!m_isEdit) + m_pAlphaMap->Load_ToFile("Hogsmeade_AlphaMap.bin"); // Psx 적용할지 안할지 m_bUsePsx = true; - if(!m_bUsePsx) - { - if (FAILED(m_pVIBufferCom->Load_HeightMap("Hogsmeade_HeightMap.bin"))) - return E_FAIL; - } - else - { - CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc{}; - Desc.pMeshName = TEXT("Hogsmeade_HeightMap"); - Desc.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN); - /* Com_RigidBody */ - if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_RigidBody_Static_Terrain_Hogsmeade"), - reinterpret_cast(&m_pRigidBody), &Desc))) { - return E_FAIL; - } - } + //if(!m_bUsePsx) + //{ + // if (FAILED(m_pVIBufferCom->Load_HeightMap("Hogsmeade_HeightMap.bin"))) + // return E_FAIL; + //} + //else + //{ + // CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc{}; + // Desc.pMeshName = TEXT("Hogsmeade_HeightMap"); + // Desc.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN); + // /* Com_RigidBody */ + // if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_RigidBody_Static_Terrain_Hogsmeade"), + // reinterpret_cast(&m_pRigidBody), &Desc))) { + // return E_FAIL; + // } + //} return S_OK; } void CTerrain::Priority_Update(_float fTimeDelta) { - GUI::Begin("Terrain"); - -#pragma region ALPHA_MAP - //GUI::InputInt("Color", &m_iColorIndex); - //m_iColorIndex = max(0, min(4, m_iColorIndex)); - - //GUI::InputInt("Rnage", (_int*)(&m_iMaskRange)); - //GUI::DragFloat("Value", &m_fMaskValue, 0.01f, -1.0f, 1.f); - //if (GUI::Button("Save", ImVec2(100.f, 30.f))) - //{ - // m_pAlphaMap->Save_ToFile("Hogsmeade_AlphaMap.bin"); - //} - //if (GUI::Button("Load", ImVec2(100.f, 30.f))) - //{ - // m_pAlphaMap->Load_ToFile("Hogsmeade_AlphaMap.bin"); - //} - - - //GUI::DragFloat("Up", &m_fUpValue, 0.01f, -1.0f, 1.f); - if (m_pGameInstance->Mouse_Pressing(DIM_LBUTTON)) - { - if (m_pGameInstance->isPicking(&m_vPickingPosition)) - { - if (m_pGameInstance->Key_Pressing(DIK_PERIOD)) - m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), m_fUpValue); - if (m_pGameInstance->Key_Pressing(DIK_COMMA)) - m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), m_fUpValue * -1.f); - - - //XMStoreFloat3(&m_vPickingPosition, XMVector3TransformCoord(XMLoadFloat3(&m_vPickingPosition), m_pTransformCom->Get_WorldMatrixInv())); - - //m_pAlphaMap->Update(m_vPickingPosition, m_iColorIndex, m_fMaskValue, m_iMaskRange); - - } - } -#pragma endregion - -#pragma region HEIGHT MAP - HRESULT hr = {}; - if(GUI::Button("Save HeightMap")) - hr = m_pVIBufferCom->Save_HeightMap("Hogsmeade_HeightMap2.bin"); - //if(GUI::Button("Load HeightMap")) - // hr = m_pVIBufferCom->Load_HeightMap("Hogsmeade_HeightMap.bin"); -#pragma endregion - - //_float4 vPos = {}; - //_float3 vRotation = {}; - //XMStoreFloat4(&vPos, m_pTransformCom->Get_State(STATE::POSITION)); - //GUI::DragFloat3("Pos", (_float*)(&vPos)); - //GUI::DragFloat3("Rota", (_float*)(&m_vRotation)); - - //m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z)); - //m_pTransformCom->Set_State(STATE::POSITION, XMLoadFloat4(&vPos)); - - //GUI::DragFloat("Culling Radius", &m_fCullingRadius, 0.01f, 0.01f, 2.f); - - GUI::End(); } void CTerrain::Update(_float fTimeDelta) { - //m_pVIBufferCom->Culling(XMMatrixIdentity()); + if (m_isEdit) + Describe_Entity(); + + //m_pVIBufferCom->Culling(m_pTransformCom->Get_XMWorldMatrix()); if(m_pGameInstance->Key_Down(DIK_LSHIFT) && m_pGameInstance->Key_Down(DIK_W)) { @@ -172,12 +125,14 @@ HRESULT CTerrain::Render() return S_OK; } -HRESULT CTerrain::Ready_Components() +HRESULT CTerrain::Ready_Components(void* pArg) { __super::Ready_Components(nullptr); + TERRAIN_DESC* pDesc = static_cast(pArg); + /* Com_VIBuffer */ - if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Terrain"), + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, pDesc->strBufferTag, reinterpret_cast(&m_pVIBufferCom)))) return E_FAIL; @@ -251,9 +206,53 @@ HRESULT CTerrain::Bind_ShaderResources() return S_OK; } -HRESULT CTerrain::Ready_AlphaMap() +HRESULT CTerrain::Bind_ShaderResources_Edit() { - m_pAlphaMap = CAlphaMap::Create(m_pDevice, m_pContext, 2048, 2048); + if (FAILED(m_pShaderCom->Bind_RawValue("g_fDiffuseMultiplier", &m_vDRN.x, sizeof(_float)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fSurfaceMultiplier", &m_vDRN.y, sizeof(_float)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fNormalMultiplier", &m_vDRN.z, sizeof(_float)))) { + return E_FAIL; + } + if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pDiffuseTextureCom->Bind_ShaderResources(m_pShaderCom, "g_DiffuseTextures", 0, m_pDiffuseTextureCom->Get_Size()))) { + return E_FAIL; + } + if (FAILED(m_pNormalTextureCom->Bind_ShaderResources(m_pShaderCom, "g_NormalTextures", 0, m_pNormalTextureCom->Get_Size()))) { + return E_FAIL; + } + if (FAILED(m_pMROTextureCom->Bind_ShaderResources(m_pShaderCom, "g_SurfaceParamsTextures", 0, m_pMROTextureCom->Get_Size()))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_SRV("g_MaskTexture", m_pAlphaMap->Get_SRV()))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fUsingSurfaceParams", &m_fUsingSurfaceParams, sizeof(_float)))) + return E_FAIL; + + return S_OK; +} + +HRESULT CTerrain::Ready_AlphaMap(TERRAIN_DESC* pDesc) +{ + m_pAlphaMap = CAlphaMap::Create(m_pDevice, m_pContext, pDesc->iAlphaSizeX, pDesc->iAlphaSizeY); if(nullptr == m_pAlphaMap) return E_FAIL; @@ -303,5 +302,62 @@ void CTerrain::Free() void CTerrain::Describe_Entity() { + GUI::Begin("Terrain"); +#pragma region ALPHA_MAP + GUI::InputInt("Color", &m_iColorIndex); + m_iColorIndex = max(0, min(4, m_iColorIndex)); + + GUI::InputInt("Rnage", (_int*)(&m_iMaskRange)); + GUI::DragFloat("Value", &m_fMaskValue, 0.01f, -1.0f, 1.f); + if (GUI::Button("Save", ImVec2(100.f, 30.f))) + { + //m_pAlphaMap->Save_ToFile("Hogwart_AlphaMap.bin"); + } + if (GUI::Button("Load", ImVec2(100.f, 30.f))) + { + //m_pAlphaMap->Load_ToFile("Hogwart_AlphaMap.bin"); + } + + + //GUI::DragFloat("Up", &m_fUpValue, 0.01f, -1.0f, 1.f); + + if (m_pGameInstance->Mouse_Pressing(DIM_LBUTTON)) + { + if (m_pGameInstance->isPicking(&m_vPickingPosition)) + { + if (m_pGameInstance->Key_Pressing(DIK_PERIOD)) + m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), m_fUpValue); + if (m_pGameInstance->Key_Pressing(DIK_COMMA)) + m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), m_fUpValue * -1.f); + + + XMStoreFloat3(&m_vPickingPosition, XMVector3TransformCoord(XMLoadFloat3(&m_vPickingPosition), m_pTransformCom->Get_WorldMatrixInv())); + + m_pAlphaMap->Update(m_vPickingPosition, m_iColorIndex, m_fMaskValue, m_iMaskRange); + + } + } +#pragma endregion + +#pragma region HEIGHT MAP + HRESULT hr = {}; + if(GUI::Button("Save HeightMap")) + hr = m_pVIBufferCom->Save_HeightMap("Hogwart.bin"); + if(GUI::Button("Load HeightMap")) + hr = m_pVIBufferCom->Load_HeightMap("Hogwart.bin"); +#pragma endregion + + _float4 vPos = {}; + _float3 vRotation = {}; + XMStoreFloat4(&vPos, m_pTransformCom->Get_State(STATE::POSITION)); + GUI::DragFloat3("Pos", (_float*)(&vPos)); + GUI::DragFloat3("Rota", (_float*)(&m_vRotation)); + + m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z)); + m_pTransformCom->Set_State(STATE::POSITION, XMLoadFloat4(&vPos)); + + //GUI::DragFloat("Culling Radius", &m_fCullingRadius, 0.01f, 0.01f, 2.f); + + GUI::End(); } diff --git a/Jusin154_Team3D/Editor/Private/Troll_Attack.cpp b/Jusin154_Team3D/Editor/Private/Troll_Attack.cpp new file mode 100644 index 000000000..fba00cdae --- /dev/null +++ b/Jusin154_Team3D/Editor/Private/Troll_Attack.cpp @@ -0,0 +1,168 @@ +#include "pch.h" +#include "Troll_Attack.h" + +#include "GameInstance.h" +#include "EditEffect.h" +#include "Wand.h" +#include "Player.h" + +CTroll_Attack::CTroll_Attack(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CEffect_Container{ pDevice, pContext } +{ +} + +CTroll_Attack::CTroll_Attack(const CTroll_Attack& rhs) + : CEffect_Container(rhs) +{ +} + +HRESULT CTroll_Attack::Initialize_Prototype() +{ + + return S_OK; + +} + +HRESULT CTroll_Attack::Initialize(void* pArg) +{ + if (FAILED(__super::Initialize(pArg))) + return E_FAIL; + + if (FAILED(Ready_Components(pArg))) + return E_FAIL; + + + if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/Troll_Attack"))) + return E_FAIL; + + + m_wstrEffectName = L"Troll_Attack"; + + + m_fDuration = 1.5f; + + return S_OK; +} + +void CTroll_Attack::Priority_Update(_float fTimeDelta) +{ + __super::Priority_Update(fTimeDelta); + +} + +void CTroll_Attack::Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Update(fTimeDelta); + + Update_Event(fTimeDelta); + + + +} + +void CTroll_Attack::Late_Update(_float fTimeDelta) +{ + if (m_bVisible == false) + return; + + __super::Late_Update(fTimeDelta); + + +} + +HRESULT CTroll_Attack::Pre_Setting(CGameObject* pObject, void* pArg) +{ + if (FAILED(__super::Pre_Setting(pObject, nullptr))) + return E_FAIL; + + + + return S_OK; +} + +HRESULT CTroll_Attack::Ready_Components(void* pArg) +{ + if (FAILED(__super::Ready_Components(pArg))) { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CTroll_Attack::Ready_Child() +{ + return S_OK; +} + +CTroll_Attack* CTroll_Attack::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CTroll_Attack* pInstance = new CTroll_Attack(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CTroll_Attack"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + + +CGameObject* CTroll_Attack::Clone(void* pArg, CGameObject* pOwner) +{ + CTroll_Attack* pInstance = new CTroll_Attack(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CTroll_Attack"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CTroll_Attack::OnCollision(CGameObject* pOther, void* pDesc) +{ + _int iIndex = CollisionCheck(); + + if (iIndex < 0) + return; + + if (m_isCollisionEnter == true) + return; + + m_isCollisionEnter = true; + + _vector vPos = XMVectorSet(m_Hitbuffer.touches[iIndex].position.x, m_Hitbuffer.touches[iIndex].position.y, m_Hitbuffer.touches[iIndex].position.z, 1.f); + + + for (auto& pPair : m_PartObjects) + { + pPair.second->Set_Visible(true); + pPair.second->Get_Component()->Set_State(STATE::POSITION, vPos); + } + + +} + +void CTroll_Attack::Free() +{ + __super::Free(); + +} +#ifdef _DEBUG +void CTroll_Attack::Describe_Entity() +{ + +} +#endif + +HRESULT CTroll_Attack::Bind_ShaderResources() +{ + return S_OK; +} + + diff --git a/Jusin154_Team3D/Editor/Private/Unified.cpp b/Jusin154_Team3D/Editor/Private/Unified.cpp new file mode 100644 index 000000000..3594e34ef --- /dev/null +++ b/Jusin154_Team3D/Editor/Private/Unified.cpp @@ -0,0 +1,159 @@ +#include "pch.h" +#include "Unified.h" + +#include "GameInstance.h" + +CUnified::CUnified(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + : CGameObject{ pDevice, pContext } +{ +} + +CUnified::CUnified(const CUnified& rhs) + : CGameObject(rhs) +{ +} + +void CUnified::Priority_Update(_float fTimeDelta) +{ +} + +void CUnified::Update(_float fTimeDelta) +{ + Describe_Entity(); +} + +void CUnified::Late_Update(_float fTimeDelta) +{ + if(m_isVisible) + m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this); +} + +HRESULT CUnified::Render() +{ + if (FAILED(Bind_ShaderResources())) { + return E_FAIL; + } + + _uint iNumMeshes = m_pModelCom->Get_NumMeshes(); + + for (_uint i = 0; i < iNumMeshes; i++) + { + if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::DEFAULT)))) { + return E_FAIL; + } + + if (FAILED(m_pModelCom->Render(i))) { + return E_FAIL; + } + } + + return S_OK; +} + +HRESULT CUnified::Initialize_Prototype() +{ + return S_OK; +} + +HRESULT CUnified::Initialize(void* pArg) +{ + if (FAILED(__super::Initialize(pArg))) + return E_FAIL; + + if (FAILED(Ready_Components(pArg))) + return E_FAIL; + + + m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-291.2f,17.2f, -474.7f, 1.f)); + m_fUsingSurfaceParams = 0.f; + + return S_OK; +} + +HRESULT CUnified::Ready_Components(void* pArg) +{ + if (FAILED(__super::Ready_Components(pArg))) { + return E_FAIL; + } + + /* Com_Model */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_GameObject_SM_HW_HogwartsShell_B"), + reinterpret_cast(&m_pModelCom)))) + return E_FAIL; + + /* Com_Shader */ + if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_MESH, + reinterpret_cast(&m_pShaderCom)))) + return E_FAIL; + + return S_OK; +} + +HRESULT CUnified::Bind_ShaderResources() +{ + if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fUsingSurfaceParams", &m_fUsingSurfaceParams, sizeof(_float)))) { + return E_FAIL; + } + + return S_OK; +} + +CUnified* CUnified::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CUnified* pInstance = new CUnified(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CUnified"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +CGameObject* CUnified::Clone(void* pArg, CGameObject* pOwner) +{ + CUnified* pInstance = new CUnified(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CUnified"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} +void CUnified::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pShaderCom); + SAFE_RELEASE(m_pModelCom); +} + +void CUnified::Describe_Entity() +{ + GUI::Begin("Unified"); + GUI::Checkbox("Visible ON / OFF", &m_isVisible); + + GUI::End(); +} diff --git a/Jusin154_Team3D/Editor/Public/EditEffect.h b/Jusin154_Team3D/Editor/Public/EditEffect.h index 80f3c608d..bfe1a3dc6 100644 --- a/Jusin154_Team3D/Editor/Public/EditEffect.h +++ b/Jusin154_Team3D/Editor/Public/EditEffect.h @@ -34,6 +34,8 @@ class CEditEffect final : public CEffectObject virtual HRESULT Ready_Components(void* pArg) override; private: + _char m_szBuffer[MAX_PATH] = {}; + _string m_strBoneName = {}; _int m_iSelectTextureNum = {}; vector<_float> m_ValueVector = {}; _float m_fInputValue = {}; diff --git a/Jusin154_Team3D/Editor/Public/Editor_Define.h b/Jusin154_Team3D/Editor/Public/Editor_Define.h index 31567545a..2c4d01e35 100644 --- a/Jusin154_Team3D/Editor/Public/Editor_Define.h +++ b/Jusin154_Team3D/Editor/Public/Editor_Define.h @@ -19,13 +19,13 @@ namespace Editor enum class MAPOBJECT_RENDER_TYPE { NORMAL, DECAL, GLASS }; enum class SHADER_PASS_ANIM { DEFAULT, SHADOW, CAPTURE, BLUR, HAIR, EYELASH, OUTLINE_WRITE, OUTLINE_READ, END }; - enum class SHADER_PASS_MESH { DEFAULT, SHADOW, SKYBOX, ALPHABLEND, EFFECT_ALPHABLEND, EFFECT_BLEND, EFFECT_ALPHABLEND_CULL, EFFECT_BLEND_CULL, CAPTURE, BLUR, EFFECT_ALPHABLEND_UVMOVE, MAPTOOL, GLASS, OUTLINE_WRITE, OUTLINE_READ, BLOOM, END }; + enum class SHADER_PASS_MESH { DEFAULT, SHADOW, SKYBOX, ALPHABLEND, EFFECT_ALPHABLEND, EFFECT_BLEND, EFFECT_ALPHABLEND_CULL, EFFECT_BLEND_CULL, CAPTURE, BLUR, EFFECT_ALPHABLEND_UVMOVE, MAPTOOL, GLASS, OUTLINE_WRITE, OUTLINE_READ, BLOOM, LAKE, END }; enum class SHADER_PASS_NORTEX { DEFAULT, TERRAIN, ENV_TERRAIN_ANISO, SHADOW, END }; enum class SHADER_PASS_PARTICLE { EXPLOSION, END }; enum class SHADER_PASS_POSTEX { DEFAULT, SCISSOR, UI, UVMOVE, TRAIL, TRAIL_BLEND, TRAILWB_FOR_BLEND, TRAIL_BLUR, TRAIL_BLOOM, END }; - enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, BLEND, BLEND_NOWORLD, BLOOM, BLOOM_NOWORLD, BLUR_NO_EMMISVE, BLUR_NO_WORLD_NO_EMISSIVE, WEIGHTBLEND_FOR_BLEND, END }; + enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, BLEND, BLEND_NOWORLD, BLOOM, BLOOM_NOWORLD, BLUR_NO_EMMISVE, BLUR_NO_WORLD_NO_EMISSIVE, WEIGHTBLEND_FOR_BLEND, DEPTH_STOP, END }; enum class SHADER_PASS_UIEDITOR { DEFAULT, LOGO, LOGO_TEXT, LOGO_GLOW,ALPHABLEND, CLAMP, CURSOR, LODING, HOLD_ROTATION, MISSION, QUESTYPE, UVMULT, NINECLICE, ROTATION, SLOT, TYPE, HPBAR, MAGIC_METER, MAGIC_ICON, REMOVEUV, REVELIO, POTION, MAGIC_ITEM, SPELL_PREVIEW, SPELL_HEADER, SPELL_HEADER_LINE, SPELL_DRAG, CAMERA_LOCKON, LODING_SCREEN, END }; enum class SHADER_PASS_UIINTANCE { DEFAULT, ALPHABLEND, UVALPHABLEND, MAGIC_METER, SPELL_LIST, EESSENTIAL_SPELL_SOLT, EESSENTIAL_SPELL, COLOR, SPELL_HOVER, SPELL_SLOT_EFFECT, SPELL_SLOT, END }; @@ -41,7 +41,10 @@ namespace Editor BEAST_PETTING_BRUSH, BEAST_FEED, NAB_SACK, // 하늘색 JAP, REVELIO, PROTEGO, STUPEFY, // 검은색 ANCIENT_MAGIC_THROW, ANCIENT_MAGIC, ALOHOMORA, PETRIFICUS_TOTALUS, - JAP_SIDE, BOMBARDA_SIDE, DESCENDO_SIDE, LEVIOSO_SIDE, END + JAP_SIDE, BOMBARDA_SIDE, DESCENDO_SIDE, LEVIOSO_SIDE, + + TROLL_ATTACK , TROLL_SIDE , + END }; enum class BLOOM_TYPE { NONE, BASIC, MULTIPLY, END }; diff --git a/Jusin154_Team3D/Editor/Public/EffectObject.h b/Jusin154_Team3D/Editor/Public/EffectObject.h index 3f76364b2..95212d7bc 100644 --- a/Jusin154_Team3D/Editor/Public/EffectObject.h +++ b/Jusin154_Team3D/Editor/Public/EffectObject.h @@ -104,19 +104,31 @@ class CEffectObject abstract : public CPartObject _float2 vDissolveUVGainAmount = {}; _bool isDissolveMove = {}; - - _float3 vDissolveValue = {}; - _float3 vPadding1 = {}; - - _float fPadding0 = {}; + _float2 vPadding0 = {}; + _float fLightDeley = {}; + _float fLightIntensity = {}; _float isLightTime = { 0.f }; _bool isLightDissolve = {}; + _bool isPadding0 = {}; + + _float4 vDissolveColor = {}; + _float2 vDissolveColorCut = {}; + + _float3 vPadding1 = {}; + _float4 vPadding2 = {}; + _float4 vPadding3 = {}; + _float4 vPadding4 = {}; + _float4 vPadding5 = {}; + _bool isPadding1 = {}; + _bool isPadding2 = {}; + _bool isPadding3 = {}; + _bool isPadding4 = {}; }EFFECT_INFO; @@ -211,13 +223,15 @@ class CEffectObject abstract : public CPartObject _float3 vDissolveValue = {}; - _float3 vPadding1 = {}; - - _float fPadding0 = {}; - _float fPadding1 = {}; + _float2 vPadding1 = {}; + _float fLightDeley = {}; + _float fLightIntensity = {}; + _float isLightTime = { 0.f }; _bool isLightDissolve = {}; + _bool isPadding1 = {}; + }PRE_EFFECT_INFO; protected: @@ -235,6 +249,7 @@ class CEffectObject abstract : public CPartObject public: HRESULT Load(const _char* pFilePath, LEVEL eLevel); HRESULT Load(); + void FollowParants(const _float4x4* pParantsMat); public: #ifdef _DEBUG HRESULT LoadPre(const _char* pFilePath, LEVEL eLevel); @@ -260,7 +275,7 @@ class CEffectObject abstract : public CPartObject CInstance_Model* m_pInstance_ModelCom = { nullptr }; - + const _float4x4* m_pPerentMatrix = { nullptr }; protected: EFFECT_INFO m_EffectInfo = {}; _string m_strDiffuseName = {}; diff --git a/Jusin154_Team3D/Editor/Public/Goblin.h b/Jusin154_Team3D/Editor/Public/Goblin.h index db5bf848d..82b101400 100644 --- a/Jusin154_Team3D/Editor/Public/Goblin.h +++ b/Jusin154_Team3D/Editor/Public/Goblin.h @@ -29,10 +29,15 @@ class CGoblin final : public CMonster CCharacter_Controller* m_pCharacter_Controller = { nullptr }; CRigidBody_Dynamic* m_pRigidBody = { nullptr }; + class CEditEffect* m_pRight_Smoke = { nullptr }; + class CEditEffect* m_pLeft_Smoke = { nullptr }; + class CEditEffect* m_pTroll_Particle = { nullptr }; + class CEditEffect* m_pTroll_Particle2 = { nullptr }; + private: HRESULT Ready_Components(); HRESULT Bind_ShaderResources(); - + HRESULT Ready_Parts(); public: static CGoblin* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual CGameObject* Clone(void* pArg, CGameObject* pOwner = nullptr) override; diff --git a/Jusin154_Team3D/Editor/Public/Level_MapViewer.h b/Jusin154_Team3D/Editor/Public/Level_MapViewer.h index 941fca2e3..824e00a32 100644 --- a/Jusin154_Team3D/Editor/Public/Level_MapViewer.h +++ b/Jusin154_Team3D/Editor/Public/Level_MapViewer.h @@ -23,6 +23,7 @@ class CLevel_MapViewer final : public CLevel HRESULT Ready_Layer_Terrain(const _wstring& strLayerTag); HRESULT Ready_Layer_InstanceProp(const _wstring& strLayerTag); HRESULT Ready_Layer_BuildingContainer(const _wstring& strLayerTag); + HRESULT Ready_Layer_Unified(const _wstring& strLayerTag); HRESULT Ready_Layer_MapObjectManager(const _wstring& strLayerTag); diff --git a/Jusin154_Team3D/Editor/Public/MapElement.h b/Jusin154_Team3D/Editor/Public/MapElement.h index 9ffdd20d3..cf690b17b 100644 --- a/Jusin154_Team3D/Editor/Public/MapElement.h +++ b/Jusin154_Team3D/Editor/Public/MapElement.h @@ -27,9 +27,6 @@ class CMapElement abstract : public CGameObject virtual void Late_Update(_float fTimeDelta) override; virtual HRESULT Render() override; - - - protected: _bool m_bSelected = { false }; _uint m_iMaxLodLevel = {}; diff --git a/Jusin154_Team3D/Editor/Public/MapElement_Lake.h b/Jusin154_Team3D/Editor/Public/MapElement_Lake.h new file mode 100644 index 000000000..b876abd17 --- /dev/null +++ b/Jusin154_Team3D/Editor/Public/MapElement_Lake.h @@ -0,0 +1,67 @@ +#pragma once + +#include "Editor_Define.h" +#include "MapElement.h" + +NS_BEGIN(Engine) +class CTexture; +NS_END + +NS_BEGIN(Editor) + +class CMapElement_Lake final : public CMapElement +{ +public: + typedef struct tagMapObejct_Lake_Desc : public MAPOBJECT_LOD_DESC + { + vector<_wstring> SurfaceModelPrototypeTags; + }MAPOBJECT_LAKE_DESC; + +private: + CMapElement_Lake(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CMapElement_Lake(const CMapElement_Lake& rhs); + virtual ~CMapElement_Lake() = default; + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + virtual HRESULT Render() override; + +private: + CTexture* m_pNormalTextureCom = { nullptr }; + CTexture* m_pNormalLargeTextureCom = { nullptr }; + CTexture* m_pNormalSubTextureCom = { nullptr }; + CTexture* m_pCausticsTextureCom = { nullptr }; + CTexture* m_pNoiseTextureCom = { nullptr }; + CTexture* m_pCubeMapTextureCom = { nullptr }; + + _float m_fRefractionStrength = {0.1f}; + _float m_fRefractionPow = {5.f}; + _float m_fTimeAcc = {}; + _float m_fUVValue = {0.05f}; + _float m_fUVValue1 = {10.f}; + _float m_fUVValue2 = {20.f}; + _float m_fUVValue3 = {10.f}; + + _float m_fUVSpeed1 = { 0.01f }; + _float m_fUVSpeed2 = { 0.001f }; + _float m_fUVSpeed3 = { 0.01f }; + + _float4 m_vRefractionColor = {}; + _float4 m_vSurfaceColor = {}; + +private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + virtual HRESULT Ready_Components(void* pArg) override; + virtual HRESULT Bind_ShaderResources() override; + +public: + static CMapElement_Lake* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; + virtual void Free() override; + void Describe_Entity() override; +}; + +NS_END diff --git a/Jusin154_Team3D/Editor/Public/NomalJapSide.h b/Jusin154_Team3D/Editor/Public/NomalJapSide.h index 1185a2ba5..c477d7263 100644 --- a/Jusin154_Team3D/Editor/Public/NomalJapSide.h +++ b/Jusin154_Team3D/Editor/Public/NomalJapSide.h @@ -36,7 +36,7 @@ class CNomalJapSide final : public CEffect_Container _bool m_isTrailEnd = {}; _float4x4 m_TrailStopMat = {}; - + class CEditEffect* m_pWandLight_R = { nullptr }; class CEditEffect* m_pWandLight = { nullptr }; class CTrailObject* m_pWandTrail = { nullptr }; class CEditEffect* m_pWandParticle = { nullptr }; diff --git a/Jusin154_Team3D/Editor/Public/Terrain.h b/Jusin154_Team3D/Editor/Public/Terrain.h index bb316dae2..f3a2fc158 100644 --- a/Jusin154_Team3D/Editor/Public/Terrain.h +++ b/Jusin154_Team3D/Editor/Public/Terrain.h @@ -14,6 +14,16 @@ NS_BEGIN(Editor) class CTerrain final : public CGameObject { +public: + typedef struct tagTerrainDesc + { + _bool isEdit; + _uint iAlphaSizeX; + _uint iAlphaSizeY; + _float3 vPosition; + _wstring strBufferTag; + }TERRAIN_DESC; + private: CTerrain(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); CTerrain(const CTerrain& Prototype); @@ -38,6 +48,7 @@ class CTerrain final : public CGameObject CRigidBody_Static* m_pRigidBody = { nullptr }; _bool m_bUsePsx = { false }; + _bool m_isEdit = {}; _float m_fUsingSurfaceParams = {}; _float m_fHeightRatio = {1.f}; @@ -60,9 +71,10 @@ class CTerrain final : public CGameObject _bool m_bWasWireFrame = { false }; private: - HRESULT Ready_Components(); + HRESULT Ready_Components(void* pArg); HRESULT Bind_ShaderResources(); - HRESULT Ready_AlphaMap(); + HRESULT Bind_ShaderResources_Edit(); + HRESULT Ready_AlphaMap(TERRAIN_DESC* pDesc); public: static CTerrain* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Editor/Public/Troll_Attack.h b/Jusin154_Team3D/Editor/Public/Troll_Attack.h new file mode 100644 index 000000000..28a6dd8a2 --- /dev/null +++ b/Jusin154_Team3D/Editor/Public/Troll_Attack.h @@ -0,0 +1,43 @@ +#pragma once + +#include "Editor_Define.h" +#include "Effect_Container.h" + +NS_BEGIN(Engine) +NS_END + +NS_BEGIN(Editor) + +class CTroll_Attack final : public CEffect_Container +{ +private: + CTroll_Attack(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CTroll_Attack(const CTroll_Attack& rhs); + virtual ~CTroll_Attack() = default; + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + +public: + virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override; + +private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + virtual HRESULT Ready_Components(void* pArg) override; + HRESULT Ready_Child(); + HRESULT Bind_ShaderResources() override; + virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override; +private: + _wstring m_wstrEffectName = {}; + +public: + static CTroll_Attack* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual void Free() override; + CGameObject* Clone(void* pArg, CGameObject* pOwner) override; + void Describe_Entity() override; +}; + +NS_END diff --git a/Jusin154_Team3D/Editor/Public/Unified.h b/Jusin154_Team3D/Editor/Public/Unified.h new file mode 100644 index 000000000..9c8cd49a7 --- /dev/null +++ b/Jusin154_Team3D/Editor/Public/Unified.h @@ -0,0 +1,56 @@ +#pragma once + +#include "Editor_Define.h" +#include "GameObject.h" + +NS_BEGIN(Engine) +class CModel; +class CShader; +NS_END + +NS_BEGIN(Editor) + +class CUnified final : public CGameObject +{ +private: + CUnified(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CUnified(const CUnified& rhs); + virtual ~CUnified() = default; + +public: + _uint Get_LodLevel() const { return m_iMaxLodLevel; } + +public: + virtual void Priority_Update(_float fTimeDelta) override; + virtual void Update(_float fTimeDelta) override; + virtual void Late_Update(_float fTimeDelta) override; + virtual HRESULT Render() override; + +private: + _bool m_bSelected = { false }; + _bool m_isVisible = { true }; + + _uint m_iMaxLodLevel = {}; + _uint m_iLodIndex = {}; + _float m_fUsingSurfaceParams = {}; + + CShader* m_pShaderCom = { nullptr }; + CModel* m_pModelCom = { nullptr }; + _float4 m_vPosition = {}; + + _float4x4 m_ProjMatrix = {}; + _float4x4 m_ViewMatrix = {}; +private: + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + virtual HRESULT Ready_Components(void* pArg) override; + virtual HRESULT Bind_ShaderResources() override; + +public: + static CUnified* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; + virtual void Free() override; + void Describe_Entity() override; +}; + +NS_END diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl index be4a346f6..c0ce8251b 100644 --- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl +++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl @@ -1,4 +1,5 @@ #include "Engine_Shader_Functions.hlsli" +#include "Engine_Shader_Defines.hlsli" struct Particle { @@ -41,13 +42,18 @@ struct ParticleValue float fSizeDrag; float3 vDeltaSize; float2 vDelay; - + + bool isCompareStop; + float fCollisionTime; + float fDropAttenuation; }; StructuredBuffer g_ParticleBufferInput : register(t0); StructuredBuffer g_ParticleValueBufferInput : register(t1); +Texture2D g_DepthTexture : register(t2); + RWStructuredBuffer g_VBInstanceOutput : register(u0); RWStructuredBuffer g_ParticleValueOutput : register(u1); @@ -66,14 +72,23 @@ cbuffer g_ConstantBuffer : register(b0) // b0 << 이 숫자와 컨스턴트 쉐 bool isSizeMove; bool isNoWorld; - bool isPadding0; + bool isDetphCompareStop; bool isPadding1; bool isPadding2; float fTimeDelta; float fSizeLerpOption; // 반드시 상수버퍼는 16바이트 배수로 만들어져야 한다. float fMoveLerpOption; - float fPadding3; + float fFar; + + row_major matrix ViewMatrix; + row_major matrix ProjMatrix; + + float2 vScreenSize; + float fPadding0; + float fPadding1; + + } //내가 몇개의 스레드를 사용할 것인지 지정하는데 @@ -84,16 +99,20 @@ void CS_MAIN( { int iIndex = DispatchThreadID.x; // 배열 인덱스 + + Particle particle = g_ParticleBufferInput[iIndex]; ParticleValue particleValue = g_ParticleValueBufferInput[iIndex]; + + float fGravity = particleValue.fGravity; + float fOnlyDropY = 0.f; particleValue.vDelay.x += fTimeDelta; if (particleValue.vDelay.x < particleValue.vDelay.y) { - - + g_VBInstanceOutput[iIndex] = particle; g_ParticleValueOutput[iIndex] = particleValue; @@ -119,6 +138,10 @@ void CS_MAIN( // 라이프타임 움직임 particle.vLifeTime.x += fTimeDelta; + + /* 내 z가 가려지는 상황이었다면 연산하지않음*/ + + if (particle.vLifeTime.x >= particle.vLifeTime.y) { if (isLoop == false) @@ -134,15 +157,37 @@ void CS_MAIN( particle.vLifeTime.x = 0.f; particleValue.vAniIndex.x = 0.f; particleValue.vDelay.x = 0.f; - - + particleValue.isCompareStop = false; + particleValue.fCollisionTime = 0.f; g_VBInstanceOutput[iIndex] = particle; g_ParticleValueOutput[iIndex] = particleValue; return ; } - + + + if (isDrop == true) + { + if (particleValue.isCompareStop == true) // 지면에 부딪혔을 때 + { + // 내 현재 시간의 비례 + // 0.0 ~ 3 + + // 2초에 부딧혓으면 + // 2 - 2 / 3 - 2 + // 0 ~ 1 cos(0) * - 1 + + float fRatio = saturate((particle.vLifeTime.x - particleValue.fCollisionTime) / (particle.vLifeTime.y - particleValue.fCollisionTime)); + + fGravity *= (2.f * fRatio - 1.f) / particleValue.fDropAttenuation; + } + + particle.vTranslation.y -= 0.5f * particle.vLifeTime.x * fGravity; + fOnlyDropY = particle.vTranslation.y; + } + + if (isMoveForward) { @@ -179,12 +224,7 @@ void CS_MAIN( particle.vTranslation += vVelocity * fTimeDelta * fDrag; } - - if (isDrop == true) - { - particle.vTranslation.y -= 0.5f * particle.vLifeTime.x * particleValue.fGravity; - } - + /* 사인 웨이브 */ if(isSinWave == true) { @@ -232,6 +272,51 @@ void CS_MAIN( particle.vLook = CurRotatemat[2].xyzw; + } + + if (isDetphCompareStop) + { + float2 vTexcoord; + + float4x4 matW, matWV, matWVP; + + row_major float4x4 TransformMatrix = float4x4(particle.vRight, particle.vUp, particle.vLook, particle.vTranslation); + + matW = mul(TransformMatrix, WorldMatrix); + matWV = mul(matW, ViewMatrix); + matWVP = mul(matWV, ProjMatrix); + + float4 vProjPos = mul(WorldMatrix[3], matWVP); + + vTexcoord.x = vProjPos.x / vProjPos.w * 0.5f + 0.5f; + vTexcoord.y = vProjPos.y / vProjPos.w * -0.5f + 0.5f; + + uint2 vPixelUV; + + /* 스크린 좌표로 변환 */ + vPixelUV.x = vTexcoord.x * vScreenSize.x; + vPixelUV.y = vTexcoord.y * vScreenSize.y; + + float4 vDepthDesc = g_DepthTexture.Load(int3(vPixelUV, 0)); + + float fOldViewZ = vDepthDesc.y * fFar; + + if (vProjPos.w >= fOldViewZ) + { + if (particleValue.isCompareStop == false) + { + particleValue.isCompareStop = true; // 내가 지면에 사라지는 순간 + particleValue.fCollisionTime = particle.vLifeTime.x; + + } + } + + if (particleValue.isCompareStop == true) // 지면에 부딪혔을 때 + { + particle.vTranslation.y = fOnlyDropY; // 지면에 부딪혓을때 이제 y연산은 오직 drop으로만 수행함 + } + + } if (isSizeMove == true) diff --git a/Jusin154_Team3D/Engine/Private/ComputeShader.cpp b/Jusin154_Team3D/Engine/Private/ComputeShader.cpp index d4e668c26..c30a60077 100644 --- a/Jusin154_Team3D/Engine/Private/ComputeShader.cpp +++ b/Jusin154_Team3D/Engine/Private/ComputeShader.cpp @@ -116,6 +116,13 @@ void CComputeShader::Bind_OutPut_SRV(_uint iIndex, _uint iBufferIndex) } +void CComputeShader::Bind_OutPut_SRV_VS(_uint iIndex, _uint iBufferIndex) +{ + m_pContext->VSSetShaderResources(iIndex, // 시작슬롯 번호 + 1, // 버퍼 개수 + &m_pOutputSRV[iBufferIndex]); // 버퍼 시작 주 +} + ID3D11UnorderedAccessView* CComputeShader::GetOutputUAV(_uint iIndex) const { return m_pOutputUAV[iIndex]; @@ -147,6 +154,8 @@ vector CComputeShader::ReadBackOutputs() } + + void CComputeShader::Reset() { //다음 랜더링 패스에 연관되지 않도록 초기화 diff --git a/Jusin154_Team3D/Engine/Private/GameInstance.cpp b/Jusin154_Team3D/Engine/Private/GameInstance.cpp index 7be6cc17a..7814302da 100644 --- a/Jusin154_Team3D/Engine/Private/GameInstance.cpp +++ b/Jusin154_Team3D/Engine/Private/GameInstance.cpp @@ -119,6 +119,9 @@ HRESULT CGameInstance::Initialize_Engine(const ENGINE_DESC& EngineDesc, ID3D11De return E_FAIL; } + + m_vViewPortSize = _float2((_float)EngineDesc.iWinSizeX, (_float)EngineDesc.iWinSizeY); + return S_OK; } @@ -198,6 +201,11 @@ _float CGameInstance::Real_Random_Float (_float iMin, _float iMax) return rand(m_Rng); } +_float2 CGameInstance::Get_ViewPortSize() +{ + return m_vViewPortSize; +} + void CGameInstance::BillBoard(CTransform* pTransform) { _matrix ScaleMatrix = {}; @@ -606,6 +614,10 @@ HRESULT CGameInstance::Finish_RenderTarget(CVIBuffer_Rect* pVIBuffer, CShader* p { return m_pRenderTarget_Manager->Finish_RenderTarget(pVIBuffer, pShader, wstrRenderTargetOriginal, wstrRenderTargetBloomed, ePass); } +HRESULT CGameInstance::Bind_CS_RenderTarget(_uint iIndex, const _wstring& strTargetTag) +{ + return m_pRenderTarget_Manager->Bind_CS_RenderTarget(iIndex, strTargetTag); +} #ifdef _DEBUG void CGameInstance::RenderTarget_Debuger() { @@ -855,9 +867,9 @@ _bool CGameInstance::Mouse_Up(int _iKey) } _bool CGameInstance::Mouse_Down(int _iKey) { - if (false == (GUI::IsWindowFocused(ImGuiFocusedFlags_AnyWindow))) { + //if (false == (GUI::IsWindowFocused(ImGuiFocusedFlags_AnyWindow))) { return m_pKey_Manager->Mouse_Down(_iKey); - } + //} return false; } _bool CGameInstance::Mouse_StartMove() diff --git a/Jusin154_Team3D/Engine/Private/Instance_Model.cpp b/Jusin154_Team3D/Engine/Private/Instance_Model.cpp index bfd7916d1..593d19408 100644 --- a/Jusin154_Team3D/Engine/Private/Instance_Model.cpp +++ b/Jusin154_Team3D/Engine/Private/Instance_Model.cpp @@ -411,11 +411,6 @@ HRESULT CInstance_Model::Change_NumInstance() return E_FAIL; - - - - - return S_OK; } @@ -546,10 +541,19 @@ void CInstance_Model::Drop(_float fTimeDelta) pDesc->isPivotMove = m_InstanceDesc.isPivotMove; pDesc->isSizeLerp = m_InstanceDesc.isSizeLerp; pDesc->isNoWorld = m_InstanceDesc.isNoWorld; + pDesc->isDetphCompareStop = m_InstanceDesc.isDetphCompareStop; + pDesc->WorldMatrix = *m_pOwner->Get_Component()->Get_WorldMatrixPtr(); pDesc->fSizeLerpOption = m_InstanceDesc.fSizeLerpOption; pDesc->fMoveLerpOption = m_InstanceDesc.fMoveLerpOption; + pDesc->ViewMatrix = *m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW); + pDesc->ProjMatrix = *m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ); + pDesc->fFar = *m_pGameInstance->Get_CurrentCameraFar(); + pDesc->vScreenSize = m_pGameInstance->Get_ViewPortSize(); + + + m_pContext->Unmap(m_pConstantBuffer, 0); } @@ -567,6 +571,8 @@ void CInstance_Model::Drop(_float fTimeDelta) vector OutSubResources = {}; D3D11_MAPPED_SUBRESOURCE VBInstanceResource = {}; + m_pGameInstance->Bind_CS_RenderTarget(2, L"Target_Depth"); + OutSubResources = m_pComputeShader->Dispatch(0, 0, _float3((_float)iGroupCountX, 1.f, 1.f), CSBuffers, m_pConstantBuffer); if (SUCCEEDED(m_pContext->Map(m_pVBInstance, 0, D3D11_MAP_WRITE_DISCARD, 0, &VBInstanceResource))) @@ -719,6 +725,8 @@ void CInstance_Model::Instane_Buffer_ReStruct() pParticleValues[i].fDrag = m_pGameInstance->Random_Float(m_InstanceDesc.vDrag.x, m_InstanceDesc.vDrag.y); pParticleValues[i].fSizeDrag = m_pGameInstance->Random_Float(m_InstanceDesc.vSizeDrag.x, m_InstanceDesc.vSizeDrag.y); pParticleValues[i].vDelay = _float2(0.0f, m_pGameInstance->Random_Float(m_InstanceDesc.vDelay.x, m_InstanceDesc.vDelay.y)); + pParticleValues[i].isCompareStop = false; + pParticleValues[i].fDropAttenuation = m_pGameInstance->Random_Float(m_InstanceDesc.vDropAttenuation.x, m_InstanceDesc.vDropAttenuation.y); memcpy(&pParticleValues[i].vOriginRight, SRMatrix.m[0], sizeof(_float4)); memcpy(&pParticleValues[i].vOriginUp, SRMatrix.m[1], sizeof(_float4)); @@ -745,7 +753,17 @@ HRESULT CInstance_Model::Bind_CS_Output(_uint Index, _uint iBufferIndex) return S_OK; } - +HRESULT CInstance_Model::Bind_OutPut_SRV_VS(_uint Index, _uint iBufferIndex) +{ + if (m_pComputeShader == nullptr) + return E_FAIL; + + m_pComputeShader->Bind_OutPut_SRV_VS(Index, iBufferIndex); + + return S_OK; + +} + CInstance_Model* CInstance_Model::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, const _char* pModelFilePath, MODEL eType, _fmatrix& PreTransformMatrix, _uint iRootBoneIndex) { CInstance_Model* pInstance = new CInstance_Model(pDevice, pContext); @@ -849,6 +867,10 @@ void CInstance_Model::Describe_Entity() Instane_Buffer_ReStruct(); } + if (GUI::Checkbox("DetphCompareStop", &m_InstanceDesc.isDetphCompareStop)) + { + Instane_Buffer_ReStruct(); + } if (ImGui::DragFloat3("SizeMin", reinterpret_cast<_float*>(&m_InstanceDesc.vSizeMin))) { @@ -1013,6 +1035,13 @@ void CInstance_Model::Describe_Entity() } + if (ImGui::DragFloat2("DropAttenuation", reinterpret_cast<_float*>(&m_InstanceDesc.vDropAttenuation))) + { + Instane_Buffer_ReStruct(); + } + + + ImGui::PopItemWidth(); ImGui::TreePop(); } diff --git a/Jusin154_Team3D/Engine/Private/Layer.cpp b/Jusin154_Team3D/Engine/Private/Layer.cpp index d86f8b659..482688e38 100644 --- a/Jusin154_Team3D/Engine/Private/Layer.cpp +++ b/Jusin154_Team3D/Engine/Private/Layer.cpp @@ -118,9 +118,24 @@ void CLayer::Describe_Entity() GUI::PushID(iter); if (GUI::SmallButton((to_string(iIndex) + " : " + typeid(*iter).name()).c_str())) { m_pGameInstance->Force_CamPosition(iter->Get_WorldPostion() - XMVectorSet(0.f, -1.f, 1.f, 0.f) * 10.f); + + /* 클릭시 타겟으로 설정함 */ + m_pTargetObject = iter; + } iIndex++; GUI::PopID(); } + + /* 클릭한 객체의 컴포넌트 디스크립션을 부른다.*/ + if (m_pTargetObject != nullptr) + { + if(GUI::TreeNode(typeid(*m_pTargetObject).name())) + { + m_pTargetObject->Describe_Entity(); + + GUI::TreePop(); + } + } } #endif // _DEBUG diff --git a/Jusin154_Team3D/Engine/Private/Light.cpp b/Jusin154_Team3D/Engine/Private/Light.cpp index 5b61aa769..34f528f09 100644 --- a/Jusin154_Team3D/Engine/Private/Light.cpp +++ b/Jusin154_Team3D/Engine/Private/Light.cpp @@ -126,19 +126,19 @@ HRESULT CLight::Render(CShader* pShader, CVIBuffer* pVIBuffer) const /* 라이트를 서서히 감쇄시키기 위한 감쇄값 */ - _float4 vAmbient = _float4(m_LightDesc.vAmbient.x * m_fAmbientRatio, - m_LightDesc.vAmbient.y * m_fAmbientRatio, - m_LightDesc.vAmbient.z * m_fAmbientRatio, - m_LightDesc.vAmbient.w * m_fAmbientRatio); - if (FAILED(pShader->Bind_RawValue("g_vLightAmbient", &vAmbient, sizeof(_float4)))) { + + + if (FAILED(pShader->Bind_RawValue("g_vLightAmbient", &m_LightDesc.vAmbient, sizeof(_float4)))) { return E_FAIL; } if (FAILED(pShader->Bind_RawValue("g_vLightSpecular", &m_LightDesc.vSpecular, sizeof(_float4)))) { return E_FAIL; } - if (FAILED(pShader->Bind_RawValue("g_fLightIntensity", &m_fLightIntensity, sizeof(_float)))) { + _float fLightIntensity = m_fIntensityRatio * m_fLightIntensity; + + if (FAILED(pShader->Bind_RawValue("g_fLightIntensity", &fLightIntensity, sizeof(_float)))) { return E_FAIL; } if (FAILED(pShader->Begin(iPassIndex))) { diff --git a/Jusin154_Team3D/Engine/Private/Material.cpp b/Jusin154_Team3D/Engine/Private/Material.cpp index 627e23f8a..cad06bb8f 100644 --- a/Jusin154_Team3D/Engine/Private/Material.cpp +++ b/Jusin154_Team3D/Engine/Private/Material.cpp @@ -313,6 +313,9 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType else if (!strcmp(FileType.c_str(), "Diff")){ eTexture = aiTextureType::aiTextureType_DIFFUSE; } + else if (!strcmp(FileType.c_str(), "Diffuse")){ + eTexture = aiTextureType::aiTextureType_DIFFUSE; + } else if (!strcmp(FileType.c_str(), "d")){ eTexture = aiTextureType::aiTextureType_DIFFUSE; } @@ -325,6 +328,9 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType else if (!strcmp(FileType.c_str(), "normal")){ eTexture = aiTextureType::aiTextureType_NORMALS; } + else if (!strcmp(FileType.c_str(), "Normal")){ + eTexture = aiTextureType::aiTextureType_NORMALS; + } else if (!strcmp(FileType.c_str(), "Norm")){ eTexture = aiTextureType::aiTextureType_NORMALS; } @@ -570,6 +576,9 @@ HRESULT CMaterial::Bind_SRV(CShader* pShader) } } if (true == bBinded[iTextureType]) { + if (0 == strcmp(pConstantName, "")) { // 미사용 SRV + return S_OK; + } if (FAILED(pShader->Bind_SRV(pConstantName, m_SRVs[iTextureType][0]))) { return E_FAIL; } diff --git a/Jusin154_Team3D/Engine/Private/Mesh.cpp b/Jusin154_Team3D/Engine/Private/Mesh.cpp index 03fa9df24..8d987b8b3 100644 --- a/Jusin154_Team3D/Engine/Private/Mesh.cpp +++ b/Jusin154_Team3D/Engine/Private/Mesh.cpp @@ -77,14 +77,17 @@ HRESULT CMesh::Initialize_Prototype(MODEL eType, vector& Bones, co { case Engine::MODEL::NONANIM: case Engine::MODEL::PBR_NONANIM: + case Engine::MODEL::ENVIROMENT: + case Engine::MODEL::NONANIM_LOCAL: hr = Ready_VertexBuffer_For_NonAnim(pAIMesh, PreTransformMatrix); break; + case Engine::MODEL::ANIM: case Engine::MODEL::PBR_ANIM: + case Engine::MODEL::ANIM_LOCAL: hr = Ready_VertexBuffer_For_Anim(Bones, pAIMesh); break; - case Engine::MODEL::ENVIROMENT: - break; + default: break; } @@ -203,19 +206,15 @@ HRESULT CMesh::Initialize_Prototype(MODEL eType, const CModel* pModel, SaveMesh* { case Engine::MODEL::NONANIM: case Engine::MODEL::PBR_NONANIM: + case Engine::MODEL::ENVIROMENT: hr = Ready_VertexBuffer_For_NonAnim(_SaveMesh, PreTransformMatrix); break; + case Engine::MODEL::ANIM: case Engine::MODEL::PBR_ANIM: hr = Ready_VertexBuffer_For_Anim(pModel, _SaveMesh); break; - case Engine::MODEL::ENVIROMENT: - m_pVertexPositions = new _float3[m_iNumVertices]; - for (size_t i = 0; i < m_iNumVertices; ++i) - { - memcpy_s(m_pVertexPositions, sizeof(_float3) * m_iNumVertices, m_Vertices.data(), sizeof(_float3) * m_iNumVertices); - } - break; + default: break; } diff --git a/Jusin154_Team3D/Engine/Private/Model.cpp b/Jusin154_Team3D/Engine/Private/Model.cpp index 401288758..4effff56e 100644 --- a/Jusin154_Team3D/Engine/Private/Model.cpp +++ b/Jusin154_Team3D/Engine/Private/Model.cpp @@ -146,7 +146,6 @@ _bool CModel::Play_Anim(_float fTimeDelta, CTransform* pTransform) m_bIsFinishedAnim = pCurAnim->Update_TransformationMatrices(m_Bones, m_pLocalPos, m_bIsLoop, fTimeDelta, true, m_iBoneMask, m_vector); - pCurAnim->InterpAnim(pPreAnim, m_Bones, m_fRatio); if (m_fRatio >= 1.f) @@ -310,32 +309,42 @@ _bool CModel::Play_Dual_Anim(_float fTimeDelta, CTransform* pTransform) void CModel::Set_AnimationIndex(_uint iIndex, _bool isLoop, _float fAmount, _bool bRatio) { - if (m_iCurrentAnimIndex == iIndex) { + if (m_iCurrentAnimIndex == iIndex) return; - } + if (iIndex >= 0 && iIndex < m_iNumAnimations) { m_vPrevRootPos = { 0.f, 0.f, 0.f }; m_vPrevRootRot = { 0.f,0.f,0.f,0.f }; m_bInitialRootRotSaved = false; m_bInitialRootPos = false; + if (m_iCurrentAnimIndex != -1) { + m_iPreAnimIndex = m_iCurrentAnimIndex; + m_Animations[m_iCurrentAnimIndex]->Depart_Animation(); m_Animations[m_iCurrentAnimIndex]->ResetRootMotion(); } + + m_fBlendTime = 0.f; + m_fRatio = 0.f; + m_iCurrentAnimIndex = iIndex; m_bIsLoop = isLoop; m_fAmount = fAmount; m_bRatio = bRatio; + m_Animations[m_iCurrentAnimIndex]->Depart_Animation(); m_Animations[m_iCurrentAnimIndex]->ResetRootMotion(); } - else { + else + { m_iCurrentAnimIndex = -1; } } + void CModel::Set_Second_AnimationIndex(_uint iIndex, _uint BoneIndex, _bool isLoop) { if (m_iCurrSecondAnimIndex == iIndex) { @@ -435,7 +444,7 @@ void CModel::Update_RootBone(_float Amount) { _float4x4 Root = m_Bones[m_iRootBoneIndex]->Get_TransformationMatrix(); _matrix local = XMLoadFloat4x4(&Root); - + _matrix pre = XMLoadFloat4x4(&m_PreTransformMatrix); _float4 curRotF4; @@ -1170,7 +1179,7 @@ HRESULT CModel::Assimp_Model_Load(const _char* pModelFilePath, MODEL eType, _fma _uint iFlag = {}; iFlag = aiProcess_ConvertToLeftHanded | aiProcessPreset_TargetRealtime_Fast; - if (MODEL::NONANIM == eType || MODEL::PBR_NONANIM == eType || MODEL::ENVIROMENT == eType) { + if (MODEL::NONANIM == eType || MODEL::PBR_NONANIM == eType || MODEL::ENVIROMENT == eType || MODEL::NONANIM_LOCAL == eType) { iFlag |= aiProcess_PreTransformVertices; } m_iRootBoneIndex = iRootBoneIndex; @@ -1198,7 +1207,7 @@ HRESULT CModel::Assimp_Model_Load(const _char* pModelFilePath, MODEL eType, _fma return E_FAIL; } } - else if (MODEL::ANIM_LOCAL == eType) + else if (MODEL::ANIM_LOCAL == eType || MODEL::NONANIM_LOCAL == eType) { if (FAILED(Ready_Materials_FromFile_Anim(m_pAIScene, pModelFilePath))) { return E_FAIL; diff --git a/Jusin154_Team3D/Engine/Private/PipeLine.cpp b/Jusin154_Team3D/Engine/Private/PipeLine.cpp index 5f8e56edc..ba7c79106 100644 --- a/Jusin154_Team3D/Engine/Private/PipeLine.cpp +++ b/Jusin154_Team3D/Engine/Private/PipeLine.cpp @@ -94,6 +94,11 @@ HRESULT CPipeLine::Initialize() m_vOriginalPoints[6] = _float4(1.f, -1.f, 1.f, 1.f); // RB m_vOriginalPoints[7] = _float4(-1.f, -1.f, 1.f, 1.f); // LB + for (_uint i = ENUM_CLASS(D3DTS::VIEW); i < ENUM_CLASS(D3DTS::END); ++i) + { + XMStoreFloat4x4(&m_TransformStateMatrices[i], XMMatrixIdentity()); + } + return S_OK; } diff --git a/Jusin154_Team3D/Engine/Private/QuadTree.cpp b/Jusin154_Team3D/Engine/Private/QuadTree.cpp index 0ccfc96ed..e59222d59 100644 --- a/Jusin154_Team3D/Engine/Private/QuadTree.cpp +++ b/Jusin154_Team3D/Engine/Private/QuadTree.cpp @@ -24,8 +24,7 @@ void CQuadTree::Set_CullingRadius(_float fRadius) void CQuadTree::Culling(CGameInstance* pGameInstance, const _float3* pVertexPositions, _uint* pIndices, _uint* pNumIndices) { /* 해당 노드에서 그릴건지 확인 */ - if (nullptr == m_pChildren[CORNER_LT] || - true == isDraw(pGameInstance, pVertexPositions)) + if (nullptr == m_pChildren[CORNER_LT] || true == isDraw(pGameInstance, pVertexPositions)) { _bool isDraw[NEIGHBOR_END] = { true, true, true, true }; diff --git a/Jusin154_Team3D/Engine/Private/RenderTarget_Manager.cpp b/Jusin154_Team3D/Engine/Private/RenderTarget_Manager.cpp index fb0294ef9..c404e8cb4 100644 --- a/Jusin154_Team3D/Engine/Private/RenderTarget_Manager.cpp +++ b/Jusin154_Team3D/Engine/Private/RenderTarget_Manager.cpp @@ -199,6 +199,23 @@ HRESULT CRenderTarget_Manager::Paste_RenderTarget(const _wstring& strTargetTag, return S_OK; } +HRESULT CRenderTarget_Manager::Bind_CS_RenderTarget(_uint iIndex, const _wstring& strTargetTag) +{ + CRenderTarget* pRenderTarget = Find_RenderTarget(strTargetTag); + + if (nullptr == pRenderTarget) { + return E_FAIL; + } + + ID3D11ShaderResourceView* pSrc = pRenderTarget->Get_SRV(); + + m_pContext->CSSetShaderResources(iIndex, // 시작슬롯 번호 + 1, // 버퍼 개수 + &pSrc); // 버퍼 시작 주소 + + return S_OK; +} + HRESULT CRenderTarget_Manager::Accumulate_RenderTarget(CVIBuffer_Rect* pVIBuffer, CShader* pShader, const _wstring& wstrRenderTarget_SrcA, const _wstring& wstrRenderTarget_SrcB, const _wstring& wstrRenderTarget_Target, SHADER_PASS_DEFERRED ePass) diff --git a/Jusin154_Team3D/Engine/Private/Renderer.cpp b/Jusin154_Team3D/Engine/Private/Renderer.cpp index 0252491b9..6493205c2 100644 --- a/Jusin154_Team3D/Engine/Private/Renderer.cpp +++ b/Jusin154_Team3D/Engine/Private/Renderer.cpp @@ -428,6 +428,8 @@ void CRenderer::Render_Effect() return; } + + for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::EFFECT)]) { if (nullptr != pRenderObject) @@ -649,6 +651,7 @@ void CRenderer::Render_Blend() return pSour->Get_Depth() > pDest->Get_Depth(); }); + for (auto& pRenderObject : m_RenderObjects[ENUM_CLASS(RENDER::BLEND)]) { if (nullptr != pRenderObject) { diff --git a/Jusin154_Team3D/Engine/Private/Texture.cpp b/Jusin154_Team3D/Engine/Private/Texture.cpp index d30efd096..4999e013b 100644 --- a/Jusin154_Team3D/Engine/Private/Texture.cpp +++ b/Jusin154_Team3D/Engine/Private/Texture.cpp @@ -77,6 +77,11 @@ HRESULT CTexture::Initialize_Prototype(TEXTURE_LOAD_TYPE eType, const _tchar* pT return E_FAIL; } break; + case Engine::TEXTURE_LOAD_TYPE::CUBE: + if (FAILED(ParseTexturePathToSRVs(pTextureFilePath))) { + return E_FAIL; + } + break; default: break; } @@ -174,6 +179,11 @@ HRESULT CTexture::ParseTexturePathToSRVs(const _tchar* pTextureFolderPath) return S_OK; } +HRESULT CTexture::Load_CubeSRV(const _char* szPath, ID3D11ShaderResourceView** ppSRV) +{ + + return S_OK; +} CTexture* CTexture::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, TEXTURE_LOAD_TYPE eType, const _tchar* pTextureFilePath, _uint iNumTextures, _wstring wstrGroupName) { CTexture* pInstance = new CTexture(pDevice, pContext); diff --git a/Jusin154_Team3D/Engine/Public/ComputeShader.h b/Jusin154_Team3D/Engine/Public/ComputeShader.h index 69e66bcff..a410e7b45 100644 --- a/Jusin154_Team3D/Engine/Public/ComputeShader.h +++ b/Jusin154_Team3D/Engine/Public/ComputeShader.h @@ -16,6 +16,7 @@ class ENGINE_DLL CComputeShader final : public CBase public: vector Dispatch(_uint iSRVIndex, _uint iUAVIndex, _float3 vGroupCount, ID3D11Buffer** ppBuffers, ID3D11Buffer* pConstantBuffer = nullptr); void Bind_OutPut_SRV(_uint iIndex, _uint iBufferIndex); + void Bind_OutPut_SRV_VS(_uint iIndex, _uint iBufferIndex); ID3D11ComputeShader* Get_Compute() { return m_pComputeShader; } ID3D11UnorderedAccessView* GetOutputUAV(_uint iIndex) const; vector ReadBackOutputs(); diff --git a/Jusin154_Team3D/Engine/Public/Engine_Enum.h b/Jusin154_Team3D/Engine/Public/Engine_Enum.h index 705856a69..85239b307 100644 --- a/Jusin154_Team3D/Engine/Public/Engine_Enum.h +++ b/Jusin154_Team3D/Engine/Public/Engine_Enum.h @@ -17,6 +17,7 @@ enum class TEXTURE_LOAD_TYPE { SINGLE, // original/diffuseddd.png INCREMENTAL, // original/diffuse[%d].png PATH, // original/ + CUBE, END }; enum class PXMATERIAL { @@ -31,7 +32,7 @@ enum class PXBODYSTATE { enum class MOUSEKEYSTATE { LBUTTON, RBUTTON, WBUTTON, XBUTTON }; enum class MOUSEMOVESTATE { X, Y, W }; enum class D3DTS { VIEW, PROJ, VIEW_INV, PROJ_INV, END }; -enum class MODEL { ANIM, NONANIM, PBR_NONANIM, PBR_ANIM, ENVIROMENT, ANIM_LOCAL}; +enum class MODEL { ANIM, NONANIM, PBR_NONANIM, PBR_ANIM, ENVIROMENT, ANIM_LOCAL,NONANIM_LOCAL}; enum class NAVI_POINT { A, B, C, END }; enum class NAVI_LINE { AB, BC, CA, END }; diff --git a/Jusin154_Team3D/Engine/Public/FSM.h b/Jusin154_Team3D/Engine/Public/FSM.h index 48cec542c..2b1bcd0f3 100644 --- a/Jusin154_Team3D/Engine/Public/FSM.h +++ b/Jusin154_Team3D/Engine/Public/FSM.h @@ -33,7 +33,8 @@ enum ESTATE : _u64Flag SWING = 1ULL << 26, SLAM = 1ULL << 27, BLINK = 1ULL << 28, - DEAD = 1ULL << 29, + SHUFFLE = 1ULL << 29, + DEAD = 1ULL << 30, END }; NS_END diff --git a/Jusin154_Team3D/Engine/Public/GameInstance.h b/Jusin154_Team3D/Engine/Public/GameInstance.h index dbdc974f9..fee0144cc 100644 --- a/Jusin154_Team3D/Engine/Public/GameInstance.h +++ b/Jusin154_Team3D/Engine/Public/GameInstance.h @@ -24,6 +24,7 @@ class ENGINE_DLL CGameInstance final : public CBase _int Random_Int(_int iMin, _int iMax); _int Real_Random_Int(_int iMin, _int iMax); _float Real_Random_Float(_float fMin, _float fMax); + _float2 Get_ViewPortSize(); void BillBoard(CTransform* pTransform); #pragma region GRAPHIC_DEVICE @@ -167,6 +168,7 @@ class ENGINE_DLL CGameInstance final : public CBase HRESULT Accumulate_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTarget_SrcA, const _wstring& wstrRenderTarget_SrcB, const _wstring& wstrRenderTarget_Target, SHADER_PASS_DEFERRED ePass); HRESULT Refit_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTargetInput, const _wstring& wstrRenderTargetOutput, SHADER_PASS_DEFERRED ePass); HRESULT Finish_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTargetOriginal, const _wstring& wstrRenderTargetBloomed, SHADER_PASS_DEFERRED ePass); + HRESULT Bind_CS_RenderTarget(_uint iIndex, const _wstring& strTargetTag); #ifdef _DEBUG void RenderTarget_Debuger(); HRESULT Render_RenderTarget_Debug(class CShader* pShader, class CVIBuffer_Rect* pVIBuffer); @@ -293,7 +295,9 @@ class ENGINE_DLL CGameInstance final : public CBase _float m_fTimer_Present = { 0.f }; _float m_fTimer_FrameCount = { 0.f }; - vector m_FilePaths = {}; + _float2 m_vViewPortSize = {}; + + vector m_FilePaths = {}; map m_ModelMap; #endif // _DEBUG diff --git a/Jusin154_Team3D/Engine/Public/Instance_Model.h b/Jusin154_Team3D/Engine/Public/Instance_Model.h index 8ccc86015..5063cd9d7 100644 --- a/Jusin154_Team3D/Engine/Public/Instance_Model.h +++ b/Jusin154_Team3D/Engine/Public/Instance_Model.h @@ -59,14 +59,29 @@ class ENGINE_DLL CInstance_Model final : public CComponent _float2 vDissolveUVMoveTime = { 1.f , 1.f }; - _float3 vPadding0 = {}; + _float2 vDropAttenuation = { 1.f , 1.f }; + + _float fPadding0 = {}; _float3 vPadding1 = {}; _float fSizeLerpOption = {}; _float fMoveLerpOption = {}; + _bool isDetphCompareStop = {}; _bool isPadding0 = {}; + + _float4 vPadding2 = {}; + _float4 vPadding3 = {}; + _float4 vPadding4 = {}; + _float4 vPadding5 = {}; + _float4 vPadding6 = {}; + _bool isPadding1 = {}; + _bool isPadding2 = {}; + _bool isPadding3 = {}; + _bool isPadding4 = {}; + _bool isPadding5 = {}; + }INSTANCE_DESC; typedef struct tagPreInstanceDesc @@ -100,11 +115,11 @@ class ENGINE_DLL CInstance_Model final : public CComponent _float3 vSinMinAmount = { 0.f , 0.f , 0.f }; _float3 vSinMaxAmount = { 0.f , 0.f , 0.f }; - _bool isTurn = {}; + _bool isTurn; _float3 vDeltaAngleMin = {}; _float3 vDeltaAngleMax = {}; - _bool isAxisTurn = {}; + _bool isAxisTurn; _float3 vDeltaAxisAngleMin = {}; _float3 vDeltaAxisAngleMax = {}; @@ -120,6 +135,19 @@ class ENGINE_DLL CInstance_Model final : public CComponent _float2 vDelay = {}; _bool isNoWorld = {}; + _float2 vDissolveUVMoveTime = { 1.f , 1.f }; + + _float2 vDropAttenuation = { 1.f , 1.f }; + + _float fPadding0 = {}; + _float3 vPadding1 = {}; + + _float fSizeLerpOption = {}; + _float fMoveLerpOption = {}; + + _bool isDetphCompareStop = {}; + _bool isPadding0 = {}; + }PRE_INSTANCE_DESC; typedef struct tagCSParticleDesc @@ -138,15 +166,21 @@ class ENGINE_DLL CInstance_Model final : public CComponent _int isNoWorld = {}; - _int isPadding0 = {}; + _int isDetphCompareStop = {}; _int isPadding1 = {}; _int isPadding2 = {}; _float fTimeDelta = {}; _float fSizeLerpOption = {}; _float fMoveLerpOption = {}; - _float fPadding4 = {}; + _float fFar = {}; + _float4x4 ViewMatrix = {}; + _float4x4 ProjMatrix = {}; + + _float2 vScreenSize; + _float fPadding0; + _float fPadding1; }CS_PARTICLE_DESC; @@ -182,6 +216,10 @@ class ENGINE_DLL CInstance_Model final : public CComponent _float2 vDelay = {}; + _bool isCompareStop = {}; + _float fCollisionTime = {}; + _float fDropAttenuation = {}; + }CS_PARTICLE_VALUE_DESC; public: @@ -203,6 +241,7 @@ class ENGINE_DLL CInstance_Model final : public CComponent void Instane_Buffer_ReStruct(); _uint Get_NumMeshes() const { return m_iNumMeshes; } HRESULT Bind_CS_Output(_uint Index, _uint iBufferIndex); + HRESULT Bind_OutPut_SRV_VS(_uint Index, _uint iBufferIndex); INSTANCE_DESC Get_EffectValue() { return m_InstanceDesc; } HRESULT Load_InstanceModel(HANDLE hFile); private: diff --git a/Jusin154_Team3D/Engine/Public/Layer.h b/Jusin154_Team3D/Engine/Public/Layer.h index cb6ea67c4..9d77aeb29 100644 --- a/Jusin154_Team3D/Engine/Public/Layer.h +++ b/Jusin154_Team3D/Engine/Public/Layer.h @@ -36,6 +36,11 @@ class ENGINE_DLL CLayer final : public CBase private: class CGameInstance* m_pGameInstance = { nullptr }; list m_ObjectList; + +#ifdef _DEBUG +private: + class CGameObject* m_pTargetObject = { nullptr }; +#endif private: HRESULT Initialize(); diff --git a/Jusin154_Team3D/Engine/Public/Light.h b/Jusin154_Team3D/Engine/Public/Light.h index 02c059792..e10ce328a 100644 --- a/Jusin154_Team3D/Engine/Public/Light.h +++ b/Jusin154_Team3D/Engine/Public/Light.h @@ -31,23 +31,31 @@ class ENGINE_DLL CLight final : public CComponent const LIGHT_DESC* Get_LightDesc() { return &m_LightDesc; } void Set_Color(_float4& vDiffuse, _float4& vAmbient, _float4& vSpecular); - void Reset_AmbientRatio() + void Reset_IntensityRatio() { - m_fAmbientRatio = 1.f; + m_fIntensityRatio = 1.f; m_fAccLightTime = 0.f; - + m_fAccDelayTime = 0.f; } - void Update_AmbientRatio(_float fTimeDelta , _float fTime) { + void Update_IntensityRatio(_float fTimeDelta , _float fTime , _float fTimeDelay = 0) { if (fTime <= 0) return; + m_fAccDelayTime += fTimeDelta; + + if (m_fAccDelayTime <= fTimeDelay) + { + m_fIntensityRatio = 0; + return; + } + m_fAccLightTime += fTimeDelta; - m_fAmbientRatio = 1 - (m_fAccLightTime / fTime); + m_fIntensityRatio = 1 - (m_fAccLightTime / fTime); - if (m_fAmbientRatio <= 0) - m_fAmbientRatio = 0; + if (m_fIntensityRatio <= 0) + m_fIntensityRatio = 0; } public: @@ -58,8 +66,10 @@ class ENGINE_DLL CLight final : public CComponent _bool m_bUsePowerAttenuation = { true }; _float m_fLightAttenuationPower = { 3.30f }; - _float m_fAmbientRatio = { 1.f }; + _float m_fIntensityRatio = { 1.f }; _float m_fAccLightTime = { 0.f }; + _float m_fAccDelayTime = { 0.f }; + _float m_fLightIntensity = { 4.f }; // 1 -> Linear, diff --git a/Jusin154_Team3D/Engine/Public/QuadTree.h b/Jusin154_Team3D/Engine/Public/QuadTree.h index 444a3626a..e4e5f8543 100644 --- a/Jusin154_Team3D/Engine/Public/QuadTree.h +++ b/Jusin154_Team3D/Engine/Public/QuadTree.h @@ -31,7 +31,7 @@ class CQuadTree final : public CBase _float m_fCullingRadius = { 0.2f }; - CQuadTree* m_pChildren[CORNER_END] = { nullptr }; + CQuadTree* m_pChildren[CORNER_END] = { nullptr, nullptr, nullptr, nullptr }; CQuadTree* m_pNeighbors[NEIGHBOR_END] = { nullptr, nullptr, nullptr, nullptr }; private: diff --git a/Jusin154_Team3D/Engine/Public/RenderTarget_Manager.h b/Jusin154_Team3D/Engine/Public/RenderTarget_Manager.h index 4a90b57e5..a225187f9 100644 --- a/Jusin154_Team3D/Engine/Public/RenderTarget_Manager.h +++ b/Jusin154_Team3D/Engine/Public/RenderTarget_Manager.h @@ -20,6 +20,7 @@ class CRenderTarget_Manager final : public CBase HRESULT Bind_RenderTarget(const _wstring& strTargetTag, class CShader* pShader, const _char* pConstantName); HRESULT Copy_RenderTarget(const _wstring& strTargetTag, ID3D11Texture2D* pTexture2D); HRESULT Paste_RenderTarget(const _wstring& strTargetTag, ID3D11Texture2D* pTexture2D); + HRESULT Bind_CS_RenderTarget(_uint iIndex, const _wstring& strTargetTag); HRESULT Accumulate_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTarget_SrcA, const _wstring& wstrRenderTarget_SrcB, const _wstring& wstrRenderTarget_Target, SHADER_PASS_DEFERRED ePass); HRESULT Refit_RenderTarget(class CVIBuffer_Rect* pVIBuffer, class CShader* pShader, const _wstring& wstrRenderTargetInput, const _wstring& wstrRenderTargetOutput, SHADER_PASS_DEFERRED ePass); diff --git a/Jusin154_Team3D/Engine/Public/Renderer.h b/Jusin154_Team3D/Engine/Public/Renderer.h index 55fd9390e..64722989b 100644 --- a/Jusin154_Team3D/Engine/Public/Renderer.h +++ b/Jusin154_Team3D/Engine/Public/Renderer.h @@ -62,7 +62,7 @@ class CRenderer final : public CBase _float m_fDOF_ENV_MaxEnd = { 360.f }; _float m_fDOF_ENV_AmountRadius = { 1.f }; - _float m_fSSAO_Radius = { 1.812f }; + _float m_fSSAO_Radius = { 0.812f }; _float m_fSSAO_BIAS = { 0.042f }; SSAO_GEOMETRY_HEMISPHERE m_tagSSAOGeometry = {}; diff --git a/Jusin154_Team3D/Engine/Public/State.h b/Jusin154_Team3D/Engine/Public/State.h index 86e60e4e0..3a6446810 100644 --- a/Jusin154_Team3D/Engine/Public/State.h +++ b/Jusin154_Team3D/Engine/Public/State.h @@ -14,14 +14,15 @@ enum ESTATE DODGE,DODGE_BLINK, DODGE_LEFT, DODGE_RIGHT, COMBAT, LIGHT_ATTACK, SPELL, SKILL, SKILL2, ATTACK_END, + SHUFFLE1, SHUFFLE2, SHUFFLE3, SHUFFLE4, MAPHELP,POTION, ACCIO,DESCENDO,DIFFINDO,DEPULSO,LUMOS,LUMOS_STOP,DISILLUSION_ENTER,DISILLUSION_EXIT, ANCIENT_THROW, - SPELL_FAIL, + SPELL_FAIL, SPELL_CHARGE, BROOM_IDLE,BROOM_FWD,BROOM_LEFT,BROOM_RIGHT,BROOM_DOWN,BROOM_UP, BROOM_HOVER_IDLE, BROOM_HOVER_FWD, BROOM_HOVER_LEFT, BROOM_HOVER_RIGHT, BROOM_HOVER_START,BROOM_MOUNT, BROOM_MOUNT_END,BROOM_DISMOUNT, RUSH_START,RUSH_LOOP,RUSH_END, THROW_ROCK_START,THROW_ROCK, BACKHAND_SWING_JOG,SWING_FWD,SLAM, - BLINK, + BLINK,BLINK_START, HIT, HIT_FWD, HIT_BWD, HIT_BWD2, HIT_BWD3, HIT_BWD4, HIT_L, HIT_R,HIT_FACE,HIT_FACE_END,HIT_LEVIOSO, KNOCKDOWN, KNOCKDOWN_FWD, KNOCKDOWN_FWD_SPLT, KNOCKDOWN_FWD_SPLT_HOLD, KNOCKDOWN_BWD, KNOCKDOWN_BWD_SPLT, KNOCKDOWN_BWD_SPLT_HOLD, GETUP, GETUP_BWD, GETUP_FWD, GETUP_L, GETUP_L_FD, GETUP_L_FU, GETUP_R, GETUP_R_FD, GETUP_R_FU, GETUP_SLOUCH, diff --git a/Jusin154_Team3D/Engine/Public/Texture.h b/Jusin154_Team3D/Engine/Public/Texture.h index eb512a2b6..a33578d88 100644 --- a/Jusin154_Team3D/Engine/Public/Texture.h +++ b/Jusin154_Team3D/Engine/Public/Texture.h @@ -32,6 +32,7 @@ class ENGINE_DLL CTexture final : HRESULT Load_SRV(const _char* szPath, ID3D11ShaderResourceView** ppSRV); HRESULT ParseTextureIncrementalToSRVs(_uint iNumTextures, const _tchar* pTextureFilePath); HRESULT ParseTexturePathToSRVs(const _tchar* pTextureFolderPath); + HRESULT Load_CubeSRV(const _char* szPath, ID3D11ShaderResourceView** ppSRV); private: vector m_SRVs = {}; diff --git a/Jusin154_Team3D/Engine/Public/Unit.h b/Jusin154_Team3D/Engine/Public/Unit.h index fd9a2fad5..097de4529 100644 --- a/Jusin154_Team3D/Engine/Public/Unit.h +++ b/Jusin154_Team3D/Engine/Public/Unit.h @@ -43,10 +43,6 @@ class ENGINE_DLL CUnit abstract : public CContainerObject #pragma region STATE pair<_uint, _bool> Get_AnimInfo(_uint iIndex) { return m_Animation[iIndex]; } virtual _bool Check(FSMSTATE::ESTATE state) { return false; } - - void Reset_LightCombo() { m_iLightCombo = 0; } - _uint Next_LightCombo() { return ++m_iLightCombo; } - void Set_LightCombo(_uint LightCombo) { m_iLightCombo = LightCombo; } _float Get_KeyFrame(_string FrameName); _bool IsCurrentKeyFrame(_string FrameName); virtual _vector Get_LockOnPos() { return Get_WorldPostion(); } @@ -65,7 +61,6 @@ class ENGINE_DLL CUnit abstract : public CContainerObject _float m_fRimLightPower = { 3.2f }; _float m_fRimLightStrength = { 3.04f }; _float3 m_vRimLightColor = { 69.f / 255.f, 5.f / 255.f, 10.f / 255.f }; - _uint m_iLightCombo = { 0 }; map<_string, _float> m_KeyFrames;