[add] RenderCollider 릴리즈모드
[add] RenderRenderTarget 릴리즈모드
This commit is contained in:
@@ -150,7 +150,7 @@ call Update_Resources.bat
|
|||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<AdditionalLibraryDirectories>../../EngineSDK/Lib/$(ConfigurationName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>../../EngineSDK/Lib/$(ConfigurationName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
<AdditionalDependencies>Engine.lib;fmod_vc.lib;PhysX_64.lib;PhysXCommon_64.lib;PhysXCooking_64.lib;PhysXExtensions_static_64.lib;PhysXFoundation_64.lib;%(AdditionalDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>Engine.lib;fmod_vc.lib;PhysX_64.lib;PhysXCommon_64.lib;PhysXCooking_64.lib;PhysXExtensions_static_64.lib;PhysXFoundation_64.lib;DirectXTK.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Link>
|
</Link>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
<Command>cd /d "$(SolutionDir)"
|
<Command>cd /d "$(SolutionDir)"
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ HRESULT CGoblin::Render()
|
|||||||
Render_OutLine();
|
Render_OutLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
if (true == m_pCharacter_Controller->IsActive()) {
|
if (true == m_pCharacter_Controller->IsActive()) {
|
||||||
if (FAILED(m_pCharacter_Controller->Render())) {
|
if (FAILED(m_pCharacter_Controller->Render())) {
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
|
|||||||
@@ -233,17 +233,17 @@ HRESULT CGoblin_Mage::Render()
|
|||||||
Render_OutLine();
|
Render_OutLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
//if (true == m_pCharacter_Controller->IsActive()) {
|
if (true == m_pCharacter_Controller->IsActive()) {
|
||||||
// if (FAILED(m_pCharacter_Controller->Render())) {
|
if (FAILED(m_pCharacter_Controller->Render())) {
|
||||||
// return E_FAIL;
|
return E_FAIL;
|
||||||
// }
|
}
|
||||||
//}
|
}
|
||||||
//else if (true == m_pRigidBody->IsActive()) {
|
else if (true == m_pRigidBody->IsActive()) {
|
||||||
// if (FAILED(m_pRigidBody->Render())) {
|
if (FAILED(m_pRigidBody->Render())) {
|
||||||
// return E_FAIL;
|
return E_FAIL;
|
||||||
// }
|
}
|
||||||
//}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -144,9 +144,9 @@ void CHuman_Duelist::Late_Update(_float fTimeDelta)
|
|||||||
m_pTransformCom->Set_State(STATE::POSITION, m_pCharacter_Controller->Get_FootPosition());
|
m_pTransformCom->Set_State(STATE::POSITION, m_pCharacter_Controller->Get_FootPosition());
|
||||||
|
|
||||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
m_pGameInstance->Add_RenderGroup(RENDER::NONLIGHT, this);
|
m_pGameInstance->Add_RenderGroup(RENDER::NONLIGHT, this);
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
|
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
|
||||||
|
|
||||||
@@ -208,14 +208,11 @@ HRESULT CHuman_Duelist::Render()
|
|||||||
Render_OutLine();
|
Render_OutLine();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef _DEBUG
|
|
||||||
//m_pCharacter_Controller->Render();
|
|
||||||
#endif // _DEBUG
|
|
||||||
|
|
||||||
}
|
}
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
if (RENDER::NONLIGHT == eType) {
|
if (RENDER::NONLIGHT == eType) {
|
||||||
//m_pRigidBody->Render();
|
m_pCharacter_Controller->Render();
|
||||||
|
m_pRigidBody->Render();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -181,6 +181,12 @@ void CLevel_GamePlay::Update(_float fTimeDelta)
|
|||||||
#endif
|
#endif
|
||||||
#endif // _DEBUG
|
#endif // _DEBUG
|
||||||
|
|
||||||
|
#ifdef RELEASE_DEBUGGER
|
||||||
|
if (m_pGameInstance->Key_Down(DIK_F5)) {
|
||||||
|
m_pGameInstance->Toggle_RenderCollider();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (bStartCinematic && false == m_bIntroCinematic) {
|
if (bStartCinematic && false == m_bIntroCinematic) {
|
||||||
m_bIntroCinematic = true;
|
m_bIntroCinematic = true;
|
||||||
bStartCinematic = false;
|
bStartCinematic = false;
|
||||||
|
|||||||
@@ -148,11 +148,11 @@ HRESULT CMapElement_Interactable::Render()
|
|||||||
if (m_bDrawOutLine) {
|
if (m_bDrawOutLine) {
|
||||||
Render_OutLine();
|
Render_OutLine();
|
||||||
}
|
}
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
if (FAILED(m_pRigidBody->Render())) {
|
if (FAILED(m_pRigidBody->Render())) {
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -111,15 +111,14 @@ HRESULT CPlayer::Initialize(void* pArg)
|
|||||||
m_pBroomRaceManager = pDesc->pBroomRaceManager;
|
m_pBroomRaceManager = pDesc->pBroomRaceManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
|
|
||||||
m_BasicEffect = make_unique<BasicEffect>(m_pDevice);
|
m_BasicEffect = make_unique<BasicEffect>(m_pDevice);
|
||||||
m_BasicEffect->SetVertexColorEnabled(true);
|
m_BasicEffect->SetVertexColorEnabled(true);
|
||||||
m_BasicEffect->SetView(m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW));
|
m_BasicEffect->SetView(m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW));
|
||||||
m_BasicEffect->SetProjection(m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ));
|
m_BasicEffect->SetProjection(m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ));
|
||||||
|
|
||||||
m_Batch = make_unique<PrimitiveBatch<VertexPositionColor>>(m_pContext);
|
m_Batch = make_unique<PrimitiveBatch<VertexPositionColor>>(m_pContext);
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
// UI 연동 추가
|
// UI 연동 추가
|
||||||
m_pInfoInstance->Add_Event(TEXT("UseSpell"), [this](void* p) {this->Get_Spell(*reinterpret_cast<_int*>(p)); });
|
m_pInfoInstance->Add_Event(TEXT("UseSpell"), [this](void* p) {this->Get_Spell(*reinterpret_cast<_int*>(p)); });
|
||||||
@@ -197,9 +196,9 @@ void CPlayer::Late_Update(_float fTimeDelta)
|
|||||||
m_pTransformCom->Set_State(STATE::POSITION, m_pCharacter_Controller->Get_FootPosition());
|
m_pTransformCom->Set_State(STATE::POSITION, m_pCharacter_Controller->Get_FootPosition());
|
||||||
|
|
||||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
m_pGameInstance->Add_RenderGroup(RENDER::NONLIGHT, this);
|
m_pGameInstance->Add_RenderGroup(RENDER::NONLIGHT, this);
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
|
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
|
||||||
|
|
||||||
@@ -265,17 +264,12 @@ HRESULT CPlayer::Render()
|
|||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef _DEBUG
|
|
||||||
#ifdef 기무리
|
|
||||||
//Render_CameraCoordinateSystem();
|
|
||||||
//m_pCharacter_Controller->Render();
|
|
||||||
#endif // 기무리
|
|
||||||
#endif // _DEBUG
|
|
||||||
|
|
||||||
}
|
}
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
if (RENDER::NONLIGHT == eType) {
|
if (RENDER::NONLIGHT == eType) {
|
||||||
//m_pRigidBody->Render();
|
Render_CameraCoordinateSystem();
|
||||||
|
m_pRigidBody->Render();
|
||||||
|
m_pCharacter_Controller->Render();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -1125,58 +1119,62 @@ void CPlayer::Free()
|
|||||||
SAFE_RELEASE(m_pRaceRing);
|
SAFE_RELEASE(m_pRaceRing);
|
||||||
SAFE_RELEASE(m_pCarriage);
|
SAFE_RELEASE(m_pCarriage);
|
||||||
}
|
}
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
|
|
||||||
void CPlayer::Render_CameraCoordinateSystem()
|
void CPlayer::Render_CameraCoordinateSystem()
|
||||||
{
|
{
|
||||||
m_Batch->Begin();
|
//m_Batch->Begin();
|
||||||
|
|
||||||
const _float fArrowLength = 2.0f;
|
//const _float fArrowLength = 2.0f;
|
||||||
_vector xmvLook = XMVector4Normalize(XMVectorSetY(m_pTransformCom->Get_State(STATE::LOOK), 0.f));
|
//_vector xmvLook = XMVector4Normalize(XMVectorSetY(m_pTransformCom->Get_State(STATE::LOOK), 0.f));
|
||||||
_float2 vLook = { XMVectorGetX(xmvLook), XMVectorGetZ(xmvLook) };
|
//_float2 vLook = { XMVectorGetX(xmvLook), XMVectorGetZ(xmvLook) };
|
||||||
|
|
||||||
|
//m_Batch->DrawLine( // W
|
||||||
|
// VertexPositionColor(fArrowLength * -XMLoadFloat3(&m_vCameraLookDir), DirectX::Colors::GhostWhite),
|
||||||
|
// VertexPositionColor(fArrowLength * XMLoadFloat3(&m_vCameraLookDir), DirectX::Colors::Blue)
|
||||||
|
//);
|
||||||
|
//m_Batch->DrawLine( // D
|
||||||
|
// VertexPositionColor(fArrowLength * -XMLoadFloat3(&m_vCameraRightDir), DirectX::Colors::GhostWhite),
|
||||||
|
// VertexPositionColor(fArrowLength * XMLoadFloat3(&m_vCameraRightDir), DirectX::Colors::Red)
|
||||||
|
//);
|
||||||
|
//m_Batch->DrawLine( // PlayerLook
|
||||||
|
// VertexPositionColor(XMVectorZero(), DirectX::Colors::GhostWhite),
|
||||||
|
// VertexPositionColor(fArrowLength * xmvLook, DirectX::Colors::HotPink)
|
||||||
|
//);
|
||||||
|
//m_Batch->End();
|
||||||
|
|
||||||
GUI::Begin("CAMERA", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
//GUI::Begin("CAMERA", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
||||||
GUI::PushItemWidth(IMGUI_GLOBAL_ITEM_WIDTH);
|
//GUI::PushItemWidth(IMGUI_GLOBAL_ITEM_WIDTH);
|
||||||
if (GUI::CollapsingHeader("Player_CAM_COOORD")) {
|
//if (GUI::CollapsingHeader("Player_CAM_COOORD")) {
|
||||||
|
|
||||||
GUI::Text("%d", m_LockOnInfo.pUnit);
|
// GUI::Text("%d", m_LockOnInfo.pUnit);
|
||||||
|
|
||||||
GUI::Text("W : %.2f, %.2f, %.2f", m_vCameraLookDir.x, 0.f, m_vCameraLookDir.z);
|
// GUI::Text("W : %.2f, %.2f, %.2f", m_vCameraLookDir.x, 0.f, m_vCameraLookDir.z);
|
||||||
GUI::Text("A : %.2f, %.2f, %.2f", -m_vCameraRightDir.x, 0.f, -m_vCameraRightDir.z);
|
// GUI::Text("A : %.2f, %.2f, %.2f", -m_vCameraRightDir.x, 0.f, -m_vCameraRightDir.z);
|
||||||
GUI::Text("S : %.2f, %.2f, %.2f", -m_vCameraLookDir.x, 0.f, -m_vCameraLookDir.z);
|
// GUI::Text("S : %.2f, %.2f, %.2f", -m_vCameraLookDir.x, 0.f, -m_vCameraLookDir.z);
|
||||||
GUI::Text("D : %.2f, %.2f, %.2f", m_vCameraRightDir.x, 0.f, m_vCameraRightDir.z);
|
// GUI::Text("D : %.2f, %.2f, %.2f", m_vCameraRightDir.x, 0.f, m_vCameraRightDir.z);
|
||||||
|
|
||||||
_float fButtonSize = 45.f;
|
// _float fButtonSize = 45.f;
|
||||||
GUI::Button("##0", { fButtonSize, fButtonSize }); GUI::SameLine();
|
// GUI::Button("##0", { fButtonSize, fButtonSize }); GUI::SameLine();
|
||||||
GUI::Button(("W : " + to_string(XMConvertToDegrees(CMyTools::Get_Direction2D(vLook, { m_vCameraLookDir.x , m_vCameraLookDir.z })))).c_str(), { fButtonSize, fButtonSize }); GUI::SameLine();
|
// GUI::Button(("W : " + to_string(XMConvertToDegrees(CMyTools::Get_Direction2D(vLook, { m_vCameraLookDir.x , m_vCameraLookDir.z })))).c_str(), { fButtonSize, fButtonSize }); GUI::SameLine();
|
||||||
GUI::Button("##2", { fButtonSize, fButtonSize });
|
// GUI::Button("##2", { fButtonSize, fButtonSize });
|
||||||
GUI::Button(("A : " + to_string(XMConvertToDegrees(CMyTools::Get_Direction2D(vLook, { -m_vCameraRightDir.x , -m_vCameraRightDir.z })))).c_str(), { fButtonSize, fButtonSize }); GUI::SameLine();
|
// GUI::Button(("A : " + to_string(XMConvertToDegrees(CMyTools::Get_Direction2D(vLook, { -m_vCameraRightDir.x , -m_vCameraRightDir.z })))).c_str(), { fButtonSize, fButtonSize }); GUI::SameLine();
|
||||||
GUI::Button("##4", { fButtonSize, fButtonSize }); GUI::SameLine();
|
// GUI::Button("##4", { fButtonSize, fButtonSize }); GUI::SameLine();
|
||||||
GUI::Button(("D : " + to_string(XMConvertToDegrees(CMyTools::Get_Direction2D(vLook, { m_vCameraRightDir.x , m_vCameraRightDir.z })))).c_str(), { fButtonSize, fButtonSize });
|
// GUI::Button(("D : " + to_string(XMConvertToDegrees(CMyTools::Get_Direction2D(vLook, { m_vCameraRightDir.x , m_vCameraRightDir.z })))).c_str(), { fButtonSize, fButtonSize });
|
||||||
GUI::Button("##6", { fButtonSize, fButtonSize }); GUI::SameLine();
|
// GUI::Button("##6", { fButtonSize, fButtonSize }); GUI::SameLine();
|
||||||
GUI::Button(("S : " + to_string(XMConvertToDegrees(CMyTools::Get_Direction2D(vLook, { -m_vCameraLookDir.x , -m_vCameraLookDir.z })))).c_str(), { fButtonSize, fButtonSize }); GUI::SameLine();
|
// GUI::Button(("S : " + to_string(XMConvertToDegrees(CMyTools::Get_Direction2D(vLook, { -m_vCameraLookDir.x , -m_vCameraLookDir.z })))).c_str(), { fButtonSize, fButtonSize }); GUI::SameLine();
|
||||||
GUI::Button("##8", { fButtonSize, fButtonSize });
|
// GUI::Button("##8", { fButtonSize, fButtonSize });
|
||||||
//W CMyTools::Get_Direction2D(vLook, { m_vCameraLookDir.x , m_vCameraLookDir.z })
|
// //W CMyTools::Get_Direction2D(vLook, { m_vCameraLookDir.x , m_vCameraLookDir.z })
|
||||||
//A CMyTools::Get_Direction2D(vLook, { -m_vCameraRightDir.x , - m_vCameraRightDir.z })
|
// //A CMyTools::Get_Direction2D(vLook, { -m_vCameraRightDir.x , - m_vCameraRightDir.z })
|
||||||
//S CMyTools::Get_Direction2D(vLook, { m_vCameraRightDir.x , m_vCameraRightDir.z })
|
// //S CMyTools::Get_Direction2D(vLook, { m_vCameraRightDir.x , m_vCameraRightDir.z })
|
||||||
//D CMyTools::Get_Direction2D(vLook, { -m_vCameraLookDir.x , - m_vCameraLookDir.z })
|
// //D CMyTools::Get_Direction2D(vLook, { -m_vCameraLookDir.x , - m_vCameraLookDir.z })
|
||||||
}
|
//}
|
||||||
GUI::End();
|
//GUI::End();
|
||||||
m_Batch->DrawLine( // W
|
|
||||||
VertexPositionColor(fArrowLength * -XMLoadFloat3(&m_vCameraLookDir), DirectX::Colors::GhostWhite),
|
|
||||||
VertexPositionColor(fArrowLength * XMLoadFloat3(&m_vCameraLookDir), DirectX::Colors::Blue)
|
|
||||||
);
|
|
||||||
m_Batch->DrawLine( // D
|
|
||||||
VertexPositionColor(fArrowLength * -XMLoadFloat3(&m_vCameraRightDir), DirectX::Colors::GhostWhite),
|
|
||||||
VertexPositionColor(fArrowLength * XMLoadFloat3(&m_vCameraRightDir), DirectX::Colors::Red)
|
|
||||||
);
|
|
||||||
m_Batch->DrawLine( // PlayerLook
|
|
||||||
VertexPositionColor(XMVectorZero(), DirectX::Colors::GhostWhite),
|
|
||||||
VertexPositionColor(fArrowLength * xmvLook, DirectX::Colors::HotPink)
|
|
||||||
);
|
|
||||||
m_Batch->End();
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
|
||||||
void CPlayer::Describe_Entity()
|
void CPlayer::Describe_Entity()
|
||||||
{
|
{
|
||||||
GUI::Begin("UNIT", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
GUI::Begin("UNIT", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
||||||
|
|||||||
@@ -326,7 +326,7 @@ HRESULT CRanrok::Render()
|
|||||||
hr = Render_Blend();
|
hr = Render_Blend();
|
||||||
hr = S_OK;
|
hr = S_OK;
|
||||||
}
|
}
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
else if (RENDER::NONLIGHT == eCurrentPass) {
|
else if (RENDER::NONLIGHT == eCurrentPass) {
|
||||||
hr = Render_Collider();
|
hr = Render_Collider();
|
||||||
}
|
}
|
||||||
@@ -790,7 +790,7 @@ HRESULT CRanrok::Ready_SubParts()
|
|||||||
m_pTargetableDO[i]->Set_Kinematic(true);
|
m_pTargetableDO[i]->Set_Kinematic(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, 1.f, 6, false, false));
|
m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, 1.f, 6, false, false));
|
||||||
D3D11_DEPTH_STENCIL_DESC depthStencilDesc = {};
|
D3D11_DEPTH_STENCIL_DESC depthStencilDesc = {};
|
||||||
depthStencilDesc.DepthEnable = FALSE;
|
depthStencilDesc.DepthEnable = FALSE;
|
||||||
@@ -802,7 +802,7 @@ HRESULT CRanrok::Ready_SubParts()
|
|||||||
if (FAILED(result)) {
|
if (FAILED(result)) {
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
HRESULT CRanrok::Render_Nonblend()
|
HRESULT CRanrok::Render_Nonblend()
|
||||||
@@ -850,19 +850,6 @@ HRESULT CRanrok::Render_Nonblend()
|
|||||||
Render_OutLine();
|
Render_OutLine();
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
#ifdef _DEBUG
|
|
||||||
if (true == m_pCharacter_Controller->IsActive()) {
|
|
||||||
if (FAILED(m_pCharacter_Controller->Render())) {
|
|
||||||
return E_FAIL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (true == m_pRigidBody->IsActive()) {
|
|
||||||
if (FAILED(m_pRigidBody->Render())) {
|
|
||||||
return E_FAIL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (0.f < m_fDeadRatio) {
|
if (0.f < m_fDeadRatio) {
|
||||||
_bool bDisolve = false;
|
_bool bDisolve = false;
|
||||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_bDisolve", &bDisolve, sizeof(_bool)))) {
|
if (FAILED(m_pShaderCom->Bind_RawValue("g_bDisolve", &bDisolve, sizeof(_bool)))) {
|
||||||
@@ -1357,9 +1344,9 @@ void CRanrok::Free()
|
|||||||
SAFE_RELEASE(m_pTargetableDO[i]);
|
SAFE_RELEASE(m_pTargetableDO[i]);
|
||||||
}
|
}
|
||||||
m_pRanrok_Props.clear();
|
m_pRanrok_Props.clear();
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
SAFE_RELEASE(m_pDepthStencilStateNone);
|
SAFE_RELEASE(m_pDepthStencilStateNone);
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
|
|
||||||
SAFE_RELEASE(m_pMotionTrailCom);
|
SAFE_RELEASE(m_pMotionTrailCom);
|
||||||
@@ -1496,22 +1483,29 @@ void CRanrok::Describe_Entity()
|
|||||||
GUI::End();
|
GUI::End();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // _DEBUG
|
||||||
|
|
||||||
|
#ifdef RELEASE_DEBUGGER
|
||||||
|
|
||||||
HRESULT CRanrok::Render_Collider()
|
HRESULT CRanrok::Render_Collider()
|
||||||
{
|
{
|
||||||
static _bool s_bRenderCollider = { true };
|
if (true == m_pCharacter_Controller->IsActive()) {
|
||||||
GUI::Begin("CutScene");
|
if (FAILED(m_pCharacter_Controller->Render())) {
|
||||||
if (GUI::TreeNode("RenderCollider")) {
|
return E_FAIL;
|
||||||
if (true == s_bRenderCollider) {
|
|
||||||
for (_uint i = 0; i < ENUM_CLASS(RANROK_ENUM_BONEMATRICES::END); ++i) {
|
|
||||||
m_pTargetableDO[i]->Render([this]() {
|
|
||||||
m_pContext->OMSetDepthStencilState(m_pDepthStencilStateNone, 0);
|
|
||||||
}, CMyTools::ColorRGB_A_HEXtoVECTOR(0x00ff00, 1.f));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
GUI::TreePop();
|
|
||||||
}
|
}
|
||||||
GUI::End();
|
else if (true == m_pRigidBody->IsActive()) {
|
||||||
|
if (FAILED(m_pRigidBody->Render())) {
|
||||||
|
return E_FAIL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for (_uint i = 0; i < ENUM_CLASS(RANROK_ENUM_BONEMATRICES::END); ++i) {
|
||||||
|
m_pTargetableDO[i]->Render([this]() {
|
||||||
|
m_pContext->OMSetDepthStencilState(m_pDepthStencilStateNone, 0);
|
||||||
|
}, CMyTools::ColorRGB_A_HEXtoVECTOR(0x00ff00, 1.f));
|
||||||
|
}
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|||||||
@@ -224,7 +224,7 @@ HRESULT CTroll::Render()
|
|||||||
Render_OutLine();
|
Render_OutLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
if (true == m_pCharacter_Controller->IsActive()) {
|
if (true == m_pCharacter_Controller->IsActive()) {
|
||||||
if (FAILED(m_pCharacter_Controller->Render())) {
|
if (FAILED(m_pCharacter_Controller->Render())) {
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
|
|||||||
@@ -45,10 +45,10 @@ HRESULT CTroll_Weapon::Initialize(void* pArg)
|
|||||||
m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr()));
|
m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr()));
|
||||||
XMStoreFloat4x4(&m_HammerMatrix, XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("Bone")) * m_pTransformCom->Get_XMWorldMatrix());
|
XMStoreFloat4x4(&m_HammerMatrix, XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("Bone")) * m_pTransformCom->Get_XMWorldMatrix());
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
m_pGripShape = (GeometricPrimitive::CreateSphere(m_pContext, 1.f, 10, false, false));
|
m_pGripShape = (GeometricPrimitive::CreateSphere(m_pContext, 1.f, 10, false, false));
|
||||||
m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, 1.2f, 10, false, false));
|
m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, 1.2f, 10, false, false));
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
@@ -120,10 +120,10 @@ HRESULT CTroll_Weapon::Render()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
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_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(XMLoadFloat4x4(&m_HammerMatrix), m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW), m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ), DirectX::Colors::Purple, nullptr, true);
|
m_pSubShape->Draw(XMLoadFloat4x4(&m_HammerMatrix), m_pGameInstance->Get_Transform_Matrix(D3DTS::VIEW), m_pGameInstance->Get_Transform_Matrix(D3DTS::PROJ), DirectX::Colors::Purple, nullptr, true);
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
{
|
{
|
||||||
_bool bDisolve = false;
|
_bool bDisolve = false;
|
||||||
|
|||||||
@@ -61,9 +61,9 @@ class CPlayer final : public CUnit
|
|||||||
void Set_OriginPos(_vector vPos) { XMStoreFloat4(&m_OriginPos, vPos); }
|
void Set_OriginPos(_vector vPos) { XMStoreFloat4(&m_OriginPos, vPos); }
|
||||||
void Add_TurboBoost(_float fAmount);
|
void Add_TurboBoost(_float fAmount);
|
||||||
void ReSetNPC();
|
void ReSetNPC();
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
void Render_CameraCoordinateSystem();
|
void Render_CameraCoordinateSystem();
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
private:
|
private:
|
||||||
CInfoInstance* m_pInfoInstance = { nullptr };
|
CInfoInstance* m_pInfoInstance = { nullptr };
|
||||||
LOCKON_INFO m_LockOnInfo = {};
|
LOCKON_INFO m_LockOnInfo = {};
|
||||||
@@ -133,10 +133,10 @@ class CPlayer final : public CUnit
|
|||||||
void PlayFootStepSound();
|
void PlayFootStepSound();
|
||||||
void StopFootStepSound();
|
void StopFootStepSound();
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
unique_ptr<BasicEffect> m_BasicEffect;
|
unique_ptr<BasicEffect> m_BasicEffect;
|
||||||
unique_ptr<PrimitiveBatch<VertexPositionColor>> m_Batch;
|
unique_ptr<PrimitiveBatch<VertexPositionColor>> m_Batch;
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -102,8 +102,11 @@ class CRanrok final : public CMonster
|
|||||||
virtual void Free() override;
|
virtual void Free() override;
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
virtual void Describe_Entity() override;
|
virtual void Describe_Entity() override;
|
||||||
HRESULT Render_Collider();
|
|
||||||
#endif // _DEBUG
|
#endif // _DEBUG
|
||||||
|
#ifdef RELEASE_DEBUGGER
|
||||||
|
HRESULT Render_Collider();
|
||||||
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual void Add_FSM();
|
virtual void Add_FSM();
|
||||||
@@ -178,13 +181,13 @@ class CRanrok final : public CMonster
|
|||||||
CRigidBody_Dynamic* m_pTargetableDO[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::END)] = { nullptr };
|
CRigidBody_Dynamic* m_pTargetableDO[ENUM_CLASS(RANROK_ENUM_BONEMATRICES::END)] = { nullptr };
|
||||||
|
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
unique_ptr<GeometricPrimitive> m_pSubShape = { nullptr };
|
unique_ptr<GeometricPrimitive> m_pSubShape = { nullptr };
|
||||||
|
|
||||||
ID3D11DepthStencilState* m_pDepthStencilStateNone = { nullptr };
|
ID3D11DepthStencilState* m_pDepthStencilStateNone = { nullptr };
|
||||||
_float4 m_vInitialRotQ = {};
|
_float4 m_vInitialRotQ = {};
|
||||||
_float3 m_vInitialTrans = {};
|
_float3 m_vInitialTrans = {};
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
|
|
||||||
void Behavior_IdleEnter();
|
void Behavior_IdleEnter();
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ class CTroll_Weapon final : public CPartObject
|
|||||||
_float4x4 m_HammerMatrix = { };
|
_float4x4 m_HammerMatrix = { };
|
||||||
_bool m_bDisolve = { false };
|
_bool m_bDisolve = { false };
|
||||||
_float m_fDisolveTime = { 0.f };
|
_float m_fDisolveTime = { 0.f };
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
unique_ptr<GeometricPrimitive> m_pGripShape = { nullptr };
|
unique_ptr<GeometricPrimitive> m_pGripShape = { nullptr };
|
||||||
unique_ptr<GeometricPrimitive> m_pSubShape = { nullptr };
|
unique_ptr<GeometricPrimitive> m_pSubShape = { nullptr };
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual HRESULT Initialize_Prototype() override;
|
virtual HRESULT Initialize_Prototype() override;
|
||||||
|
|||||||
@@ -16,10 +16,12 @@ CCharacter_Controller::CCharacter_Controller(const CCharacter_Controller& rhs)
|
|||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
|
|
||||||
HRESULT CCharacter_Controller::Render()
|
HRESULT CCharacter_Controller::Render()
|
||||||
{
|
{
|
||||||
|
if (m_pGameInstance->IsRenderCollider()) {
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
_vector vPos = Get_Position();
|
_vector vPos = Get_Position();
|
||||||
_float3 vVolume = Get_Volume();
|
_float3 vVolume = Get_Volume();
|
||||||
_matrix WorldMatrix = XMMatrixTranslationFromVector(vPos);
|
_matrix WorldMatrix = XMMatrixTranslationFromVector(vPos);
|
||||||
@@ -65,7 +67,7 @@ void CCharacter_Controller::Set_Name(const _char* pName)
|
|||||||
{
|
{
|
||||||
m_pController->getActor()->setName(pName);
|
m_pController->getActor()->setName(pName);
|
||||||
}
|
}
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
PSX::PxRigidDynamic* CCharacter_Controller::Get_Actor()
|
PSX::PxRigidDynamic* CCharacter_Controller::Get_Actor()
|
||||||
{
|
{
|
||||||
return m_pController->getActor();
|
return m_pController->getActor();
|
||||||
@@ -411,16 +413,16 @@ HRESULT CCharacter_Controller::Initialize(void* pArg)
|
|||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
if (FAILED(Debug_Initialize())) {
|
if (FAILED(Debug_Initialize())) {
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
HRESULT CCharacter_Controller::Debug_Initialize()
|
HRESULT CCharacter_Controller::Debug_Initialize()
|
||||||
{
|
{
|
||||||
_float3 vVolume = Get_Volume();
|
_float3 vVolume = Get_Volume();
|
||||||
@@ -438,7 +440,7 @@ HRESULT CCharacter_Controller::Debug_Initialize()
|
|||||||
}
|
}
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
|
|
||||||
_bool CCharacter_Controller::Check_Overlap()
|
_bool CCharacter_Controller::Check_Overlap()
|
||||||
|
|||||||
@@ -24,7 +24,6 @@
|
|||||||
|
|
||||||
IMPLEMENT_SINGLETON(CGameInstance)
|
IMPLEMENT_SINGLETON(CGameInstance)
|
||||||
|
|
||||||
|
|
||||||
CGameInstance::CGameInstance()
|
CGameInstance::CGameInstance()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -32,6 +31,7 @@ CGameInstance::CGameInstance()
|
|||||||
HRESULT CGameInstance::Initialize_Engine(const ENGINE_DESC& EngineDesc, ID3D11Device** ppDevice, ID3D11DeviceContext** ppContext)
|
HRESULT CGameInstance::Initialize_Engine(const ENGINE_DESC& EngineDesc, ID3D11Device** ppDevice, ID3D11DeviceContext** ppContext)
|
||||||
{
|
{
|
||||||
g_iStaticLevel = EngineDesc.iStaticLevel;
|
g_iStaticLevel = EngineDesc.iStaticLevel;
|
||||||
|
m_bRenderCollider = true;
|
||||||
m_pGraphic_Device = CGraphic_Device::Create(EngineDesc.hWnd, EngineDesc.iWinSizeX, EngineDesc.iWinSizeY, ppDevice, ppContext);
|
m_pGraphic_Device = CGraphic_Device::Create(EngineDesc.hWnd, EngineDesc.iWinSizeX, EngineDesc.iWinSizeY, ppDevice, ppContext);
|
||||||
if (nullptr == m_pGraphic_Device) {
|
if (nullptr == m_pGraphic_Device) {
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
@@ -144,7 +144,6 @@ HRESULT CGameInstance::Initialize_Engine(const ENGINE_DESC& EngineDesc, ID3D11De
|
|||||||
|
|
||||||
void CGameInstance::Update_Engine(_float fTimeDelta)
|
void CGameInstance::Update_Engine(_float fTimeDelta)
|
||||||
{
|
{
|
||||||
|
|
||||||
_float fExcuteTimeDelta = Update_SlowMotion(fTimeDelta);
|
_float fExcuteTimeDelta = Update_SlowMotion(fTimeDelta);
|
||||||
|
|
||||||
m_pKey_Manager->Update();
|
m_pKey_Manager->Update();
|
||||||
@@ -980,7 +979,7 @@ ID3D11ShaderResourceView* CGameInstance::Get_RenderTarget_SRV(const _wstring& st
|
|||||||
return m_pRenderTarget_Manager->Get_RenderTarget_SRV(strRenderTargetKey);
|
return m_pRenderTarget_Manager->Get_RenderTarget_SRV(strRenderTargetKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
void CGameInstance::RenderTarget_Debuger()
|
void CGameInstance::RenderTarget_Debuger()
|
||||||
{
|
{
|
||||||
m_pRenderTarget_Manager->RenderTarget_Debuger();
|
m_pRenderTarget_Manager->RenderTarget_Debuger();
|
||||||
@@ -990,7 +989,7 @@ HRESULT CGameInstance::Render_RenderTarget_Debug(CShader* pShader, CVIBuffer_Rec
|
|||||||
{
|
{
|
||||||
return m_pRenderTarget_Manager->Render_RenderTarget_Debug(pShader, pVIBuffer);
|
return m_pRenderTarget_Manager->Render_RenderTarget_Debug(pShader, pVIBuffer);
|
||||||
}
|
}
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
HRESULT CGameInstance::Clear_Cameras(_uint iLevel)
|
HRESULT CGameInstance::Clear_Cameras(_uint iLevel)
|
||||||
{
|
{
|
||||||
return m_pCamera_Manager->Clear_Cameras(iLevel);
|
return m_pCamera_Manager->Clear_Cameras(iLevel);
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ HRESULT CRenderTarget::Initialize(_uint iSizeX, _uint iSizeY, DXGI_FORMAT ePixel
|
|||||||
m_vClearColor = vClearColor;
|
m_vClearColor = vClearColor;
|
||||||
|
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
Ready_Debug();
|
Ready_Debug();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -88,7 +88,7 @@ void CRenderTarget::Get_TextureDesc(D3D11_TEXTURE2D_DESC& Desc)
|
|||||||
{
|
{
|
||||||
m_pTexture2D->GetDesc(&Desc);
|
m_pTexture2D->GetDesc(&Desc);
|
||||||
}
|
}
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
|
|
||||||
void CRenderTarget::Ready_Debug()
|
void CRenderTarget::Ready_Debug()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -561,7 +561,7 @@ HRESULT CRenderTarget_Manager::Bind_RenderTarget(const _wstring& strTargetTag, C
|
|||||||
|
|
||||||
return pRenderTarget->Bind_ShaderResource(pShader, pConstantName);
|
return pRenderTarget->Bind_ShaderResource(pShader, pConstantName);
|
||||||
}
|
}
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
|
|
||||||
HRESULT CRenderTarget_Manager::Render_RenderTarget_Debug(CShader* pShader, CVIBuffer_Rect* pVIBuffer)
|
HRESULT CRenderTarget_Manager::Render_RenderTarget_Debug(CShader* pShader, CVIBuffer_Rect* pVIBuffer)
|
||||||
{
|
{
|
||||||
@@ -633,7 +633,7 @@ void CRenderTarget_Manager::Toggle_RT_Debugger()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
CRenderTarget* CRenderTarget_Manager::Find_RenderTarget(const _wstring& strRenderTargetKey)
|
CRenderTarget* CRenderTarget_Manager::Find_RenderTarget(const _wstring& strRenderTargetKey)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -36,23 +36,26 @@ void CRenderer::Render()
|
|||||||
memcpy_s(&m_MotionBlurPreViewMatrix, sizeof(_float4x4), m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW), sizeof(_float4x4));
|
memcpy_s(&m_MotionBlurPreViewMatrix, sizeof(_float4x4), m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW), sizeof(_float4x4));
|
||||||
memcpy_s(&m_MotionBlurPreProjMatrix, sizeof(_float4x4), m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ), sizeof(_float4x4));
|
memcpy_s(&m_MotionBlurPreProjMatrix, sizeof(_float4x4), m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ), sizeof(_float4x4));
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
static _bool m_bToggleDebug = false;
|
static _bool m_bToggleDebug = false;
|
||||||
Describe_Entitiy();
|
static _bool m_bRenderSystem = false;
|
||||||
m_pGameInstance->RenderTarget_Debuger();
|
if (m_pGameInstance->Key_Up(DIK_F6)) {
|
||||||
GUI::Begin("RenderTarget Debuger", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
m_bRenderSystem = !m_bRenderSystem;
|
||||||
GUI::Checkbox("DebugToggle", &m_bToggleDebug);
|
|
||||||
|
|
||||||
if (m_pGameInstance->Key_Pressing(DIK_F10)) {
|
|
||||||
Render_Debug();
|
|
||||||
}
|
}
|
||||||
else {
|
if (true == m_bRenderSystem) {
|
||||||
|
Describe_Entitiy();
|
||||||
|
m_pGameInstance->RenderTarget_Debuger();
|
||||||
|
GUI::Begin("RenderTarget Debuger", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
||||||
|
GUI::Checkbox("DebugToggle", &m_bToggleDebug);
|
||||||
|
|
||||||
if (m_bToggleDebug) {
|
if (m_bToggleDebug) {
|
||||||
Render_Debug();
|
Render_Debug();
|
||||||
}
|
}
|
||||||
|
GUI::End();
|
||||||
|
}
|
||||||
|
if (m_pGameInstance->Key_Pressing(DIK_F10)) {
|
||||||
|
Render_Debug();
|
||||||
}
|
}
|
||||||
GUI::End();
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
m_eType = RENDER::END;
|
m_eType = RENDER::END;
|
||||||
}
|
}
|
||||||
@@ -1355,7 +1358,7 @@ void CRenderer::Render_Tone_Mapping()
|
|||||||
COMPUTE_TIMEDELTA("Timer_Render_Tone_Mapping");
|
COMPUTE_TIMEDELTA("Timer_Render_Tone_Mapping");
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
|
|
||||||
void CRenderer::Render_Debug()
|
void CRenderer::Render_Debug()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -640,7 +640,7 @@ void CRenderer::Free()
|
|||||||
SAFE_RELEASE(m_pContext);
|
SAFE_RELEASE(m_pContext);
|
||||||
SAFE_RELEASE(m_pGameInstance);
|
SAFE_RELEASE(m_pGameInstance);
|
||||||
}
|
}
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
void CRenderer::Describe_Entitiy()
|
void CRenderer::Describe_Entitiy()
|
||||||
{
|
{
|
||||||
GUI::Begin("SYSTEM", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
GUI::Begin("SYSTEM", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
||||||
@@ -700,9 +700,12 @@ void CRenderer::Describe_Entitiy()
|
|||||||
}
|
}
|
||||||
if (GUI::CollapsingHeader("End_Padding")) {
|
if (GUI::CollapsingHeader("End_Padding")) {
|
||||||
}
|
}
|
||||||
|
#ifdef _DEBUG
|
||||||
if (GUI::Button("Refresh_Shader")) {
|
if (GUI::Button("Refresh_Shader")) {
|
||||||
m_pShader->Shader_Refresh();
|
m_pShader->Shader_Refresh();
|
||||||
}
|
}
|
||||||
|
#endif // _DEBUG
|
||||||
|
|
||||||
}
|
}
|
||||||
GUI::End();
|
GUI::End();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ CRigidBody_Dynamic::CRigidBody_Dynamic(const CRigidBody_Dynamic& rhs) :
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
HRESULT CRigidBody_Dynamic::Render()
|
HRESULT CRigidBody_Dynamic::Render()
|
||||||
{
|
{
|
||||||
return Render(nullptr, CMyTools::ColorRGB_A_HEXtoVECTOR(0x2fc48000, 1.f));
|
return Render(nullptr, CMyTools::ColorRGB_A_HEXtoVECTOR(0x2fc48000, 1.f));
|
||||||
@@ -31,6 +31,9 @@ HRESULT CRigidBody_Dynamic::Render(function<void()> custumState)
|
|||||||
}
|
}
|
||||||
HRESULT CRigidBody_Dynamic::Render(function<void()> custumState, _fvector vColor)
|
HRESULT CRigidBody_Dynamic::Render(function<void()> custumState, _fvector vColor)
|
||||||
{
|
{
|
||||||
|
if (m_pGameInstance->IsRenderCollider()) {
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
if (m_pOwner->isDead())
|
if (m_pOwner->isDead())
|
||||||
return S_OK;
|
return S_OK;
|
||||||
PSX::PxTransform pxTranform = m_pRigidBody->getGlobalPose();
|
PSX::PxTransform pxTranform = m_pRigidBody->getGlobalPose();
|
||||||
@@ -106,7 +109,7 @@ void CRigidBody_Dynamic::Set_HalfGeometryInfo(_float3 vhalfGeometryInfo)
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
if (nullptr != m_pMainShape) {
|
if (nullptr != m_pMainShape) {
|
||||||
m_pMainShape.reset();
|
m_pMainShape.reset();
|
||||||
m_pMainShape = nullptr;
|
m_pMainShape = nullptr;
|
||||||
@@ -116,7 +119,7 @@ void CRigidBody_Dynamic::Set_HalfGeometryInfo(_float3 vhalfGeometryInfo)
|
|||||||
m_pSubShape = nullptr;
|
m_pSubShape = nullptr;
|
||||||
}
|
}
|
||||||
Add_DebugShape();
|
Add_DebugShape();
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
}
|
}
|
||||||
void CRigidBody_Dynamic::Move_LocalPos(_matrix newLocalPos)
|
void CRigidBody_Dynamic::Move_LocalPos(_matrix newLocalPos)
|
||||||
{
|
{
|
||||||
@@ -135,9 +138,9 @@ void CRigidBody_Dynamic::Move_LocalPos(_fvector vNewRotQ, _gvector vNewTranslati
|
|||||||
PSX::PxShape* pShape = { nullptr };
|
PSX::PxShape* pShape = { nullptr };
|
||||||
m_pRigidBody->getShapes(&pShape, m_pRigidBody->getNbShapes());
|
m_pRigidBody->getShapes(&pShape, m_pRigidBody->getNbShapes());
|
||||||
pShape->setLocalPose(PSX::PxTransform(PSX::PxVec3(m_vLocalTranslation.x, m_vLocalTranslation.y, m_vLocalTranslation.z), PSX::PxQuat(m_vLocalRotQ.x, m_vLocalRotQ.y, m_vLocalRotQ.z, m_vLocalRotQ.w)));
|
pShape->setLocalPose(PSX::PxTransform(PSX::PxVec3(m_vLocalTranslation.x, m_vLocalTranslation.y, m_vLocalTranslation.z), PSX::PxQuat(m_vLocalRotQ.x, m_vLocalRotQ.y, m_vLocalRotQ.z, m_vLocalRotQ.w)));
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
Add_DebugShape();
|
Add_DebugShape();
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
}
|
}
|
||||||
_float CRigidBody_Dynamic::Get_Mass()
|
_float CRigidBody_Dynamic::Get_Mass()
|
||||||
{
|
{
|
||||||
@@ -382,11 +385,11 @@ HRESULT CRigidBody_Dynamic::Initialize(void* pArg)
|
|||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
if (FAILED(Add_DebugShape())) {
|
if (FAILED(Add_DebugShape())) {
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
RIGIDBODY_DYNAMIC_DESC* pDesc = static_cast<RIGIDBODY_DYNAMIC_DESC*>(pArg);
|
RIGIDBODY_DYNAMIC_DESC* pDesc = static_cast<RIGIDBODY_DYNAMIC_DESC*>(pArg);
|
||||||
m_tagData.pOwner = m_pOwner;
|
m_tagData.pOwner = m_pOwner;
|
||||||
XMStoreFloat4x4(&m_tagData.BeforeMatrix, m_pTransform->Get_XMWorldMatrix());
|
XMStoreFloat4x4(&m_tagData.BeforeMatrix, m_pTransform->Get_XMWorldMatrix());
|
||||||
@@ -428,7 +431,7 @@ _bool CRigidBody_Dynamic::IsKinematic()
|
|||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
HRESULT CRigidBody_Dynamic::Add_DebugShape()
|
HRESULT CRigidBody_Dynamic::Add_DebugShape()
|
||||||
{
|
{
|
||||||
if(nullptr != m_pMainShape)
|
if(nullptr != m_pMainShape)
|
||||||
@@ -452,7 +455,7 @@ HRESULT CRigidBody_Dynamic::Add_DebugShape()
|
|||||||
}
|
}
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
CRigidBody_Dynamic* CRigidBody_Dynamic::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, RIGIDBODY_PROTOTYPE_DYNAMIC_DESC& Desc)
|
CRigidBody_Dynamic* CRigidBody_Dynamic::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, RIGIDBODY_PROTOTYPE_DYNAMIC_DESC& Desc)
|
||||||
{
|
{
|
||||||
CRigidBody_Dynamic* pInstance = new CRigidBody_Dynamic(pDevice, pContext);
|
CRigidBody_Dynamic* pInstance = new CRigidBody_Dynamic(pDevice, pContext);
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ class ENGINE_DLL CCharacter_Controller final :
|
|||||||
virtual ~CCharacter_Controller() = default;
|
virtual ~CCharacter_Controller() = default;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
virtual HRESULT Render() override;
|
virtual HRESULT Render() override;
|
||||||
virtual void Set_Name(const _char* pName);
|
virtual void Set_Name(const _char* pName);
|
||||||
#endif
|
#endif
|
||||||
@@ -101,18 +101,19 @@ class ENGINE_DLL CCharacter_Controller final :
|
|||||||
_bool m_bActive = { true };
|
_bool m_bActive = { true };
|
||||||
_bool m_bGravity = { true };
|
_bool m_bGravity = { true };
|
||||||
_bool m_bSlide = { false };
|
_bool m_bSlide = { false };
|
||||||
_float3 m_vLastClimbNormal = { 0.f, 1.f - FLT_EPSILON, 0.f };;
|
_float3 m_vLastClimbNormal = { 0.f, 1.f - FLT_EPSILON, 0.f };
|
||||||
#ifdef _DEBUG
|
|
||||||
|
#ifdef RELEASE_DEBUGGER
|
||||||
unique_ptr<GeometricPrimitive> m_pMainShape = { nullptr };
|
unique_ptr<GeometricPrimitive> m_pMainShape = { nullptr };
|
||||||
unique_ptr<GeometricPrimitive> m_pSubShape = { nullptr };
|
unique_ptr<GeometricPrimitive> m_pSubShape = { nullptr };
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual HRESULT Initialize_Prototype() override;
|
virtual HRESULT Initialize_Prototype() override;
|
||||||
virtual HRESULT Initialize(void* pArg) override;
|
virtual HRESULT Initialize(void* pArg) override;
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
virtual HRESULT Debug_Initialize();
|
virtual HRESULT Debug_Initialize();
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
|
|
||||||
_bool Check_Overlap();
|
_bool Check_Overlap();
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ NS_BEGIN(Engine)
|
|||||||
|
|
||||||
static _uint g_iStaticLevel;
|
static _uint g_iStaticLevel;
|
||||||
|
|
||||||
|
|
||||||
NS_END
|
NS_END
|
||||||
|
|
||||||
USING(Engine);
|
USING(Engine);
|
||||||
|
|||||||
@@ -14,6 +14,17 @@
|
|||||||
#define PSX physx
|
#define PSX physx
|
||||||
#endif // !PSX
|
#endif // !PSX
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
#define RELEASE_DEBUGGER
|
||||||
|
#endif // _DEBUG
|
||||||
|
#ifndef _DEBUG
|
||||||
|
#define RELEASE_DEBUGGER
|
||||||
|
#endif // !_DEBUG
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#pragma region ProgrammerInfo
|
#pragma region ProgrammerInfo
|
||||||
|
|
||||||
#define ASSERT_NURI(expression)
|
#define ASSERT_NURI(expression)
|
||||||
|
|||||||
@@ -27,7 +27,11 @@ class ENGINE_DLL CGameInstance final : public CBase
|
|||||||
_float2 Get_ViewPortSize();
|
_float2 Get_ViewPortSize();
|
||||||
void BillBoard(CTransform* pTransform);
|
void BillBoard(CTransform* pTransform);
|
||||||
void SlowMotion(_float fSlowIntense, _float fTime);
|
void SlowMotion(_float fSlowIntense, _float fTime);
|
||||||
|
#ifdef RELEASE_DEBUGGER
|
||||||
|
_bool IsRenderCollider() { return m_bRenderCollider; }
|
||||||
|
void Set_RenderCollider(_bool bRender) { m_bRenderCollider = bRender; }
|
||||||
|
void Toggle_RenderCollider() { m_bRenderCollider = !m_bRenderCollider; }
|
||||||
|
#endif RELEASE_DEBUGGER
|
||||||
#pragma region GRAPHIC_DEVICE
|
#pragma region GRAPHIC_DEVICE
|
||||||
public:
|
public:
|
||||||
void Render_Begin(const _float4* pClearColor);
|
void Render_Begin(const _float4* pClearColor);
|
||||||
@@ -192,10 +196,10 @@ class ENGINE_DLL CGameInstance final : public CBase
|
|||||||
HRESULT Bind_CS_RenderTarget(_uint iIndex, const _wstring& strTargetTag);
|
HRESULT Bind_CS_RenderTarget(_uint iIndex, const _wstring& strTargetTag);
|
||||||
HRESULT Clear_RenderTarget(const _wstring& strRenderTargetKey);
|
HRESULT Clear_RenderTarget(const _wstring& strRenderTargetKey);
|
||||||
ID3D11ShaderResourceView* Get_RenderTarget_SRV(const _wstring& strRenderTargetKey);
|
ID3D11ShaderResourceView* Get_RenderTarget_SRV(const _wstring& strRenderTargetKey);
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
void RenderTarget_Debuger();
|
void RenderTarget_Debuger();
|
||||||
HRESULT Render_RenderTarget_Debug(class CShader* pShader, class CVIBuffer_Rect* pVIBuffer);
|
HRESULT Render_RenderTarget_Debug(class CShader* pShader, class CVIBuffer_Rect* pVIBuffer);
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
#pragma endregion
|
#pragma endregion
|
||||||
#pragma region CAMERA_MANAGER
|
#pragma region CAMERA_MANAGER
|
||||||
HRESULT Clear_Cameras(_uint iLevel);
|
HRESULT Clear_Cameras(_uint iLevel);
|
||||||
@@ -386,6 +390,9 @@ class ENGINE_DLL CGameInstance final : public CBase
|
|||||||
map<const _char*, CModel*> m_ModelMap;
|
map<const _char*, CModel*> m_ModelMap;
|
||||||
|
|
||||||
#endif // _DEBUG
|
#endif // _DEBUG
|
||||||
|
_bool m_bRenderCollider = false;
|
||||||
|
_bool m_bRenderSystem = false;
|
||||||
|
|
||||||
map<const _char*, SaveModel> m_sModelMap;
|
map<const _char*, SaveModel> m_sModelMap;
|
||||||
public:
|
public:
|
||||||
void Release_Engine();
|
void Release_Engine();
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class CRenderTarget final : public CBase
|
|||||||
void Copy_ResourceFrom(const CRenderTarget& Target);
|
void Copy_ResourceFrom(const CRenderTarget& Target);
|
||||||
void Get_TextureDesc(D3D11_TEXTURE2D_DESC& Desc);
|
void Get_TextureDesc(D3D11_TEXTURE2D_DESC& Desc);
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
public:
|
public:
|
||||||
_bool Render_Debug(class CShader* pShader, class CVIBuffer_Rect* pVIBuffer, _float fX, _float fY, _float fSizeX, _float fSizeY);
|
_bool Render_Debug(class CShader* pShader, class CVIBuffer_Rect* pVIBuffer, _float fX, _float fY, _float fSizeX, _float fSizeY);
|
||||||
void Ready_Debug();
|
void Ready_Debug();
|
||||||
@@ -41,7 +41,7 @@ class CRenderTarget final : public CBase
|
|||||||
ID3D11ShaderResourceView* m_pSRV = { nullptr };
|
ID3D11ShaderResourceView* m_pSRV = { nullptr };
|
||||||
_float4 m_vClearColor = {};
|
_float4 m_vClearColor = {};
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
private:
|
private:
|
||||||
_float4x4 m_WorldMatrix = {};
|
_float4x4 m_WorldMatrix = {};
|
||||||
_point m_ptWindowSize = {};
|
_point m_ptWindowSize = {};
|
||||||
|
|||||||
@@ -32,18 +32,18 @@ class CRenderTarget_Manager final : public CBase
|
|||||||
void Flush_All_SRVs(_uint iStartSlot = 0, _uint numSlots = D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT);
|
void Flush_All_SRVs(_uint iStartSlot = 0, _uint numSlots = D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT);
|
||||||
void Flush_All_CSUAVs(_uint iStartSlot = 0, _uint numSlots = D3D11_PS_CS_UAV_REGISTER_COUNT);
|
void Flush_All_CSUAVs(_uint iStartSlot = 0, _uint numSlots = D3D11_PS_CS_UAV_REGISTER_COUNT);
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
public:
|
public:
|
||||||
HRESULT Render_RenderTarget_Debug(class CShader* pShader, class CVIBuffer_Rect* pVIBuffer);
|
HRESULT Render_RenderTarget_Debug(class CShader* pShader, class CVIBuffer_Rect* pVIBuffer);
|
||||||
void RenderTarget_Debuger();
|
void RenderTarget_Debuger();
|
||||||
void Toggle_RT_Debugger();
|
void Toggle_RT_Debugger();
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
private:
|
private:
|
||||||
_int m_iSizeX = { 350 };
|
_int m_iSizeX = { 350 };
|
||||||
_int m_iSizeY = { 350 };
|
_int m_iSizeY = { 350 };
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ID3D11Device* m_pDevice = { nullptr };
|
ID3D11Device* m_pDevice = { nullptr };
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ class CRenderer final : public CBase
|
|||||||
#endif // _DEBUG
|
#endif // _DEBUG
|
||||||
|
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
private:
|
private:
|
||||||
list<class CComponent*> m_DebugComponents;
|
list<class CComponent*> m_DebugComponents;
|
||||||
#endif
|
#endif
|
||||||
@@ -142,7 +142,7 @@ class CRenderer final : public CBase
|
|||||||
void Render_UI_Overley();
|
void Render_UI_Overley();
|
||||||
|
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
private:
|
private:
|
||||||
void Render_Debug();
|
void Render_Debug();
|
||||||
#endif
|
#endif
|
||||||
@@ -156,9 +156,9 @@ class CRenderer final : public CBase
|
|||||||
public:
|
public:
|
||||||
static CRenderer* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
static CRenderer* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||||
virtual void Free();
|
virtual void Free();
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
virtual void Describe_Entitiy();
|
virtual void Describe_Entitiy();
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -28,12 +28,12 @@ class ENGINE_DLL CRigidBody_Dynamic : public CRigidBody
|
|||||||
virtual ~CRigidBody_Dynamic() = default;
|
virtual ~CRigidBody_Dynamic() = default;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
_float3 Get_LocalTranslation() {return m_vLocalTranslation; }
|
_float3 Get_LocalTranslation() {return m_vLocalTranslation; }
|
||||||
virtual HRESULT Render()override;
|
virtual HRESULT Render()override;
|
||||||
HRESULT Render(function<void()> custumState);
|
HRESULT Render(function<void()> custumState);
|
||||||
HRESULT Render(function<void()> custumState, _fvector vColor);
|
HRESULT Render(function<void()> custumState, _fvector vColor);
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
virtual PSX::PxRigidDynamic* Get_Actor() override { return m_pRigidBody; };
|
virtual PSX::PxRigidDynamic* Get_Actor() override { return m_pRigidBody; };
|
||||||
void Set_Name(const _char* szName);
|
void Set_Name(const _char* szName);
|
||||||
@@ -85,10 +85,10 @@ class ENGINE_DLL CRigidBody_Dynamic : public CRigidBody
|
|||||||
_float m_fDensity = { 1000.f };
|
_float m_fDensity = { 1000.f };
|
||||||
_bool m_bActive = { true };
|
_bool m_bActive = { true };
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
unique_ptr<GeometricPrimitive> m_pMainShape = { nullptr };
|
unique_ptr<GeometricPrimitive> m_pMainShape = { nullptr };
|
||||||
unique_ptr<GeometricPrimitive> m_pSubShape = { nullptr };
|
unique_ptr<GeometricPrimitive> m_pSubShape = { nullptr };
|
||||||
#endif // _DEBUG
|
#endif // RELEASE_DEBUGGER
|
||||||
|
|
||||||
private:
|
private:
|
||||||
HRESULT Initialize_Prototype(RIGIDBODY_PROTOTYPE_DYNAMIC_DESC& Desc);
|
HRESULT Initialize_Prototype(RIGIDBODY_PROTOTYPE_DYNAMIC_DESC& Desc);
|
||||||
@@ -96,7 +96,7 @@ class ENGINE_DLL CRigidBody_Dynamic : public CRigidBody
|
|||||||
// void Move(PSX::PxTransform& pxTransform, _bool bTeleport);
|
// void Move(PSX::PxTransform& pxTransform, _bool bTeleport);
|
||||||
_bool IsKinematic();
|
_bool IsKinematic();
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef RELEASE_DEBUGGER
|
||||||
HRESULT Add_DebugShape();
|
HRESULT Add_DebugShape();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -59,5 +59,6 @@ xcopy /y .\Engine\ThirdPartyLib\fMod\fmod_vc.lib .\EngineSDK\Lib\Debug\
|
|||||||
xcopy /y .\Engine\ThirdPartyLib\fMod\fmod_vc.lib .\EngineSDK\Lib\Release\
|
xcopy /y .\Engine\ThirdPartyLib\fMod\fmod_vc.lib .\EngineSDK\Lib\Release\
|
||||||
|
|
||||||
xcopy /y .\Engine\ThirdPartyLib\DirectXTK\DirectXTKd.lib .\EngineSDK\Lib\Debug\
|
xcopy /y .\Engine\ThirdPartyLib\DirectXTK\DirectXTKd.lib .\EngineSDK\Lib\Debug\
|
||||||
|
xcopy /y .\Engine\ThirdPartyLib\DirectXTK\DirectXTK.lib .\EngineSDK\Lib\Release\
|
||||||
xcopy /y .\Engine\ThirdPartyLib\PhysX\PhysX_debug\*.lib .\EngineSDK\Lib\Debug\
|
xcopy /y .\Engine\ThirdPartyLib\PhysX\PhysX_debug\*.lib .\EngineSDK\Lib\Debug\
|
||||||
xcopy /y .\Engine\ThirdPartyLib\PhysX\PhysX_release\*.lib .\EngineSDK\Lib\Release\
|
xcopy /y .\Engine\ThirdPartyLib\PhysX\PhysX_release\*.lib .\EngineSDK\Lib\Release\
|
||||||
|
|||||||
Reference in New Issue
Block a user