[merge commit]
This commit is contained in:
@@ -196,7 +196,6 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
|
||||
|
||||
g_hWnd = hWnd;
|
||||
|
||||
#ifdef Bin
|
||||
#ifndef _DEBUG
|
||||
int screenX = GetSystemMetrics(SM_CXSCREEN);
|
||||
int screenY = GetSystemMetrics(SM_CYSCREEN);
|
||||
@@ -222,7 +221,7 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
|
||||
UpdateWindow(hWnd);
|
||||
|
||||
#endif // !_DEBUG
|
||||
#endif // Bin
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
@@ -158,6 +158,7 @@ HRESULT CBroom_TargetGate::Ready_Components()
|
||||
|
||||
void CBroom_TargetGate::Set_TargetPosition(_fvector TargetPos)
|
||||
{
|
||||
XMStoreFloat4(&m_vTargetPos ,TargetPos);
|
||||
m_pTransformCom->Set_State(STATE::POSITION, TargetPos);
|
||||
m_vActive = true;
|
||||
}
|
||||
|
||||
@@ -1013,6 +1013,11 @@ HRESULT CEffectObject::Bind_ShaderResources()
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_vDissolveSmoothRange", &m_EffectInfo.vDissolveSmoothRange, sizeof(_float2)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_isBlurColor", &m_EffectInfo.isBlurColor, sizeof(_bool)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
//#include "Mouse_Cursor.h"
|
||||
#include "Broom_Panel.h"
|
||||
#include "Ride_Panel.h"
|
||||
#include "InfoInstance.h"
|
||||
|
||||
CGamePlay_Canvas::CGamePlay_Canvas(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
:CCanvasObject(pDevice, pContext)
|
||||
@@ -16,7 +17,8 @@ CGamePlay_Canvas::CGamePlay_Canvas(ID3D11Device* pDevice, ID3D11DeviceContext* p
|
||||
}
|
||||
|
||||
CGamePlay_Canvas::CGamePlay_Canvas(const CGamePlay_Canvas& rhs)
|
||||
:CCanvasObject(rhs)
|
||||
:CCanvasObject(rhs),
|
||||
m_pInfoInstance(CInfoInstance::GetInstance())
|
||||
{
|
||||
}
|
||||
|
||||
@@ -47,6 +49,7 @@ HRESULT CGamePlay_Canvas::Initialize(void* pArg)
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
m_pInfoInstance->Add_Event(TEXT("BroomRide"), [this](void* p) {this->Set_Ride(*reinterpret_cast<_bool*>(p)); });
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -57,10 +60,9 @@ void CGamePlay_Canvas::Priority_Update(_float fTimeDelta)
|
||||
|
||||
void CGamePlay_Canvas::Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_pGameInstance->Key_Down(DIK_B))
|
||||
{
|
||||
m_bRide = !m_bRide;
|
||||
|
||||
if (m_bCurrentRide != m_bRide)
|
||||
{
|
||||
if (m_bRide == true)
|
||||
{
|
||||
static_cast<CUIObject*>(m_pRide_Panel)->Visible(true);
|
||||
@@ -73,8 +75,9 @@ void CGamePlay_Canvas::Update(_float fTimeDelta)
|
||||
static_cast<CUIObject*>(m_pAction_Panel)->Visible(true);
|
||||
static_cast<CUIObject*>(m_pAction_Panel)->Set_FadeIn();
|
||||
}
|
||||
|
||||
m_bCurrentRide = m_bRide;
|
||||
}
|
||||
|
||||
__super::Update(fTimeDelta);
|
||||
}
|
||||
|
||||
|
||||
@@ -1430,12 +1430,12 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
}
|
||||
/* HogsmeadeAlphaMap */
|
||||
if(FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Hogsmeade_AlphaMap"),
|
||||
CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Textures/Terrain/Hogsmeade_AlphaMap.dds"), 0)))) {
|
||||
CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Hogsmeade_AlphaMap.dds"), 0)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
/* HogwartAlphaMap */
|
||||
if(FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Hogwart_AlphaMap"),
|
||||
CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Textures/Terrain/Hogwart_AlphaMap.dds"), 0)))) {
|
||||
CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/Terrain/Hogwart_AlphaMap.dds"), 0)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
@@ -672,7 +672,7 @@ HRESULT CPlayerRobe::Initialize(void* pArg)
|
||||
JointDesc.ApplyToJoint(*m_pDynamicJoints[i]);
|
||||
m_JointDescriptions[i] = JointDesc;
|
||||
}
|
||||
Update_RobeJoints();
|
||||
//Update_RobeJoints();
|
||||
|
||||
#ifdef _DEBUG
|
||||
m_pSubShape = (GeometricPrimitive::CreateSphere(m_pContext, 0.05f, 22, false, false));
|
||||
|
||||
@@ -2443,6 +2443,7 @@ void CPlayer::Behavior_Broom_DismountEnter()
|
||||
{
|
||||
pair<_uint, _bool> pairAnimInfo;
|
||||
m_bOnce = false;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("BroomRide"), &m_bOnce);
|
||||
pairAnimInfo = Get_AnimInfo(STATEANIM::BROOM_DISMOUNT);
|
||||
m_pFSM->Enable_State(FSMSTATE::BROOM_DISMOUNT);
|
||||
m_pBroom->Set_Ride(false);
|
||||
@@ -3104,6 +3105,7 @@ void CPlayer::Add_FSM()
|
||||
_float3 vScale = { 0.3f,0.3f,0.3f };
|
||||
m_pBroomTransform->Set_Scale(vScale);
|
||||
m_bOnce = true;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("BroomRide"), &m_bOnce);
|
||||
}
|
||||
m_BroomScale.x += (m_TargetScale.x - m_BroomScale.x) * fTimeDelta * m_fScaleSmoothSpeed;
|
||||
m_BroomScale.y += (m_TargetScale.y - m_BroomScale.y) * fTimeDelta * m_fScaleSmoothSpeed;
|
||||
|
||||
@@ -501,7 +501,7 @@ HRESULT CRanrok::Render_Nonblend()
|
||||
|
||||
for (_uint i = ENUM_CLASS(RANROK_MESH_ORDER::WINGS); i < ENUM_CLASS(RANROK_MESH_ORDER::END); ++i)
|
||||
{
|
||||
if (FAILED(m_pShaderCom->Bind_Matrices( "g_OffsetMatrix",
|
||||
if (FAILED(m_pShaderCom->Bind_Matrices("g_OffsetMatrix",
|
||||
m_pModelCom->Get_OffsetMatrix(i).data(),
|
||||
(_int)m_pModelCom->Get_OffsetMatrix(i).size())))
|
||||
{
|
||||
@@ -511,6 +511,7 @@ HRESULT CRanrok::Render_Nonblend()
|
||||
if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pModelCom->Begin(i, m_pShaderCom))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -518,6 +519,9 @@ HRESULT CRanrok::Render_Nonblend()
|
||||
m_pModelCom->Bind_OutPut_SRV_VS(26, 0);
|
||||
m_pModelCom->Bind_OutPut_SRV_VS_Prev(27, 0);
|
||||
|
||||
if (true == m_bDrawOutLine) {
|
||||
m_pGameInstance->Begin_OutLine_Write(2);
|
||||
}
|
||||
if (FAILED(m_pModelCom->Render(i))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -558,6 +562,7 @@ HRESULT CRanrok::Render_Nonblend()
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CRanrok::Render_Blend()
|
||||
{
|
||||
_float fDiffuseUVRatio = (m_vEtherealTimer.x / m_vEtherealTimer.y);
|
||||
|
||||
@@ -260,13 +260,20 @@ namespace Client
|
||||
_bool isNoDissolveSmoothStep = {};
|
||||
_bool isPadding3 = {};
|
||||
|
||||
_float4 vPadding5 = {};
|
||||
_float2 vDissolveSmoothRange = { 0.1f , 0.1f };
|
||||
_float2 vPadding0 = {};
|
||||
|
||||
_bool isRimLight = {};
|
||||
_bool isMask_G = {};
|
||||
_bool isMask_B = {};
|
||||
_bool isDissolve_B = {};
|
||||
|
||||
_float4 vPadding1 = {};
|
||||
_float4 vPadding2 = {};
|
||||
_float4 vPadding3 = {};
|
||||
_float4 vPadding4 = {};
|
||||
_float4 vPadding5 = {};
|
||||
_float4 vPadding6 = {};
|
||||
}EFFECT_INFO;
|
||||
|
||||
typedef struct tagTrailInfo
|
||||
|
||||
@@ -34,6 +34,11 @@ class CGamePlay_Canvas final : public CCanvasObject
|
||||
void Clear_Penel();
|
||||
|
||||
private:
|
||||
void Set_Ride(_bool bRide) { m_bRide = bRide; }
|
||||
|
||||
private:
|
||||
CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
|
||||
CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
|
||||
CGameObject* m_pMission_Panel = { nullptr };
|
||||
CGameObject* m_pMinimap_Panel = { nullptr };
|
||||
@@ -44,6 +49,7 @@ class CGamePlay_Canvas final : public CCanvasObject
|
||||
CGameObject* m_pRide_Panel = { nullptr };
|
||||
|
||||
_bool m_bRide = { false };
|
||||
_bool m_bCurrentRide = { false };
|
||||
|
||||
public:
|
||||
static CGamePlay_Canvas* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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