Merge branch 'Develope' into Effect
This commit is contained in:
@@ -161,6 +161,7 @@ call Update_Resources.bat
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\Public\Action_Panel.h" />
|
||||
<ClInclude Include="..\Public\Barral_Splesh.h" />
|
||||
<ClInclude Include="..\Public\BroomRaceManager.h" />
|
||||
<ClInclude Include="..\Public\BroomRacerAI.h" />
|
||||
<ClInclude Include="..\Public\Chair_Splesh.h" />
|
||||
<ClInclude Include="..\Public\Boss_HpBar.h" />
|
||||
@@ -358,6 +359,7 @@ call Update_Resources.bat
|
||||
<ClCompile Include="..\Private\Action_Panel.cpp" />
|
||||
<ClCompile Include="..\Private\Boss_HpBar.cpp" />
|
||||
<ClCompile Include="..\Private\Barral_Splesh.cpp" />
|
||||
<ClCompile Include="..\Private\BroomRaceManager.cpp" />
|
||||
<ClCompile Include="..\Private\BroomRacerAI.cpp" />
|
||||
<ClCompile Include="..\Private\Chair_Splesh.cpp" />
|
||||
<ClCompile Include="..\Private\Broom_States.cpp" />
|
||||
|
||||
@@ -602,9 +602,10 @@
|
||||
<ClInclude Include="..\Public\RaceRing.h">
|
||||
<Filter>02.GameObjects\Item\RaceRing</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\Screen_Wind.h">
|
||||
<Filter>02.GameObjects\Effect\ScreenFX</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\Screen_Wind.h">
|
||||
<Filter>02.GameObjects\Effect\ScreenFX</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\BroomRaceManager.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Image Include="Client.ico">
|
||||
@@ -1268,6 +1269,9 @@
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Effect\ScreenFX">
|
||||
<UniqueIdentifier>{125737f1-56b3-4746-9be2-ea1bcb90c013}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\BroomRaceManager">
|
||||
<UniqueIdentifier>{9e8bccb6-c491-4f3a-bdb8-5f03f13ad84d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@@ -1818,6 +1822,7 @@
|
||||
<ClCompile Include="..\Private\Screen_Wind.cpp">
|
||||
<Filter>02.GameObjects\Effect\ScreenFX</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\BroomRaceManager.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\Private\Goblin_States.cpp">
|
||||
|
||||
@@ -249,6 +249,8 @@ void CAccio::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
if (m_bHit == false)
|
||||
return;
|
||||
|
||||
dynamic_cast<CPlayer*>(m_pOwner)->Set_SpellHit(true);
|
||||
|
||||
ON_COLLISION_INFO CollisionDesc = *static_cast<ON_COLLISION_INFO*>(pDesc);
|
||||
|
||||
_vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
|
||||
|
||||
@@ -79,6 +79,10 @@ void CBroom::Update(_float fTimeDelta)
|
||||
|
||||
if(!m_pParentUnit->IsAI())
|
||||
PlayerInput();
|
||||
else {
|
||||
m_bHoverToggle = m_Input.bHoverToggle;
|
||||
m_bTurbo = m_Input.bTurbo;
|
||||
}
|
||||
|
||||
if (!m_bRide)
|
||||
{
|
||||
@@ -266,8 +270,15 @@ void CBroom::PlayerInput()
|
||||
m_Input.Y = (m_pGameInstance->Key_Pressing(DIK_SPACE) ? 1.f : 0.f)
|
||||
- (m_pGameInstance->Key_Pressing(DIK_LCONTROL) ? 1.f : 0.f + m_pGameInstance->Key_Pressing(DIK_N) ? 1.f : 0.f);
|
||||
|
||||
m_Input.bHoverToggle = m_pGameInstance->Key_Down(DIK_LSHIFT);
|
||||
if (m_pGameInstance->Key_Up(DIK_LSHIFT))
|
||||
{
|
||||
m_Input.bHoverToggle = !m_Input.bHoverToggle;
|
||||
m_bHoverToggle = m_Input.bHoverToggle;
|
||||
}
|
||||
|
||||
|
||||
m_Input.bTurbo = m_pGameInstance->Mouse_Pressing(DIM_LBUTTON);
|
||||
m_bTurbo = m_Input.bTurbo;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,193 @@
|
||||
#include "pch.h"
|
||||
#include "BroomRaceManager.h"
|
||||
|
||||
#include "GameInstance.h"
|
||||
#include "RaceRing.h"
|
||||
#include "Layer.h"
|
||||
|
||||
CBroomRaceManager::CBroomRaceManager(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
: CGameObject(pDevice, pContext)
|
||||
{
|
||||
}
|
||||
|
||||
CBroomRaceManager::CBroomRaceManager(const CBroomRaceManager& Prototype)
|
||||
: CGameObject(Prototype)
|
||||
{
|
||||
}
|
||||
|
||||
HRESULT CBroomRaceManager::Initialize_Prototype()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CBroomRaceManager::Initialize(void* pArg)
|
||||
{
|
||||
if (FAILED(__super::Initialize(pArg))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(Ready_Components())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
m_pGripShape = (GeometricPrimitive::CreateSphere(m_pContext, 1.f, 10, false, false));
|
||||
m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, 1.2f, 10, false, false));
|
||||
#endif // _DEBUG
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CBroomRaceManager::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
__super::Priority_Update(fTimeDelta);
|
||||
|
||||
Check_RingPassed();
|
||||
}
|
||||
|
||||
void CBroomRaceManager::Update(_float fTimeDelta)
|
||||
{
|
||||
__super::Update(fTimeDelta);
|
||||
#ifdef _DEBUG
|
||||
Describe_Entity();
|
||||
#endif // _DEBUG
|
||||
}
|
||||
|
||||
void CBroomRaceManager::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
__super::Late_Update(fTimeDelta);
|
||||
}
|
||||
|
||||
|
||||
HRESULT CBroomRaceManager::Ready_Components()
|
||||
{
|
||||
CTransform::TRANSFORM_DESC Desc = {};
|
||||
|
||||
Desc.fSpeedPerSec = 10.f;
|
||||
Desc.fRotationPerSec = XMConvertToRadians(180.0f);
|
||||
Desc.fRadius = 10.f;
|
||||
|
||||
if (FAILED(__super::Ready_Components(&Desc))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CBroomRaceManager::Bind_ShaderResources()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
CBroomRaceManager* CBroomRaceManager::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
{
|
||||
CBroomRaceManager* pInstance = new CBroomRaceManager(pDevice, pContext);
|
||||
|
||||
if (FAILED(pInstance->Initialize_Prototype()))
|
||||
{
|
||||
MSG_BOX("Failed to Created : CBroomRaceManager");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
CGameObject* CBroomRaceManager::Clone(void* pArg, CGameObject* pOwner)
|
||||
{
|
||||
CBroomRaceManager* pInstance = new CBroomRaceManager(*this);
|
||||
|
||||
if (FAILED(pInstance->Initialize(pArg)))
|
||||
{
|
||||
MSG_BOX("Failed to Cloned : CBroomRaceManager");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
void CBroomRaceManager::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
for (auto& Racer : m_Racers)
|
||||
{
|
||||
SAFE_RELEASE(Racer.pRacer);
|
||||
}
|
||||
m_Racers.clear();
|
||||
|
||||
for (auto& Ring : m_pRaceRings)
|
||||
{
|
||||
SAFE_RELEASE(Ring);
|
||||
}
|
||||
m_pRaceRings.clear();
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CBroomRaceManager::Describe_Entity()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
void CBroomRaceManager::Check_RingPassed()
|
||||
{
|
||||
for (auto& racer : m_Racers)
|
||||
{
|
||||
CRaceRing* pRing = m_pRaceRings[racer.curRing];
|
||||
_vector ringPos = pRing->Get_WorldPostion();
|
||||
_vector broomPos = racer.pRacer->Get_WorldPostion();
|
||||
|
||||
_vector ringFwd =pRing->Get_Component<CTransform>()->Get_State(STATE::LOOK);
|
||||
ringFwd = XMVector3Normalize(ringFwd);
|
||||
|
||||
_float prevSide = XMVectorGetX(XMVector3Dot(ringFwd, racer.prevPos - ringPos));
|
||||
_float currSide = XMVectorGetX(XMVector3Dot(ringFwd, broomPos - ringPos));
|
||||
|
||||
_float dist = XMVectorGetX(XMVector3Length(broomPos - ringPos));
|
||||
|
||||
const _float PASS_RADIUS = 50.f;
|
||||
|
||||
GUI::Text("CurRing %d", racer.curRing);
|
||||
|
||||
#ifdef _DEBUG
|
||||
m_pGripShape->Draw(m_pTransformCom->Get_XMWorldMatrix(), m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW), m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ), DirectX::Colors::Green, nullptr, true);
|
||||
m_pSubShape->Draw(pRing->Get_Component<CTransform>()->Get_XMWorldMatrix(), m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW), m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ), DirectX::Colors::Purple, nullptr, true);
|
||||
#endif // _DEBUG
|
||||
|
||||
if (prevSide < 0.f && currSide >= 0.f && dist < PASS_RADIUS)
|
||||
{
|
||||
racer.curRing++;
|
||||
if (racer.curRing >= m_pRaceRings.size())
|
||||
racer.curRing = 0;
|
||||
}
|
||||
|
||||
racer.prevPos = broomPos;
|
||||
}
|
||||
}
|
||||
|
||||
CRaceRing* CBroomRaceManager::GetTargetRing(CGameObject* pRacer)
|
||||
{
|
||||
for (auto& racer : m_Racers)
|
||||
{
|
||||
if (racer.pRacer == pRacer)
|
||||
return m_pRaceRings[racer.curRing];
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void CBroomRaceManager::Push_BroomRacer(RacerInfo Info)
|
||||
{
|
||||
RacerInfo info;
|
||||
info.pRacer = Info.pRacer;
|
||||
info.curRing = Info.curRing;
|
||||
info.prevPos = Info.prevPos;
|
||||
|
||||
m_Racers.push_back(info);
|
||||
SAFE_ADDREF(Info.pRacer);
|
||||
}
|
||||
|
||||
void CBroomRaceManager::Push_RaceRing(CRaceRing* Ring)
|
||||
{
|
||||
m_pRaceRings.push_back(Ring);
|
||||
SAFE_ADDREF(Ring);
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
#include "GameInstance.h"
|
||||
#include "Broom.h"
|
||||
#include "RaceRing.h"
|
||||
#include "CamPosition_Shoulder.h"
|
||||
#include "BroomRaceManager.h"
|
||||
|
||||
#pragma region STATE
|
||||
#include "State_Broom_Ride.h"
|
||||
@@ -55,8 +57,6 @@ HRESULT CBroomRacerAI::Initialize(void* pArg)
|
||||
SAFE_ADDREF(m_pBroomModel);
|
||||
SAFE_ADDREF(m_pBroomTransform);
|
||||
|
||||
|
||||
|
||||
Add_FSM();
|
||||
|
||||
Set_Anim();
|
||||
@@ -70,7 +70,11 @@ HRESULT CBroomRacerAI::Initialize(void* pArg)
|
||||
m_pFSM->Change_State(FSMSTATE::BROOM_RIDE_MOVE);
|
||||
}
|
||||
|
||||
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-82.f, -30.f, -56.f, 1.f));
|
||||
_float X = m_pGameInstance->Real_Random_Float(-200.f, 200.f);
|
||||
_float Y = m_pGameInstance->Real_Random_Float(-200.f, 200.f);
|
||||
_float Z = m_pGameInstance->Real_Random_Float(-200.f, 200.f);
|
||||
|
||||
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(X, Y, Z, 1.f));
|
||||
|
||||
#ifdef _DEBUG
|
||||
m_BasicEffect = make_unique<BasicEffect>(m_pDevice);
|
||||
@@ -85,21 +89,15 @@ HRESULT CBroomRacerAI::Initialize(void* pArg)
|
||||
|
||||
m_pBroom->Set_Ride(true);
|
||||
|
||||
m_pRaceRingList = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_RaceRing"))->Get_Objects();
|
||||
m_pBroomRaceManager = static_cast<CBroomRaceManager*>(pArg);
|
||||
|
||||
if (m_pRaceRingList && !m_pRaceRingList->empty())
|
||||
{
|
||||
m_itCurRing = m_pRaceRingList->begin();
|
||||
m_pRaceRing = static_cast<CRaceRing*>(*m_itCurRing);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_pRaceRing = nullptr;
|
||||
}
|
||||
CBroomRaceManager::RacerInfo Info;
|
||||
|
||||
Info.pRacer = this;
|
||||
Info.curRing = 0;
|
||||
Info.prevPos = Get_WorldPostion();
|
||||
|
||||
m_vPrevPos = m_pBroom->Get_WorldPostion();
|
||||
|
||||
m_pBroomRaceManager->Push_BroomRacer(Info);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
@@ -108,7 +106,7 @@ void CBroomRacerAI::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
__super::Priority_Update(fTimeDelta);
|
||||
|
||||
Check_RingPassed();
|
||||
m_pRaceRing = m_pBroomRaceManager->GetTargetRing(this);
|
||||
}
|
||||
|
||||
void CBroomRacerAI::Update(_float fTimeDelta)
|
||||
@@ -135,10 +133,10 @@ void CBroomRacerAI::Update(_float fTimeDelta)
|
||||
|
||||
void CBroomRacerAI::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
Set_Input();
|
||||
Set_Input(fTimeDelta);
|
||||
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::SHADOW, this);
|
||||
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
|
||||
|
||||
__super::Late_Update(fTimeDelta);
|
||||
|
||||
@@ -176,21 +174,17 @@ HRESULT CBroomRacerAI::Render()
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
HRESULT CBroomRacerAI::Render_Shadow()
|
||||
HRESULT CBroomRacerAI::Render_Shadow(SHADOW eType)
|
||||
{
|
||||
if (FAILED(m_pShaderCom->Bind_Matrix("g_WorldMatrix", m_pTransformCom->Get_WorldMatrixPtr()))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", &m_pGameInstance->Get_ShadowDesc()->fFar, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
_uint iNumMeshes = m_pModelCom->Get_NumMeshes();
|
||||
|
||||
for (_uint i = 0; i < iNumMeshes; i++)
|
||||
@@ -199,9 +193,6 @@ HRESULT CBroomRacerAI::Render_Shadow()
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_ANIM::DEFAULT)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -291,23 +282,40 @@ HRESULT CBroomRacerAI::Bind_ShaderResources()
|
||||
|
||||
_float CBroomRacerAI::ComputeTurnToRing()
|
||||
{
|
||||
_vector toRing = XMVector3Normalize(m_pRaceRing->Get_WorldPostion() - m_pBroom->Get_WorldPostion());
|
||||
_vector toRing = m_pRaceRing->Get_WorldPostion() - m_pBroom->Get_WorldPostion();
|
||||
toRing = XMVector3Normalize(XMVectorSetY(toRing, 0.f));
|
||||
|
||||
_vector myRight = m_pBroom->Get_Component<CTransform>()->Get_State(STATE::RIGHT);
|
||||
_vector myLook = m_pBroom->Get_Component<CTransform>()->Get_State(STATE::LOOK);
|
||||
myLook = XMVector3Normalize(XMVectorSetY(myLook, 0.f));
|
||||
|
||||
_float turn = XMVectorGetX(XMVector3Dot(toRing, myRight));
|
||||
_vector cross = XMVector3Cross(myLook, toRing);
|
||||
_float turn = XMVectorGetY(cross);
|
||||
|
||||
_float DEAD = 0.05f;
|
||||
if (fabsf(turn) < DEAD)
|
||||
return 0.f;
|
||||
|
||||
return clamp(turn, -1.f, 1.f);
|
||||
}
|
||||
|
||||
|
||||
|
||||
_float CBroomRacerAI::ComputeHeightAdjust()
|
||||
{
|
||||
_float dy = (XMVectorGetY(m_pRaceRing->Get_WorldPostion()) - (XMVectorGetY(m_pBroom->Get_WorldPostion())));
|
||||
dy += 13.f;
|
||||
return clamp(dy, -1.f, 1.f);
|
||||
_float dy = (XMVectorGetY(m_pRaceRing->Get_WorldPostion()) + 15.f)
|
||||
- XMVectorGetY(m_pBroom->Get_WorldPostion());
|
||||
|
||||
_float DEAD = 5.f;
|
||||
_float RANGE = 40.f;
|
||||
|
||||
if (fabsf(dy) < DEAD)
|
||||
return 0.f;
|
||||
|
||||
return clamp(dy / RANGE, -1.f, 1.f);
|
||||
}
|
||||
|
||||
|
||||
|
||||
CBroomRacerAI* CBroomRacerAI::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
{
|
||||
CBroomRacerAI* pInstance = new CBroomRacerAI(pDevice, pContext);
|
||||
@@ -340,12 +348,12 @@ void CBroomRacerAI::Free()
|
||||
SAFE_RELEASE(m_pBroomModel);
|
||||
SAFE_RELEASE(m_pBroomTransform);
|
||||
SAFE_RELEASE(m_pBroom);
|
||||
SAFE_RELEASE(m_pCamPosition_ShoulderPart);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CBroomRacerAI::Describe_Entity()
|
||||
{
|
||||
GUI::Text("Index %d", m_iIndex);
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
@@ -640,57 +648,23 @@ void CBroomRacerAI::Set_Anim()
|
||||
m_Animation[STATEANIM::BROOM_TURBO_UP] = { 720,true };
|
||||
}
|
||||
|
||||
void CBroomRacerAI::Check_RingPassed()
|
||||
void CBroomRacerAI::Set_Input(_float fTimeDelta)
|
||||
{
|
||||
if (m_pRaceRing == nullptr)
|
||||
return;
|
||||
_float targetX = ComputeTurnToRing();
|
||||
_float targetY = ComputeHeightAdjust();
|
||||
|
||||
_vector ringPos = m_pRaceRing->Get_WorldPostion();
|
||||
_vector broomPos = m_pBroom->Get_WorldPostion();
|
||||
_float SMOOTH = 6.f;
|
||||
|
||||
_vector ringFwd = m_pRaceRing->Get_Component<CTransform>()->Get_State(STATE::LOOK);
|
||||
ringFwd = XMVector3Normalize(ringFwd);
|
||||
m_fSmoothX += (targetX - m_fSmoothX) * SMOOTH * fTimeDelta;
|
||||
m_fSmoothY += (targetY - m_fSmoothY) * SMOOTH * fTimeDelta;
|
||||
|
||||
_float prevSide = XMVectorGetX(XMVector3Dot(ringFwd, m_vPrevPos - ringPos));
|
||||
_float currSide = XMVectorGetX(XMVector3Dot(ringFwd, broomPos - ringPos));
|
||||
|
||||
_float dist = XMVectorGetX(XMVector3Length(broomPos - ringPos));
|
||||
|
||||
const _float PASS_RADIUS = 30.f;
|
||||
|
||||
if (prevSide < 0.f && currSide >= 0.f && dist < PASS_RADIUS)
|
||||
{
|
||||
OnRingPassed();
|
||||
}
|
||||
else if (prevSide > 0.f && currSide <= 0.f && dist < PASS_RADIUS)
|
||||
{
|
||||
OnRingPassed();
|
||||
}
|
||||
|
||||
|
||||
m_vPrevPos = broomPos;
|
||||
}
|
||||
|
||||
void CBroomRacerAI::OnRingPassed()
|
||||
{
|
||||
++m_itCurRing;
|
||||
++m_iIndex;
|
||||
if (m_itCurRing == m_pRaceRingList->end())
|
||||
{
|
||||
m_itCurRing = m_pRaceRingList->begin();
|
||||
}
|
||||
|
||||
m_pRaceRing = static_cast<CRaceRing*>(*m_itCurRing);
|
||||
}
|
||||
|
||||
void CBroomRacerAI::Set_Input()
|
||||
{
|
||||
CBroom::BroomInput InputDesc;
|
||||
InputDesc.Z = 1.f;
|
||||
InputDesc.Y = ComputeHeightAdjust();
|
||||
InputDesc.X = ComputeTurnToRing();
|
||||
InputDesc.X = m_fSmoothX;
|
||||
InputDesc.Y = m_fSmoothY;
|
||||
InputDesc.bHoverToggle = false;
|
||||
InputDesc.bTurbo = false;
|
||||
|
||||
m_pBroom->Set_Input(InputDesc);
|
||||
}
|
||||
|
||||
|
||||
@@ -191,7 +191,6 @@ HRESULT CBroom::Behavior_Broom_HoverExitCheck(_float fTimeDelta)
|
||||
_bool bUp = m_Input.Y > 0.f;
|
||||
_bool bDown = m_Input.Y < 0.f;
|
||||
_bool bShift = m_Input.bHoverToggle;
|
||||
m_bHoverToggle = m_Input.bHoverToggle;
|
||||
_bool bTurbo = m_Input.bTurbo;
|
||||
|
||||
if (m_bHoverToggle)
|
||||
@@ -234,7 +233,6 @@ HRESULT CBroom::Behavior_Broom_HoverExitCheck(_float fTimeDelta)
|
||||
|
||||
if (bFwd)
|
||||
{
|
||||
//Camera_InterpTurn(fTimeDelta*0.5f);
|
||||
m_fTargetSpeed = m_fHoverMaxSpeed;
|
||||
m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel;
|
||||
m_pTransformCom->Go_LerpStraight(m_fSpeed, fTimeDelta);
|
||||
@@ -244,7 +242,6 @@ HRESULT CBroom::Behavior_Broom_HoverExitCheck(_float fTimeDelta)
|
||||
{
|
||||
if (!bFwd)
|
||||
{
|
||||
//Camera_InterpTurn(fTimeDelta * 0.5f);
|
||||
m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.5f);
|
||||
m_fTargetSpeed = m_fHoverMaxSpeed;
|
||||
m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel;
|
||||
@@ -259,7 +256,6 @@ HRESULT CBroom::Behavior_Broom_HoverExitCheck(_float fTimeDelta)
|
||||
{
|
||||
if (!bFwd)
|
||||
{
|
||||
//Camera_InterpTurn(fTimeDelta * 0.5f);
|
||||
m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.5f);
|
||||
m_fTargetSpeed = m_fHoverMaxSpeed;
|
||||
m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel;
|
||||
@@ -435,11 +431,9 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
|
||||
{
|
||||
if (vInput.z <= 0.f)
|
||||
{
|
||||
//Camera_InterpTurn(fTimeDelta * 0.4f);
|
||||
m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.4f);
|
||||
}
|
||||
else {
|
||||
//Camera_InterpTurn(fTimeDelta * 0.2f);
|
||||
m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.2f);
|
||||
}
|
||||
}
|
||||
@@ -447,11 +441,9 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
|
||||
{
|
||||
if (vInput.z <= 0.f)
|
||||
{
|
||||
//Camera_InterpTurn(fTimeDelta * 0.4f);
|
||||
m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.4f);
|
||||
}
|
||||
else {
|
||||
//Camera_InterpTurn(fTimeDelta * 0.2f);
|
||||
m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.2f);
|
||||
}
|
||||
}
|
||||
@@ -594,9 +586,9 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
|
||||
m_bTurbo = false;
|
||||
}
|
||||
|
||||
if (!m_bHoverToggle && m_bTurbo) {
|
||||
|
||||
if (SUCCEEDED(InputAction()) || SUCCEEDED(InputMove()))
|
||||
if (!m_bHoverToggle)
|
||||
{
|
||||
if (SUCCEEDED(InputMove()))
|
||||
{
|
||||
if (bFwd) {
|
||||
m_fTargetSpeed = m_fTurboMaxSpeed;
|
||||
@@ -611,6 +603,10 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
|
||||
|
||||
m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fTurboAccel;
|
||||
m_pTransformCom->Go_LerpStraight(m_fSpeed, fTimeDelta);
|
||||
}
|
||||
|
||||
|
||||
if (!m_bHoverToggle && m_bTurbo) {
|
||||
|
||||
_float fTargetVertSpeed = 0.f;
|
||||
|
||||
@@ -632,7 +628,7 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
|
||||
m_pTransformCom->Go_LerpDown(-m_fVerticalSpeed, fTimeDelta);
|
||||
}
|
||||
|
||||
if (SUCCEEDED(InputAction()) || SUCCEEDED(InputMove()))
|
||||
if (SUCCEEDED(InputMove()))
|
||||
{
|
||||
_float3 vInput = { 0.f, 0.f, 0.f };
|
||||
|
||||
@@ -656,7 +652,7 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
|
||||
Camera_InterpTurn(fTimeDelta * 0.3f);
|
||||
}
|
||||
else {
|
||||
Camera_InterpTurn(fTimeDelta * 0.1f);
|
||||
Camera_InterpTurn(fTimeDelta * 0.15f);
|
||||
}
|
||||
}
|
||||
else if (vInput.x > 0.f)
|
||||
@@ -666,7 +662,7 @@ HRESULT CBroom::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
|
||||
Camera_InterpTurn(fTimeDelta * 0.3f);
|
||||
}
|
||||
else {
|
||||
Camera_InterpTurn(fTimeDelta * 0.1f);
|
||||
Camera_InterpTurn(fTimeDelta * 0.15f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ void CBuildingContainer::Update(_float fTimeDelta)
|
||||
|
||||
void CBuildingContainer::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_pGameInstance->isIn_WorldFrustum(XMVectorSetW(XMLoadFloat3(&m_vExtentWorldPosition), 1.f), m_fRadius)) {
|
||||
if (m_pGameInstance->IsIn_WorldFrustum(XMVectorSetW(XMLoadFloat3(&m_vExtentWorldPosition), 1.f), m_fRadius)) {
|
||||
if (m_fCamDepth > 3000.f)
|
||||
{
|
||||
if (m_pOcclusionQueryCom->isDraw())
|
||||
@@ -59,12 +59,12 @@ HRESULT CBuildingContainer::Render()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CBuildingContainer::Render_Shadow()
|
||||
HRESULT CBuildingContainer::Render_Shadow(SHADOW eType)
|
||||
{
|
||||
unordered_map<_string, CPartObject*>::iterator iter = m_PartObjects.begin();
|
||||
for (; iter != m_PartObjects.end(); ++iter) {
|
||||
CPartObject* pObject = (*iter).second;
|
||||
if (FAILED(pObject->Render_Shadow())) {
|
||||
if (FAILED(pObject->Render_Shadow(eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ void CDummy_PhysXPlayable::Late_Update(_float fTimeDelta)
|
||||
Describe_Entity();
|
||||
#endif // _DEBUG
|
||||
|
||||
if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) {
|
||||
if (m_pGameInstance->IsIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) {
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::BLEND, this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -815,6 +815,11 @@ ON_COLLISION_INFO CEffect_Container::MonsterSweepTarget(_vector StartPos, _vecto
|
||||
m_bHit = true;
|
||||
}
|
||||
break;
|
||||
case PXOBJECT::SKILL_PROTEGO:
|
||||
{
|
||||
pUserData->pOwner->OnCollision(this, &tagCollInfo);
|
||||
m_bHit = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +64,9 @@ 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(-60.f, 5.f, -50.f, 1.f));
|
||||
|
||||
m_pCharacter_Controller->Set_Position(XMVectorSet(-30.f, 0.f, -14.f, 1.f));
|
||||
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-30.f, 0.f, -14.f, 1.f));
|
||||
|
||||
|
||||
m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object<CEffectPool>();
|
||||
@@ -144,7 +146,8 @@ void CGoblin::Late_Update(_float fTimeDelta)
|
||||
}
|
||||
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::SHADOW, this);
|
||||
|
||||
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
|
||||
}
|
||||
|
||||
HRESULT CGoblin::Render()
|
||||
@@ -223,18 +226,15 @@ HRESULT CGoblin::Render()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CGoblin::Render_Shadow()
|
||||
HRESULT CGoblin::Render_Shadow(SHADOW eType)
|
||||
{
|
||||
if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", &m_pGameInstance->Get_ShadowDesc()->fFar, sizeof(_float)))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
_uint iNumMeshes = m_pModelCom->Get_NumMeshes();
|
||||
@@ -294,18 +294,23 @@ void CGoblin::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
case ENUM_CLASS(SKILL_TYPE::JAP):
|
||||
{
|
||||
m_eHitSpell = ENUM_CLASS(SKILL_TYPE::JAP);
|
||||
m_DamageInfo.fDamage = damagePair.first;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("Monster_Hit"), &m_DamageInfo);
|
||||
if (0 == damagePair.second) {
|
||||
m_pFSM->Change_State(FSMSTATE::DEAD);
|
||||
return;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case ENUM_CLASS(SKILL_TYPE::LEVIOSO):
|
||||
m_eHitSpell = ENUM_CLASS(SKILL_TYPE::LEVIOSO);
|
||||
break;
|
||||
case ENUM_CLASS(SKILL_TYPE::ACCIO):
|
||||
m_eHitSpell = ENUM_CLASS(SKILL_TYPE::ACCIO);
|
||||
break;
|
||||
}
|
||||
|
||||
m_DamageInfo.fDamage = damagePair.first;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("Monster_Hit"), &m_DamageInfo);
|
||||
if (0 == damagePair.second) {
|
||||
m_pFSM->Change_State(FSMSTATE::DEAD);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!m_pFSM->IsEnable(FSMSTATE::BLINK)) {
|
||||
m_pFSM->Change_State(FSMSTATE::HIT);
|
||||
}
|
||||
|
||||
@@ -216,7 +216,7 @@ void CGoblin_BattleAxe::CheckAxeHits(_uint& iHitCount, vector<PSX::PxSweepHit>&
|
||||
|
||||
_bool bCollision = false;
|
||||
m_SweepBufferAxe = {};
|
||||
bCollision = m_pGameInstance->SphereCast(1.f, vStartPos, vDir, fDistance, PSX::PxHitFlag::eDEFAULT, PSX::PxQueryFlag::eDYNAMIC, m_SweepBufferAxe);
|
||||
bCollision = m_pGameInstance->SphereCast(0.5f, vStartPos, vDir, fDistance, PSX::PxHitFlag::eDEFAULT, PSX::PxQueryFlag::eDYNAMIC, m_SweepBufferAxe);
|
||||
if (true == bCollision) {
|
||||
iHitCount += m_SweepBufferAxe.getNbTouches() + m_SweepBufferAxe.hasBlock;
|
||||
auto touches = m_SweepBufferAxe.getTouches();
|
||||
@@ -237,7 +237,7 @@ void CGoblin_BattleAxe::CheckAxeHits(_uint& iHitCount, vector<PSX::PxSweepHit>&
|
||||
|
||||
_bool bCollision = false;
|
||||
m_SweepBufferGrip = {};
|
||||
bCollision = m_pGameInstance->SphereCast(1.f, vStartPos, vDir, fDistance, PSX::PxHitFlag::eDEFAULT, PSX::PxQueryFlag::eDYNAMIC, m_SweepBufferGrip);
|
||||
bCollision = m_pGameInstance->SphereCast(0.5f, vStartPos, vDir, fDistance, PSX::PxHitFlag::eDEFAULT, PSX::PxQueryFlag::eDYNAMIC, m_SweepBufferGrip);
|
||||
if (true == bCollision) {
|
||||
iHitCount += m_SweepBufferGrip.getNbTouches() + m_SweepBufferGrip.hasBlock;
|
||||
auto touches = m_SweepBufferGrip.getTouches();
|
||||
|
||||
@@ -64,10 +64,8 @@ HRESULT CGoblin_Mage::Initialize(void* pArg)
|
||||
m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object<CEffectPool>();
|
||||
SAFE_ADDREF(m_pEffectPool);
|
||||
|
||||
|
||||
m_pCharacter_Controller->Set_Position(XMVectorSet(-65.f, 5.f, -50.f, 1.f));
|
||||
|
||||
|
||||
m_pCharacter_Controller->Set_Position(XMVectorSet(-52.f, 0.f, -4.f, 1.f));
|
||||
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-52.f, 0.f, -4.f, 1.f));
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
@@ -150,7 +148,8 @@ void CGoblin_Mage::Late_Update(_float fTimeDelta)
|
||||
m_pGoblin_Orb->Get_Component<CTransform>()->Set_WorldMatrix(World);
|
||||
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::SHADOW, this);
|
||||
|
||||
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
|
||||
}
|
||||
|
||||
HRESULT CGoblin_Mage::Render()
|
||||
@@ -216,18 +215,15 @@ HRESULT CGoblin_Mage::Render()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CGoblin_Mage::Render_Shadow()
|
||||
HRESULT CGoblin_Mage::Render_Shadow(SHADOW eType)
|
||||
{
|
||||
if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", &m_pGameInstance->Get_ShadowDesc()->fFar, sizeof(_float)))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
_uint iNumMeshes = m_pModelCom->Get_NumMeshes();
|
||||
@@ -286,17 +282,21 @@ void CGoblin_Mage::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
case ENUM_CLASS(SKILL_TYPE::JAP):
|
||||
{
|
||||
m_eHitSpell = ENUM_CLASS(SKILL_TYPE::JAP);
|
||||
m_DamageInfo.fDamage = damagePair.first;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("Monster_Hit"), &m_DamageInfo);
|
||||
if (0 == damagePair.second) {
|
||||
m_pFSM->Change_State(FSMSTATE::DEAD);
|
||||
return;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case ENUM_CLASS(SKILL_TYPE::LEVIOSO):
|
||||
m_eHitSpell = ENUM_CLASS(SKILL_TYPE::LEVIOSO);
|
||||
break;
|
||||
case ENUM_CLASS(SKILL_TYPE::ACCIO):
|
||||
m_eHitSpell = ENUM_CLASS(SKILL_TYPE::ACCIO);
|
||||
break;
|
||||
}
|
||||
|
||||
m_DamageInfo.fDamage = damagePair.first;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("Monster_Hit"), &m_DamageInfo);
|
||||
if (0 == damagePair.second) {
|
||||
m_pFSM->Change_State(FSMSTATE::DEAD);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!m_pFSM->IsEnable(FSMSTATE::BLINK)) {
|
||||
|
||||
@@ -418,6 +418,9 @@ void CGoblin_Mage::Behavior_HitEnter()
|
||||
case ENUM_CLASS(SKILL_TYPE::LEVIOSO):
|
||||
pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO];
|
||||
break;
|
||||
case ENUM_CLASS(SKILL_TYPE::ACCIO):
|
||||
pairAnimInfo = m_Animation[STATEANIM::INCARCEROUS];
|
||||
break;
|
||||
}
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
@@ -427,6 +430,7 @@ HRESULT CGoblin_Mage::Behavior_HitExitCheck(_float fTimeDelta)
|
||||
{
|
||||
pair<_uint, _bool> pairAnimInfo = {};
|
||||
_uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
|
||||
CTransform* pTransform = m_pTarget->Get_Component<CTransform>();
|
||||
|
||||
if (iCurrAnimIndex == m_Animation[STATEANIM::KNOCKDOWN_FWD].first)
|
||||
{
|
||||
@@ -437,20 +441,63 @@ HRESULT CGoblin_Mage::Behavior_HitExitCheck(_float fTimeDelta)
|
||||
}
|
||||
}
|
||||
|
||||
if (iCurrAnimIndex == m_Animation[STATEANIM::HIT_LEVIOSO].first)
|
||||
if (m_eHitSpell == ENUM_CLASS(SKILL_TYPE::LEVIOSO))
|
||||
{
|
||||
_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);
|
||||
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);
|
||||
}
|
||||
}
|
||||
else {
|
||||
m_pCharacter_Controller->Set_Position(vPos);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!m_bPos)
|
||||
{
|
||||
m_pCharacter_Controller->SetGravity(false);
|
||||
_vector vPlayerPos = pTransform->Get_State(STATE::POSITION);
|
||||
_vector vMonsterPos = m_pCharacter_Controller->Get_Position();
|
||||
|
||||
_vector vDir = XMVector3Normalize(vPlayerPos - vMonsterPos);
|
||||
_float fLength = XMVectorGetX(XMVector3Length(vPlayerPos - vMonsterPos));
|
||||
|
||||
|
||||
_vector vUp = m_pTransformCom->Get_State(STATE::UP);
|
||||
vUp = XMVector4Normalize(vUp);
|
||||
_vector vPos = m_pCharacter_Controller->Get_Position();
|
||||
_vector Force = vUp * fTimeDelta * 15.f;
|
||||
|
||||
m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel;
|
||||
|
||||
if (fLength >= 3.5f)
|
||||
{
|
||||
m_pCharacter_Controller->Set_Position(
|
||||
vMonsterPos + vDir * m_fSpeed * fTimeDelta + Force
|
||||
);
|
||||
}
|
||||
else {
|
||||
m_bPos = true;
|
||||
pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f);
|
||||
}
|
||||
}
|
||||
m_pCharacter_Controller->SetGravity(false);
|
||||
|
||||
if (m_pModelCom->Get_CurrentTrackProgressRatio() >= 0.31f)
|
||||
{
|
||||
@@ -461,19 +508,20 @@ HRESULT CGoblin_Mage::Behavior_HitExitCheck(_float fTimeDelta)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
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);
|
||||
m_bPos = false;
|
||||
m_bLookAt = true;
|
||||
}
|
||||
|
||||
void CGoblin_Mage::Behavior_DeadEnter()
|
||||
@@ -741,6 +789,7 @@ void CGoblin_Mage::Set_Anim()
|
||||
|
||||
m_Animation[STATEANIM::LAND] = { 376, false };
|
||||
m_Animation[STATEANIM::HIT_LEVIOSO] = { 381, false };
|
||||
m_Animation[STATEANIM::INCARCEROUS] = { 382,false };
|
||||
|
||||
m_Animation[STATEANIM::STUMBLE_BWD_L] = { 394, false };
|
||||
m_Animation[STATEANIM::STUMBLE_BWD_R] = { 395, false };
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "Goblin_Spector.h"
|
||||
|
||||
#include "GameInstance.h"
|
||||
#include "InfoInstance.h"
|
||||
#include "Goblin.h"
|
||||
#include "Effect_Container.h"
|
||||
#include "Goblin_BattleAxe.h"
|
||||
@@ -38,6 +39,8 @@ HRESULT CGoblin_Spector::Initialize(void* pArg)
|
||||
if (FAILED(Ready_Parts()))
|
||||
return E_FAIL;
|
||||
|
||||
m_pInfoInstance->Deregist_ActiveMonster(this);
|
||||
|
||||
m_pGoblin = dynamic_cast<CGoblin*>(m_pOwner);
|
||||
SAFE_ADDREF(m_pGoblin);
|
||||
|
||||
@@ -212,10 +215,6 @@ HRESULT CGoblin_Spector::Ready_Components()
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("STAT_GOBLIN"), (CComponent**)&m_pStat))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
CPartObject::PARTOBJECT_DESC PartsDesc{};
|
||||
|
||||
PartsDesc.pParentTransform = m_pTransformCom;
|
||||
|
||||
@@ -363,7 +363,7 @@ HRESULT CGoblin::Behavior_BlinkExitCheck(_float fTimeDelta)
|
||||
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<CTransform>()->Get_State(STATE::LOOK);
|
||||
vPlayerLook = XMVectorSetY(vPlayerLook, 1.f);
|
||||
vPlayerLook = XMVectorSetY(vPlayerLook, 0.f);
|
||||
vPlayerLook = XMVector3Normalize(vPlayerLook);
|
||||
|
||||
_float randAngleDeg = m_pGameInstance->Real_Random_Float(-60.f, 60.f);
|
||||
@@ -494,6 +494,9 @@ void CGoblin::Behavior_HitEnter()
|
||||
case ENUM_CLASS(SKILL_TYPE::LEVIOSO):
|
||||
pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO];
|
||||
break;
|
||||
case ENUM_CLASS(SKILL_TYPE::ACCIO):
|
||||
pairAnimInfo = m_Animation[STATEANIM::INCARCEROUS];
|
||||
break;
|
||||
}
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
@@ -503,6 +506,7 @@ HRESULT CGoblin::Behavior_HitExitCheck(_float fTimeDelta)
|
||||
{
|
||||
pair<_uint, _bool> pairAnimInfo = {};
|
||||
_uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
|
||||
CTransform* pTransform = m_pTarget->Get_Component<CTransform>();
|
||||
|
||||
if (iCurrAnimIndex == m_Animation[STATEANIM::KNOCKDOWN_FWD].first)
|
||||
{
|
||||
@@ -513,20 +517,63 @@ HRESULT CGoblin::Behavior_HitExitCheck(_float fTimeDelta)
|
||||
}
|
||||
}
|
||||
|
||||
if (iCurrAnimIndex == m_Animation[STATEANIM::HIT_LEVIOSO].first)
|
||||
if (m_eHitSpell == ENUM_CLASS(SKILL_TYPE::LEVIOSO))
|
||||
{
|
||||
_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);
|
||||
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);
|
||||
}
|
||||
}
|
||||
else {
|
||||
m_pCharacter_Controller->Set_Position(vPos);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!m_bPos)
|
||||
{
|
||||
m_pCharacter_Controller->SetGravity(false);
|
||||
_vector vPlayerPos = pTransform->Get_State(STATE::POSITION);
|
||||
_vector vMonsterPos = m_pCharacter_Controller->Get_Position();
|
||||
|
||||
_vector vDir = XMVector3Normalize(vPlayerPos - vMonsterPos);
|
||||
_float fLength = XMVectorGetX(XMVector3Length(vPlayerPos - vMonsterPos));
|
||||
|
||||
|
||||
_vector vUp = m_pTransformCom->Get_State(STATE::UP);
|
||||
vUp = XMVector4Normalize(vUp);
|
||||
_vector vPos = m_pCharacter_Controller->Get_Position();
|
||||
_vector Force = vUp * fTimeDelta * 15.f;
|
||||
|
||||
m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel;
|
||||
|
||||
if (fLength >= 3.5f)
|
||||
{
|
||||
m_pCharacter_Controller->Set_Position(
|
||||
vMonsterPos + vDir * m_fSpeed * fTimeDelta + Force
|
||||
);
|
||||
}
|
||||
else {
|
||||
m_bPos = true;
|
||||
pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f);
|
||||
}
|
||||
}
|
||||
m_pCharacter_Controller->SetGravity(false);
|
||||
|
||||
if (m_pModelCom->Get_CurrentTrackProgressRatio() >= 0.31f)
|
||||
{
|
||||
@@ -537,10 +584,8 @@ HRESULT CGoblin::Behavior_HitExitCheck(_float fTimeDelta)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (m_pModelCom->IsFinishedAnim())
|
||||
{
|
||||
m_bLookAt = true;
|
||||
m_pFSM->Change_State(FSMSTATE::IDLE);
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -550,6 +595,8 @@ HRESULT CGoblin::Behavior_HitExitCheck(_float fTimeDelta)
|
||||
void CGoblin::Behavior_HitExit()
|
||||
{
|
||||
m_pFSM->Disable_State(FSMSTATE::HIT);
|
||||
m_bPos = false;
|
||||
m_bLookAt = true;
|
||||
}
|
||||
|
||||
void CGoblin::Behavior_DeadEnter()
|
||||
@@ -817,6 +864,7 @@ void CGoblin::Set_Anim()
|
||||
|
||||
m_Animation[STATEANIM::LAND] = { 376, false };
|
||||
m_Animation[STATEANIM::HIT_LEVIOSO] = { 381, false };
|
||||
m_Animation[STATEANIM::INCARCEROUS] = { 382,false };
|
||||
|
||||
m_Animation[STATEANIM::STUMBLE_BWD_L] = { 394, false };
|
||||
m_Animation[STATEANIM::STUMBLE_BWD_R] = { 395, false };
|
||||
|
||||
@@ -22,10 +22,12 @@ void CInstancedProp::Update(_float fTimeDelta)
|
||||
|
||||
void CInstancedProp::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_isShake)
|
||||
if (m_isShake) {
|
||||
m_pVIBufferInstanceCom->Shake(fTimeDelta);
|
||||
}
|
||||
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
|
||||
}
|
||||
|
||||
HRESULT CInstancedProp::Render()
|
||||
@@ -47,26 +49,19 @@ HRESULT CInstancedProp::Render()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CInstancedProp::Render_Shadow()
|
||||
HRESULT CInstancedProp::Render_Shadow(SHADOW eType)
|
||||
{
|
||||
if (FAILED(m_pShaderCom->Bind_Matrix("g_WorldMatrix", m_pTransformCom->Get_WorldMatrixPtr()))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", &m_pGameInstance->Get_ShadowDesc()->fFar, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
for (_uint i = 0; i < m_iNumMesh; i++)
|
||||
{
|
||||
if (FAILED(m_pVIBufferInstanceCom->Bind_Matrial(m_pShaderCom, i)))
|
||||
return E_FAIL;
|
||||
|
||||
if (FAILED(m_pShaderCom->Begin(0)))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ void CLand::Update(_float fTimeDelta)
|
||||
|
||||
void CLand::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_pGameInstance->isIn_WorldFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_fRaduis))
|
||||
if (m_pGameInstance->IsIn_WorldFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_fRaduis))
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "Unified.h"
|
||||
#include "MapElement_Lake.h"
|
||||
#include "RaceRing.h"
|
||||
#include "BroomRaceManager.h"
|
||||
|
||||
#pragma region ACTOR
|
||||
#include "Player.h"
|
||||
@@ -62,6 +63,9 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
|
||||
if (FAILED(Ready_Layer_Item(LAYER_ITEM))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(Ready_Layer_Manager(TEXT("Layer_Manager")))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(Ready_Layer_RaceRing(TEXT("Layer_RaceRing")))) {
|
||||
return E_FAIL;
|
||||
@@ -79,7 +83,7 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
|
||||
if (FAILED(Ready_Layer_Monster())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
@@ -247,7 +251,7 @@ HRESULT CLevel_GamePlay::Ready_Background()
|
||||
isReady_Background = true;
|
||||
#endif // gimch
|
||||
#ifdef Bin
|
||||
isReady_Background = true;
|
||||
isReady_Background = false;
|
||||
#endif //
|
||||
#ifdef 진우
|
||||
isReady_Background = true;
|
||||
@@ -264,7 +268,7 @@ HRESULT CLevel_GamePlay::Ready_Background()
|
||||
if(false == isReady_Background)
|
||||
{
|
||||
/* 테스트용 맵 */
|
||||
CInfoInstance::GetInstance()->Load_MapObjects("ClientTest");
|
||||
CInfoInstance::GetInstance()->Load_MapObjects("Map1215");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -515,10 +519,11 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag)
|
||||
|
||||
HRESULT CLevel_GamePlay::Ready_Layer_BroomRacerAI(const _wstring& strLayerTag)
|
||||
{
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CBroomRacerAI>(g_iStaticLevel, NEXT_LEVEL, strLayerTag))) {
|
||||
return E_FAIL;
|
||||
for (_uint i = 0; i < 1; ++i) {
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CBroomRacerAI>(g_iStaticLevel, NEXT_LEVEL, strLayerTag, m_pBroomRaceManager))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -530,7 +535,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Item(const _wstring& strLayerTag)
|
||||
HRESULT CLevel_GamePlay::Ready_Layer_RaceRing(const _wstring& strLayerTag)
|
||||
{
|
||||
for (_uint i = 0; i < 50; ++i) {
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CRaceRing>(g_iStaticLevel, NEXT_LEVEL, strLayerTag))) {
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CRaceRing>(g_iStaticLevel, NEXT_LEVEL, strLayerTag, m_pBroomRaceManager))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
@@ -579,6 +584,15 @@ HRESULT CLevel_GamePlay::Ready_Layer_Monster()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CLevel_GamePlay::Ready_Layer_Manager(const _wstring& strLayerTag)
|
||||
{
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CBroomRaceManager>(g_iStaticLevel, NEXT_LEVEL, strLayerTag,nullptr,nullptr,&m_pBroomRaceManager))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CLevel_GamePlay::Reday_Layer_EffectPool()
|
||||
{
|
||||
|
||||
|
||||
@@ -23,9 +23,9 @@ HRESULT CLevel_Loading::Initialize(LEVEL eNextLevelID)
|
||||
m_eNextLevelID = eNextLevelID;
|
||||
|
||||
m_pLoader = CLoader::Create(m_pDevice, m_pContext, eNextLevelID);
|
||||
m_ShadowDesc.vAt = _float4(-10.f, -10.f, 10.f, 1.f);
|
||||
m_ShadowDesc.fWidth = 300.f;
|
||||
m_ShadowDesc.fHeight = 300.f;
|
||||
//m_ShadowDesc.vAt = _float4(-10.f, -10.f, 10.f, 1.f);
|
||||
//m_ShadowDesc.fWidth = 300.f;
|
||||
//m_ShadowDesc.fHeight = 300.f;
|
||||
if (nullptr == m_pLoader) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -77,9 +77,9 @@ void CLevel_Loading::Update(_float fTimeDelta)
|
||||
} break;
|
||||
case LEVEL::GAMEPLAY:
|
||||
{
|
||||
m_ShadowDesc.vAt = _float4(-194, 18.5f, -153.f, 1.f);
|
||||
m_ShadowDesc.fHeight = 1000.f;
|
||||
m_ShadowDesc.fWidth = 1000.f;
|
||||
//m_ShadowDesc.vAt = _float4(-194, 18.5f, -153.f, 1.f);
|
||||
//m_ShadowDesc.fHeight = 1000.f;
|
||||
//m_ShadowDesc.fWidth = 1000.f;
|
||||
pairLevel = CLevel_GamePlay::Create(m_pDevice, m_pContext, m_eNextLevelID, nullptr);
|
||||
} break;
|
||||
case LEVEL::FIELD:
|
||||
@@ -95,7 +95,7 @@ void CLevel_Loading::Update(_float fTimeDelta)
|
||||
assert(false); // E_IMPL
|
||||
break;
|
||||
}
|
||||
Capture_TerrainPreShadow(m_ShadowDesc);
|
||||
// Capture_TerrainPreShadow(m_ShadowDesc);
|
||||
if (SUCCEEDED(m_pGameInstance->Change_Level(pairLevel.first))) {
|
||||
if (nullptr != pairLevel.second)
|
||||
{
|
||||
@@ -115,34 +115,34 @@ HRESULT CLevel_Loading::Render()
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CLevel_Loading::Capture_TerrainPreShadow(SHADOW_LIGHT_DESC& ShadowDesc)
|
||||
{
|
||||
CLayer* pLayer = m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_BACKGROUND);
|
||||
if (nullptr != pLayer) {
|
||||
ShadowDesc.fFar = 1000.f;
|
||||
ShadowDesc.fNear = 0.1f;
|
||||
_float3 vRollPichYaw = { 35.2643897f, 45.f, 0.f }; // (1, -1, 1) 방향 look
|
||||
|
||||
_matrix matRotation = XMMatrixRotationRollPitchYaw(
|
||||
XMConvertToRadians(vRollPichYaw.x), XMConvertToRadians(vRollPichYaw.y), XMConvertToRadians(vRollPichYaw.z));
|
||||
|
||||
XMStoreFloat4(&ShadowDesc.vEye, XMLoadFloat4(&ShadowDesc.vAt) - matRotation.r[2] * (ShadowDesc.fFar * 0.25f));
|
||||
|
||||
if (FAILED(m_pGameInstance->Ready_Shadow_Light(ShadowDesc))) {
|
||||
assert(false);
|
||||
}
|
||||
|
||||
const list<CGameObject*>* pObjects = pLayer->Get_Objects();
|
||||
_float4 vPos = {};
|
||||
for (auto& pObject : *pObjects) {
|
||||
if (FAILED(m_pGameInstance->Add_RenderGroup(RENDER::PRESHADOW, pObject))) {
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
m_pGameInstance->Render_PreShadow();
|
||||
}
|
||||
}
|
||||
//
|
||||
//void CLevel_Loading::Capture_TerrainPreShadow(SHADOW_LIGHT_DESC& ShadowDesc)
|
||||
//{
|
||||
// CLayer* pLayer = m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_BACKGROUND);
|
||||
// if (nullptr != pLayer) {
|
||||
// ShadowDesc.fFar = 1000.f;
|
||||
// ShadowDesc.fNear = 0.1f;
|
||||
// _float3 vRollPichYaw = { 35.2643897f, 45.f, 0.f }; // (1, -1, 1) 방향 look
|
||||
//
|
||||
// _matrix matRotation = XMMatrixRotationRollPitchYaw(
|
||||
// XMConvertToRadians(vRollPichYaw.x), XMConvertToRadians(vRollPichYaw.y), XMConvertToRadians(vRollPichYaw.z));
|
||||
//
|
||||
// XMStoreFloat4(&ShadowDesc.vEye, XMLoadFloat4(&ShadowDesc.vAt) - matRotation.r[2] * (ShadowDesc.fFar * 0.25f));
|
||||
//
|
||||
// if (FAILED(m_pGameInstance->Ready_Shadow_Light(ShadowDesc))) {
|
||||
// assert(false);
|
||||
// }
|
||||
//
|
||||
// const list<CGameObject*>* pObjects = pLayer->Get_Objects();
|
||||
// _float4 vPos = {};
|
||||
// for (auto& pObject : *pObjects) {
|
||||
// if (FAILED(m_pGameInstance->Add_RenderGroup(RENDER::PRESHADOW, pObject))) {
|
||||
// assert(false);
|
||||
// }
|
||||
// }
|
||||
// m_pGameInstance->Render_PreShadow();
|
||||
// }
|
||||
//}
|
||||
|
||||
HRESULT CLevel_Loading::Ready_Layer_BackGround(const _wstring& strLayerTag)
|
||||
{
|
||||
|
||||
@@ -19,12 +19,14 @@ HRESULT CLight_Main::Initialize_Prototype()
|
||||
|
||||
HRESULT CLight_Main::Initialize(void* pArg)
|
||||
{
|
||||
if (FAILED(__super::Initialize(pArg)))
|
||||
if (FAILED(__super::Initialize(pArg))){
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
if (FAILED(Ready_Components()))
|
||||
if (FAILED(Ready_Components())){
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
m_pTransformCom->Set_State(STATE::LOOK, XMVectorSet(1.f, -1.f, 1.f, 0.f));
|
||||
|
||||
@@ -33,7 +35,9 @@ HRESULT CLight_Main::Initialize(void* pArg)
|
||||
|
||||
void CLight_Main::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
|
||||
_float4 vLook = {};
|
||||
XMStoreFloat4(&vLook, m_pTransformCom->Get_State(STATE::LOOK));
|
||||
m_pGameInstance->Ready_Shadow_Light(vLook);
|
||||
}
|
||||
|
||||
void CLight_Main::Update(_float fTimeDelta)
|
||||
@@ -67,7 +71,7 @@ HRESULT CLight_Main::Ready_Components()
|
||||
//LightDesc.vAmbient = _float4(0.6f, 0.6f, 0.6f, 0.f);
|
||||
//LightDesc.vSpecular = _float4(0.f, 0.f, 0.f, 0.f);
|
||||
LightDesc.vDiffuse = _float4(0.3f, 0.3f, 0.1f, 0.f);
|
||||
LightDesc.vAmbient = _float4(0.3f, 0.3f, 0.5f, 0.f);
|
||||
LightDesc.vAmbient = _float4(0.12f, 0.12f, 0.24f, 0.f);
|
||||
LightDesc.vSpecular = _float4(0.f, 0.f, 0.f, 0.f);
|
||||
LightDesc.pDirection = m_pTransformCom->Get_StatePtr(STATE::LOOK);
|
||||
LightDesc.iLevel = NEXT_LEVEL;
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "Item_Potion.h"
|
||||
#include "RaceRing.h"
|
||||
#include "Goblin_BattleAxe.h"
|
||||
#include "BroomRaceManager.h"
|
||||
|
||||
#pragma region ACTOR
|
||||
|
||||
@@ -329,7 +330,7 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
isLoad_Background = true;
|
||||
#endif // gimch
|
||||
#ifdef Bin
|
||||
isLoad_Background = true;
|
||||
isLoad_Background = false;
|
||||
#endif //
|
||||
#ifdef 진우
|
||||
isLoad_Background = true;
|
||||
@@ -1455,6 +1456,24 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
Desc.vLocalTranslation = { 0.f, 0.f, 0.f };
|
||||
}
|
||||
|
||||
CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC Desc1{};
|
||||
{
|
||||
Desc1.eType = ACTOR::BOX;
|
||||
Desc1.ePxRigidBodyFlags = { PSX::PxRigidBodyFlag::eKINEMATIC };
|
||||
Desc1.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE };
|
||||
Desc1.ePxMaterialTypes = { PXMATERIAL::DEFAULT };
|
||||
Desc1.vMatInfo = { 0.5f, 0.5f, 0.6f };
|
||||
Desc1.fContactOffset = { 0.05f };
|
||||
Desc1.vhalfGeometryInfo = { 1.f, 1.f, 1.f };
|
||||
Desc1.fDensity = 1.f;
|
||||
Desc1.pxMassCenter = PSX::PxTransform(PSX::PxIDENTITY());
|
||||
Desc1.eLockFlag = {};
|
||||
Desc1.vAutoDamping = { 1.f, 1.f };
|
||||
Desc1.vLocalRotQ = { 0.f, 0.f, 0.f, 1.f };
|
||||
Desc1.vLocalTranslation = { 0.f, 0.f, 0.f };
|
||||
}
|
||||
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_HEAVY_WALL"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -1462,6 +1481,9 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_SHIELD"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc1)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_CCT_CAPSULE"), CCharacter_Controller::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -1480,9 +1502,9 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
Desc.ePxMaterialTypes = { PXMATERIAL::DEFAULT };
|
||||
Desc.vMatInfo = { 0.5f, 0.5f, 0.6f };
|
||||
Desc.fContactOffset = { 0.05f };
|
||||
Desc.vhalfGeometryInfo = { 0.35f, 0.75f, 0.15f };
|
||||
Desc.fDensity = 10.f;
|
||||
PSX::PxTransform pxPivotTransform = PSX::PxTransform(PSX::PxVec3(0.f, 0.f, 0.f));
|
||||
Desc.vhalfGeometryInfo = { 0.35f, 0.65f, 0.15f };
|
||||
Desc.fDensity = 1.f;
|
||||
PSX::PxTransform pxPivotTransform = PSX::PxTransform(PSX::PxVec3(0.f, 1.f, 0.f));
|
||||
Desc.vLocalRotQ = { 0.f, 0.f, 0.f, 1.f };
|
||||
Desc.vLocalTranslation = { 0.5f, 0.f, 0.f };
|
||||
|
||||
@@ -2375,6 +2397,10 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CBroom>(g_iStaticLevel, CBroom::Create(m_pDevice, m_pContext))))
|
||||
return E_FAIL;
|
||||
|
||||
/* For.Prototype_GameObject_BroomRaceManager */
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CBroomRaceManager>(g_iStaticLevel, CBroomRaceManager::Create(m_pDevice, m_pContext))))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CDummy_PhysXWall>(g_iStaticLevel, CDummy_PhysXWall::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
|
||||
@@ -63,12 +63,12 @@ HRESULT CMapContainer::Render()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CMapContainer::Render_Shadow()
|
||||
HRESULT CMapContainer::Render_Shadow(SHADOW eType)
|
||||
{
|
||||
unordered_map<_string, CPartObject*>::iterator iter = m_PartObjects.begin();
|
||||
for (; iter != m_PartObjects.end(); ++iter) {
|
||||
CPartObject* pObject = (*iter).second;
|
||||
if (FAILED(pObject->Render_Shadow())) {
|
||||
if (FAILED(pObject->Render_Shadow(eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ void CMapElement_Chest::Update(_float fTimeDelta)
|
||||
|
||||
void CMapElement_Chest::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pModelComs[0]->Get_Radius())) {
|
||||
if (m_pGameInstance->IsIn_WorldFrustum(Get_WorldPostion(), m_pModelComs[0]->Get_Radius())) {
|
||||
|
||||
if (CMapElement_Chest::CHEST_STATE::FOUND == m_eCurState)
|
||||
{
|
||||
|
||||
@@ -125,7 +125,7 @@ void CMapElement_Door::Late_Update(_float fTimeDelta)
|
||||
m_vKinematicTimer.x = 0.f;
|
||||
}
|
||||
}
|
||||
if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pModelComs[0]->Get_Radius())) {
|
||||
if (m_pGameInstance->IsIn_WorldFrustum(Get_WorldPostion(), m_pModelComs[0]->Get_Radius())) {
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ void CMapElement_Interactable::Late_Update(_float fTimeDelta)
|
||||
}
|
||||
}
|
||||
|
||||
if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pModelComs[0]->Get_Radius())) {
|
||||
if (m_pGameInstance->IsIn_WorldFrustum(Get_WorldPostion(), m_pModelComs[0]->Get_Radius())) {
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ void CMapElement_Lake::Update(_float fTimeDelta)
|
||||
|
||||
void CMapElement_Lake::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if(m_pGameInstance->isIn_WorldFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_fRadius))
|
||||
if(m_pGameInstance->IsIn_WorldFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_fRadius))
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ void CMapElement_Light::Update(_float fTimeDelta)
|
||||
|
||||
void CMapElement_Light::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pModelComs[0]->Get_Radius()))
|
||||
if (m_pGameInstance->IsIn_WorldFrustum(Get_WorldPostion(), m_pModelComs[0]->Get_Radius()))
|
||||
{
|
||||
if (m_isLightOn)
|
||||
{
|
||||
|
||||
@@ -75,7 +75,7 @@ void CMapObject_Render::Update(_float fTimeDelta)
|
||||
|
||||
void CMapObject_Render::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_pGameInstance->isIn_WorldFrustum(XMLoadFloat4(&m_vExtentPosition), m_fRadius)) {
|
||||
if (m_pGameInstance->IsIn_WorldFrustum(XMLoadFloat4(&m_vExtentPosition), m_fRadius)) {
|
||||
|
||||
m_fCamDepth = XMVectorGetX(XMVector3LengthSq(XMLoadFloat4(m_pGameInstance->Get_CamPosition()) - XMLoadFloat4(&m_vExtentPosition)));
|
||||
|
||||
@@ -88,10 +88,8 @@ void CMapObject_Render::Late_Update(_float fTimeDelta)
|
||||
case MAPOBJECT_RENDER_TYPE::NORMAL:
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
break;
|
||||
|
||||
case MAPOBJECT_RENDER_TYPE::GLASS:
|
||||
break;
|
||||
|
||||
case MAPOBJECT_RENDER_TYPE::DECAL:
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::DECAL, this);
|
||||
break;
|
||||
@@ -126,21 +124,17 @@ HRESULT CMapObject_Render::Render()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CMapObject_Render::Render_Shadow()
|
||||
HRESULT CMapObject_Render::Render_Shadow(SHADOW eType)
|
||||
{
|
||||
if (FAILED(m_pShaderCom->Bind_Matrix("g_WorldMatrix", &m_CombinedWorldMatrix))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", &m_pGameInstance->Get_ShadowDesc()->fFar, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
_uint iMeshes = m_pModelComs[0]->Get_NumMeshes();
|
||||
|
||||
for (_uint i = 0; i < iMeshes; i++)
|
||||
@@ -153,7 +147,7 @@ HRESULT CMapObject_Render::Render_Shadow()
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pModelComs[m_iLodIndex]->Render(i))) {
|
||||
if (FAILED(m_pModelComs[0]->Render(i))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -194,6 +194,7 @@ HRESULT CMonster::Render_Disolve()
|
||||
{
|
||||
if (FLT_EPSILON3 * 10 < m_fDisolveTime)
|
||||
{
|
||||
m_bDrawOutLine = false;
|
||||
_bool bDisolve = true;
|
||||
_float fDisolveAmount = 0.1f;
|
||||
_float fDisolveEdgeWidth = 0.1f;
|
||||
|
||||
@@ -40,8 +40,8 @@ void CNPC_Ollivander::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
m_pTransformCom->Set_State(STATE::POSITION, m_pTransformCom->Get_EstimatedPositionByMomentum());
|
||||
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::SHADOW, this);
|
||||
//m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
//m_pGameInstance->Add_RenderGroup(RENDER::SHADOW, this);
|
||||
|
||||
__super::Late_Update(fTimeDelta);
|
||||
}
|
||||
@@ -74,21 +74,17 @@ HRESULT CNPC_Ollivander::Render()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CNPC_Ollivander::Render_Shadow()
|
||||
HRESULT CNPC_Ollivander::Render_Shadow(SHADOW eType)
|
||||
{
|
||||
if (FAILED(m_pShaderCom->Bind_Matrix("g_WorldMatrix", m_pTransformCom->Get_WorldMatrixPtr()))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", &m_pGameInstance->Get_ShadowDesc()->fFar, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
_uint iNumMeshes = m_pModelCom->Get_NumMeshes();
|
||||
|
||||
for (_uint i = 0; i < iNumMeshes; i++)
|
||||
@@ -96,9 +92,6 @@ HRESULT CNPC_Ollivander::Render_Shadow()
|
||||
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_pModelCom->Begin(i, m_pShaderCom))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ void CPhysXEffectHitBox::Late_Update(_float fTimeDelta)
|
||||
if (true == m_pCharacter_Controller->IsActive()) {
|
||||
m_pTransformCom->Set_State(STATE::POSITION, m_pCharacter_Controller->Get_Position());
|
||||
}
|
||||
if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) {
|
||||
if (m_pGameInstance->IsIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) {
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::BLEND, this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,8 +91,9 @@ HRESULT CPlayer::Initialize(void* pArg)
|
||||
m_pInfoInstance->Regist_PlayerAlly(this);
|
||||
m_pInfoInstance->Set_Damage(m_pStat->Get_Stat().fDamage);
|
||||
|
||||
m_pCharacter_Controller->Set_Position(XMVectorSet(-82.f, -30.f, -56.f, 1.f));
|
||||
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-82.f, -30.f, -56.f, 1.f));
|
||||
m_pCharacter_Controller->Set_Position(XMVectorSet(-21.f, 0.f, -14.f, 1.f));
|
||||
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-21.f, 0.f, -14.f, 1.f));
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
m_BasicEffect = make_unique<BasicEffect>(m_pDevice);
|
||||
@@ -197,7 +198,8 @@ void CPlayer::Late_Update(_float fTimeDelta)
|
||||
m_pTransformCom->Set_State(STATE::POSITION, m_pCharacter_Controller->Get_FootPosition());
|
||||
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::SHADOW, this);
|
||||
|
||||
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
|
||||
|
||||
__super::Late_Update(fTimeDelta);
|
||||
|
||||
@@ -270,21 +272,17 @@ HRESULT CPlayer::Render()
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
HRESULT CPlayer::Render_Shadow()
|
||||
HRESULT CPlayer::Render_Shadow(SHADOW eType)
|
||||
{
|
||||
if (FAILED(m_pShaderCom->Bind_Matrix("g_WorldMatrix", m_pTransformCom->Get_WorldMatrixPtr()))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", &m_pGameInstance->Get_ShadowDesc()->fFar, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
_uint iNumMeshes = m_pModelCom->Get_NumMeshes();
|
||||
|
||||
for (_uint i = 0; i < iNumMeshes; i++)
|
||||
@@ -293,10 +291,7 @@ HRESULT CPlayer::Render_Shadow()
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_ANIM::DEFAULT)))) {
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_ANIM::SHADOW)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1461,29 +1461,79 @@ void CPlayer::Behavior_ShieldEnter()
|
||||
|
||||
m_pFSM->Enable_State(FSMSTATE::SHIELD);
|
||||
pairAnimInfo = m_Animation[STATEANIM::SKILL2];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.f,true,0.5f);
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.f,true,1.f);
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::PROTEGO, this); },
|
||||
0.4f);
|
||||
0.1f);
|
||||
}
|
||||
|
||||
HRESULT CPlayer::Behavior_ShieldExitCheck()
|
||||
{
|
||||
pair<_uint, _bool> pairAnimInfo;
|
||||
|
||||
if (m_pModelCom->IsFinishedAnim()) {
|
||||
_int iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
|
||||
_float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
|
||||
|
||||
if (m_bShield)
|
||||
{
|
||||
if (m_pGameInstance->Key_Pressing(DIK_Q))
|
||||
{
|
||||
if (m_bShield)
|
||||
m_pFSM->Enable_State(FSMSTATE::PARRY);
|
||||
if (m_LockOnInfo.pUnit)
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::PARRY];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
m_bShield = false;
|
||||
return S_OK;
|
||||
}
|
||||
}
|
||||
_vector vLook = m_pTransformCom->Get_State(STATE::LOOK);
|
||||
_vector vTargetLook = m_LockOnInfo.pUnit->Get_Component<CTransform>()->Get_State(STATE::LOOK);
|
||||
|
||||
vLook = XMVector3Normalize(vLook);
|
||||
vTargetLook = XMVector3Normalize(vTargetLook);
|
||||
|
||||
_float fDot = XMVectorGetX(XMVector3Dot(vLook, vTargetLook));
|
||||
fDot = clamp(fDot, -1.0f, 1.0f);
|
||||
|
||||
_float fAngleRad = acosf(fDot);
|
||||
_float Degree = XMConvertToDegrees(fAngleRad);
|
||||
_vector vCross = XMVector3Cross(vLook, vTargetLook);
|
||||
_float Cross = XMVectorGetY(vCross);
|
||||
|
||||
if (Degree <= 45.f)
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::PARRY_180];
|
||||
}
|
||||
else if (Degree <= 120.f)
|
||||
{
|
||||
if (Cross > 0.f)
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::PARRY2];
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::PARRY3];
|
||||
}
|
||||
}
|
||||
else {
|
||||
pairAnimInfo = m_Animation[STATEANIM::PARRY4];
|
||||
}
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_bLookAt = true;
|
||||
},
|
||||
0.01f);
|
||||
}
|
||||
|
||||
Start_CameraShake(0.3f, 2.f);
|
||||
m_pGameInstance->SlowMotion(0.8f, 0.3f);
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
|
||||
/* Add_Event(pairAnimInfo.first,
|
||||
[this]() {_uint iIndex = 0; m_pEffectPool->Use_Skill(SKILL_TYPE::JAP, Get_PartObject<CWand>(), &iIndex); },
|
||||
0.2f);
|
||||
*/ m_bShield = false;
|
||||
return S_OK;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if (m_pModelCom->IsFinishedAnim()) {
|
||||
if (SUCCEEDED(InputMove()))
|
||||
{
|
||||
m_pFSM->Change_State(FSMSTATE::MOVE);
|
||||
@@ -1494,13 +1544,31 @@ HRESULT CPlayer::Behavior_ShieldExitCheck()
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
if (m_pFSM->IsEnable(FSMSTATE::PARRY))
|
||||
{
|
||||
if (fRatio >= 0.35f)
|
||||
{
|
||||
if (SUCCEEDED(InputMove()))
|
||||
{
|
||||
m_pFSM->Change_State(FSMSTATE::MOVE);
|
||||
return E_FAIL;
|
||||
}
|
||||
else {
|
||||
m_pFSM->Change_State(FSMSTATE::IDLE);
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CPlayer::Behavior_ShieldExit()
|
||||
{
|
||||
m_pFSM->Disable_State(FSMSTATE::SHIELD);
|
||||
m_pFSM->Disable_State(FSMSTATE::PARRY);
|
||||
m_bShield = false;
|
||||
m_bLookAt = false;
|
||||
}
|
||||
|
||||
void CPlayer::Behavior_HitEnter()
|
||||
@@ -1826,7 +1894,7 @@ HRESULT CPlayer::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
|
||||
{
|
||||
if (vInput.y > 0)
|
||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_UP];
|
||||
else
|
||||
else if (vInput.y < 0)
|
||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_DOWN];
|
||||
}
|
||||
else if (ax >= az)
|
||||
@@ -1835,7 +1903,7 @@ HRESULT CPlayer::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
|
||||
{
|
||||
if (vInput.y > 0)
|
||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_UP];
|
||||
else
|
||||
else if (vInput.y < 0)
|
||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_DOWN];
|
||||
}
|
||||
else {
|
||||
@@ -1860,7 +1928,7 @@ HRESULT CPlayer::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
|
||||
}
|
||||
}
|
||||
else {
|
||||
pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_FWD);
|
||||
pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_IDLE);
|
||||
}
|
||||
|
||||
if (m_pGameInstance->Key_Down(DIK_R))
|
||||
@@ -1963,24 +2031,24 @@ HRESULT CPlayer::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
|
||||
|
||||
if (ay > ax && ay > az)
|
||||
{
|
||||
if (vInput.y > 0)
|
||||
if (vInput.y > 0.f)
|
||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_TURBO_UP];
|
||||
else
|
||||
else if(vInput.y<0.f)
|
||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_TURBO_DOWN];
|
||||
}
|
||||
else if (ax >= az)
|
||||
{
|
||||
if (ay >= ax)
|
||||
{
|
||||
if (vInput.y > 0)
|
||||
if (vInput.y > 0.f)
|
||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_TURBO_UP];
|
||||
else
|
||||
else if(vInput.y<0.f)
|
||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_TURBO_DOWN];
|
||||
}
|
||||
else {
|
||||
if (vInput.x < 0)
|
||||
if (vInput.x < 0.f)
|
||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_TURBO_LEFT];
|
||||
else if (vInput.x > 0)
|
||||
else if (vInput.x > 0.f)
|
||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_TURBO_RIGHT];
|
||||
else {
|
||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_TURBO_FWD];
|
||||
@@ -1989,9 +2057,9 @@ HRESULT CPlayer::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (vInput.y > 0)
|
||||
if (vInput.y > 0.f)
|
||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_TURBO_UP];
|
||||
else if (vInput.y < 0)
|
||||
else if (vInput.y < 0.f)
|
||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_TURBO_DOWN];
|
||||
else {
|
||||
pairAnimInfo = m_Animation[STATEANIM::BROOM_TURBO_FWD];
|
||||
@@ -2002,7 +2070,7 @@ HRESULT CPlayer::Behavior_Broom_TurboFlyExitCheck(_float fTimeDelta)
|
||||
pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_TURBO_FWD);
|
||||
}
|
||||
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.f,true);
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.f,true,1.f,false);
|
||||
}
|
||||
|
||||
|
||||
@@ -2169,7 +2237,8 @@ void CPlayer::Throwing_Interactive()
|
||||
vDir = m_pTransformCom->Get_State(STATE::LOOK);
|
||||
}
|
||||
m_pGrapInteractive->Set_KinematicFlag(false);
|
||||
pBody->Add_Force(vDir * vDistance, PSX::PxForceMode::eIMPULSE);
|
||||
|
||||
pBody->Add_Force(pBody->Get_Mass() * vDir * (vDistance / 1.5f), PSX::PxForceMode::eIMPULSE);
|
||||
SAFE_RELEASE(m_pGrapInteractive);
|
||||
}
|
||||
|
||||
@@ -2547,7 +2616,7 @@ void CPlayer::Set_Anim()
|
||||
|
||||
m_Animation[STATEANIM::MAPHELP] = { 122,false };
|
||||
m_Animation[STATEANIM::POTION] = { 115,false }; // 114 포션 // 909 루모스
|
||||
m_Animation[STATEANIM::ACCIO] = { 417,false };
|
||||
m_Animation[STATEANIM::ACCIO] = { 759,false };
|
||||
m_Animation[STATEANIM::DESCENDO] = { 857,false };
|
||||
m_Animation[STATEANIM::DEPULSO] = { 858,false };
|
||||
m_Animation[STATEANIM::DIFFINDO] = { 862,false };
|
||||
@@ -2559,7 +2628,10 @@ void CPlayer::Set_Anim()
|
||||
|
||||
m_Animation[STATEANIM::SPELL_FAIL] = { 906,false };
|
||||
|
||||
m_Animation[STATEANIM::PARRY] = { 915,false };
|
||||
m_Animation[STATEANIM::PARRY_180] = { 947,false };
|
||||
m_Animation[STATEANIM::PARRY2] = { 913,false };
|
||||
m_Animation[STATEANIM::PARRY3] = { 915,false };
|
||||
m_Animation[STATEANIM::PARRY4] = { 921,false };
|
||||
|
||||
|
||||
m_Animation[STATEANIM::HIT_L] = { 1200,false };
|
||||
@@ -2570,18 +2642,19 @@ void CPlayer::Set_Anim()
|
||||
m_Animation[STATEANIM::FLINCH_RIGHT] = { 1063,false };
|
||||
m_Animation[STATEANIM::KNOCKBACK] = { 1078,false };
|
||||
|
||||
m_Animation[STATEANIM::BROOM_FWD] = { 710,true };
|
||||
m_Animation[STATEANIM::BROOM_IDLE] = { 710,true };
|
||||
m_Animation[STATEANIM::BROOM_FWD] = { 711,true };
|
||||
m_Animation[STATEANIM::BROOM_LEFT] = { 713,true };
|
||||
m_Animation[STATEANIM::BROOM_RIGHT] = { 714,true };
|
||||
m_Animation[STATEANIM::BROOM_DOWN] = { 712,true };
|
||||
m_Animation[STATEANIM::BROOM_UP] = { 715,true };
|
||||
m_Animation[STATEANIM::BROOM_REVELIO] = { 678,false };
|
||||
|
||||
m_Animation[STATEANIM::BROOM_TURBO_DOWN] = { 695,true };
|
||||
m_Animation[STATEANIM::BROOM_TURBO_FWD] = { 711,true };
|
||||
m_Animation[STATEANIM::BROOM_TURBO_LEFT] = { 713,true };
|
||||
m_Animation[STATEANIM::BROOM_TURBO_RIGHT] = { 714,true };
|
||||
m_Animation[STATEANIM::BROOM_TURBO_UP] = { 698,true };
|
||||
m_Animation[STATEANIM::BROOM_TURBO_DOWN] = { 716,true };
|
||||
m_Animation[STATEANIM::BROOM_TURBO_FWD] = { 717,true };
|
||||
m_Animation[STATEANIM::BROOM_TURBO_LEFT] = { 718,true };
|
||||
m_Animation[STATEANIM::BROOM_TURBO_RIGHT] = { 719,true };
|
||||
m_Animation[STATEANIM::BROOM_TURBO_UP] = { 720,true };
|
||||
|
||||
m_Animation[STATEANIM::BROOM_MOUNT] = { 734,false };
|
||||
m_Animation[STATEANIM::BROOM_MOUNT_END] = { 737,false };
|
||||
@@ -2626,7 +2699,7 @@ void CPlayer::Set_Anim()
|
||||
// 915
|
||||
|
||||
// 716 아래 앞 왼 오 업
|
||||
//
|
||||
// 947
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "GameInstance.h"
|
||||
#include "EffectParts.h"
|
||||
#include "Player.h"
|
||||
|
||||
|
||||
CProtego::CProtego(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
@@ -18,9 +19,6 @@ CProtego::CProtego(const CProtego& rhs)
|
||||
HRESULT CProtego::Initialize_Prototype()
|
||||
{
|
||||
|
||||
if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/Protego")))
|
||||
return E_FAIL;
|
||||
|
||||
return S_OK;
|
||||
|
||||
}
|
||||
@@ -33,29 +31,24 @@ HRESULT CProtego::Initialize(void* pArg)
|
||||
if (FAILED(Ready_Components(pArg)))
|
||||
return E_FAIL;
|
||||
|
||||
if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/Protego")))
|
||||
return E_FAIL;
|
||||
|
||||
if (FAILED(Create_Effect()))
|
||||
return E_FAIL;
|
||||
|
||||
m_pSphere = Get_PartObject<CEffectParts>("ProtegoSphere");
|
||||
m_pBottom = Get_PartObject<CEffectParts>("ProtegoBottom");
|
||||
m_pCircle = Get_PartObject<CEffectParts>("ProtegoCircle");
|
||||
|
||||
SAFE_ADDREF(m_pSphere);
|
||||
SAFE_ADDREF(m_pBottom);
|
||||
SAFE_ADDREF(m_pCircle);
|
||||
|
||||
|
||||
m_wstrEffectName = L"Protego";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
m_fAmountSize = 0.1f;
|
||||
m_fSpeed = 5.f;
|
||||
|
||||
m_fDuration = 2.5f;
|
||||
|
||||
m_isLoop = true;
|
||||
m_fDuration = 3.f;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
@@ -72,15 +65,11 @@ void CProtego::Update(_float fTimeDelta)
|
||||
return;
|
||||
|
||||
m_pSphere->Get_Component<CTransform>()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
|
||||
m_pBottom->Get_Component<CTransform>()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
|
||||
m_pCircle->Get_Component<CTransform>()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
|
||||
|
||||
m_pTransformCom->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
|
||||
__super::Update(fTimeDelta);
|
||||
|
||||
Update_Event(fTimeDelta);
|
||||
|
||||
|
||||
|
||||
/* 시작 사이즈 러프 */
|
||||
if (m_fSizeAccTime > XM_PIDIV2)
|
||||
return;
|
||||
@@ -91,7 +80,6 @@ void CProtego::Update(_float fTimeDelta)
|
||||
_float3 vSize = _float3(fSize, fSize, fSize);
|
||||
|
||||
m_pSphere->Get_Component<CTransform>()->Set_Scale(vSize);
|
||||
m_pCircle->Get_Component<CTransform>()->Set_Scale(vSize);
|
||||
}
|
||||
|
||||
void CProtego::Late_Update(_float fTimeDelta)
|
||||
@@ -106,22 +94,17 @@ void CProtego::Late_Update(_float fTimeDelta)
|
||||
|
||||
HRESULT CProtego::Pre_Setting(CGameObject* pObject, void* pArg)
|
||||
{
|
||||
if (FAILED(__super::Pre_Setting(pObject)))
|
||||
if (FAILED(__super::Pre_Setting(pObject, nullptr)))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
m_pSphere->Get_Component<CTransform>()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
|
||||
m_pBottom->Get_Component<CTransform>()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
|
||||
m_pCircle->Get_Component<CTransform>()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
|
||||
|
||||
m_pSphere->Set_Visible(true);
|
||||
m_pCircle->Set_Visible(true);
|
||||
m_pBottom->Set_Visible(true);
|
||||
|
||||
|
||||
|
||||
_float3 vSize = _float3(1.f, 1.f, 1.f);
|
||||
m_pSphere->Get_Component<CTransform>()->Set_Scale(vSize);
|
||||
m_pCircle->Get_Component<CTransform>()->Set_Scale(vSize);
|
||||
|
||||
m_fSizeAccTime = 0.f;
|
||||
|
||||
@@ -134,6 +117,16 @@ HRESULT CProtego::Ready_Components(void* pArg)
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
//{ // DO
|
||||
// CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{};
|
||||
// Desc.iSubKind = ENUM_CLASS(PXOBJECT::SKILL_PROTEGO);
|
||||
// if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_SHIELD"), (CComponent**)&m_pRigidBody, &Desc))) {
|
||||
// return E_FAIL;
|
||||
// }
|
||||
// m_pGameInstance->Attach_Actor(*m_pRigidBody->Get_Actor());
|
||||
//}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -171,25 +164,29 @@ CGameObject* CProtego::Clone(void* pArg, CGameObject* pOwner)
|
||||
|
||||
void CProtego::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
{
|
||||
//CTransform* pOtherTransform = p
|
||||
if (!m_bVisible)
|
||||
return;
|
||||
ON_COLLISION_INFO* CollisionDesc = static_cast<ON_COLLISION_INFO*>(pDesc);
|
||||
|
||||
dynamic_cast<CPlayer*>(m_pOwner)->Set_Shield(true);
|
||||
}
|
||||
|
||||
void CProtego::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
//if(m_pPhysHitBox != nullptr)
|
||||
// if (m_pPhysHitBox->Get_Depth() == false)
|
||||
// SAFE_RELEASE(m_pPhysHitBox);
|
||||
SAFE_RELEASE(m_pRigidBody);
|
||||
SAFE_RELEASE(m_pSphere);
|
||||
SAFE_RELEASE(m_pBottom);
|
||||
SAFE_RELEASE(m_pCircle);
|
||||
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CProtego::Describe_Entity()
|
||||
{
|
||||
GUI::Begin("PROTEGO", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
||||
GUI::Begin("PROTEGO");
|
||||
|
||||
GUI::DragFloat("fAmountSize", &m_fAmountSize);
|
||||
GUI::DragFloat("fSpeed", &m_fSpeed);
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "pch.h"
|
||||
#include "RaceRing.h"
|
||||
|
||||
#include "BroomRaceManager.h"
|
||||
#include "GameInstance.h"
|
||||
|
||||
CRaceRing::CRaceRing(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
@@ -30,9 +31,16 @@ HRESULT CRaceRing::Initialize(void* pArg)
|
||||
}
|
||||
|
||||
_float X = m_pGameInstance->Real_Random_Float(-200.f, 200.f);
|
||||
_float Y = m_pGameInstance->Real_Random_Float(-200.f, 200.f);
|
||||
_float Y = m_pGameInstance->Real_Random_Float(-5.f, 5.f);
|
||||
_float Z = m_pGameInstance->Real_Random_Float(-200.f, 200.f);
|
||||
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(X, Y,Z, 1.f));
|
||||
|
||||
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(X, Y, Z, 1.f));
|
||||
|
||||
m_pBroomRaceManager = static_cast<CBroomRaceManager*>(pArg);
|
||||
|
||||
m_pBroomRaceManager->Push_RaceRing(this);
|
||||
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
@@ -87,6 +95,7 @@ HRESULT CRaceRing::Render()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ void CSkyBox::Update(_float fTimeDelta)
|
||||
|
||||
void CSkyBox::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) {
|
||||
if (m_pGameInstance->IsIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) {
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::PRIORITY, this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,12 +44,12 @@ HRESULT CStreetContainer::Render()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CStreetContainer::Render_Shadow()
|
||||
HRESULT CStreetContainer::Render_Shadow(SHADOW eType)
|
||||
{
|
||||
unordered_map<_string, CPartObject*>::iterator iter = m_PartObjects.begin();
|
||||
for (; iter != m_PartObjects.end(); ++iter) {
|
||||
CPartObject* pObject = (*iter).second;
|
||||
if (FAILED(pObject->Render_Shadow())) {
|
||||
if (FAILED(pObject->Render_Shadow(eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ void CTerrain::Update(_float fTimeDelta)
|
||||
|
||||
void CTerrain::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
//if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) {
|
||||
//if (m_pGameInstance->IsIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) {
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
//}
|
||||
}
|
||||
@@ -92,18 +92,15 @@ HRESULT CTerrain::Render()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTerrain::Render_Shadow()
|
||||
HRESULT CTerrain::Render_Shadow(SHADOW eType)
|
||||
{
|
||||
if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", &m_pGameInstance->Get_ShadowDesc()->fFar, sizeof(_float)))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NORTEX::SHADOW)))) {
|
||||
|
||||
@@ -182,7 +182,7 @@ void CTroll::Late_Update(_float fTimeDelta)
|
||||
m_fCross = XMVectorGetY(XMVector3Cross(vLook, vDir));
|
||||
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||
// m_pGameInstance->Add_RenderGroup(RENDER::SHADOW, this);
|
||||
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
|
||||
}
|
||||
|
||||
HRESULT CTroll::Render()
|
||||
@@ -285,18 +285,15 @@ HRESULT CTroll::Render_OutLine()
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTroll::Render_Shadow()
|
||||
HRESULT CTroll::Render_Shadow(SHADOW eType)
|
||||
{
|
||||
if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ViewMatrix", D3DTS::VIEW, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", &m_pGameInstance->Get_ShadowDesc()->fFar, sizeof(_float)))) {
|
||||
if (FAILED(m_pGameInstance->Bind_Shadow_Resource(m_pShaderCom, "g_ProjMatrix", D3DTS::PROJ, eType))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
_uint iNumMeshes = m_pModelCom->Get_NumMeshes();
|
||||
|
||||
@@ -333,6 +333,7 @@ HRESULT CTroll::Behavior_RushExitCheck(_float fTimeDelta)
|
||||
void CTroll::Behavior_RushExit()
|
||||
{
|
||||
m_pFSM->Disable_State(FSMSTATE::RUSH);
|
||||
m_fRushTime = 0.f;
|
||||
}
|
||||
|
||||
void CTroll::Behavior_ThrowEnter()
|
||||
@@ -528,12 +529,26 @@ HRESULT CTroll::Behavior_SlamExitCheck(_float fTimeDelta)
|
||||
{
|
||||
pair<_uint, _bool> pairAnimInfo = {};
|
||||
_uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
|
||||
if (m_pModelCom->IsFinishedAnim())
|
||||
_float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
|
||||
|
||||
if (m_fDegree >= 90.f)
|
||||
{
|
||||
m_bLookAt = true;
|
||||
if (m_pModelCom->IsFinishedAnim())
|
||||
{
|
||||
m_bLookAt = true;
|
||||
m_pFSM->Change_State(FSMSTATE::COMBAT);
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
else if (fRatio >= 0.4f) {
|
||||
m_bLookAt = true;
|
||||
m_pFSM->Change_State(FSMSTATE::COMBAT);
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
#pragma once
|
||||
|
||||
#include "Client_Define.h"
|
||||
#include "GameObject.h"
|
||||
|
||||
NS_BEGIN(Client)
|
||||
|
||||
class CBroomRaceManager final : public CGameObject
|
||||
{
|
||||
public:
|
||||
struct RacerInfo
|
||||
{
|
||||
CGameObject* pRacer = nullptr;
|
||||
_uint curRing = 0;
|
||||
_vector prevPos = XMVectorZero();
|
||||
};
|
||||
|
||||
private:
|
||||
CBroomRaceManager(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
CBroomRaceManager(const CBroomRaceManager& Prototype);
|
||||
virtual ~CBroomRaceManager() = default;
|
||||
|
||||
public:
|
||||
virtual void Priority_Update(_float fTimeDelta) override;
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
class CRaceRing* GetTargetRing(CGameObject* pRacer);
|
||||
void Push_BroomRacer(RacerInfo Info);
|
||||
void Push_RaceRing(CRaceRing* Ring);
|
||||
private:
|
||||
vector<class CRaceRing*> m_pRaceRings = {};
|
||||
vector<RacerInfo> m_Racers = {};
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
unique_ptr<GeometricPrimitive> m_pGripShape = { nullptr };
|
||||
unique_ptr<GeometricPrimitive> m_pSubShape = { nullptr };
|
||||
#endif // _DEBUG
|
||||
private:
|
||||
virtual HRESULT Initialize_Prototype() override;
|
||||
virtual HRESULT Initialize(void* pArg) override;
|
||||
HRESULT Ready_Components();
|
||||
HRESULT Bind_ShaderResources() override;
|
||||
void Check_RingPassed();
|
||||
|
||||
public:
|
||||
static CBroomRaceManager* 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
|
||||
|
||||
};
|
||||
|
||||
NS_END
|
||||
@@ -17,7 +17,7 @@ class CBroomRacerAI final : public CUnit
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual HRESULT Render_Shadow() override;
|
||||
virtual HRESULT Render_Shadow(SHADOW eType) override;
|
||||
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr)override;
|
||||
virtual void OnHit(CGameObject* pOther, CGameObject* pCaller = nullptr)override;
|
||||
private:
|
||||
@@ -27,10 +27,9 @@ class CBroomRacerAI final : public CUnit
|
||||
class CModel* m_pBroomModel = { nullptr };
|
||||
class CTransform* m_pBroomTransform = { nullptr };
|
||||
class CBroom* m_pBroom = { nullptr };
|
||||
const list<CGameObject*>* m_pRaceRingList = { nullptr };
|
||||
class CRaceRing* m_pRaceRing = { nullptr };
|
||||
list<CGameObject*>::const_iterator m_itCurRing;
|
||||
_int m_iIndex = {};
|
||||
class CBroomRaceManager* m_pBroomRaceManager = { nullptr };
|
||||
class CCamPosition_Shoulder* m_pCamPosition_ShoulderPart = { nullptr };
|
||||
private:
|
||||
virtual HRESULT Initialize_Prototype() override;
|
||||
virtual HRESULT Initialize(void* pArg) override;
|
||||
@@ -60,9 +59,7 @@ class CBroomRacerAI final : public CUnit
|
||||
private:
|
||||
virtual void Add_FSM();
|
||||
virtual void Set_Anim();
|
||||
void Check_RingPassed();
|
||||
void OnRingPassed();
|
||||
void Set_Input();
|
||||
void Set_Input(_float fTimeDelta);
|
||||
|
||||
function<void()> m_InputAction = nullptr;
|
||||
_int m_eUIState = { };
|
||||
@@ -78,7 +75,8 @@ class CBroomRacerAI final : public CUnit
|
||||
_float m_fScaleSmoothSpeed = 2.5f;
|
||||
_float m_fAnimTime = {};
|
||||
_bool m_bTurbo = {};
|
||||
_vector m_vPrevPos = {};
|
||||
_float m_fSmoothX = {};
|
||||
_float m_fSmoothY = {};
|
||||
|
||||
void Behavior_Broom_Ride_MoveEnter();
|
||||
HRESULT Behavior_Broom_Ride_MoveExitCheck(_float fTimeDelta);
|
||||
|
||||
@@ -30,7 +30,7 @@ class CBuildingContainer final : public CMapContainer // OCCLUSION CONTAINER
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual HRESULT Render_Shadow()override;
|
||||
virtual HRESULT Render_Shadow(SHADOW eType)override;
|
||||
virtual HRESULT Render_BoundingBox() override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -27,7 +27,7 @@ class CGoblin final : public CMonster
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual HRESULT Render_Shadow() override;
|
||||
virtual HRESULT Render_Shadow(SHADOW eType) override;
|
||||
virtual _vector Get_LockOnPos() override;
|
||||
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr)override;
|
||||
virtual void OnHit(CGameObject* pOther, CGameObject* pCaller = nullptr)override;
|
||||
@@ -48,6 +48,7 @@ class CGoblin final : public CMonster
|
||||
|
||||
_bool m_bDetection = { false };
|
||||
|
||||
|
||||
class CEffectParts* m_pSmoke = { nullptr };
|
||||
class CEffectParts* m_pGoblin_Particle = { nullptr };
|
||||
class CEffectParts* m_pGoblin_Particle2 = { nullptr };
|
||||
@@ -82,6 +83,10 @@ class CGoblin final : public CMonster
|
||||
_float m_fLength = {};
|
||||
_float m_fMoveTime = {};
|
||||
_bool m_bFirstMove = {};
|
||||
_bool m_bPos = {};
|
||||
_float m_fAccel = { 3.f};
|
||||
_float m_fTargetSpeed = {60.f};
|
||||
_float m_fSpeed = {};
|
||||
|
||||
void Behavior_IdleEnter();
|
||||
HRESULT Behavior_IdleExitCheck();
|
||||
|
||||
@@ -28,7 +28,7 @@ class CGoblin_Mage final : public CMonster
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual HRESULT Render_Shadow() override;
|
||||
virtual HRESULT Render_Shadow(SHADOW eType) override;
|
||||
virtual _vector Get_LockOnPos() override;
|
||||
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr)override;
|
||||
virtual void OnHit(CGameObject* pOther, CGameObject* pCaller = nullptr)override;
|
||||
@@ -81,12 +81,16 @@ class CGoblin_Mage final : public CMonster
|
||||
_float m_fSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::END)] = {};
|
||||
_float m_fMaxSkillCoolTime[ENUM_CLASS(GOBLIN_SKILL::END)] = { 20.f,5.f,30.f,15.f };
|
||||
|
||||
_bool m_bStep = { false };
|
||||
_float m_fTpTime = {};
|
||||
_float m_fAirTime = {};
|
||||
_bool m_bStep = { false };
|
||||
_float m_fTpTime = {};
|
||||
_float m_fAirTime = {};
|
||||
_vector m_vOriginPos = {};
|
||||
_float m_fLength = {};
|
||||
_bool m_bShield = { false };
|
||||
_float m_fLength = {};
|
||||
_bool m_bShield = { false };
|
||||
_bool m_bPos = {};
|
||||
_float m_fAccel = { 3.f };
|
||||
_float m_fTargetSpeed = { 60.f };
|
||||
_float m_fSpeed = {};
|
||||
|
||||
void Behavior_IdleEnter();
|
||||
HRESULT Behavior_IdleExitCheck();
|
||||
|
||||
@@ -32,7 +32,7 @@ class CInstancedProp final : public CGameObject
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual HRESULT Render_Shadow()override;
|
||||
virtual HRESULT Render_Shadow(SHADOW eType)override;
|
||||
|
||||
private:
|
||||
_bool m_isShake = {};
|
||||
|
||||
@@ -18,7 +18,7 @@ class CLevel_GamePlay final : public CLevel
|
||||
|
||||
private:
|
||||
class CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
class CBroom* m_pBroom = { nullptr };
|
||||
class CBroomRaceManager* m_pBroomRaceManager = { nullptr };
|
||||
private:
|
||||
virtual HRESULT Initialize() override;
|
||||
HRESULT Initialize(void* pArg);
|
||||
@@ -35,6 +35,7 @@ class CLevel_GamePlay final : public CLevel
|
||||
HRESULT Ready_Layer_RaceRing(const _wstring& strLayerTag);
|
||||
HRESULT Ready_Layer_SkyBox(const _wstring& strLayerTag);
|
||||
HRESULT Ready_Layer_Monster();
|
||||
HRESULT Ready_Layer_Manager(const _wstring& strLayerTag);
|
||||
HRESULT Reday_Layer_EffectPool();
|
||||
|
||||
public:
|
||||
|
||||
@@ -15,10 +15,10 @@ class CLevel_Loading final : public CLevel
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual _uint Get_NextLevelID() override { return ENUM_CLASS(m_eNextLevelID); };
|
||||
virtual void Capture_TerrainPreShadow(SHADOW_LIGHT_DESC& ShadowDesc);
|
||||
//virtual void Capture_TerrainPreShadow(SHADOW_LIGHT_DESC& ShadowDesc);
|
||||
|
||||
private:
|
||||
SHADOW_LIGHT_DESC m_ShadowDesc = {};
|
||||
//SHADOW_LIGHT_DESC m_ShadowDesc = {};
|
||||
LEVEL m_eNextLevelID = { LEVEL::END };
|
||||
class CLoader* m_pLoader = { nullptr };
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ class CMapContainer abstract : public CContainerObject
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual HRESULT Render_Shadow() override;
|
||||
virtual HRESULT Render_Shadow(SHADOW eType) override;
|
||||
|
||||
void ReadyForPhysX();
|
||||
void ConvertToPhysX();
|
||||
|
||||
@@ -23,7 +23,7 @@ class CMapObject_Render final : public CMapPartObject // Render PartObject
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual HRESULT Render_Shadow() override;
|
||||
virtual HRESULT Render_Shadow(SHADOW eType) override;
|
||||
void ReadyForPhysX();
|
||||
void ConvertToPhysX();
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ class CNPC_Ollivander final : public CUnit
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual HRESULT Render_Shadow() override;
|
||||
virtual HRESULT Render_Shadow(SHADOW eType) override;
|
||||
protected:
|
||||
CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
|
||||
|
||||
@@ -17,11 +17,12 @@ class CPlayer final : public CUnit
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual HRESULT Render_Shadow() override;
|
||||
virtual HRESULT Render_Shadow(SHADOW eType) override;
|
||||
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr)override;
|
||||
virtual void OnHit(CGameObject* pOther, CGameObject* pCaller = nullptr)override;
|
||||
_bool Get_Aim() { return m_bAim; }
|
||||
void Set_SpellHit(_bool bHit) { m_bSpellHit = bHit; }
|
||||
void Set_Shield(_bool bShield) { m_bShield = bShield; }
|
||||
void Start_CameraShake(_float fTime, _float fIntense);
|
||||
#ifdef _DEBUG
|
||||
void Render_CameraCoordinateSystem();
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
#include "Client_Define.h"
|
||||
#include "Effect_Container.h"
|
||||
|
||||
NS_BEGIN(Engine)
|
||||
NS_END
|
||||
|
||||
NS_BEGIN(Client)
|
||||
|
||||
class CProtego final : public CEffect_Container
|
||||
@@ -31,15 +28,14 @@ class CProtego final : public CEffect_Container
|
||||
HRESULT Bind_ShaderResources() override;
|
||||
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
|
||||
private:
|
||||
_wstring m_wstrEffectName = {};
|
||||
_wstring m_wstrEffectName = {};
|
||||
|
||||
class CEffectParts* m_pSphere = { nullptr };
|
||||
class CEffectParts* m_pBottom = { nullptr };
|
||||
class CEffectParts* m_pCircle = { nullptr };
|
||||
|
||||
CRigidBody_Dynamic* m_pRigidBody = { nullptr };
|
||||
_float m_fSizeAccTime = {};
|
||||
_float m_fAmountSize = {};
|
||||
_float m_fSpeed = {};
|
||||
|
||||
public:
|
||||
static CProtego* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual void Free() override;
|
||||
|
||||
@@ -50,7 +50,10 @@ class CQuest_Panel final : public CPanelObject
|
||||
static CQuest_Panel* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;
|
||||
virtual void Free() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
|
||||
};
|
||||
|
||||
NS_END
|
||||
|
||||
@@ -23,6 +23,9 @@ class CRaceRing final : public CGameObject
|
||||
private:
|
||||
CShader* m_pShaderCom = { nullptr };
|
||||
CModel* m_pModelCom = { nullptr };
|
||||
class CBroomRaceManager* m_pBroomRaceManager = { nullptr };
|
||||
|
||||
|
||||
|
||||
private:
|
||||
HRESULT Ready_Components();
|
||||
|
||||
@@ -17,7 +17,7 @@ class CStreetContainer final : public CMapContainer // NON OCCLUSION CONTAINER
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual HRESULT Render_Shadow() override;
|
||||
virtual HRESULT Render_Shadow(SHADOW eType) override;
|
||||
|
||||
private:
|
||||
virtual HRESULT Initialize_Prototype() override;
|
||||
|
||||
@@ -37,7 +37,7 @@ class CTerrain final : public CGameObject
|
||||
virtual void Update(_float fTimeDelta) override;
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual HRESULT Render_Shadow() override;
|
||||
virtual HRESULT Render_Shadow(SHADOW eType) override;
|
||||
|
||||
private:
|
||||
CShader* m_pShaderCom = { nullptr };
|
||||
|
||||
@@ -30,7 +30,7 @@ class CTroll final : public CMonster
|
||||
virtual void Late_Update(_float fTimeDelta) override;
|
||||
virtual HRESULT Render() override;
|
||||
virtual HRESULT Render_OutLine() override;
|
||||
virtual HRESULT Render_Shadow() override;
|
||||
virtual HRESULT Render_Shadow(SHADOW eType) override;
|
||||
virtual _vector Get_LockOnPos() override;
|
||||
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr)override;
|
||||
virtual void OnHit(CGameObject* pOther, CGameObject* pCaller = nullptr)override;
|
||||
|
||||
@@ -1969,13 +1969,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_EXT_Walls_Decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_EXT_Walls_Decals_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_ext_Window_Display</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_ext_Window_Display_Lod1</PrototypeTag>
|
||||
@@ -1983,14 +1976,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Quidditch_ext_Glass</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Quidditch_ext_Glass_Lod1</PrototypeTag>
|
||||
|
||||
@@ -44,12 +44,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Ollivanders_Int_Decals</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Roof</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Roof_Lod1</PrototypeTag>
|
||||
@@ -448,14 +442,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_ext_decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_ext_decals_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_ext_decals_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Trim</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Trim_Lod1</PrototypeTag>
|
||||
@@ -828,14 +814,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_decals_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_decals_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0" Key_Index="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_CrossBeam</PrototypeTag>
|
||||
<Position x="-5.3000016" y="0.70000005" z="1.3000001"/>
|
||||
@@ -872,13 +850,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_roof_decals_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box_Lod1</PrototypeTag>
|
||||
@@ -983,13 +954,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Gatehouse_Bridge_Decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Gatehouse_Bridge_Decals_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing_Lod1</PrototypeTag>
|
||||
@@ -1183,12 +1147,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0" Key_Index="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_ext_Roof_Decals</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_ext_PatioCircle</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_ext_PatioCircle_Lod1</PrototypeTag>
|
||||
@@ -1236,21 +1194,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_EXT_Walls_Decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_EXT_Walls_Decals_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<Collision Lod_Level="1" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Quidditch_EXT_APL_COL</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Quidditch_EXT_APL_COL_Lod1</PrototypeTag>
|
||||
@@ -1402,14 +1345,6 @@
|
||||
<Scale x="0.99999976" y="1" z="0.99999976"/>
|
||||
<Rotation x="0" y="89.999954" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_HogsHead_ext_Decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_HogsHead_ext_Decals_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_HogsHead_ext_Decals_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_HogsHead_ext_Gutters</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_HogsHead_ext_Gutters_Lod1</PrototypeTag>
|
||||
@@ -1778,14 +1713,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_HoneyDukes_Ext_Decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_HoneyDukes_Ext_Decals_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_HoneyDukes_Ext_Decals_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_Glass_B</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_Glass_B_Lod1</PrototypeTag>
|
||||
@@ -1793,13 +1720,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_Glass_Int_B</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Honeydukes_Glass_Int_B_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_HoneyDukes_Roofs</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_HoneyDukes_Roofs_Lod1</PrototypeTag>
|
||||
@@ -2575,14 +2495,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_H_ext_decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_H_ext_decals_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_H_ext_decals_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Gen_H_window_glass_a</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Gen_H_window_glass_a_Lod1</PrototypeTag>
|
||||
@@ -2681,13 +2593,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_J_ext_Wall_Decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_J_ext_Wall_Decals_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_J_ext_Windows</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_J_ext_Windows_Lod1</PrototypeTag>
|
||||
@@ -2742,14 +2647,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Decals_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Decals_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Sign_Anchor</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Sign_Anchor_Lod1</PrototypeTag>
|
||||
@@ -2764,13 +2661,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Glass_A_int</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Glass_A_int_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="3" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Roof</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Roof_Lod1</PrototypeTag>
|
||||
@@ -2886,14 +2776,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Decals_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Decals_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_ext_Glass_A</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_ext_Glass_A_Lod1</PrototypeTag>
|
||||
@@ -2920,13 +2802,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Decals_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_sign_mid_sign</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_sign_mid_sign_Lod1</PrototypeTag>
|
||||
@@ -2986,13 +2861,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_ext_Roof_Decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_ext_Roof_Decals_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_ext_Trims</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Zonkos_ext_Trims_Lod1</PrototypeTag>
|
||||
@@ -3182,13 +3050,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="1" Key_Index="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_DB_GR_ext_Decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_DB_GR_ext_Decals_Lod1</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_DB_GR_MERGED_WoodTrim_Caps</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_DB_GR_MERGED_WoodTrim_Caps_Lod1</PrototypeTag>
|
||||
@@ -4714,14 +4575,6 @@
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_H_ext_decals</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_H_ext_decals_Lod1</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_GEN_H_ext_decals_Lod2</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="2" Key_Index="1">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Gen_H_window_glass_a</PrototypeTag>
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_Gen_H_window_glass_a_Lod1</PrototypeTag>
|
||||
|
||||
+5179
File diff suppressed because it is too large
Load Diff
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user