commit
This commit is contained in:
@@ -225,12 +225,10 @@ HRESULT CLevel_Field::Ready_Layer_SkyBox()
|
||||
|
||||
HRESULT CLevel_Field::Ready_Background()
|
||||
{
|
||||
_float4 vColor = _float4(0.2f, 0.246f, 0.253f, 1.f);
|
||||
m_pGameInstance->Set_FogColor(vColor);
|
||||
m_pGameInstance->Set_Fog(10.f, 8.f);
|
||||
|
||||
m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f);
|
||||
|
||||
|
||||
|
||||
CInfoInstance::GetInstance()->Load_MapObjects("Dungeon_Map_Data", LAYER_BACKGROUND);
|
||||
CInfoInstance::GetInstance()->Load_WorldDecal("Duengon_Decal_Data", LAYER_BACKGROUND);
|
||||
CInfoInstance::GetInstance()->Load_PointLights("Duengon_PointLight_Data", LAYER_BACKGROUND);
|
||||
|
||||
@@ -325,18 +325,20 @@ HRESULT CLevel_GamePlay::Ready_Background()
|
||||
#if 진우
|
||||
|
||||
#else
|
||||
if(isReady_Hogsmeade)
|
||||
|
||||
#endif
|
||||
|
||||
if (isReady_Hogsmeade)
|
||||
{
|
||||
if (FAILED(Ready_Layer_Hogsmeade()))
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if(isReady_Hogwart)
|
||||
if (isReady_Hogwart)
|
||||
{
|
||||
if (FAILED(Ready_Layer_Hogwart()))
|
||||
return E_FAIL;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (FAILED(Ready_IntstanceProp()))
|
||||
return E_FAIL;
|
||||
@@ -804,7 +806,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag)
|
||||
isLoad_RandomNPC = true;
|
||||
#endif // gimch
|
||||
#ifdef 진우
|
||||
isLoad_RandomNPC = true;
|
||||
isLoad_RandomNPC = false;
|
||||
isLoad_NPC = false;
|
||||
#endif //
|
||||
#ifdef 기무리
|
||||
isLoad_NPC = false;
|
||||
@@ -903,7 +906,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Monster()
|
||||
|
||||
#endif // gimch
|
||||
#ifdef 진우
|
||||
isLoad_Monster = true;
|
||||
isLoad_Monster = false;
|
||||
#endif //
|
||||
#ifdef 기무리
|
||||
isLoad_Monster = true;
|
||||
|
||||
@@ -46,6 +46,9 @@ void CLevel_Logo::Update(_float fTimeDelta)
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
HRESULT CLevel_Logo::Render()
|
||||
|
||||
@@ -98,12 +98,21 @@ HRESULT CLight_Main::Ready_Components(void* pArg)
|
||||
{
|
||||
__super::Ready_Components(nullptr);
|
||||
|
||||
_matrix LIGHT_WorldMatrixDoNotModify =
|
||||
_matrix(0.819145918f, 0.f, -0.573572040f, 0.f,
|
||||
|
||||
if (NEXT_LEVEL == ENUM_CLASS(LEVEL::GAMEPLAY))
|
||||
{
|
||||
_matrix LIGHT_WorldMatrixDoNotModify =
|
||||
_matrix(0.819145918f, 0.f, -0.573572040f, 0.f,
|
||||
0.553958654f, 0.258784860f, 0.791134834f, 0.f
|
||||
, 0.148416296f, -0.965690017f, 0.211960629f, 0.f
|
||||
, 0.f, 0.f, 0.f, 1.f);
|
||||
m_pTransformCom->Set_WorldMatrix(LIGHT_WorldMatrixDoNotModify);
|
||||
m_pTransformCom->Set_WorldMatrix(LIGHT_WorldMatrixDoNotModify);
|
||||
}
|
||||
else if (NEXT_LEVEL == ENUM_CLASS(LEVEL::FIELD))
|
||||
{
|
||||
m_pTransformCom->Rotation(XMConvertToRadians(-4.f), XMConvertToRadians(271.f), 0.f);
|
||||
|
||||
}
|
||||
|
||||
LIGHT_DESC* pLightDescArg = static_cast<LIGHT_DESC*>(pArg);
|
||||
|
||||
|
||||
@@ -537,6 +537,7 @@ void CPlayerRobe::Free()
|
||||
for (_uint i = 0; i < ENUM_CLASS(PLAYER_JOINT_BONE_ORDER::END); ++i) {
|
||||
SAFE_RELEASE(m_pRobeJointAnchor[i]);
|
||||
}
|
||||
#ifdef _Debug
|
||||
if (nullptr != m_pMainShape) {
|
||||
m_pMainShape.release();
|
||||
m_pMainShape = nullptr;
|
||||
@@ -545,4 +546,5 @@ void CPlayerRobe::Free()
|
||||
m_pSubShape.release();
|
||||
m_pSubShape = nullptr;
|
||||
}
|
||||
#endif // _DEBUG
|
||||
}
|
||||
|
||||
@@ -402,10 +402,10 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[&]() {m_bDisolve = true; },
|
||||
0.15f);
|
||||
0.25f);
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
|
||||
0.5f);
|
||||
0.55f);
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
return;
|
||||
}
|
||||
@@ -418,10 +418,10 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[&]() {m_bDisolve = true; },
|
||||
0.15f);
|
||||
0.25f);
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
|
||||
0.5f);
|
||||
0.55f);
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
return;
|
||||
}
|
||||
@@ -435,10 +435,10 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[&]() {m_bDisolve = true; },
|
||||
0.15f);
|
||||
0.25f);
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
|
||||
0.5f);
|
||||
0.55f);
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
return;
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -111,6 +111,7 @@ HRESULT CLevel_EffectViewer::Initialize()
|
||||
|
||||
m_pGameInstance->Setting_Volumetirc(1.812f, 0.003f, 0.56f, 1.f, 0.031f);
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -164,8 +165,12 @@ HRESULT CLevel_EffectViewer::Ready_Layer_Light()
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
_float4 vDiffuse = _float4(0.607f, 0.658f, 0.698f, 0.f);
|
||||
_float4 vAmbient = _float4(0.1f, 0.13f, 0.13f, 0.f);
|
||||
//_float4 vDiffuse = _float4(0.607f, 0.658f, 0.698f, 0.f);
|
||||
//_float4 vAmbient = _float4(0.1f, 0.13f, 0.13f, 0.f);
|
||||
//_float4 vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f);
|
||||
|
||||
_float4 vDiffuse = _float4(0.361f, 0.451f, 0.451f, 0.204f);
|
||||
_float4 vAmbient = _float4(0.161f, 0.161f, 0.161f, 0.0f);
|
||||
_float4 vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f);
|
||||
|
||||
pLight->Get_Component<CLight>()->Set_Color(vDiffuse, vAmbient, vSpecular);
|
||||
@@ -228,6 +233,8 @@ HRESULT CLevel_EffectViewer::Ready_Layer_BackGround(const _wstring& strLayerTag)
|
||||
m_pGameInstance->Set_Fog(10.f, 5.f);
|
||||
m_pInfoInstance->Load_MapObjects("Dungeon_Map_Data");
|
||||
|
||||
CInfoInstance::GetInstance()->Load_PointLights("Duengon_PointLight_Data");
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -1922,6 +1922,9 @@ HRESULT CLoader::Loading_For_Effect()
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CLightSpawner>(g_iStaticLevel, CLightSpawner::Create(m_pDevice, m_pContext))))
|
||||
return E_FAIL;
|
||||
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CGoblin_Dagger>(g_iStaticLevel, CGoblin_Dagger::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
|
||||
@@ -280,9 +280,12 @@ HRESULT CMesh::Ready_VertexBuffer_For_NonAnim(SaveMesh* SaveMesh, _fmatrix PreTr
|
||||
|
||||
m_pVertexPositions = new _float3[m_iNumVertices];
|
||||
ZeroMemory(m_pVertexPositions, sizeof(_float3) * m_iNumVertices);
|
||||
|
||||
#ifdef DEBUG
|
||||
m_VertexTexcoords = new _float2[m_iNumVertices];
|
||||
ZeroMemory(m_VertexTexcoords, sizeof(_float2) * m_iNumVertices);
|
||||
#endif // DEBUG
|
||||
|
||||
|
||||
|
||||
for (_uint i = 0; i < m_iNumVertices; ++i)
|
||||
{
|
||||
@@ -303,8 +306,12 @@ HRESULT CMesh::Ready_VertexBuffer_For_NonAnim(SaveMesh* SaveMesh, _fmatrix PreTr
|
||||
XMStoreFloat3(&pVertices[i].vBinormal,
|
||||
XMVector3Normalize(XMVector3TransformNormal(XMLoadFloat3(&pVertices[i].vBinormal), PreTransformMatrix)));
|
||||
|
||||
|
||||
pVertices[i].vTexcoord = SaveMesh->Vertices[i].UV;
|
||||
#ifdef DEBUG
|
||||
memcpy(&m_VertexTexcoords[i], &pVertices[i].vTexcoord, sizeof(_float2));
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
D3D11_SUBRESOURCE_DATA InitialVBData{};
|
||||
|
||||
Reference in New Issue
Block a user