Merge pull request #773 from SpicyGangjeong/Develope

Follow
This commit is contained in:
hyunbin14
2026-01-13 19:58:56 +09:00
committed by GitHub
8 changed files with 21 additions and 29 deletions
@@ -171,14 +171,14 @@ HRESULT CCutSceneInfo::Clear_AllEvents()
HRESULT CCutSceneInfo::Ready_GameplayCutScenes() HRESULT CCutSceneInfo::Ready_GameplayCutScenes()
{ {
{ {
Load_CutSceneXML("../Bin/Resources/Data/CutScene/CarriageIntro.xml"); //Load_CutSceneXML("../Bin/Resources/Data/CutScene/CarriageIntro.xml");
} }
return S_OK; return S_OK;
} }
HRESULT CCutSceneInfo::Ready_FieldCutScenes() HRESULT CCutSceneInfo::Ready_FieldCutScenes()
{ {
{ {
Load_CutSceneXML("../Bin/Resources/Data/CutScene/RanrokCutScene.xml"); //Load_CutSceneXML("../Bin/Resources/Data/CutScene/RanrokCutScene.xml");
} }
return S_OK; return S_OK;
} }
@@ -668,6 +668,7 @@ _int CEffect_Container::CollisionCheck()
case PXOBJECT::GOBLIN_ASSASSIN: case PXOBJECT::GOBLIN_ASSASSIN:
case PXOBJECT::TROLL: case PXOBJECT::TROLL:
case PXOBJECT::RANROK: case PXOBJECT::RANROK:
case PXOBJECT::RANROK_BODY:
case PXOBJECT::WALL: case PXOBJECT::WALL:
{ {
return i; return i;
@@ -752,6 +753,7 @@ ON_COLLISION_INFO CEffect_Container::SweepTarget(_fvector StartPos, _fvector End
m_bHitShield = true; m_bHitShield = true;
} }
break; break;
case PXOBJECT::RANROK_BODY:
case PXOBJECT::RANROK_PROP: case PXOBJECT::RANROK_PROP:
{ {
pUserData->pOwner->OnCollision(this, &tagCollInfo); pUserData->pOwner->OnCollision(this, &tagCollInfo);
@@ -125,7 +125,7 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
_bool bLoadNPC = { true }; _bool bLoadNPC = { true };
#ifdef _DEBUG #ifdef _DEBUG
#ifdef 기무리 #ifdef 기무리
bLoadNPC = true; bLoadNPC = false;
#endif #endif
#endif // _DEBUG #endif // _DEBUG
if (true == bLoadNPC) { if (true == bLoadNPC) {
@@ -165,15 +165,17 @@ HRESULT CLevel_GamePlay::Initialize()
void CLevel_GamePlay::Update(_float fTimeDelta) void CLevel_GamePlay::Update(_float fTimeDelta)
{ {
_bool bStartCinematic = { true }; _bool bStartCinematic = { true };
bStartCinematic = false;
#ifdef _DEBUG #ifdef _DEBUG
#ifdef 기무리 #ifdef 기무리
bStartCinematic = true; bStartCinematic = false;
#elif 진우 #elif 진우
bStartCinematic = true; bStartCinematic = true;
#else #else
#endif #endif
#endif // _DEBUG #endif // _DEBUG
bStartCinematic = false;
if (bStartCinematic && false == m_bIntroCinematic) { if (bStartCinematic && false == m_bIntroCinematic) {
m_bIntroCinematic = true; m_bIntroCinematic = true;
@@ -359,9 +361,9 @@ HRESULT CLevel_GamePlay::Ready_Background()
isReady_Hogwart = false; isReady_Hogwart = false;
#endif // #endif //
#ifdef 기무리 #ifdef 기무리
isReady_Background = true; isReady_Background = false;
isReady_Hogsmeade = true; isReady_Hogsmeade = false;
isReady_Hogwart = true; isReady_Hogwart = false;
#endif // #endif //
#ifdef 나 #ifdef 나
isReady_Background = false; isReady_Background = false;
@@ -1153,8 +1155,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc()
isLoad_NPC = false; isLoad_NPC = false;
#endif // #endif //
#ifdef 기무리 #ifdef 기무리
isLoad_NPC = true; isLoad_NPC = false;
isLoad_RandomNPC = true; isLoad_RandomNPC = false;
#endif // #endif //
#ifdef 나 #ifdef 나
isLoad_RandomNPC = true; isLoad_RandomNPC = true;
+4 -4
View File
@@ -548,10 +548,10 @@ HRESULT CLoader::Loading_For_GamePlay()
isLoad_UI_SEQUANTIAL = false; isLoad_UI_SEQUANTIAL = false;
#endif // #endif //
#ifdef 기무리 #ifdef 기무리
isLoad_Background = true; isLoad_Background = false;
isLoad_Hogwart = true; isLoad_Hogwart = false;
isLoad_UI_SEQUANTIAL = true; isLoad_UI_SEQUANTIAL = false;
isLoad_NPC = true; isLoad_NPC = false;
isLoad_Monster = true; isLoad_Monster = true;
#endif // #endif //
#ifdef 나 #ifdef 나
@@ -401,6 +401,7 @@ ON_COLLISION_INFO CMapElement_Interactable::CollisionCheck(_fvector StartPos, _f
m_bHit = true; m_bHit = true;
} }
break; break;
case PXOBJECT::RANROK_BODY:
case PXOBJECT::RANROK: case PXOBJECT::RANROK:
{ {
pUserData->pOwner->OnCollision(this, &tagCollInfo); pUserData->pOwner->OnCollision(this, &tagCollInfo);
@@ -84,8 +84,6 @@ void CRanrok_Prop::Update(_float fTimeDelta)
m_pRigidBody->Set_Position(m_pTransformCom->Get_State(STATE::POSITION), true); m_pRigidBody->Set_Position(m_pTransformCom->Get_State(STATE::POSITION), true);
Update_Event(fTimeDelta); Update_Event(fTimeDelta);
m_pRigidBody->Set_Position(m_pTransformCom->Get_State(STATE::POSITION), true);
/* 시작 사이즈 러프 */ /* 시작 사이즈 러프 */
if (m_fSizeAccTime > XM_PIDIV2 && m_isSizeLerpEnd == false) if (m_fSizeAccTime > XM_PIDIV2 && m_isSizeLerpEnd == false)
{ {
@@ -202,23 +202,12 @@ HRESULT CRigidBody_Dynamic::ConvertToCCT(CCharacter_Controller& CCTOriginal)
return E_FAIL; return E_FAIL;
} }
void CRigidBody_Dynamic::Detach_Actor(_uint iLevel) void CRigidBody_Dynamic::Detach_Actor(_uint iLevel)
{ {
m_pGameInstance->Detach_Actor(*m_pRigidBody, iLevel); // 현재 액터 비활성화 m_pGameInstance->Detach_Actor(*m_pRigidBody, iLevel); // 현재 액터 비활성화
m_bActive = false; m_bActive = false;
} }
void CRigidBody_Dynamic::SetActive(_bool bCondition)
{
m_bActive = bCondition;
if (true == m_bActive) {
m_pGameInstance->Attach_Actor(*m_pRigidBody, m_pGameInstance->Get_NextLevelID());
}
else {
m_pGameInstance->Detach_Actor(*m_pRigidBody, m_pGameInstance->Get_NextLevelID());
}
}
_vector CRigidBody_Dynamic::Get_Position() _vector CRigidBody_Dynamic::Get_Position()
{ {
PSX::PxVec3 pxPos = m_pRigidBody->getGlobalPose().p; PSX::PxVec3 pxPos = m_pRigidBody->getGlobalPose().p;
@@ -55,9 +55,9 @@ class ENGINE_DLL CRigidBody_Dynamic : public CRigidBody
void Move_Kinematic(PSX::PxTransform& pxDestination, _bool bTeleport = true); void Move_Kinematic(PSX::PxTransform& pxDestination, _bool bTeleport = true);
HRESULT ConvertToCCT(class CCharacter_Controller& CCTOriginal); HRESULT ConvertToCCT(class CCharacter_Controller& CCTOriginal);
void Detach_Actor(_uint iLevel);
_bool IsActive() const { return m_bActive; } _bool IsActive() const { return m_bActive; }
void SetActive(_bool bCondition); void SetActive(_bool bCondition) { m_bActive = bCondition; }
void Detach_Actor(_uint iLevel);
_vector Get_Position(); _vector Get_Position();
void Set_Position(_vector vPos, _bool bTeleport); void Set_Position(_vector vPos, _bool bTeleport);