[add] BeforeChangePlayerFBX
This commit is contained in:
@@ -209,6 +209,7 @@ call Update_Resources.bat
|
||||
<ClInclude Include="..\Public\Ride_InfoBG.h" />
|
||||
<ClInclude Include="..\Public\Ride_Info_Key.h" />
|
||||
<ClInclude Include="..\Public\Ride_Panel.h" />
|
||||
<ClInclude Include="..\Public\State_CutScene.h" />
|
||||
<ClInclude Include="..\Public\State_Dash.h" />
|
||||
<ClInclude Include="..\Public\State_Fall.h" />
|
||||
<ClInclude Include="..\Public\State_Fear.h" />
|
||||
@@ -490,6 +491,7 @@ call Update_Resources.bat
|
||||
<ClCompile Include="..\Private\Ride_InfoBG.cpp" />
|
||||
<ClCompile Include="..\Private\Ride_Info_Key.cpp" />
|
||||
<ClCompile Include="..\Private\Ride_Panel.cpp" />
|
||||
<ClCompile Include="..\Private\State_CutScene.cpp" />
|
||||
<ClCompile Include="..\Private\State_Dash.cpp" />
|
||||
<ClCompile Include="..\Private\State_Fall.cpp" />
|
||||
<ClCompile Include="..\Private\State_Fear.cpp" />
|
||||
|
||||
@@ -857,6 +857,9 @@
|
||||
<ClInclude Include="..\Public\Human_Duelist.h">
|
||||
<Filter>02.GameObjects\NPC\Hostile\Human_Duelist</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\State_CutScene.h">
|
||||
<Filter>04.Mechanic\State\State_Combat\State_CutScene</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Image Include="Client.ico">
|
||||
@@ -1772,13 +1775,16 @@
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Rush">
|
||||
<UniqueIdentifier>{eb8e52f5-0283-4acf-8fbb-0e734b7580e9}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\UI\GamePlay_Canvas\Ride_Panel\Ride_Booster_Slot">
|
||||
<UniqueIdentifier>{9c357e12-18b3-461e-b74c-76f85280796f}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\UI\GamePlay_Canvas\Ride_Panel\Ride_BoosterBar">
|
||||
<UniqueIdentifier>{8b69e309-b90b-47f6-8f2d-3dd778b468fe}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_CutScene">
|
||||
<UniqueIdentifier>{b50fed80-37dd-4adb-afd4-ba153cef8a92}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Client.cpp">
|
||||
@@ -2589,6 +2595,9 @@
|
||||
<ClCompile Include="..\Private\Ranrok_GroundPulse.cpp">
|
||||
<Filter>02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_GroundPulse</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\State_CutScene.cpp">
|
||||
<Filter>04.Mechanic\State\State_Combat\State_CutScene</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\Private\Goblin_States.cpp">
|
||||
|
||||
@@ -397,48 +397,48 @@ HRESULT CHuman_Duelist::Bind_ShaderParameters(_uint iMeshOrder)
|
||||
break;
|
||||
#ifdef 기무리
|
||||
|
||||
case PLAYER_MESH_ORDER::ROBE_CLOTH:
|
||||
{
|
||||
CMesh* pMesh = m_pModelCom->Get_Mesh(ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH));
|
||||
_uint MeshBoneCount = pMesh->Get_NumBone();
|
||||
//case PLAYER_MESH_ORDER::ROBE_CLOTH:
|
||||
//{
|
||||
// CMesh* pMesh = m_pModelCom->Get_Mesh(ENUM_CLASS(PLAYER_MESH_ORDER::ROBE_CLOTH));
|
||||
// _uint MeshBoneCount = pMesh->Get_NumBone();
|
||||
|
||||
for (_uint i = 0; i < MeshBoneCount; ++i)
|
||||
{
|
||||
XMStoreFloat4x4(&SkinMatrices[i], XMMatrixIdentity());
|
||||
}
|
||||
// for (_uint i = 0; i < MeshBoneCount; ++i)
|
||||
// {
|
||||
// XMStoreFloat4x4(&SkinMatrices[i], XMMatrixIdentity());
|
||||
// }
|
||||
|
||||
_uint temp = 0;
|
||||
vector<_uint> globalMask = m_pModelCom->Get_BoneMask(ENUM_CLASS(BLEND_BONE::HIPS_CLOTH));
|
||||
vector<_int> boneIndices = pMesh->Get_BoneIndices();
|
||||
// _uint temp = 0;
|
||||
// vector<_uint> globalMask = m_pModelCom->Get_BoneMask(ENUM_CLASS(BLEND_BONE::HIPS_CLOTH));
|
||||
// vector<_int> boneIndices = pMesh->Get_BoneIndices();
|
||||
|
||||
for (_uint i = 0; i < MeshBoneCount; ++i)
|
||||
{
|
||||
_uint global = boneIndices[i];
|
||||
if (global == 38)
|
||||
continue;
|
||||
if (globalMask[global] == 1)
|
||||
{
|
||||
SkinMatrices[i] = m_pRobePart->Get_RobeJointAnchorMatrix(temp++);
|
||||
}
|
||||
}
|
||||
// for (_uint i = 0; i < MeshBoneCount; ++i)
|
||||
// {
|
||||
// _uint global = boneIndices[i];
|
||||
// if (global == 38)
|
||||
// continue;
|
||||
// if (globalMask[global] == 1)
|
||||
// {
|
||||
// SkinMatrices[i] = m_pRobePart->Get_RobeJointAnchorMatrix(temp++);
|
||||
// }
|
||||
// }
|
||||
|
||||
GUI::DragFloat("TempWeight", &m_fTempWeight, 0.01f);
|
||||
// GUI::DragFloat("TempWeight", &m_fTempWeight, 0.01f);
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_TempWeight", &m_fTempWeight, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
// if (FAILED(m_pShaderCom->Bind_RawValue("g_TempWeight", &m_fTempWeight, sizeof(_float)))) {
|
||||
// return E_FAIL;
|
||||
// }
|
||||
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_Matrices(
|
||||
"g_BoneMatrices",
|
||||
SkinMatrices.data(),
|
||||
(_int)SkinMatrices.size()
|
||||
)))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
break;
|
||||
// if (FAILED(m_pShaderCom->Bind_Matrices(
|
||||
// "g_BoneMatrices",
|
||||
// SkinMatrices.data(),
|
||||
// (_int)SkinMatrices.size()
|
||||
// )))
|
||||
// {
|
||||
// return E_FAIL;
|
||||
// }
|
||||
//}
|
||||
//break;
|
||||
#endif // _DEBUG
|
||||
|
||||
default:
|
||||
|
||||
@@ -302,7 +302,7 @@ HRESULT CLevel_GamePlay::Ready_Background()
|
||||
#endif //
|
||||
#ifdef 기무리
|
||||
isReady_Background = true;
|
||||
isReady_Hogsmeade = false;
|
||||
isReady_Hogsmeade = true;
|
||||
isReady_Hogwart = false;
|
||||
#endif //
|
||||
#ifdef 나
|
||||
@@ -807,8 +807,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag)
|
||||
isLoad_RandomNPC = true;
|
||||
#endif //
|
||||
#ifdef 기무리
|
||||
isLoad_NPC = false;
|
||||
isLoad_RandomNPC = false;
|
||||
isLoad_NPC = true;
|
||||
isLoad_RandomNPC = true;
|
||||
#endif //
|
||||
#ifdef 나
|
||||
isLoad_RandomNPC = true;
|
||||
|
||||
@@ -410,7 +410,7 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
isLoad_Background = true;
|
||||
isLoad_Hogwart = false;
|
||||
isLoad_UI_SEQUANTIAL = false;
|
||||
isLoad_NPC = false;
|
||||
isLoad_NPC = true;
|
||||
isLoad_Monster = true;
|
||||
#endif //
|
||||
#ifdef 나
|
||||
|
||||
@@ -1040,6 +1040,13 @@ void CPlayer::Describe_Entity()
|
||||
|
||||
|
||||
m_pLightCom->Describe_Entity();
|
||||
for (_int i = 0; i < m_pModelCom->Get_AnimSize(); i++)
|
||||
{
|
||||
if (GUI::Button(m_pModelCom->Get_AnimList(i)))
|
||||
{
|
||||
m_pModelCom->Set_AnimationIndex(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
GUI::End();
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "CamPosition_Socket.h"
|
||||
#include "Camera_Gaze.h"
|
||||
#include "CamPosition_Arm.h"
|
||||
#include "State_CutScene.h"
|
||||
#include "Wand.h"
|
||||
#include "Item_Potion.h"
|
||||
#include "Character_Controller.h"
|
||||
@@ -75,6 +76,7 @@ HRESULT CPlayer::InputAction()
|
||||
|| m_pGameInstance->Key_Down(DIK_G)
|
||||
|| m_pGameInstance->Key_Down(DIK_B)
|
||||
|| m_pGameInstance->Key_Down(DIK_F)
|
||||
|| m_pGameInstance->Key_Down(DIK_SCROLL)
|
||||
)
|
||||
{
|
||||
|
||||
@@ -236,6 +238,9 @@ HRESULT CPlayer::Behavior_IdleExitCheck(_float fTimeDelta)
|
||||
else if (m_pGameInstance->Key_Down(DIK_Z)) {
|
||||
m_pFSM->Change_State(FSMSTATE::COMBAT);
|
||||
}
|
||||
else if (m_pGameInstance->Key_Down(DIK_SCROLL)) {
|
||||
m_pFSM->Change_State(FSMSTATE::CUTSCENE);
|
||||
}
|
||||
else if (m_pGameInstance->Key_Down(DIK_N)) {
|
||||
m_pInfoInstance->Change_Canvas();
|
||||
}
|
||||
@@ -348,6 +353,38 @@ void CPlayer::Behavior_IdleExit()
|
||||
Reset_Event();
|
||||
}
|
||||
|
||||
void CPlayer::Behavior_CutSceneEnter()
|
||||
{
|
||||
pair<_uint, _bool> pairAnimInfo;
|
||||
m_pFSM->Enable_State(FSMSTATE::CUTSCENE);
|
||||
m_bSprintToggle = false;
|
||||
m_bWalkToggle = false;
|
||||
|
||||
pairAnimInfo = m_Animation[STATEANIM::CUTSCENE_TROLLINTRO];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
|
||||
}
|
||||
|
||||
HRESULT CPlayer::Behavior_CutSceneExitCheck(_float fTimeDelta)
|
||||
{
|
||||
pair<_uint, _bool> pairAnimInfo;
|
||||
|
||||
if (m_pModelCom->IsFinishedAnim())
|
||||
{
|
||||
pairAnimInfo = m_Animation[STATEANIM::IDLE];
|
||||
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
|
||||
m_pFSM->Change_State(FSMSTATE::IDLE);
|
||||
return E_FAIL;
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CPlayer::Behavior_CutSceneExit()
|
||||
{
|
||||
m_pFSM->Disable_State(FSMSTATE::CUTSCENE);
|
||||
Reset_Event();
|
||||
}
|
||||
|
||||
void CPlayer::Behavior_MoveEnter()
|
||||
{
|
||||
pair<_uint, _bool> pairAnimInfo = {};
|
||||
@@ -2823,6 +2860,14 @@ void CPlayer::Add_FSM()
|
||||
Desc.funcLateUpdate = nullptr;
|
||||
m_States.emplace(FSMSTATE::IDLE, CState_Idle::Create(&Desc));
|
||||
}
|
||||
{
|
||||
CState_CutScene::STATE_CUTSCENE_DESC Desc{};
|
||||
Desc.pOwner = this;
|
||||
Desc.funcEnterEvent = [this]() { Behavior_CutSceneEnter(); };
|
||||
Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_CutSceneExitCheck(fTimedelta); };
|
||||
Desc.funcExitEvent = [this]() { Behavior_CutSceneExit(); };
|
||||
m_States.emplace(FSMSTATE::CUTSCENE, CState_CutScene::Create(&Desc));
|
||||
}
|
||||
{
|
||||
CState_Move::STATE_MOVE_DESC Desc{};
|
||||
Desc.pOwner = this;
|
||||
@@ -2839,7 +2884,7 @@ void CPlayer::Add_FSM()
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Desc.funcLateUpdate = nullptr;
|
||||
m_States.emplace(FSMSTATE::MOVE, CState_Move::Create(&Desc));
|
||||
@@ -2862,7 +2907,6 @@ void CPlayer::Add_FSM()
|
||||
Desc.funcExitEvent = [this]() { Behavior_LandExit(); };
|
||||
m_States.emplace(FSMSTATE::LAND, CState_Land::Create(&Desc));
|
||||
}
|
||||
|
||||
{
|
||||
CState_Fall::STATE_FALL_DESC Desc{};
|
||||
Desc.pOwner = this;
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
#include "pch.h"
|
||||
#include "State_CutScene.h"
|
||||
#include "Unit.h"
|
||||
|
||||
CState_CutScene::CState_CutScene()
|
||||
:CState_Root()
|
||||
{
|
||||
}
|
||||
|
||||
void CState_CutScene::Enter()
|
||||
{
|
||||
__super::Enter();
|
||||
}
|
||||
|
||||
HRESULT CState_CutScene::Update(_float fTimeDelta)
|
||||
{
|
||||
if (E_FAIL == (__super::Update(fTimeDelta))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CState_CutScene::Exit()
|
||||
{
|
||||
__super::Exit();
|
||||
}
|
||||
|
||||
HRESULT CState_CutScene::Initialize(STATE_CUTSCENE_DESC* pDesc)
|
||||
{
|
||||
if (FAILED(__super::Initialize(pDesc))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
m_pModel = m_pOwner->Get_Component<CModel>();
|
||||
m_pFSM = m_pOwner->Get_Component<CFSM>();
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
CState_CutScene* CState_CutScene::Create(STATE_CUTSCENE_DESC* pDesc)
|
||||
{
|
||||
CState_CutScene* pInstance = new CState_CutScene;
|
||||
if (FAILED(pInstance->Initialize(pDesc))) {
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
void CState_CutScene::Free()
|
||||
{
|
||||
__super::Free();
|
||||
}
|
||||
|
||||
void CState_CutScene::Describe_Entity()
|
||||
{
|
||||
}
|
||||
@@ -254,7 +254,7 @@ HRESULT CTroll::Render_OutLine()
|
||||
Compute_Depth();
|
||||
_float fCamFar = *m_pGameInstance->Get_CurrentCameraFar();
|
||||
_float fRatio = CMyTools::Saturate((m_fCamDepth / (fCamFar * fCamFar)));
|
||||
m_fOutLineThickness = CMyTools::Lerp_f1D(2.5f, 3.f, fRatio);
|
||||
m_fOutLineThickness = CMyTools::Lerp_f1D(0.024f, 0.5f, fRatio);
|
||||
if (FAILED(m_pShaderCom->Bind_Matrix("g_PrevWorldMatrix", m_pTransformCom->Get_PrevWorldMatrixPtr()))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -704,6 +704,15 @@ void CTroll::Describe_Entity()
|
||||
|
||||
GUI::Text(strSocket.c_str());
|
||||
|
||||
for (_int i = 0; i < m_pModelCom->Get_AnimSize(); i++)
|
||||
{
|
||||
if (GUI::Button(m_pModelCom->Get_AnimList(i)))
|
||||
{
|
||||
m_pModelCom->Set_AnimationIndex(i);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
m_pTransformCom->Describe_Entity();
|
||||
}
|
||||
|
||||
@@ -185,6 +185,10 @@ class CPlayer final : public CUnit
|
||||
HRESULT Behavior_IdleExitCheck(_float fTimeDelta);
|
||||
void Behavior_IdleExit();
|
||||
|
||||
void Behavior_CutSceneEnter();
|
||||
HRESULT Behavior_CutSceneExitCheck(_float fTimeDelta);
|
||||
void Behavior_CutSceneExit();
|
||||
|
||||
void Behavior_MoveEnter();
|
||||
HRESULT Behavior_MoveExitCheck(_float fTimeDelta);
|
||||
void Behavior_MoveExit();
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
#pragma once
|
||||
#include "Client_Define.h"
|
||||
#include "State_Root.h"
|
||||
|
||||
NS_BEGIN(Client)
|
||||
|
||||
class CState_CutScene final : public CState_Root
|
||||
{
|
||||
public:
|
||||
typedef struct tagCutScene : public CState_Root::STATE_ROOT_DESC {
|
||||
|
||||
}STATE_CUTSCENE_DESC;
|
||||
private:
|
||||
CState_CutScene();
|
||||
virtual ~CState_CutScene() = default;
|
||||
|
||||
public:
|
||||
virtual void Enter();
|
||||
virtual HRESULT Update(_float fTimeDelta);
|
||||
virtual void Exit();
|
||||
|
||||
private:
|
||||
HRESULT Initialize(STATE_CUTSCENE_DESC* pDesc);
|
||||
|
||||
public:
|
||||
static CState_CutScene* Create(STATE_CUTSCENE_DESC* pDesc);
|
||||
virtual void Free() override;
|
||||
virtual void Describe_Entity();
|
||||
};
|
||||
|
||||
NS_END
|
||||
@@ -165,4 +165,7 @@
|
||||
<Anim state="SPELL_LEARNING_SUCCESS" index="1292" loop="false"/>
|
||||
<Anim state="SPELL_LEARNING_WANDWAVE" index="1293" loop="false"/>
|
||||
|
||||
<!-- CUT SCENE -->
|
||||
<Anim state="CUTSCENE_TROLLINTRO" index="1294" loop="false"/>
|
||||
|
||||
</Animations>
|
||||
|
||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,5 @@
|
||||
#include "pch.h"
|
||||
#pragma region HEADER
|
||||
#include "pch.h"
|
||||
#include "Loader.h"
|
||||
#include "GameInstance.h"
|
||||
|
||||
@@ -247,6 +248,7 @@
|
||||
#include "Dummy_Globe.h"
|
||||
|
||||
|
||||
#pragma endregion
|
||||
#pragma endregion
|
||||
|
||||
CLoader::CLoader(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
|
||||
@@ -79,12 +79,6 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
||||
TEXT("Prototype_Component_SK_GOB_M_T4Melee_INST_A_Master_Model")
|
||||
));*/
|
||||
|
||||
futures.emplace_back(Deferred_ModelLoad(
|
||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||
TEXT("Prototype_Component_Playable_Model")
|
||||
));
|
||||
|
||||
|
||||
#pragma region MONSTER
|
||||
|
||||
//futures.emplace_back(Deferred_ModelLoad(
|
||||
@@ -110,10 +104,10 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
||||
// CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
|
||||
// return E_FAIL;
|
||||
|
||||
futures.emplace_back(Deferred_ModelLoad(
|
||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixIdentity(),
|
||||
TEXT("Prototype_Component_troll_Model")
|
||||
));
|
||||
//futures.emplace_back(Deferred_ModelLoad(
|
||||
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll.bin", XMMatrixIdentity(),
|
||||
// TEXT("Prototype_Component_troll_Model")
|
||||
//));
|
||||
|
||||
//futures.emplace_back(Deferred_ModelLoad(
|
||||
// MODEL::ANIM, "../Bin/Resources/Models/Monster/SubTroll/troll_TrollIntro.fbx", XMMatrixIdentity(),
|
||||
@@ -205,6 +199,7 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
||||
MODEL::NONANIM, "../Bin/Resources/Models/Box/Box.bin", XMMatrixIdentity(),
|
||||
TEXT("Desc_Box")
|
||||
));
|
||||
|
||||
//futures.emplace_back(Deferred_ModelLoad(
|
||||
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/GerboldOllivander/GerboldOlivander.bin", XMMatrixIdentity(),
|
||||
// TEXT("Prototype_Component_GerboldOlivander_Model")
|
||||
@@ -264,11 +259,6 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
||||
// TEXT("Prototype_Component_VictorRookWood_Model")
|
||||
//));
|
||||
|
||||
//futures.emplace_back(Deferred_ModelLoad(
|
||||
// MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||
// TEXT("Prototype_Component_Playable_Model")
|
||||
//));
|
||||
|
||||
#pragma region NPC
|
||||
|
||||
//futures.emplace_back(Deferred_ModelLoad(
|
||||
@@ -321,12 +311,6 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
||||
// TEXT("Prototype_Component_Student_Cmbt_Model")
|
||||
//));
|
||||
|
||||
|
||||
//futures.emplace_back(Deferred_ModelLoad(
|
||||
// MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.fbx", XMMatrixIdentity(),
|
||||
// TEXT("Prototype_Component_Student_Cmbt_Model")
|
||||
//));
|
||||
|
||||
//futures.emplace_back(Deferred_ModelLoad(
|
||||
// MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/Elf/Elf.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
|
||||
// TEXT("Prototype_Component_Elf_Model")
|
||||
@@ -374,10 +358,21 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
||||
// TEXT("Prototype_Component_Student_Cmbt_Model")
|
||||
//));
|
||||
|
||||
futures.emplace_back(Deferred_ModelLoad(
|
||||
MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationZ(XMConvertToRadians(180.f))* XMMatrixIdentity(),
|
||||
TEXT("Prototype_Component_Playable_Model")
|
||||
));
|
||||
|
||||
futures.emplace_back(Deferred_ModelLoad(
|
||||
MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.fbx", XMMatrixIdentity(),
|
||||
TEXT("Prototype_Component_Student_Cmbt_Model")
|
||||
));
|
||||
|
||||
//futures.emplace_back(Deferred_ModelLoad(
|
||||
// MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_OpenDoor.fbx", XMMatrixIdentity(),
|
||||
// TEXT("Prototype_Component_Student_Cmbt_Model")
|
||||
// MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_TrollIntro.fbx", XMMatrixIdentity(),
|
||||
// TEXT("Prototype_Component_Playable_Model")
|
||||
//));
|
||||
|
||||
#pragma endregion
|
||||
|
||||
for (auto& job : futures) {
|
||||
|
||||
@@ -239,7 +239,7 @@ STATEANIM::ESTATE CUnit::StringToStateAnim(const string& s)
|
||||
{ "IDLE_BREAK3", IDLE_BREAK3 }, { "IDLE_BREAK4", IDLE_BREAK4 },
|
||||
{ "IDLE_BREAK5", IDLE_BREAK5 }, { "IDLE_BREAK6", IDLE_BREAK6 },
|
||||
{ "IDLE_BREAK7", IDLE_BREAK7 },
|
||||
|
||||
|
||||
{ "IDLE_TURN_180_L", IDLE_TURN_180_L }, { "IDLE_TURN_180_R", IDLE_TURN_180_R },
|
||||
{ "IDLE_TURN_45_L", IDLE_TURN_45_L }, { "IDLE_TURN_45_R", IDLE_TURN_45_R },
|
||||
{ "IDLE_TURN_90_L", IDLE_TURN_90_L }, { "IDLE_TURN_90_R", IDLE_TURN_90_R },
|
||||
@@ -499,6 +499,9 @@ STATEANIM::ESTATE CUnit::StringToStateAnim(const string& s)
|
||||
{ "SPELL_LEARNING_SUCCESS", SPELL_LEARNING_SUCCESS },
|
||||
{ "SPELL_LEARNING_WANDWAVE", SPELL_LEARNING_WANDWAVE },
|
||||
|
||||
// CUT SCENES
|
||||
{ "CUTSCENE_TROLLINTRO", CUTSCENE_TROLLINTRO },
|
||||
|
||||
// BROOM (B 세트)
|
||||
{ "BROOM_MOUNT_B", BROOM_MOUNT_B },
|
||||
{ "BROOM_HOVER_IDLE_B", BROOM_HOVER_IDLE_B },
|
||||
|
||||
@@ -56,6 +56,7 @@ enum ESTATE : _u64Flag
|
||||
SLASH = 1ULL << 49,
|
||||
DASH = 1ULL << 50,
|
||||
FEAR = 1ULL << 51,
|
||||
CUTSCENE = 1ULL << 52,
|
||||
END
|
||||
};
|
||||
NS_END
|
||||
|
||||
@@ -49,6 +49,7 @@ enum ESTATE
|
||||
SPELL_LEARNING_FAIL, SPELL_LEARNING_LOOP, SPELL_LEARNING_START, SPELL_LEARNING_SUCCESS, SPELL_LEARNING_WANDWAVE,
|
||||
OPEN_DOOR,OPEN_DOOR_L,OPEN_DOOR_R,
|
||||
FEAR_L,FEAR_R,
|
||||
CUTSCENE_TROLLINTRO,
|
||||
////////////////////////// 빗자루
|
||||
BROOM_MOUNT_B, BROOM_HOVER_IDLE_B, BROOM_HOVER_STOP_B,BROOM_HOVER_DOWN_B,BROOM_HOVER_UP_B,BROOM_HOVER_LEFT_B,BROOM_HOVER_RIGHT_B,BROOM_FLY_DOWN_B, BROOM_FLY_LEFT_B, BROOM_FLY_RIGHT_B, BROOM_FLY_UP_B,BROOM_FLY_B,BROOM_ADD,
|
||||
/// ////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user