diff --git a/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp b/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp index 57ced80fd..3cd0a371b 100644 --- a/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp +++ b/Jusin154_Team3D/Client/Private/Camera_Cinematic.cpp @@ -265,10 +265,14 @@ HRESULT CCamera_Cinematic::Ready_SubPart() { CCamPosition_Target::CAMERAPOSITION_TARGET_DESC Desc{}; Desc.pParentTransform = m_pTransformCom; + SAFE_RELEASE(m_pFollowTarget); m_pFollowTarget = m_pFollowTargetPart = m_pGameInstance->Clone_Prototype< CCamPosition_Target>(g_iStaticLevel, &Desc); m_pFollowTargetPart->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(-34.f, 5, -10.4f, 1.f)); + SAFE_ADDREF(m_pFollowTarget); + SAFE_RELEASE(m_pLookTarget); m_pLookTarget = m_pLookTargetPart = m_pGameInstance->Clone_Prototype< CCamPosition_Target>(g_iStaticLevel, &Desc); m_pLookTargetPart->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(-34.f, 5, -11.4f, 1.f)); + SAFE_ADDREF(m_pLookTarget); } return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Camera_Debug.cpp b/Jusin154_Team3D/Client/Private/Camera_Debug.cpp index 17ab6c973..e5404bec9 100644 --- a/Jusin154_Team3D/Client/Private/Camera_Debug.cpp +++ b/Jusin154_Team3D/Client/Private/Camera_Debug.cpp @@ -205,6 +205,10 @@ void CCamera_Debug::Describe_Entity() } if (GUI::CollapsingHeader("DebugCamera")){ m_pTransformCom->Describe_Entity(); + _float fFovYDegree = XMConvertToDegrees(m_fFovy); + if (GUI::SliderFloat("FOV", &fFovYDegree, 0.01f, 89.f, "%.2f")) { + m_fFovy = XMConvertToRadians(fFovYDegree); + } } GUI::End(); } diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index 63418b2ca..b787c1545 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -125,7 +125,7 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg) _bool bLoadNPC = { true }; #ifdef _DEBUG #ifdef 기무리 - bLoadNPC = false; + bLoadNPC = true; #endif #endif // _DEBUG if (true == bLoadNPC) { @@ -164,7 +164,23 @@ HRESULT CLevel_GamePlay::Initialize() void CLevel_GamePlay::Update(_float fTimeDelta) { + _bool bStartCinematic = { true }; +#ifdef _DEBUG +#ifdef 기무리 + bStartCinematic = true; +#elif 진우 + bStartCinematic = true; +#else +#endif +#endif // _DEBUG + + if (bStartCinematic && false == m_bIntroCinematic) { + m_bIntroCinematic = true; + bStartCinematic = false; + _string strCutSceneName = "CarriageIntro"; + m_pInfoInstance->Active_Event(strCutSceneName); + } if (m_pGameInstance->Key_Pressing(DIK_0)) { if (m_pGameInstance->Key_Up(DIK_1)) { @@ -343,9 +359,9 @@ HRESULT CLevel_GamePlay::Ready_Background() isReady_Hogwart = false; #endif // #ifdef 기무리 - isReady_Background = false; - isReady_Hogsmeade = false; - isReady_Hogwart = false; + isReady_Background = true; + isReady_Hogsmeade = true; + isReady_Hogwart = true; #endif // #ifdef 나 isReady_Background = false; @@ -920,7 +936,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Camera() Camera_Desc.fNear = 0.3f; Camera_Desc.fFar = 500.f; Camera_Desc.pCameraKey = CAMERA_CINEMATIC; - Camera_Desc.iPriority = 52; + Camera_Desc.iPriority = 54; Camera_Desc.bEnableTransitionLerp = false; Camera_Desc.bEnableLookLerp = false; Camera_Desc.bEnableFollowLerp = false; @@ -1018,7 +1034,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Monster() isLoad_Monster = true; #endif // #ifdef 기무리 - isLoad_Monster = false; + isLoad_Monster = true; #endif // #ifdef 나 isLoad_Monster = true; @@ -1131,8 +1147,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc() isLoad_NPC = false; #endif // #ifdef 기무리 - isLoad_NPC = false; - isLoad_RandomNPC = false; + isLoad_NPC = true; + isLoad_RandomNPC = true; #endif // #ifdef 나 isLoad_RandomNPC = true; diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index 367fd1845..35071b68b 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -377,6 +377,71 @@ HRESULT CLoader::Loading_For_Logo() m_strMessage = TEXT("모델를(을) 로딩 중 입니다."); m_strMessage = TEXT("셰이더를(을) 로딩 중 입니다."); + +#ifdef 기무리 + m_strMessage = TEXT("셰이더를(을) 로딩 중 입니다."); + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_UIEDITOR, + CShader::Create(m_pDevice, m_pContext, TEXT("../Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl"), + VTXPOSTEX::Elements, VTXPOSTEX::iNumElements)))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_UIINSTANCE, + CShader::Create(m_pDevice, m_pContext, TEXT("../Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl"), + VTX_POSTEX_INSTANCE_UI::Elements, VTX_POSTEX_INSTANCE_UI::iNumElements)))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_INSTANCE_MODEL, + CShader::Create(m_pDevice, m_pContext, TEXT("../Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl"), + VTX_MODEL_INSTANCE_PARTICLE::Elements, VTX_MODEL_INSTANCE_PARTICLE::iNumElements)))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_INSTANCE_PROP_MODEL, + CShader::Create(m_pDevice, m_pContext, TEXT("../Bin/Resources/ShaderFiles/Shader_VtxWorldModelInstance.hlsl"), + VTX_MODEL_INSTANCE_MODEL::Elements, VTX_MODEL_INSTANCE_MODEL::iNumElements)))) { + return E_FAIL; + } + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_VTXPOS, + CShader::Create(m_pDevice, m_pContext, TEXT("../Bin/Resources/ShaderFiles/Shader_VtxPos.hlsl"), + VTXPOS::Elements, VTXPOS::iNumElements)))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_NPC_PBR_ANIM, + CShader::Create(m_pDevice, m_pContext, TEXT("../Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl"), + VTXANIMMESH::Elements, VTXANIMMESH::iNumElements)))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_MESH, + CShader::Create(m_pDevice, m_pContext, TEXT("../Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl"), + VTXMESH::Elements, VTXMESH::iNumElements)))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_ANIMMESH, + CShader::Create(m_pDevice, m_pContext, TEXT("../Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl"), + VTXANIMMESH::Elements, VTXANIMMESH::iNumElements)))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_POSTEX, + CShader::Create(m_pDevice, m_pContext, TEXT("../Bin/Resources/ShaderFiles/Shader_VtxPosTex.hlsl"), + VTXPOSTEX::Elements, VTXPOSTEX::iNumElements)))) { + return E_FAIL; + } + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_NORTEX, + CShader::Create(m_pDevice, m_pContext, TEXT("../Bin/Resources/ShaderFiles/Shader_VtxNorTex.hlsl"), + VTXNORTEX::Elements, VTXNORTEX::iNumElements)))) { + return E_FAIL; + } + +#endif // 기무리 + #if 진우 #pragma region SHADER vector*>> jobMapShaders; @@ -484,9 +549,9 @@ HRESULT CLoader::Loading_For_GamePlay() #endif // #ifdef 기무리 isLoad_Background = true; - isLoad_Hogwart = false; - isLoad_UI_SEQUANTIAL = false; - isLoad_NPC = false; + isLoad_Hogwart = true; + isLoad_UI_SEQUANTIAL = true; + isLoad_NPC = true; isLoad_Monster = true; #endif // #ifdef 나 @@ -844,7 +909,7 @@ HRESULT CLoader::Loading_For_GamePlay() } /* ------------------------------------ HOGWART ------------------------------- */ - if(true == isLoad_Hogwart) + if (true == isLoad_Hogwart) { /* QuidditchPitch */ jobMapModels.emplace_back(Deferred_FolderLoad( @@ -855,7 +920,7 @@ HRESULT CLoader::Loading_For_GamePlay() "../Bin/Resources/Models/MapMesh/Game/Environment/Hogwarts/SUB_QuidditchPitch/Static_Mesh/Collisions", ".bin", false )); - + /* Greenhouse */ jobMapModels.emplace_back(Deferred_FolderLoad( "../Bin/Resources/Models/MapMesh/Game/Environment/Hogwarts/SUB_Greenhouses/Static_Mesh/Kit_EXT", @@ -1144,14 +1209,14 @@ HRESULT CLoader::Loading_For_GamePlay() } jobCharacterModels.emplace_back(Deferred_ModelLoad( - MODEL::NONANIM, "../Bin/Resources/Models/Box/Box.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f)* XMMatrixIdentity(), + MODEL::NONANIM, "../Bin/Resources/Models/Box/Box.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixIdentity(), TEXT("Prototype_Component_Box") )); #pragma region ACTOR jobCharacterModels.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(), + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_Playable_Model") )); if (true == isLoad_NPC) { @@ -1224,11 +1289,11 @@ HRESULT CLoader::Loading_For_GamePlay() TEXT("Prototype_Component_MudiwaOnai_Model") )); jobCharacterModels.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f)* XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixRotationZ(XMConvertToRadians(180.f))* XMMatrixIdentity(), + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_GerboldOlivander_Model") )); jobCharacterModels.emplace_back(Deferred_ModelLoad( - MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f)* XMMatrixRotationY(XMConvertToRadians(180.f))* XMMatrixIdentity(), + MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/EleazarFig/Professor_EleazarFig.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(), TEXT("Prototype_Component_Professor_EleazarFig_Model") )); } @@ -1336,53 +1401,58 @@ HRESULT CLoader::Loading_For_GamePlay() )); #pragma endregion - + _bool bLoadShaderAsThread = true; +#ifdef 기무리 + bLoadShaderAsThread = false; +#endif #ifndef 진우 #pragma region SHADER - + if (true == bLoadShaderAsThread) { - jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, - FX_UIEDITOR, - TEXT("../Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl"), VTXPOSTEX::Elements, VTXPOSTEX::iNumElements)); - jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, - FX_UIINSTANCE, - TEXT("../Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl"), VTX_POSTEX_INSTANCE_UI::Elements, VTX_POSTEX_INSTANCE_UI::iNumElements)); - jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, - FX_INSTANCE_MODEL, - TEXT("../Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl"), VTX_MODEL_INSTANCE_PARTICLE::Elements, VTX_MODEL_INSTANCE_PARTICLE::iNumElements)); - jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, - FX_INSTANCE_PROP_MODEL, - TEXT("../Bin/Resources/ShaderFiles/Shader_VtxWorldModelInstance.hlsl"), VTX_MODEL_INSTANCE_MODEL::Elements, VTX_MODEL_INSTANCE_MODEL::iNumElements)); - jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, - FX_NPC_PBR_ANIM, - TEXT("../Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl"), VTXANIMMESH::Elements, VTXANIMMESH::iNumElements)); - jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, - FX_ANIMMESH, - TEXT("../Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl"), VTXANIMMESH::Elements, VTXANIMMESH::iNumElements)); - jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, - FX_POSTEX, - TEXT("../Bin/Resources/ShaderFiles/Shader_VtxPosTex.hlsl"), VTXPOSTEX::Elements, VTXPOSTEX::iNumElements)); - jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, - FX_NORTEX, - TEXT("../Bin/Resources/ShaderFiles/Shader_VtxNorTex.hlsl"), VTXNORTEX::Elements, VTXNORTEX::iNumElements)); - jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, - FX_MESH, - TEXT("../Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl"), VTXMESH::Elements, VTXMESH::iNumElements)); - jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, - FX_VTXPOS, - TEXT("../Bin/Resources/ShaderFiles/Shader_VtxPos.hlsl"), VTXPOS::Elements, VTXPOS::iNumElements)); - } - - { - m_strMessage = TEXT("셰이더를(을) 로딩 중 입니다."); - _uint iIndex = 0; - for (auto& JobMapShader : jobMapShaders) { - pair<_wstring, CShader*>* pOut = JobMapShader.get(); - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pOut->first, pOut->second))) { - return E_FAIL; + jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, + FX_UIEDITOR, + TEXT("../Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl"), VTXPOSTEX::Elements, VTXPOSTEX::iNumElements)); + jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, + FX_UIINSTANCE, + TEXT("../Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl"), VTX_POSTEX_INSTANCE_UI::Elements, VTX_POSTEX_INSTANCE_UI::iNumElements)); + jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, + FX_INSTANCE_MODEL, + TEXT("../Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl"), VTX_MODEL_INSTANCE_PARTICLE::Elements, VTX_MODEL_INSTANCE_PARTICLE::iNumElements)); + jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, + FX_INSTANCE_PROP_MODEL, + TEXT("../Bin/Resources/ShaderFiles/Shader_VtxWorldModelInstance.hlsl"), VTX_MODEL_INSTANCE_MODEL::Elements, VTX_MODEL_INSTANCE_MODEL::iNumElements)); + jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, + FX_NPC_PBR_ANIM, + TEXT("../Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl"), VTXANIMMESH::Elements, VTXANIMMESH::iNumElements)); + jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, + FX_ANIMMESH, + TEXT("../Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl"), VTXANIMMESH::Elements, VTXANIMMESH::iNumElements)); + jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, + FX_POSTEX, + TEXT("../Bin/Resources/ShaderFiles/Shader_VtxPosTex.hlsl"), VTXPOSTEX::Elements, VTXPOSTEX::iNumElements)); + jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, + FX_NORTEX, + TEXT("../Bin/Resources/ShaderFiles/Shader_VtxNorTex.hlsl"), VTXNORTEX::Elements, VTXNORTEX::iNumElements)); + jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, + FX_MESH, + TEXT("../Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl"), VTXMESH::Elements, VTXMESH::iNumElements)); + jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext, + FX_VTXPOS, + TEXT("../Bin/Resources/ShaderFiles/Shader_VtxPos.hlsl"), VTXPOS::Elements, VTXPOS::iNumElements)); + } + + { + m_strMessage = TEXT("셰이더를(을) 로딩 중 입니다."); + _uint iIndex = 0; + for (auto& JobMapShader : jobMapShaders) + { + pair<_wstring, CShader*>* pOut = JobMapShader.get(); + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pOut->first, pOut->second))) { + return E_FAIL; + } + Safe_Delete(pOut); } - Safe_Delete(pOut); } } #pragma endregion diff --git a/Jusin154_Team3D/Client/Private/MapElement_Cave.cpp b/Jusin154_Team3D/Client/Private/MapElement_Cave.cpp index 16882de34..cbfda2425 100644 --- a/Jusin154_Team3D/Client/Private/MapElement_Cave.cpp +++ b/Jusin154_Team3D/Client/Private/MapElement_Cave.cpp @@ -250,6 +250,7 @@ void CMapElement_Cave::Free() __super::Free(); SAFE_RELEASE(m_pShaderCom); + SAFE_RELEASE(m_pTriggerBox); for (_uint i = 0; i < m_RigidBodies.size(); ++i) { SAFE_RELEASE(m_RigidBodies[i]); diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp index 3634dadb7..675d55d9f 100644 --- a/Jusin154_Team3D/Client/Private/Player_States.cpp +++ b/Jusin154_Team3D/Client/Private/Player_States.cpp @@ -394,7 +394,8 @@ HRESULT CPlayer::Behavior_CutSceneExitCheck(_float fTimeDelta) { m_pTransformCom->Set_State(STATE::POSITION, m_pCarriage->Get_SocketWorldMatrix(CThestralCarriage::CARRIAGE_SOCKET::FRONT_RIGHT).r[3]); m_pCharacter_Controller->Set_Position(m_pTransformCom->Get_State(STATE::POSITION)); - m_pTransformCom->RotationQ(XMQuaternionRotationAxis(XMVectorSet(0.f, -1.f, 0.f, 0.f), XMConvertToRadians(90.f))); + m_pTransformCom->RotationQ(XMQuaternionIdentity()); + //m_pTransformCom->RotationQ(XMQuaternionRotationAxis(XMVectorSet(0.f, -1.f, 0.f, 0.f), XMConvertToRadians(90.f))); } return S_OK; diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp index 18b53b35c..e4dc487e0 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp @@ -61,7 +61,12 @@ HRESULT CRanrok_Prop::Initialize(void* pArg) m_fDuration = 10000.f; m_pInfoInstance->Regist_ActiveEffect(this); +#ifdef _DEBUG + m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, 1.f, 12, false, false)); + m_Batch = make_unique>(m_pContext); + +#endif // _DEBUG return S_OK; } @@ -119,10 +124,31 @@ void CRanrok_Prop::Late_Update(_float fTimeDelta) __super::Late_Update(fTimeDelta); #if _DEBUG - m_pRigidBody->Render(); + m_bRender = true; + if (m_bRender) { + m_pGameInstance->Add_RenderGroup(RENDER::NONLIGHT, this); + } #endif } +HRESULT CRanrok_Prop::Render() +{ + if (RENDER::NONLIGHT == m_pGameInstance->Get_CurrentRenderPass()) { +#ifdef _DEBUG + m_Batch->Begin(); + + _matrix ViewMatrix = m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW); + _matrix ProjMatrix = m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ); + _vector vColor = CMyTools::ColorRGB_A_HEXtoVECTOR(0xff0f0f, 1.f); + m_pSubShape->Draw(m_pTransformCom->Get_XMWorldMatrix(), ViewMatrix, ProjMatrix, vColor, nullptr, true); + + m_Batch->End(); + m_bRender = false; +#endif // _DEBUG + } + return S_OK; +} + HRESULT CRanrok_Prop::Pre_Setting(CGameObject* pObject, void* pArg) { if (FAILED(__super::Pre_Setting(pObject, nullptr))) diff --git a/Jusin154_Team3D/Client/Private/ThestralCarriage.cpp b/Jusin154_Team3D/Client/Private/ThestralCarriage.cpp index 7a595e639..c0f442291 100644 --- a/Jusin154_Team3D/Client/Private/ThestralCarriage.cpp +++ b/Jusin154_Team3D/Client/Private/ThestralCarriage.cpp @@ -57,8 +57,6 @@ HRESULT CThestralCarriage::Initialize(void* pArg) //for (auto& anim : chain) // m_pModelCom->Set_ChainAnimation(anim); - m_iAnimationIndex = 0; - m_pModelCom->Set_AnimationIndex(m_iAnimationIndex); m_pModelCom->IsRootBone(false); // //m_pModelCom->Start_ChainAnimation(); @@ -69,6 +67,7 @@ HRESULT CThestralCarriage::Initialize(void* pArg) void CThestralCarriage::Priority_Update(_float fTimeDelta) { __super::Priority_Update(fTimeDelta); + Lerp_Transform(fTimeDelta); } void CThestralCarriage::Update(_float fTimeDelta) @@ -192,9 +191,9 @@ void CThestralCarriage::Trigger(CTimeSocket& Socket) { m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3((_float3*)&pContents->pxTransform.p), 1.f)); } break; - case TIMESOCKET_FUNC::TRANSLATION_LERP: + case TIMESOCKET_FUNC::AFFINE_LERP: { - + Lerp_Start(pContents->pxTransform, pContents->vParam_11.x); } break; case TIMESOCKET_FUNC::SET_ANIMSTATE: { @@ -269,6 +268,42 @@ _matrix CThestralCarriage::Get_SocketWorldMatrix(CARRIAGE_SOCKET eSocket) } } +void CThestralCarriage::Lerp_Stop() +{ + m_LerpStartMatrix = { }; + m_LerpEndMatrix = { }; + m_vLerpTimer = { }; + m_bLerp = { false }; +} + +void CThestralCarriage::Lerp_Start(PSX::PxTransform pxTransform, _float fLerpTimer) +{ + XMStoreFloat4x4(&m_LerpStartMatrix, m_pTransformCom->Get_XMWorldMatrix()); + _float3 vScale = m_pTransformCom->Get_Scale(); + XMStoreFloat4x4(&m_LerpEndMatrix, XMMatrixAffineTransformation(XMLoadFloat3(&vScale), XMVectorZero(), + XMLoadFloat4((_float4*)&pxTransform.q), XMVectorSetW(XMLoadFloat3((_float3*)&pxTransform.p), 1.f))); + m_vLerpTimer.x = 0; + m_vLerpTimer.y = fLerpTimer; + m_bLerp = true; +} + +void CThestralCarriage::Lerp_Transform(_float fTimeDelta) +{ + if (true == m_bLerp) { + m_vLerpTimer.x += fTimeDelta; + _float4x4 vLerpResult = {}; + if (m_vLerpTimer.x >= m_vLerpTimer.y) { + m_bLerp = false; + m_vLerpTimer.x = 0.f; + CMyTools::MatrixLerp(XMLoadFloat4x4(&m_LerpStartMatrix), XMLoadFloat4x4(&m_LerpEndMatrix), vLerpResult, 1.f); + } + else { + CMyTools::MatrixLerp(XMLoadFloat4x4(&m_LerpStartMatrix), XMLoadFloat4x4(&m_LerpEndMatrix), vLerpResult, m_vLerpTimer.x/m_vLerpTimer.y); + } + m_pTransformCom->Set_WorldMatrix(vLerpResult); + } +} + HRESULT CThestralCarriage::Ready_Components() { CTransform::TRANSFORM_DESC Desc = {}; @@ -375,7 +410,7 @@ void CThestralCarriage::Describe_Entity() GUI::Text("AnimTrack %.2f", m_pModelCom->Get_CurrentTrackPosition()); GUI::Text("AnimRatio %.2f", m_pModelCom->Get_CurrentTrackProgressRatio()); _float3 Pos; - XMStoreFloat3(&Pos, Get_WorldPostion()); + XMStoreFloat3(&Pos, m_pTransformCom->Get_State(STATE::POSITION)); float Pos3[3] = { Pos.x, Pos.y, Pos.z }; GUI::DragFloat3("Pos", Pos3); @@ -384,7 +419,7 @@ void CThestralCarriage::Describe_Entity() _float RotR, RotU, RotL; RotR = XMVectorGetX(m_pTransformCom->Get_State(STATE::RIGHT)); - RotU = XMVectorGetY(m_pTransformCom->Get_State(STATE::UP)); + RotU = XMVectorGetY(m_pTransformCom->Get_State(STATE::UP)); RotL = XMVectorGetZ(m_pTransformCom->Get_State(STATE::LOOK)); float Rot3[3] = { RotR, RotU,RotL }; diff --git a/Jusin154_Team3D/Client/Private/TriggerBox.cpp b/Jusin154_Team3D/Client/Private/TriggerBox.cpp index eb45ffbf4..c7eb2e508 100644 --- a/Jusin154_Team3D/Client/Private/TriggerBox.cpp +++ b/Jusin154_Team3D/Client/Private/TriggerBox.cpp @@ -56,10 +56,14 @@ HRESULT CTriggerBox::Initialize(TRIGGERBOX_DESC* pDesc) return E_FAIL; } m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat4(&pDesc->vPosition_Radius), 1.f)); +#ifdef _DEBUG - m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, m_pTransformCom->Get_Radius() * 2.f, 12, false, false)); + m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, 1.f, 12, false, false)); m_Batch = make_unique>(m_pContext); +#endif // _DEBUG + _float3 vScale = { Desc.fRadius, Desc.fRadius, Desc.fRadius }; + m_pTransformCom->Set_Scale(vScale); m_vScanTimer.y += m_pGameInstance->Real_Random_Float(0.f, 0.2f); return S_OK; @@ -69,9 +73,8 @@ HRESULT CTriggerBox::Scan() { _float fRadius = m_pTransformCom->Get_Radius(); - PSX::PxSweepHit hitBuffer[32]; - PSX::PxSweepBuffer pxBuffer(hitBuffer, 32); - _bool bHit = m_pGameInstance->SphereCast(fRadius, m_pTransformCom->Get_State(STATE::POSITION), XMVectorSet(0.f, 1.f, 0.f, 0.f), 0.1f, + PSX::PxSweepBufferN<32> pxBuffer = {}; + _bool bHit = m_pGameInstance->SphereCast(fRadius, m_pTransformCom->Get_State(STATE::POSITION), XMVectorSet(0.f, 1.f, 0.f, 0.f), 1.1f, PSX::PxHitFlag::eDEFAULT, PSX::PxQueryFlag::eDYNAMIC, pxBuffer); const PSX::PxSweepHit & hit = pxBuffer.block; @@ -154,7 +157,10 @@ CGameObject* CTriggerBox::Clone(void* pArg, CGameObject* pOwner) { return nullptr; } +#ifdef _DEBUG void CTriggerBox::Describe_Entity() { } + +#endif // _DEBUG diff --git a/Jusin154_Team3D/Client/Private/UI_Manager.cpp b/Jusin154_Team3D/Client/Private/UI_Manager.cpp index 06dad9149..ddf330bb3 100644 --- a/Jusin154_Team3D/Client/Private/UI_Manager.cpp +++ b/Jusin154_Team3D/Client/Private/UI_Manager.cpp @@ -86,9 +86,7 @@ void CUI_Manager::Canvas_Change(UI_STATE eType) static_cast(m_pDialogue_Canvas)->Visible(false); static_cast(m_pInteraction_Key)->Set_Visible(true); static_cast(m_pNPCInteraction)->Set_Visible(true); -#ifndef 기무리 - static_cast(m_pBroom_TargetGate)->Set_Visible(false); -#endif // 기무리 + //static_cast(m_pBroom_TargetGate)->Set_Visible(false); break; diff --git a/Jusin154_Team3D/Client/Public/Level_GamePlay.h b/Jusin154_Team3D/Client/Public/Level_GamePlay.h index d0148d6a7..7c98f5a17 100644 --- a/Jusin154_Team3D/Client/Public/Level_GamePlay.h +++ b/Jusin154_Team3D/Client/Public/Level_GamePlay.h @@ -24,6 +24,7 @@ class CLevel_GamePlay final : public CLevel _bool m_bLevel = { false }; _bool m_bCurrentLevel = { false }; + _bool m_bIntroCinematic = { false }; private: virtual HRESULT Initialize() override; diff --git a/Jusin154_Team3D/Client/Public/Ranrok_Prop.h b/Jusin154_Team3D/Client/Public/Ranrok_Prop.h index e75da92ec..bd382434e 100644 --- a/Jusin154_Team3D/Client/Public/Ranrok_Prop.h +++ b/Jusin154_Team3D/Client/Public/Ranrok_Prop.h @@ -19,6 +19,7 @@ class CRanrok_Prop final : public CEffect_Container virtual void Priority_Update(_float fTimeDelta) override; virtual void Update(_float fTimeDelta) override; virtual void Late_Update(_float fTimeDelta) override; + virtual HRESULT Render() override; public: virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override; @@ -47,6 +48,11 @@ class CRanrok_Prop final : public CEffect_Container _float m_fHp = { 3.f }; _bool m_isSizeLerpEnd = {}; +#ifdef _DEBUG + _bool m_bRender = false; + unique_ptr m_pSubShape = { nullptr }; + unique_ptr> m_Batch; +#endif // _DEBUG private: class CInfoInstance* m_pInfoInstance = { nullptr }; public: diff --git a/Jusin154_Team3D/Client/Public/ThestralCarriage.h b/Jusin154_Team3D/Client/Public/ThestralCarriage.h index 3af332df3..c33215415 100644 --- a/Jusin154_Team3D/Client/Public/ThestralCarriage.h +++ b/Jusin154_Team3D/Client/Public/ThestralCarriage.h @@ -43,9 +43,17 @@ class CThestralCarriage final : public CUnit virtual _vector Get_WorldPostion()override; _matrix Get_SeatMatrix(); _matrix Get_SocketWorldMatrix(CARRIAGE_SOCKET eSocket); + void Lerp_Stop(); + void Lerp_Start(PSX::PxTransform pxTransform, _float fLerpTimer); + void Lerp_Transform(_float fTimeDelta); private: CInfoInstance* m_pInfoInstance = { nullptr }; + _float4x4 m_LerpStartMatrix = { }; + _float4x4 m_LerpEndMatrix = { }; + _float2 m_vLerpTimer = { }; + _bool m_bLerp = { false }; + _uint m_iAnimationIndex = 0; #ifdef _DEBUG _bool m_bRender_WireFrame = { false }; diff --git a/Jusin154_Team3D/Client/Public/TriggerBox.h b/Jusin154_Team3D/Client/Public/TriggerBox.h index e058df699..90c1c3a5c 100644 --- a/Jusin154_Team3D/Client/Public/TriggerBox.h +++ b/Jusin154_Team3D/Client/Public/TriggerBox.h @@ -26,7 +26,10 @@ class CTriggerBox final : public CGameObject virtual HRESULT Render()override; HRESULT Bind_ShaderResources() override; CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG void Describe_Entity() override; +#endif // _DEBUG + private: HRESULT Initialize(TRIGGERBOX_DESC*); HRESULT Scan(); diff --git a/Jusin154_Team3D/Client/Public/Troll_Rush.h b/Jusin154_Team3D/Client/Public/Troll_Rush.h index 1c5c21ed8..b6361302f 100644 --- a/Jusin154_Team3D/Client/Public/Troll_Rush.h +++ b/Jusin154_Team3D/Client/Public/Troll_Rush.h @@ -37,7 +37,11 @@ class CTroll_Rush final : public CEffect_Container static CTroll_Rush* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual void Free() override; CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG void Describe_Entity() override; + +#endif // _DEBUG + }; NS_END diff --git a/Jusin154_Team3D/Client/Public/Troll_Shout.h b/Jusin154_Team3D/Client/Public/Troll_Shout.h index e19b766ee..4216e9335 100644 --- a/Jusin154_Team3D/Client/Public/Troll_Shout.h +++ b/Jusin154_Team3D/Client/Public/Troll_Shout.h @@ -37,7 +37,10 @@ class CTroll_Shout final : public CEffect_Container static CTroll_Shout* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); virtual void Free() override; CGameObject* Clone(void* pArg, CGameObject* pOwner) override; +#ifdef _DEBUG void Describe_Entity() override; +#endif // _DEBUG + }; NS_END diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml index b04416f77..d7ad6dd53 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/CarriageIntro.xml @@ -1,4 +1,4 @@ - + @@ -73,6 +73,43 @@ + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + @@ -115,8 +152,8 @@ - - + + @@ -222,11 +259,11 @@ - + - + @@ -329,7 +366,7 @@ - + @@ -337,8 +374,8 @@ - - + + @@ -374,8 +411,8 @@ - - + + @@ -406,8 +443,230 @@ - - + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + @@ -437,162 +696,17 @@ - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - - - - - - - - - - - - - - - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - - - + + + --> + - + @@ -628,7 +742,309 @@ - + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + + + + + @@ -665,7 +1081,44 @@ - + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + + @@ -702,7 +1155,7 @@ - + @@ -739,5 +1192,44 @@ + + + + + + + + + + + + + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + false + + + + + + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl index 382f137bc..67d65d7e7 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl @@ -1117,7 +1117,7 @@ PS_OUT_DELCAL PS_MAIN_DECAL(PS_IN_DECAL In) vDiffuseColor /= fMaskWeight; - vDiffuseColor.a = max(0.001f, vDiffuseColor.a); + vDiffuseColor.a = saturate(max(0.001f, vDiffuseColor.a)); float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal); diff --git a/Jusin154_Team3D/Engine/Private/TimeSocket.cpp b/Jusin154_Team3D/Engine/Private/TimeSocket.cpp index dd003dba2..52709f3da 100644 --- a/Jusin154_Team3D/Engine/Private/TimeSocket.cpp +++ b/Jusin154_Team3D/Engine/Private/TimeSocket.cpp @@ -34,40 +34,18 @@ HRESULT CTimeSocket::Initialize(void* pArg) m_Contents.vParam_11 = pDesc->vParam_11; m_Contents.funcEvent = pDesc->funcEvent; m_Contents.vParam_12 = pDesc->vParam_12; + m_Contents.pOtherTarget = pDesc->pOtherTarget; + m_Contents.pxTransform = pDesc->pxTransform; - switch (m_Contents.eTypeParam) - { - case TIMESOCKET_PARAM::TARGET: - m_Contents.pOtherTarget = pDesc->pOtherTarget; - break; - case TIMESOCKET_PARAM::TRANSFORM: - m_Contents.pxTransform = pDesc->pxTransform; - break; - case TIMESOCKET_PARAM::NOT_USE: - break; - default: - m_Contents.pOtherTarget = nullptr; - break; - } - + SAFE_ADDREF(m_Contents.pOtherTarget); SAFE_ADDREF(m_Contents.pEventTarget); - if (m_Contents.eTypeParam == TIMESOCKET_PARAM::TARGET){ - SAFE_ADDREF(m_Contents.pOtherTarget); - } return S_OK; } void CTimeSocket::Finalize() { - switch (m_Contents.eTypeParam) - { - case TIMESOCKET_PARAM::TARGET: - SAFE_RELEASE(m_Contents.pOtherTarget); - break; - default: - break; - } + SAFE_RELEASE(m_Contents.pOtherTarget); SAFE_RELEASE(m_Contents.pEventTarget); } diff --git a/Jusin154_Team3D/Engine/Public/Engine_Macro.h b/Jusin154_Team3D/Engine/Public/Engine_Macro.h index d9a55d3cf..6d084ea41 100644 --- a/Jusin154_Team3D/Engine/Public/Engine_Macro.h +++ b/Jusin154_Team3D/Engine/Public/Engine_Macro.h @@ -35,7 +35,7 @@ #undef ASSERT_NURI #define ASSERT_NURI(expression) assert(expression) #define MSG_BOX(_message) MessageBox(NULL, TEXT(_message), L"System Message", MB_OK); assert(false); -//#undef USE_LOWTEXTURE // 매크로 옵션으로 해상도 조절, 주석 걸면 디버그모드에서 저해상도 유지 +#undef USE_LOWTEXTURE // 매크로 옵션으로 해상도 조절, 주석 걸면 디버그모드에서 저해상도 유지 //#undef OPTIONAL_TRUE_KEYINPUTGUICHECK //#define OPTIONAL_TRUE_KEYINPUTGUICHECK true|| #elif 진우 diff --git a/Jusin154_Team3D/Engine/Public/MyTools.h b/Jusin154_Team3D/Engine/Public/MyTools.h index 18173e55c..2ce27593f 100644 --- a/Jusin154_Team3D/Engine/Public/MyTools.h +++ b/Jusin154_Team3D/Engine/Public/MyTools.h @@ -136,18 +136,18 @@ class CMyTools { _Out_ _float4x4& matOut, _float fRatio) { _matrix matOrigin = XMLoadFloat4x4(pMatOrigin); _matrix matTarget = XMLoadFloat4x4(pMatTarget); - MatrixLerp(&matOrigin, &matTarget, matOut, fRatio); + MatrixLerp(matOrigin, matTarget, matOut, fRatio); } - inline static void MatrixLerp( _In_ _matrix* pMatOrigin, // Origin -> 0 - _In_ _matrix* pMatTarget, // Target -> 1 + inline static void MatrixLerp( _In_ _fmatrix pMatOrigin, // Origin -> 0 + _In_ _cmatrix pMatTarget, // Target -> 1 _Out_ _float4x4& matOut, _float fRatio) { fRatio = Saturate(fRatio); _vector vTargetScale{}, vTargetRotq{}, vTargetTrans{}; _vector vOriginScale{}, vOriginRotq{}, vOriginTrans{}; - XMMatrixDecompose(&vTargetScale, &vTargetRotq, &vTargetTrans, *pMatTarget); - XMMatrixDecompose(&vOriginScale, &vOriginRotq, &vOriginTrans, *pMatOrigin); + XMMatrixDecompose(&vTargetScale, &vTargetRotq, &vTargetTrans, pMatTarget); + XMMatrixDecompose(&vOriginScale, &vOriginRotq, &vOriginTrans, pMatOrigin); vTargetScale = XMVectorLerp(vOriginScale, vTargetScale, fRatio); vTargetRotq = XMQuaternionSlerp(vOriginRotq, vTargetRotq, fRatio); diff --git a/Jusin154_Team3D/Engine/Public/TimeSocket.h b/Jusin154_Team3D/Engine/Public/TimeSocket.h index 2b3da839d..762a52fc2 100644 --- a/Jusin154_Team3D/Engine/Public/TimeSocket.h +++ b/Jusin154_Team3D/Engine/Public/TimeSocket.h @@ -27,6 +27,7 @@ typedef enum class typeTimeSocket_Func { TRANSLATION_LERP, ROTATION, ROTATION_LERP, + AFFINE_LERP, TOGGLE_FLAGS, // CAMERA @@ -74,6 +75,7 @@ static constexpr pair g_SocketFuncTypeTable[ENUM_C {"TRANSLATION_LERP", TIMESOCKET_FUNC::TRANSLATION_LERP}, {"ROTATION", TIMESOCKET_FUNC::ROTATION}, {"ROTATION_LERP", TIMESOCKET_FUNC::ROTATION_LERP}, + {"AFFINE_LERP", TIMESOCKET_FUNC::AFFINE_LERP}, {"TOGGLE_FLAGS", TIMESOCKET_FUNC::TOGGLE_FLAGS}, // CAMERA @@ -122,10 +124,8 @@ typedef struct tagSocketContents { _wstring wstrKeyName = {}; TIMESOCKET_PARAM eTypeParam = {}; TIMESOCKET_FUNC eTypeFunc = {}; - union { - CGameObject* pOtherTarget = { nullptr }; - PSX::PxTransform pxTransform; - }; + CGameObject* pOtherTarget = { nullptr }; + PSX::PxTransform pxTransform; _boolean vFlags = {}; _uint4 vParam_10 = {}; _float4 vParam_11 = {}; diff --git a/Jusin154_Team3D/Jusin154_Team3D.sln b/Jusin154_Team3D/Jusin154_Team3D.sln index 78e5e4dca..08c3e18a8 100644 --- a/Jusin154_Team3D/Jusin154_Team3D.sln +++ b/Jusin154_Team3D/Jusin154_Team3D.sln @@ -61,7 +61,6 @@ Global {F91AD988-A0C8-4169-AA7D-A7596A403CFF}.Debug|x86.ActiveCfg = Debug|Win32 {F91AD988-A0C8-4169-AA7D-A7596A403CFF}.Debug|x86.Build.0 = Debug|Win32 {F91AD988-A0C8-4169-AA7D-A7596A403CFF}.Release|x64.ActiveCfg = Release|x64 - {F91AD988-A0C8-4169-AA7D-A7596A403CFF}.Release|x64.Build.0 = Release|x64 {F91AD988-A0C8-4169-AA7D-A7596A403CFF}.Release|x86.ActiveCfg = Release|Win32 {F91AD988-A0C8-4169-AA7D-A7596A403CFF}.Release|x86.Build.0 = Release|Win32 {2133313A-E5E1-41CD-B976-21753FBCD083}.Debug|x64.ActiveCfg = Debug|x64