diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj
index 3f3bd6c8f..741b81ca2 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj
@@ -223,7 +223,6 @@
-
@@ -234,6 +233,7 @@
+
diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
index a94092e3b..a0f5abf34 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
@@ -73,9 +73,6 @@
02.GameObjects\Cameras\CameraPosition
-
- 02.GameObjects\Cameras
-
02.GameObjects\SkyBox
@@ -157,6 +154,9 @@
02.GameObjects\Cameras\CameraPosition\Player\Shoulder
+
+ 02.GameObjects\Cameras\Camera_Gaze
+
@@ -386,6 +386,9 @@
{2e4f0394-e25c-4508-937a-7e73d005ae5f}
+
+ {470c4db5-b306-4fb8-8338-0a99ac77ac89}
+
@@ -445,9 +448,6 @@
02.GameObjects\Cameras\CameraPosition
-
- 02.GameObjects\Cameras
-
02.GameObjects\SkyBox
@@ -529,6 +529,12 @@
02.GameObjects\Cameras\CameraPosition\Player\Shoulder
+
+ 02.GameObjects\Player
+
+
+ 02.GameObjects\Cameras\Camera_Gaze
+
diff --git a/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp b/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp
index 14d07c060..839277a46 100644
--- a/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp
+++ b/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp
@@ -60,6 +60,9 @@ HRESULT CCamPosition_Shoulder::Initialize(void* pArg)
void CCamPosition_Shoulder::Priority_Update(_float fTimeDelta)
{
+ if (FAILED(m_pGameInstance->IsBinded_Camera(CAMERA_SHOULDER))) {
+ return;
+ }
if (true == m_bMovable) {
m_vAccDegreeXY.y += m_pGameInstance->Get_MouseMove().x * m_fMouseSensor;
m_vAccDegreeXY.x += m_pGameInstance->Get_MouseMove().y * m_fMouseSensor;
@@ -84,6 +87,12 @@ void CCamPosition_Shoulder::Priority_Update(_float fTimeDelta)
void CCamPosition_Shoulder::Update(_float fTimeDelta)
{
+ if (m_pGameInstance->Key_Up(DIK_O)) {
+ m_pBinded_Camera->Toggle_Priority();
+ }
+ if (FAILED(m_pGameInstance->IsBinded_Camera(CAMERA_SHOULDER))) {
+ return;
+ }
Describe_Entity();
if (m_pGameInstance->Key_Up(DIK_GRAVE)) {
m_bMovable = !m_bMovable;
@@ -101,6 +110,9 @@ void CCamPosition_Shoulder::Update(_float fTimeDelta)
void CCamPosition_Shoulder::Late_Update(_float fTimeDelta)
{
+ if (FAILED(m_pGameInstance->IsBinded_Camera(CAMERA_SHOULDER))) {
+ return;
+ }
if (true == m_bLerp) {
m_vLerpTimer.x += fTimeDelta;
XMStoreFloat3(&m_vShoulderPosRatio, XMVectorLerp(XMLoadFloat3(&m_vShoulderStartRatio), XMLoadFloat3(&m_vShoulderOtherRatio), m_vLerpTimer.x / m_vLerpTimer.y));
@@ -152,7 +164,7 @@ HRESULT CCamPosition_Shoulder::Ready_SubParts()
CameraDesc.pFollowTarget = m_pTarget_FollowPart;
CameraDesc.pLookTarget = m_pTarget_LookPart;
CameraDesc.iPriority = 51;
- CameraDesc.pCameraKey = TEXT("CAM_SHOULDER");
+ CameraDesc.pCameraKey = CAMERA_SHOULDER;
CameraDesc.bEnableTransitionLerp = true;
CameraDesc.bEnableFollowLerp = true;
CameraDesc.bEnableLookLerp = true;
@@ -164,7 +176,7 @@ HRESULT CCamPosition_Shoulder::Ready_SubParts()
{
return E_FAIL;
}
- m_pGameInstance->Add_Camera(NEXT_LEVEL, m_pBinded_Camera, TEXT("CAM_SHOULDER"));
+ m_pGameInstance->Add_Camera(g_iStaticLevel, m_pBinded_Camera, CAMERA_SHOULDER);
return S_OK;
diff --git a/Jusin154_Team3D/Client/Private/Camera_Debug.cpp b/Jusin154_Team3D/Client/Private/Camera_Debug.cpp
index 6e22265f5..d37e0cb12 100644
--- a/Jusin154_Team3D/Client/Private/Camera_Debug.cpp
+++ b/Jusin154_Team3D/Client/Private/Camera_Debug.cpp
@@ -14,19 +14,22 @@ CCamera_Debug::CCamera_Debug(const CCamera_Debug& rhs)
void CCamera_Debug::Priority_Update(_float fTimeDelta)
{
+ m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_DEBUG, false);
}
void CCamera_Debug::Update(_float fTimeDelta)
{
+ if (false == m_bActive) {
+ return;
+ }
Transition(fTimeDelta);
_float3 vCamPos = {};
XMStoreFloat3(&vCamPos, m_pTransformCom->Get_State(STATE::POSITION));
-
GUI::Text("Cam Coord %.2f, %.2f, %.2f", vCamPos.x, vCamPos.y, vCamPos.z);
if (m_pGameInstance->Key_Up(DIK_GRAVE)) {
m_bMovable = !m_bMovable;
}
- if (m_pGameInstance->Key_Down(DIK_1)) {
+ if (m_pGameInstance->Mouse_Down(DIM_RBUTTON)) {
m_pGameInstance->Toggle_MouseCenter();
}
if (m_bMovable) {
@@ -69,6 +72,9 @@ void CCamera_Debug::Update(_float fTimeDelta)
void CCamera_Debug::Late_Update(_float fTimeDelta)
{
+ if (false == m_bActive) {
+ return;
+ }
}
HRESULT CCamera_Debug::Render()
@@ -98,8 +104,6 @@ HRESULT CCamera_Debug::Initialize(void* pArg)
m_matInitial = *m_pTransformCom->Get_WorldMatrixPtr();
m_bActive = true;
- m_pGameInstance->Add_Camera(NEXT_LEVEL, this, m_pCameraKey);
- m_pGameInstance->Bind_Camera(NEXT_LEVEL, m_pCameraKey, false);
return S_OK;
}
@@ -134,7 +138,7 @@ CCamera_Debug* CCamera_Debug::Create(ID3D11Device* pDevice, ID3D11DeviceContext*
return pInstance;
}
-CCamera_Debug* CCamera_Debug::Clone(void* pArg, CGameObject* pOwner)
+CGameObject* CCamera_Debug::Clone(void* pArg, CGameObject* pOwner)
{
CCamera_Debug* pInstance = new CCamera_Debug(*this);
pInstance->m_pOwner = pOwner;
diff --git a/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp b/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp
index af290c2af..81b6771d0 100644
--- a/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp
+++ b/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp
@@ -13,6 +13,9 @@ CCamera_Gaze::CCamera_Gaze(const CCamera_Gaze& rhs)
void CCamera_Gaze::Priority_Update(_float fTimeDelta)
{
+ if (false == m_bActive) {
+ return;
+ }
if (false == m_bIsCurrentTransition) {
if (m_bEnable_FollowLerp) {
_vector vNewPos = XMVectorSetW(XMVectorLerp(XMLoadFloat3(&m_vFollowPos_Src), XMLoadFloat3(&m_vFollowPos_Dest), m_vFollowLerpTime.x / m_vFollowLerpTime.y), 1.f);
@@ -28,6 +31,9 @@ void CCamera_Gaze::Priority_Update(_float fTimeDelta)
else {
m_pTransformCom->LookAt(m_pLookTarget->Get_Component()->Get_State(STATE::POSITION));
}
+ }
+ else {
+
}
m_bActive = true;
__super::Bind_Matrices();
@@ -35,6 +41,11 @@ void CCamera_Gaze::Priority_Update(_float fTimeDelta)
void CCamera_Gaze::Update(_float fTimeDelta)
{
+ GUI::Text("%d", m_iPriority);
+ if (false == m_bActive) {
+ return;
+ }
+ Transition(fTimeDelta);
Update_LerpTimer(fTimeDelta);
Describe_Entity();
@@ -42,6 +53,9 @@ void CCamera_Gaze::Update(_float fTimeDelta)
void CCamera_Gaze::Update_LerpTimer(Engine::_float fTimeDelta)
{
+ if (false == m_bActive) {
+ return;
+ }
if (true == m_bEnable_LookLerp) {
m_vLookLerpTime.x += fTimeDelta;
if (m_vLookLerpTime.y <= m_vLookLerpTime.x) {
@@ -77,8 +91,22 @@ void CCamera_Gaze::Enable_LookLerp()
XMStoreFloat3(&m_vLookPos_Src, m_pLookTarget->Get_WorldPostion());
}
+void CCamera_Gaze::Toggle_Priority()
+{
+ if (m_iPriority == 99) {
+ m_iPriority = 51;
+ }
+ else {
+ m_iPriority = 99;
+ m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_SHOULDER, false);
+ }
+}
+
void CCamera_Gaze::Late_Update(_float fTimeDelta)
{
+ if (false == m_bActive) {
+ return;
+ }
}
HRESULT CCamera_Gaze::Render()
{
diff --git a/Jusin154_Team3D/Client/Private/Level_Field.cpp b/Jusin154_Team3D/Client/Private/Level_Field.cpp
index dc5946532..b13002b56 100644
--- a/Jusin154_Team3D/Client/Private/Level_Field.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_Field.cpp
@@ -40,7 +40,7 @@ HRESULT CLevel_Field::Initialize()
void CLevel_Field::Update(_float fTimeDelta)
{
- if (m_pGameInstance->Key_Up(DIK_0))
+ if (m_pGameInstance->Key_Up(DIK_F1))
{
m_pGameInstance->Set_LevelToChange();
}
diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
index 6146c0058..e6da7f86c 100644
--- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
@@ -31,22 +31,13 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
if (FAILED(Ready_Layer_UI(LAYER_UI))) {
return E_FAIL;
}
- if (FAILED(Ready_Layer_Effect(LAYER_EFFECT))) {
- return E_FAIL;
- }
-
if (FAILED(Ready_Layer_Player(LAYER_PLAYER))) {
return E_FAIL;
}
-
- if (FAILED(Ready_Layer_Camera())) {
+ if (FAILED(Ready_Layer_SkyBox(TEXT("Layer_SkyBox")))) {
return E_FAIL;
}
- //if (FAILED(Ready_Layer_SkyBox(TEXT("Layer_SkyBox")))) {
- // return E_FAIL;
- //}
-
return S_OK;
}
@@ -58,7 +49,7 @@ HRESULT CLevel_GamePlay::Initialize()
void CLevel_GamePlay::Update(_float fTimeDelta)
{
- if (m_pGameInstance->Key_Up(DIK_0))
+ if (m_pGameInstance->Key_Up(DIK_F1))
{
m_pGameInstance->Set_LevelToChange();
}
@@ -108,7 +99,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Camera()
Camera_Desc.pCameraKey = CAMERA_DEBUG;
Camera_Desc.fRotationPerSec = XMConvertToRadians(90.0f);
Camera_Desc.fMouseSensor = 0.1f;
- Camera_Desc.iPriority = 99;
+ Camera_Desc.iPriority = 70;
Camera_Desc.pFollowTarget = { nullptr };
Camera_Desc.pLookTarget = { nullptr };
@@ -116,10 +107,13 @@ HRESULT CLevel_GamePlay::Ready_Layer_Camera()
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &Camera_Desc, nullptr, &pCamera))){
return E_FAIL;
}
- if (FAILED(m_pGameInstance->Bind_Camera(NEXT_LEVEL, CAMERA_DEBUG, true))) {
+
+ m_pGameInstance->Add_Camera(g_iStaticLevel, pCamera, CAMERA_DEBUG);
+ if (FAILED(m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_DEBUG, true))) {
return E_FAIL;
}
+
return S_OK;
}
@@ -134,11 +128,6 @@ HRESULT CLevel_GamePlay::Ready_Markers()
return S_OK;
}
-HRESULT CLevel_GamePlay::Ready_Layer_Effect(const _wstring& strLayerTag)
-{
- return S_OK;
-}
-
HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag)
{
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag)))
@@ -152,8 +141,9 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag)
HRESULT CLevel_GamePlay::Ready_Layer_SkyBox(const _wstring& strLayerTag)
{
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CUBE)))
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_SKYBOX))){
return E_FAIL;
+ }
CDummy_PhysXWall::PHYSXDUMMY_DESC Desc{};
Desc.vPos = { 0.f, 0.f, 0.f };
diff --git a/Jusin154_Team3D/Client/Private/Level_Logo.cpp b/Jusin154_Team3D/Client/Private/Level_Logo.cpp
index b63de72ac..3520a55ea 100644
--- a/Jusin154_Team3D/Client/Private/Level_Logo.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_Logo.cpp
@@ -23,7 +23,7 @@ HRESULT CLevel_Logo::Initialize()
void CLevel_Logo::Update(_float fTimeDelta)
{
- if (m_pGameInstance->Key_Up(DIK_0))
+ if (m_pGameInstance->Key_Up(DIK_F1))
{
m_pGameInstance->Set_LevelToChange();
}
diff --git a/Jusin154_Team3D/Client/Private/Level_Restart.cpp b/Jusin154_Team3D/Client/Private/Level_Restart.cpp
index 3e0d35041..48f96f994 100644
--- a/Jusin154_Team3D/Client/Private/Level_Restart.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_Restart.cpp
@@ -22,7 +22,7 @@ HRESULT CLevel_Restart::Initialize()
void CLevel_Restart::Update(_float fTimeDelta)
{
- if (m_pGameInstance->Key_Up(DIK_0))
+ if (m_pGameInstance->Key_Up(DIK_F1))
{
m_pGameInstance->Set_LevelToChange();
}
diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp
index 150724cfd..cde4cb9bf 100644
--- a/Jusin154_Team3D/Client/Private/Player.cpp
+++ b/Jusin154_Team3D/Client/Private/Player.cpp
@@ -12,7 +12,6 @@
#include "CallBack_Playable_HitReport.h"
#pragma region STATE
-
#include "State_Idle.h"
#include "State_Dodge.h"
#include "State_Jump.h"
@@ -40,15 +39,17 @@ HRESULT CPlayer::Initialize_Prototype()
HRESULT CPlayer::Initialize(void* pArg)
{
- if (FAILED(__super::Initialize(pArg)))
+ if (FAILED(__super::Initialize(pArg))) {
return E_FAIL;
+ }
- if (FAILED(Ready_Components()))
+ if (FAILED(Ready_Components())) {
return E_FAIL;
+ }
-
- if (FAILED(Ready_Parts()))
+ if (FAILED(Ready_Parts())) {
return E_FAIL;
+ }
Load_KeyFrame();
@@ -56,6 +57,8 @@ HRESULT CPlayer::Initialize(void* pArg)
Set_Anim();
+ m_eSpell = STATEANIM::DESCENDO;
+
{
CFSM::FSM_DESC FSMDesc{};
FSMDesc.pStates = &m_States;
@@ -79,24 +82,23 @@ void CPlayer::Priority_Update(_float fTimeDelta)
void CPlayer::Update(_float fTimeDelta)
{
- IsSprint();
- IsWalk();
-
m_pFSM->Update_State(fTimeDelta);
m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom);
-
+
__super::Update(fTimeDelta);
Describe_Entity();
+
+
m_pCharacter_Controller->Move(fTimeDelta);
+ TestKeyInput(fTimeDelta);
}
void CPlayer::Late_Update(_float fTimeDelta)
{
-
m_pTransformCom->Set_State(STATE::POSITION, m_pCharacter_Controller->Get_Position());
m_pGameInstance->Add_RenderGroup(RENDER::BLEND, this);
@@ -106,6 +108,8 @@ void CPlayer::Late_Update(_float fTimeDelta)
HRESULT CPlayer::Render()
{
+ if (!m_bVisible)
+ return S_OK;
if (FAILED(Bind_ShaderResources())) {
return E_FAIL;
}
@@ -154,13 +158,15 @@ HRESULT CPlayer::Ready_Components()
/* Com_Model */
if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, m_strModelPrototypeTag,
- reinterpret_cast(&m_pModelCom))))
+ reinterpret_cast(&m_pModelCom)))) {
return E_FAIL;
+ }
/* Com_Shader */
if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_ANIMMESH,
- reinterpret_cast(&m_pShaderCom))))
+ reinterpret_cast(&m_pShaderCom)))) {
return E_FAIL;
+ }
{ // CCT
CCharacter_Controller::Character_Controller_DESC Desc{};
@@ -206,48 +212,6 @@ HRESULT CPlayer::Ready_Parts()
return E_FAIL;
}
- //{
- // CCamPosition_Socket::CAMERAPOSITION_PLAYER_DESC Desc{};
-
- // Desc.pParentTransform = m_pTransformCom;
-
- // if (FAILED(Add_PartObject("Cam_TopDown_Look", g_iStaticLevel, &m_pCamPosition_TopDown_LookPart, &Desc)))
- // {
- // return E_FAIL;
- // }
-
- // CCamPosition_Arm::CameraArm_DESC CameraArmDesc{};
- // XMStoreFloat3(&CameraArmDesc.fAt, m_pTransformCom->Get_State(STATE::POSITION));
- // CameraArmDesc.pParentTransform = m_pTransformCom;
- // CameraArmDesc.fEye = { 0.f, 10.f, 10.f };
- // CameraArmDesc.fMouseSensor = 0.4f;
- // CameraArmDesc.fDistance = 4.f;
- // CameraArmDesc.pParentTransform = m_pTransformCom;
-
- // if (FAILED(Add_PartObject("Cam_TopDown_Follow", g_iStaticLevel, &m_pCamPosition_TopDown_FollowPart, &CameraArmDesc))) {
- // return E_FAIL;
- // }
-
- // CCamera_Gaze::CAMERA_GAZE_DESC CameraDesc{};
- // CameraDesc.fFovy = XMConvertToRadians(60.0f);
- // CameraDesc.fNear = 0.1f;
- // CameraDesc.fFar = 300.f;
- // CameraDesc.fSpeedPerSec = 5.f;
- // CameraDesc.fRotationPerSec = XMConvertToRadians(90.f);
- // CameraDesc.pFollowTarget = m_pCamPosition_TopDown_FollowPart;
- // CameraDesc.pLookTarget = m_pCamPosition_TopDown_LookPart;
- // CameraDesc.iPriority = 51;
-
- // CCamera_Gaze* pCamera = { nullptr };
-
- // if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &CameraDesc, nullptr, &pCamera)))
- // {
- // return E_FAIL;
- // }
-
- // m_pGameInstance->Add_Camera(NEXT_LEVEL, pCamera, TEXT("CAM_TOPVIEW"));
- //}
-
{
CCamPosition_Shoulder::CAMERA_SHOULDER_DESC Desc;
Desc.pParentTransform = m_pTransformCom;
@@ -276,430 +240,11 @@ HRESULT CPlayer::Bind_ShaderResources()
if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) {
return E_FAIL;
}
-
if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) {
return E_FAIL;
}
return S_OK;
}
-
-#pragma region STATE
-
-HRESULT CPlayer::InputSystem()
-{
- if (m_pGameInstance->Key_Down(DIK_1)
- || m_pGameInstance->Key_Down(DIK_2)
- || m_pGameInstance->Key_Down(DIK_3)
- || m_pGameInstance->Key_Down(DIK_4)
- || m_pGameInstance->Key_Down(DIK_5)
- || m_pGameInstance->Key_Down(DIK_6))
- {
- return S_OK;
- }
- return E_FAIL;
-}
-
-HRESULT CPlayer::InputSkill()
-{
- if (
- m_pGameInstance->Key_Down(DIK_SPACE)
- || m_pGameInstance->Key_Down(DIK_LCONTROL)
- || m_pGameInstance->Key_Down(DIK_E)
- || m_pGameInstance->Key_Down(DIK_R)
- || m_pGameInstance->Key_Down(DIK_Q)
- || m_pGameInstance->Mouse_Up(DIM_LBUTTON)
- || m_pGameInstance->Key_Down(DIK_1)
- //|| m_pGameInstance->Key_Down(DIK_C)
- //|| m_pGameInstance->Key_Down(DIK_V)
- //|| m_pGameInstance->Key_Down(DIK_T)
- //|| m_pGameInstance->Key_Down(DIK_G)
- //|| m_pGameInstance->Key_Down(DIK_B)
- )
- {
- return S_OK;
- }
- return E_FAIL;
-}
-
-HRESULT CPlayer::InputMove()
-{
- if (m_pGameInstance->Key_Pressing(DIK_W)
- || m_pGameInstance->Key_Pressing(DIK_A)
- || m_pGameInstance->Key_Pressing(DIK_S)
- || m_pGameInstance->Key_Pressing(DIK_D))
- {
- return S_OK;
- }
- return E_FAIL;
-}
-
-void CPlayer::Behavior_IdleEnter() {
- pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::IDLE];
-
- if (m_pFSM->IsEnable_Previous(FSMSTATE::JOG | FSMSTATE::WALK)) {
- if (m_pFSM->IsEnable_Previous(FSMSTATE::JOG)) {
- pairAnimInfo = m_Animation[STATEANIM::JOG_STOP];
- }
- else if (m_pFSM->IsEnable_Previous(FSMSTATE::WALK)) {
- pairAnimInfo = m_Animation[STATEANIM::WALK_STOP];
- }
- else if (m_pFSM->IsEnable_Previous(FSMSTATE::SPRINT)) {
- // pairAnimInfo = m_Animation[STATEANIM::spr]
- }
- }
-
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
-}
-
-HRESULT CPlayer::Behavior_IdleExitCheck()
-{
- // S_OK -> 현 상태 유지
- // E_FAIL -> 현 상태 탈출
- if (SUCCEEDED(InputSystem())) {
- //Event
- return S_OK;
- }
- if (SUCCEEDED(InputSkill())) {
- if (m_pGameInstance->Key_Down(DIK_SPACE)) {
- m_pFSM->Change_State(FSMSTATE::JUMP);
- }
- else if (m_pGameInstance->Key_Down(DIK_LCONTROL)) {
- m_pFSM->Change_State(FSMSTATE::DODGE);
- }
- else if (m_pGameInstance->Key_Down(DIK_E)) {
- //m_pFSM->Change_State(FSMSTATE::AAA);
- }
- else if (m_pGameInstance->Key_Down(DIK_R)) {
- //m_pFSM->Change_State(FSMSTATE::SKILL);
- }
- else if (m_pGameInstance->Key_Down(DIK_Q)) {
- //m_pFSM->Change_State(FSMSTATE::SKILL2);
- }
- else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON)) {
- //m_pFSM->Change_State(FSMSTATE::LIGHT_ATTACK);
- }
- else if (m_pGameInstance->Key_Down(DIK_1)) {
- //m_pFSM->Change_State(FSMSTATE::CAST);
- }
- return E_FAIL;
- }
- if (SUCCEEDED(InputMove())) {
- m_pFSM->Change_State(FSMSTATE::MOVE);
- return E_FAIL;
- }
- return S_OK;
-}
-
-void CPlayer::Behavior_IdleExit()
-{
- m_pFSM->Disable_State(FSMSTATE::IDLE);
-}
-
-void CPlayer::Behavior_MoveEnter()
-{
- pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::SPRINT];
- _bool bFoward = m_pGameInstance->Key_Pressing(DIK_W);
- _bool bLeft = m_pGameInstance->Key_Pressing(DIK_A);
- _bool bRight = m_pGameInstance->Key_Pressing(DIK_D);
- _bool bBackward = m_pGameInstance->Key_Pressing(DIK_S);
-
- if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE | FSMSTATE::DODGE | FSMSTATE::LAND | FSMSTATE::COMBAT)) {
- if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE)) {
- // Idle -> Move
- if (true == m_bSprintToggle) {
- m_pFSM->Enable_State(FSMSTATE::SPRINT);
-
- if (true == bFoward) {
- pairAnimInfo = m_Animation[STATEANIM::SPRINT];
- }
- else {
- // ?
- }
- }
- else if (true == m_bWalkToggle) {
- m_pFSM->Enable_State(FSMSTATE::WALK);
-
- if (true == bFoward) {
- pairAnimInfo = m_Animation[STATEANIM::WALK_FWD];
- }
- else if (true == bBackward) {
- pairAnimInfo = m_Animation[STATEANIM::WALK_BWD];
- }
- }
- }
- else if (m_pFSM->IsEnable_Previous(FSMSTATE::DODGE | FSMSTATE::LAND)) {
- // OtherMove -> AnotherMove
-
- }
- else if (m_pFSM->IsEnable_Previous(FSMSTATE::COMBAT)) {
- // Combat -> Move
-
- }
- }
- else { // While Moving
- if (true == m_bSprintToggle) {
- m_pFSM->Enable_State(FSMSTATE::SPRINT);
- pairAnimInfo = m_Animation[STATEANIM::SPRINT];
-
- }
- else if (true == m_bWalkToggle) {
- m_pFSM->Enable_State(FSMSTATE::WALK);
- if (true == bFoward) {
- pairAnimInfo = m_Animation[STATEANIM::WALK_FWD];
- }
- else if (true == bBackward) {
- pairAnimInfo = m_Animation[STATEANIM::WALK_BWD];
- }
- //else if (true == bLeft){
- // pairAnimInfo = m_Animation[STATEANIM::WALK_STOP];
- //}
- //else if (true == bRight){
- // pairAnimInfo = m_Animation[STATEANIM::WALK_BWD];
- //}
- }
- }
-
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
-}
-
-HRESULT CPlayer::Behavior_MoveExitCheck()
-{
- if (SUCCEEDED(InputSystem())) {
- //Event
- return S_OK;
- }
- if (SUCCEEDED(InputSkill())) {
- if (m_pGameInstance->Key_Down(DIK_SPACE)) {
- m_pFSM->Change_State(FSMSTATE::JUMP);
- }
- else if (m_pGameInstance->Key_Down(DIK_LCONTROL)) {
- m_pFSM->Change_State(FSMSTATE::DODGE);
- }
- else if (m_pGameInstance->Key_Down(DIK_E)) {
- //m_pFSM->Change_State(FSMSTATE::AAA);
- }
- else if (m_pGameInstance->Key_Down(DIK_R)) {
- //m_pFSM->Change_State(FSMSTATE::SKILL);
- }
- else if (m_pGameInstance->Key_Down(DIK_Q)) {
- //m_pFSM->Change_State(FSMSTATE::SKILL2);
- }
- else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON)) {
- //m_pFSM->Change_State(FSMSTATE::LIGHT_ATTACK);
- }
- else if (m_pGameInstance->Key_Down(DIK_1)) {
- //m_pFSM->Change_State(FSMSTATE::CAST);
- }
- return E_FAIL;
- }
- if (SUCCEEDED(InputMove())) {
-
- if (m_pGameInstance->Key_Pressing(DIK_W)){
-
- }
- if (m_pGameInstance->Key_Pressing(DIK_A)){
-
- }
- if (m_pGameInstance->Key_Pressing(DIK_S)){
-
- }
- if (m_pGameInstance->Key_Pressing(DIK_D)){
-
- }
- return S_OK;
- }
- m_pFSM->Change_State(FSMSTATE::IDLE);
- return E_FAIL;
-}
-
-void CPlayer::Behavior_MoveExit()
-{
- m_pFSM->Disable_State(FSMSTATE::MOVE | FSMSTATE::SPRINT | FSMSTATE::JOG | FSMSTATE::WALK);
-}
-
-void CPlayer::Behavior_JumpEnter()
-{
- pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::JUMP_SPRINT];
- m_pFSM->Enable_State(FSMSTATE::JUMP);
- if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE | FSMSTATE::JOG | FSMSTATE::WALK)) {
- if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE)) {
- // Idle -> Jump
- // pairAnimInfo = Get_AnimInfo(STATEANIM::Jump_IDLE);
- }
- else if (m_pFSM->IsEnable_Previous(FSMSTATE::JOG)) {
- pairAnimInfo = m_Animation[STATEANIM::JUMP_JOG];
- }
- else if (m_pFSM->IsEnable_Previous(FSMSTATE::WALK)) {
-
- }
- }
- else {
- // Drop?
- }
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
-}
-
-HRESULT CPlayer::Behavior_JumpExitCheck()
-{
- if (SUCCEEDED(InputSystem())) {
- //Event
- return S_OK;
- }
- if (IsCurrentKeyFrame("Jump")) {
- m_pFSM->Change_State(FSMSTATE::LAND);
- return E_FAIL;
- }
- return S_OK;
-}
-
-void CPlayer::Behavior_JumpExit()
-{
- m_pFSM->Disable_State(FSMSTATE::JUMP);
-}
-
-void CPlayer::Behavior_LandEnter()
-{
- pair<_uint, _bool> pairAnimInfo = Get_AnimInfo(STATEANIM::LAND);
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
-}
-
-HRESULT CPlayer::Behavior_LandExitCheck()
-{
- if (SUCCEEDED(InputSystem())) {
- //Event
- //return S_OK;
- }
- if (m_pModelCom->IsFinishedAnim()) {
- m_pFSM->Change_State(FSMSTATE::IDLE);
- return E_FAIL;
- } // 혹시 Land to (Jog, Sprint, Dodge) 같은 애니메이션 있으면 여기에 분기 조건 넣으면 됨
- return S_OK;
-}
-
-void CPlayer::Behavior_LandExit()
-{
- m_pFSM->Disable_State(FSMSTATE::LAND);
-}
-
-void CPlayer::Behavior_DodgeEnter()
-{
- // 혹시 @@ to Dodge 있으면 여기에
- pair<_uint, _bool> pairAnimInfo = Get_AnimInfo(STATEANIM::DODGE);
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
-}
-
-HRESULT CPlayer::Behavior_DodgeExitCheck()
-{
- if (SUCCEEDED(InputSystem())) {
- //Event
- //return S_OK;
- }
- if (m_pModelCom->IsFinishedAnim()) {
- m_pFSM->Change_State(FSMSTATE::IDLE);
- return E_FAIL;
- }
- return S_OK;
-}
-
-void CPlayer::Behavior_DodgeExit()
-{
- m_pFSM->Disable_State(FSMSTATE::DODGE);
-}
-
-
-void CPlayer::Add_FSM()
-{
-#pragma region Behavior_Movement_NotFocus
- {
- CState_Idle::STATE_IDLE_DESC Desc{};
- Desc.pOwner = this;
- Desc.funcEnterEvent = [this]() { Behavior_IdleEnter(); };
- Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_IdleExitCheck(); };
- Desc.funcExitEvent = [this]() { Behavior_IdleExit(); };
- Desc.funcPriorityUpdate = nullptr;
- Desc.funcLateUpdate = nullptr;
- m_States.emplace(FSMSTATE::IDLE, CState_Idle::Create(&Desc));
- }
- {
- CState_Move::STATE_MOVE_DESC Desc{};
- Desc.pOwner = this;
- Desc.funcEnterEvent = [this]() { Behavior_MoveEnter(); };
- Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_MoveExitCheck(); };
- Desc.funcExitEvent = [this]() { Behavior_MoveExit(); };
- Desc.funcPriorityUpdate = nullptr;
- Desc.funcLateUpdate = nullptr;
- m_States.emplace(FSMSTATE::MOVE, CState_Move::Create(&Desc));
- }
-#pragma endregion
-#pragma region Behavior_Movement_Focus
- {
- CState_Jump::STATE_JUMP_DESC Desc{};
- Desc.pOwner = this;
- Desc.funcEnterEvent = [this]() { Behavior_JumpEnter(); };
- Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_JumpExitCheck(); };
- Desc.funcExitEvent = [this]() { Behavior_JumpExit(); };
- m_States.emplace(FSMSTATE::JUMP, CState_Jump::Create(&Desc));
- }
- {
- CState_Land::STATE_LAND_DESC Desc{};
- Desc.pOwner = this;
- Desc.funcEnterEvent = [this]() { Behavior_LandEnter(); };
- Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_LandExitCheck(); };
- Desc.funcExitEvent = [this]() { Behavior_LandExit(); };
- m_States.emplace(FSMSTATE::LAND, CState_Land::Create(&Desc));
- }
- {
- CState_Dodge::STATE_DODGE_DESC Desc{};
- Desc.pOwner = this;
- Desc.funcEnterEvent = [this]() { Behavior_DodgeEnter(); };
- Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_DodgeExitCheck(); };
- Desc.funcExitEvent = [this]() { Behavior_DodgeExit(); };
- Desc.funcPriorityUpdate = nullptr;
- Desc.funcLateUpdate = nullptr;
- m_States.emplace(FSMSTATE::DODGE, CState_Dodge::Create(&Desc));
- }
-#pragma endregion
-#pragma region Behavior_Combat_NotFocus
-
-#pragma endregion
-#pragma region Behavior_Combat_Focus
-
-#pragma endregion
-
-}
-
-void CPlayer::Set_Anim()
-{
-
- m_Animation[STATEANIM::DODGE] = { 802,false };
-
- m_Animation[STATEANIM::SKILL] = { 593,false };
- m_Animation[STATEANIM::SKILL2] = { 915,false };
- m_Animation[STATEANIM::LIGHT_ATTACK] = { 413,false };
- m_Animation[STATEANIM::LAND] = { 259,false };
- m_Animation[STATEANIM::CAST] = { 696,false };
-
- m_Animation[STATEANIM::IDLE] = { 266,true };
- m_Animation[STATEANIM::IDLE_TURN_L] = { 270,false };
- m_Animation[STATEANIM::IDLE_TURN_R] = { 430,false };
- m_Animation[STATEANIM::IDLE_TURN_BWD] = { 268,false };
-
- m_Animation[STATEANIM::WALK_FWD] = { 625,true };
- m_Animation[STATEANIM::WALK_BWD] = { 166,true };
- m_Animation[STATEANIM::WALK_STOP] = { 344,false };
-
- m_Animation[STATEANIM::JOG_FWD] = { 167,true };
- m_Animation[STATEANIM::JOG_STOP] = { 289,false };
-
- m_Animation[STATEANIM::JUMP] = { 205,false };
- m_Animation[STATEANIM::JUMP_JOG] = { 203,false };
- m_Animation[STATEANIM::JUMP_SPRINT] = { 207,false };
-
- m_Animation[STATEANIM::SPRINT] = { 599,true };
-
-}
-#pragma endregion STATE
-
CPlayer* CPlayer::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
{
CPlayer* pInstance = new CPlayer(pDevice, pContext);
@@ -764,30 +309,18 @@ void CPlayer::Describe_Entity()
GUI::DragFloat3("Pos", Pos3);
- _float RotR,RotU,RotL;
+ _float RotR, RotU, RotL;
RotR = XMVectorGetX(m_pTransformCom->Get_State(STATE::RIGHT));
RotU = XMVectorGetY(m_pTransformCom->Get_State(STATE::UP));
RotL = XMVectorGetZ(m_pTransformCom->Get_State(STATE::LOOK));
float Rot3[3] = { RotR, RotU,RotL };
GUI::DragFloat3("Rot", Rot3);
-
-}
-_bool CPlayer::IsSprint()
-{
- if (m_pGameInstance->Key_Down(DIK_LSHIFT))
- {
- return m_bSprintToggle = !m_bSprintToggle;
- }
- return false;
-}
-_bool CPlayer::IsWalk()
-{
- if (m_pGameInstance->Key_Down(DIK_C))
- {
- return m_bWalkToggle = !m_bWalkToggle;
- }
- return false;
+ string AnimList = m_pModelCom->Get_AnimList(m_pModelCom->Get_AnimIndex());
+ GUI::Text(AnimList.c_str());
+
+ GUI::Checkbox("Render", &m_bVisible);
+
}
diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp
new file mode 100644
index 000000000..42fa72364
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/Player_States.cpp
@@ -0,0 +1,648 @@
+#include "pch.h"
+#include "Player.h"
+
+#include "GameInstance.h"
+#include "CamPosition_Socket.h"
+#include "Camera_Gaze.h"
+#include "CamPosition_Arm.h"
+#include "Wand.h"
+#include "Character_Controller.h"
+#include "CallBack_Playable_Behavior.h"
+#include "CamPosition_Shoulder.h"
+#include "CallBack_Playable_HitReport.h"
+
+#pragma region STATE
+#include "State_Idle.h"
+#include "State_Dodge.h"
+#include "State_Jump.h"
+#include "State_Land.h"
+#include "State_Move.h"
+#include "State_Combat.h"
+#pragma endregion
+
+#include "Bombard.h"
+
+#pragma region States
+void CPlayer::TestKeyInput(_float fTimeDelta)
+{
+ if (m_pGameInstance->Key_Down(DIK_F1))
+ {
+ m_eSpell = STATEANIM::ACCIO;
+ }
+ if (m_pGameInstance->Key_Down(DIK_F2))
+ {
+ m_eSpell = STATEANIM::DESCENDO;
+ }
+ if (m_pGameInstance->Key_Down(DIK_F3))
+ {
+ m_eSpell = STATEANIM::DEPULSO;
+ }
+ if (m_pGameInstance->Key_Down(DIK_F4))
+ {
+ m_eSpell = STATEANIM::DIFFINDO;
+ }
+ if (m_pGameInstance->Key_Down(DIK_F5))
+ {
+ m_eSpell = STATEANIM::DISILLUSION_ENTER;
+ }
+ if (m_pGameInstance->Key_Down(DIK_F6))
+ {
+ m_eSpell = STATEANIM::DISILLUSION_EXIT;
+ }
+
+}
+
+HRESULT CPlayer::InputAction()
+{
+ if (
+ m_pGameInstance->Key_Down(DIK_SPACE)
+ || m_pGameInstance->Key_Down(DIK_LCONTROL)
+ || m_pGameInstance->Key_Down(DIK_E)
+ || m_pGameInstance->Key_Down(DIK_R)
+ || m_pGameInstance->Key_Down(DIK_Q)
+ || m_pGameInstance->Mouse_Up(DIM_LBUTTON)
+ || m_pGameInstance->Key_Down(DIK_LSHIFT)
+ || m_pGameInstance->Key_Down(DIK_C)
+ || m_pGameInstance->Key_Down(DIK_V)
+ )
+ {
+ return S_OK;
+ }
+ return E_FAIL;
+}
+
+HRESULT CPlayer::InputMove()
+{
+ if (m_pGameInstance->Key_Pressing(DIK_W)
+ || m_pGameInstance->Key_Pressing(DIK_A)
+ || m_pGameInstance->Key_Pressing(DIK_S)
+ || m_pGameInstance->Key_Pressing(DIK_D))
+ {
+ return S_OK;
+ }
+ return E_FAIL;
+}
+
+HRESULT CPlayer::InputSpell()
+{
+ if (
+ m_pGameInstance->Key_Down(DIK_1)
+ || m_pGameInstance->Key_Down(DIK_2)
+ || m_pGameInstance->Key_Down(DIK_3)
+ || m_pGameInstance->Key_Down(DIK_4)
+ )
+ {
+ return S_OK;
+ }
+ return E_FAIL;
+}
+
+void CPlayer::Behavior_IdleEnter() {
+ m_pFSM->Enable_State(FSMSTATE::IDLE);
+ pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::IDLE];
+
+ if (m_pFSM->IsEnable_Previous(FSMSTATE::JOG | FSMSTATE::WALK | FSMSTATE::SPRINT)) {
+
+ if (m_pFSM->IsEnable_Previous(FSMSTATE::WALK)) {
+ pairAnimInfo = m_Animation[STATEANIM::WALK_STOP];
+ }
+ else if (m_pFSM->IsEnable_Previous(FSMSTATE::SPRINT)) {
+ pairAnimInfo = m_Animation[STATEANIM::JOG_STOP];
+ }
+
+ else if (m_pFSM->IsEnable_Previous(FSMSTATE::JOG)) {
+ pairAnimInfo = m_Animation[STATEANIM::JOG_STOP];
+ }
+ }
+ m_bSprintToggle = false;
+ m_bWalkToggle = false;
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+}
+
+HRESULT CPlayer::Behavior_IdleExitCheck()
+{
+ // S_OK -> 현 상태 유지
+ // E_FAIL -> 현 상태 탈출
+ if (SUCCEEDED(InputAction()) || SUCCEEDED(InputSpell())) {
+ if (m_pGameInstance->Key_Down(DIK_SPACE)) {
+ m_pFSM->Change_State(FSMSTATE::JUMP);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_LCONTROL)) {
+ m_pFSM->Change_State(FSMSTATE::DODGE);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_R)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_Q)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (SUCCEEDED(InputSpell())) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_V)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+
+ return E_FAIL;
+ }
+ if (SUCCEEDED(InputMove())) {
+ m_pFSM->Change_State(FSMSTATE::MOVE);
+ return E_FAIL;
+ }
+
+ if (m_pModelCom->IsFinishedAnim())
+ {
+ pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::IDLE];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ return S_OK;
+}
+
+void CPlayer::Behavior_IdleExit()
+{
+ m_pFSM->Disable_State(FSMSTATE::IDLE);
+}
+
+void CPlayer::Behavior_MoveEnter()
+{
+ pair<_uint, _bool> pairAnimInfo = {};
+ _bool bFoward = m_pGameInstance->Key_Pressing(DIK_W);
+ _bool bLeft = m_pGameInstance->Key_Pressing(DIK_A);
+ _bool bRight = m_pGameInstance->Key_Pressing(DIK_D);
+ _bool bBackward = m_pGameInstance->Key_Pressing(DIK_S);
+ m_pFSM->Enable_State(FSMSTATE::MOVE);
+ if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE | FSMSTATE::DODGE)) {
+ if (true == m_bSprintToggle) {
+ m_pFSM->Enable_State(FSMSTATE::SPRINT);
+ m_bWalkToggle = false;
+ if (true == bFoward) {
+ pairAnimInfo = m_Animation[STATEANIM::SPRINT];
+ }
+ }
+ else if (true == m_bWalkToggle) {
+ m_pFSM->Enable_State(FSMSTATE::WALK);
+ m_bSprintToggle = false;
+ if (true == bFoward) {
+ pairAnimInfo = m_Animation[STATEANIM::WALK_FWD];
+ }
+ else if (true == bBackward) {
+ pairAnimInfo = m_Animation[STATEANIM::WALK_BWD];
+ }
+ }
+ else
+ {
+ m_pFSM->Enable_State(FSMSTATE::JOG);
+ m_bSprintToggle = false;
+ m_bWalkToggle = false;
+ pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
+ }
+ }
+ else { // While Moving
+ if (true == m_bSprintToggle) {
+ m_pFSM->Enable_State(FSMSTATE::SPRINT);
+ m_bWalkToggle = false;
+ pairAnimInfo = m_Animation[STATEANIM::SPRINT];
+
+ }
+ else if (true == m_bWalkToggle) {
+ m_pFSM->Enable_State(FSMSTATE::WALK);
+ m_bSprintToggle = false;
+ if (true == bFoward) {
+ pairAnimInfo = m_Animation[STATEANIM::WALK_FWD];
+ }
+ else if (true == bBackward) {
+ pairAnimInfo = m_Animation[STATEANIM::WALK_BWD];
+ }
+ }
+ else {
+ m_pFSM->Enable_State(FSMSTATE::JOG);
+ m_bSprintToggle = false;
+ m_bWalkToggle = false;
+ pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
+ }
+ }
+
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+}
+
+HRESULT CPlayer::Behavior_MoveExitCheck()
+{
+ pair<_uint, _bool> pairAnimInfo;
+ if (SUCCEEDED(InputAction()) || SUCCEEDED(InputSpell())) {
+ if (m_pGameInstance->Key_Down(DIK_SPACE)) {
+ m_pFSM->Change_State(FSMSTATE::JUMP);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_LCONTROL)) {
+ m_pFSM->Change_State(FSMSTATE::DODGE);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_R)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_Q)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (SUCCEEDED(InputSpell())) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_V)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_LSHIFT)) {
+ m_bSprintToggle = !m_bSprintToggle;
+ m_bWalkToggle = false;
+ if (m_bSprintToggle)
+ {
+ m_pFSM->Enable_State(FSMSTATE::SPRINT);
+
+ pairAnimInfo = m_Animation[STATEANIM::SPRINT];
+ }
+ else
+ {
+ m_pFSM->Enable_State(FSMSTATE::JOG);
+ m_pFSM->Disable_State(FSMSTATE::SPRINT);
+ pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
+ }
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_C)) {
+ m_bWalkToggle = !m_bWalkToggle;
+ m_bSprintToggle = false;
+ if (m_bWalkToggle)
+ {
+ m_pFSM->Enable_State(FSMSTATE::WALK);
+ pairAnimInfo = m_Animation[STATEANIM::WALK_FWD];
+ }
+ else
+ {
+ m_pFSM->Enable_State(FSMSTATE::JOG);
+ m_pFSM->Disable_State(FSMSTATE::WALK);
+ pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
+ }
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ return E_FAIL;
+ }
+ if (SUCCEEDED(InputMove())) {
+ return S_OK;
+ }
+
+ m_pFSM->Change_State(FSMSTATE::IDLE);
+
+ return E_FAIL;
+}
+
+void CPlayer::Behavior_MoveExit()
+{
+ m_pFSM->Disable_State(FSMSTATE::MOVE | FSMSTATE::SPRINT | FSMSTATE::JOG | FSMSTATE::WALK);
+}
+
+void CPlayer::Behavior_JumpEnter()
+{
+ pair<_uint, _bool> pairAnimInfo;
+ m_pFSM->Enable_State(FSMSTATE::JUMP);
+ if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE | FSMSTATE::WALK | FSMSTATE::JOG | FSMSTATE::SPRINT)) {
+ if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE)) {
+ pairAnimInfo = Get_AnimInfo(STATEANIM::JUMP);
+ }
+ else if (m_pFSM->IsEnable_Previous(FSMSTATE::SPRINT)) {
+ pairAnimInfo = m_Animation[STATEANIM::JUMP_SPRINT];
+ }
+ else if (m_pFSM->IsEnable_Previous(FSMSTATE::WALK)) {
+ pairAnimInfo = Get_AnimInfo(STATEANIM::JUMP);
+ }
+ else if (m_pFSM->IsEnable_Previous(FSMSTATE::JOG)) {
+ pairAnimInfo = Get_AnimInfo(STATEANIM::JUMP_JOG);
+ }
+ }
+ else {
+ // Drop?
+ }
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+}
+
+HRESULT CPlayer::Behavior_JumpExitCheck()
+{
+ if (IsCurrentKeyFrame("Jump")) {
+ m_pFSM->Change_State(FSMSTATE::LAND);
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+void CPlayer::Behavior_JumpExit()
+{
+ m_pFSM->Disable_State(FSMSTATE::JUMP);
+}
+
+void CPlayer::Behavior_LandEnter()
+{
+ m_pFSM->Enable_State(FSMSTATE::LAND);
+ pair<_uint, _bool> pairAnimInfo = Get_AnimInfo(STATEANIM::LAND);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+}
+
+HRESULT CPlayer::Behavior_LandExitCheck()
+{
+ if (m_pModelCom->IsFinishedAnim()) {
+ m_pFSM->Change_State(FSMSTATE::IDLE);
+ return E_FAIL;
+ } // 혹시 Land to (Jog, Sprint, Dodge) 같은 애니메이션 있으면 여기에 분기 조건 넣으면 됨
+
+ if (SUCCEEDED(InputMove())) {
+ m_pFSM->Change_State(FSMSTATE::MOVE);
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+void CPlayer::Behavior_LandExit()
+{
+ m_pFSM->Disable_State(FSMSTATE::LAND);
+}
+
+void CPlayer::Behavior_DodgeEnter()
+{
+ // 혹시 @@ to Dodge 있으면 여기에
+ m_pFSM->Enable_State(FSMSTATE::DODGE);
+ pair<_uint, _bool> pairAnimInfo = Get_AnimInfo(STATEANIM::DODGE);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+}
+
+HRESULT CPlayer::Behavior_DodgeExitCheck()
+{
+ if (m_pModelCom->IsFinishedAnim()) {
+ m_pFSM->Change_State(FSMSTATE::IDLE);
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+void CPlayer::Behavior_DodgeExit()
+{
+ m_pFSM->Disable_State(FSMSTATE::DODGE);
+}
+
+void CPlayer::Behavior_CombatEnter()
+{
+ pair<_uint, _bool> pairAnimInfo = {};
+ m_pFSM->Enable_State(FSMSTATE::COMBAT);
+
+ if (m_pGameInstance->Key_Down(DIK_R)) {
+ m_pFSM->Enable_State(FSMSTATE::SKILL);
+ pairAnimInfo = m_Animation[STATEANIM::SKILL];
+ }
+ else if (m_pGameInstance->Key_Down(DIK_Q)) {
+ m_pFSM->Enable_State(FSMSTATE::SKILL2);
+ pairAnimInfo = m_Animation[STATEANIM::SKILL2];
+ }
+ else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON)) {
+ m_pFSM->Enable_State(FSMSTATE::LIGHT_ATTACK);
+ pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK];
+ }
+ else if (SUCCEEDED(InputSpell())) {
+ m_pFSM->Enable_State(FSMSTATE::SPELL);
+ if (m_eSpell != STATEANIM::END)
+ {
+ switch (m_eSpell)
+ {
+ case STATEANIM::DEPULSO:
+ pairAnimInfo = m_Animation[STATEANIM::DEPULSO];
+ m_eSpell = STATEANIM::END;
+ break;
+ case STATEANIM::DIFFINDO:
+ pairAnimInfo = m_Animation[STATEANIM::DIFFINDO];
+ m_eSpell = STATEANIM::END;
+ break;
+ case STATEANIM::DISILLUSION_ENTER:
+ pairAnimInfo = m_Animation[STATEANIM::DISILLUSION_ENTER];
+ m_eSpell = STATEANIM::END;
+ break;
+ case STATEANIM::DISILLUSION_EXIT:
+ pairAnimInfo = m_Animation[STATEANIM::DISILLUSION_EXIT];
+ m_eSpell = STATEANIM::END;
+ break;
+ default:
+ pairAnimInfo = m_Animation[STATEANIM::SPELL];
+ break;
+ }
+ }
+ else
+ pairAnimInfo = m_Animation[STATEANIM::SPELL];
+ }
+ else if (m_pGameInstance->Key_Down(DIK_V)) {
+ m_pFSM->Enable_State(FSMSTATE::MAPHELP);
+ pairAnimInfo = m_Animation[STATEANIM::MAPHELP];
+
+ }
+
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+}
+
+HRESULT CPlayer::Behavior_CombatExitCheck()
+{
+ pair<_uint, _bool> pairAnimInfo;
+ if (SUCCEEDED(InputAction()) || SUCCEEDED(InputSpell())) {
+ if (m_pGameInstance->Key_Down(DIK_R))
+ {
+ m_pFSM->Enable_State(FSMSTATE::SKILL);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_Q))
+ {
+ m_pFSM->Enable_State(FSMSTATE::SKILL2);
+ pairAnimInfo = m_Animation[STATEANIM::SKILL2];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON))
+ {
+ m_pFSM->Enable_State(FSMSTATE::LIGHT_ATTACK);
+ _uint iIndex = m_pModelCom->Get_AnimIndex();
+ if (m_Animation[STATEANIM::LIGHT_ATTACK].first <= iIndex && m_Animation[STATEANIM::LIGHT_ATTACK].first + 3 > iIndex) {
+ _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
+ if (fRatio >= 0.1f) {
+ pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK];
+ pairAnimInfo.first = iIndex + 1;
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ }
+ }
+ else if (SUCCEEDED(InputSpell()))
+ {
+ m_pFSM->Enable_State(FSMSTATE::SPELL);
+ _uint iIndex = m_pModelCom->Get_AnimIndex();
+ if (m_Animation[STATEANIM::SPELL].first <= iIndex && m_Animation[STATEANIM::SPELL].first + 3 > iIndex) {
+ _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
+ if (fRatio >= 0.15f) {
+ pairAnimInfo = m_Animation[STATEANIM::SPELL];
+ pairAnimInfo.first = iIndex + 1;
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ }
+ }
+ else if (m_pGameInstance->Key_Down(DIK_V))
+ {
+ m_pFSM->Enable_State(FSMSTATE::MAPHELP);
+ pairAnimInfo = m_Animation[STATEANIM::MAPHELP];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ }
+
+ if (m_pFSM->IsEnable(FSMSTATE::SPELL) && IsCurrentKeyFrame("Combat"))
+ {
+ if (m_eSpell != STATEANIM::END)
+ {
+ switch (m_eSpell)
+ {
+ case STATEANIM::ACCIO:
+ pairAnimInfo = m_Animation[STATEANIM::ACCIO];
+ break;
+ case STATEANIM::DESCENDO:
+ pairAnimInfo = m_Animation[STATEANIM::DESCENDO];
+ break;
+ default:
+ break;
+ }
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ m_eSpell = STATEANIM::END;
+ return E_FAIL;
+ }
+ }
+
+ if (SUCCEEDED(InputMove()) && IsCurrentKeyFrame("Combat")) {
+ m_pFSM->Change_State(FSMSTATE::MOVE);
+ return E_FAIL;
+ }
+
+ if (m_pModelCom->IsFinishedAnim()) {
+ m_pFSM->Change_State(FSMSTATE::IDLE);
+ return E_FAIL;
+ }
+
+ return E_FAIL;
+}
+
+void CPlayer::Behavior_CombatExit()
+{
+ m_pFSM->Disable_State(FSMSTATE::COMBAT | FSMSTATE::LIGHT_ATTACK | FSMSTATE::SPELL | FSMSTATE::SKILL | FSMSTATE::SKILL2 | FSMSTATE::MAPHELP);
+}
+
+void CPlayer::Add_FSM()
+{
+#pragma region Behavior_Movement_NotFocus
+ {
+ CState_Idle::STATE_IDLE_DESC Desc{};
+ Desc.pOwner = this;
+ Desc.funcEnterEvent = [this]() { Behavior_IdleEnter(); };
+ Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_IdleExitCheck(); };
+ Desc.funcExitEvent = [this]() { Behavior_IdleExit(); };
+ Desc.funcPriorityUpdate = nullptr;
+ Desc.funcLateUpdate = nullptr;
+ m_States.emplace(FSMSTATE::IDLE, CState_Idle::Create(&Desc));
+ }
+ {
+ CState_Move::STATE_MOVE_DESC Desc{};
+ Desc.pOwner = this;
+ Desc.funcEnterEvent = [this]() { Behavior_MoveEnter(); };
+ Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_MoveExitCheck(); };
+ Desc.funcExitEvent = [this]() { Behavior_MoveExit(); };
+ Desc.funcPriorityUpdate = [this](_float fTimeDelta) {
+ if (m_pGameInstance->Key_Pressing(DIK_A)) { m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta); }
+ if (m_pGameInstance->Key_Pressing(DIK_D)) { m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta); };
+ };
+ Desc.funcLateUpdate = nullptr;
+ m_States.emplace(FSMSTATE::MOVE, CState_Move::Create(&Desc));
+ }
+#pragma endregion
+#pragma region Behavior_Movement_Focus
+ {
+ CState_Jump::STATE_JUMP_DESC Desc{};
+ Desc.pOwner = this;
+ Desc.funcEnterEvent = [this]() { Behavior_JumpEnter(); };
+ Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_JumpExitCheck(); };
+ Desc.funcExitEvent = [this]() { Behavior_JumpExit(); };
+ m_States.emplace(FSMSTATE::JUMP, CState_Jump::Create(&Desc));
+ }
+ {
+ CState_Land::STATE_LAND_DESC Desc{};
+ Desc.pOwner = this;
+ Desc.funcEnterEvent = [this]() { Behavior_LandEnter(); };
+ Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_LandExitCheck(); };
+ Desc.funcExitEvent = [this]() { Behavior_LandExit(); };
+ m_States.emplace(FSMSTATE::LAND, CState_Land::Create(&Desc));
+ }
+ {
+ CState_Dodge::STATE_DODGE_DESC Desc{};
+ Desc.pOwner = this;
+ Desc.funcEnterEvent = [this]() { Behavior_DodgeEnter(); };
+ Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_DodgeExitCheck(); };
+ Desc.funcExitEvent = [this]() { Behavior_DodgeExit(); };
+ Desc.funcPriorityUpdate = [this](_float fTimeDelta) {
+ if (m_pGameInstance->Key_Pressing(DIK_A)) { m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta); }
+ if (m_pGameInstance->Key_Pressing(DIK_D)) { m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta); };
+ };
+ Desc.funcLateUpdate = nullptr;
+ m_States.emplace(FSMSTATE::DODGE, CState_Dodge::Create(&Desc));
+ }
+#pragma endregion
+#pragma region Behavior_Combat_NotFocus
+ {
+ CState_Combat::STATE_COMBAT_DESC Desc{};
+ Desc.pOwner = this;
+ Desc.funcEnterEvent = [this]() { Behavior_CombatEnter(); };
+ Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_CombatExitCheck(); };
+ Desc.funcExitEvent = [this]() { Behavior_CombatExit(); };
+ Desc.funcPriorityUpdate = nullptr;
+ Desc.funcLateUpdate = nullptr;
+ m_States.emplace(FSMSTATE::COMBAT, CState_Combat::Create(&Desc));
+ }
+#pragma endregion
+#pragma region Behavior_Combat_Focus
+
+#pragma endregion
+
+}
+
+void CPlayer::Set_Anim()
+{
+ m_Animation[STATEANIM::IDLE] = { 266,true };
+ m_Animation[STATEANIM::IDLE_TURN_L] = { 270,false };
+ m_Animation[STATEANIM::IDLE_TURN_R] = { 430,false };
+ m_Animation[STATEANIM::IDLE_TURN_BWD] = { 268,false };
+
+ m_Animation[STATEANIM::WALK_FWD] = { 625,true };
+ m_Animation[STATEANIM::WALK_BWD] = { 166,true };
+ m_Animation[STATEANIM::WALK_STOP] = { 344,false };
+
+ m_Animation[STATEANIM::JOG_FWD] = { 167,true };
+ m_Animation[STATEANIM::JOG_STOP] = { 289,false };
+
+ m_Animation[STATEANIM::JUMP] = { 205,false };
+ m_Animation[STATEANIM::JUMP_JOG] = { 203,false };
+ m_Animation[STATEANIM::JUMP_SPRINT] = { 207,false };
+
+ m_Animation[STATEANIM::SPRINT] = { 599,true };
+
+ m_Animation[STATEANIM::LAND] = { 259,false };
+
+ m_Animation[STATEANIM::DODGE] = { 802,false };
+
+ m_Animation[STATEANIM::SKILL] = { 593,false };
+ m_Animation[STATEANIM::SKILL2] = { 915,false };
+ m_Animation[STATEANIM::LIGHT_ATTACK] = { 413,false };
+ m_Animation[STATEANIM::SPELL] = { 696,false };
+ m_Animation[STATEANIM::MAPHELP] = { 122,false };
+ m_Animation[STATEANIM::ACCIO] = { 417,false };
+ m_Animation[STATEANIM::DESCENDO] = { 418,false };
+ m_Animation[STATEANIM::DEPULSO] = { 782,false };
+ m_Animation[STATEANIM::DIFFINDO] = { 786,false };
+ m_Animation[STATEANIM::LUMOS] = { 782,false };
+ m_Animation[STATEANIM::DISILLUSION_ENTER] = { 585,false };
+ m_Animation[STATEANIM::DISILLUSION_EXIT] = { 586,false };
+}
+#pragma endregion State
+
diff --git a/Jusin154_Team3D/Client/Private/SkyBox.cpp b/Jusin154_Team3D/Client/Private/SkyBox.cpp
index e575e3870..e59e8b727 100644
--- a/Jusin154_Team3D/Client/Private/SkyBox.cpp
+++ b/Jusin154_Team3D/Client/Private/SkyBox.cpp
@@ -39,7 +39,7 @@ void CSkyBox::Priority_Update(_float fTimeDelta)
void CSkyBox::Update(_float fTimeDelta)
{
- m_pTransformCom->Set_State(STATE::POSITION, m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_CAMERA)->Get_Object()->Get_WorldPostion());
+ m_pTransformCom->Set_State(STATE::POSITION, m_pGameInstance->Get_CamXMPosition());
}
void CSkyBox::Late_Update(_float fTimeDelta)
diff --git a/Jusin154_Team3D/Client/Public/Camera_Debug.h b/Jusin154_Team3D/Client/Public/Camera_Debug.h
index 0662b8e1e..ca7cb5070 100644
--- a/Jusin154_Team3D/Client/Public/Camera_Debug.h
+++ b/Jusin154_Team3D/Client/Public/Camera_Debug.h
@@ -13,7 +13,6 @@ class CCamera_Debug final : public CCamera
_float3 vEye{}, vAt{};
_float fMouseSensor{};
}CAMERA_DEBUG_DESC;
-
private:
CCamera_Debug(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
CCamera_Debug(const CCamera_Debug& rhs);
@@ -39,7 +38,7 @@ class CCamera_Debug final : public CCamera
public:
static CCamera_Debug* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
- virtual CCamera_Debug* Clone(void* pArg, CGameObject* pOwner) override;
+ virtual CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
virtual void Free() override;
void Describe_Entity() override;
diff --git a/Jusin154_Team3D/Client/Public/Camera_Gaze.h b/Jusin154_Team3D/Client/Public/Camera_Gaze.h
index 37fe722c6..7b7d26a2f 100644
--- a/Jusin154_Team3D/Client/Public/Camera_Gaze.h
+++ b/Jusin154_Team3D/Client/Public/Camera_Gaze.h
@@ -22,6 +22,7 @@ class CCamera_Gaze final : public CCamera
void Update_LerpTimer(Engine::_float fTimeDelta);
void Enable_FollowLerp();
void Enable_LookLerp();
+ void Toggle_Priority();
virtual void Late_Update(_float fTimeDelta) override;
virtual HRESULT Render() override;
diff --git a/Jusin154_Team3D/Client/Public/Client_Macro.h b/Jusin154_Team3D/Client/Public/Client_Macro.h
index 074c0d74d..3d6fa32ba 100644
--- a/Jusin154_Team3D/Client/Public/Client_Macro.h
+++ b/Jusin154_Team3D/Client/Public/Client_Macro.h
@@ -29,6 +29,7 @@ namespace Client {
#pragma region OBJECT
#define CAMERA_DEBUG TEXT("CAMERA_DEBUG")
+#define CAMERA_SHOULDER TEXT("CAMERA_SHOULDER")
#pragma endregion
#pragma region COMPONENT
@@ -38,6 +39,7 @@ namespace Client {
#define LAYER_FLOOR TEXT("Layer_Floor")
#define LAYER_WALL TEXT("Layer_Wall")
#define LAYER_CUBE TEXT("Layer_Cube")
+#define LAYER_SKYBOX TEXT("Layer_SkyBox")
#define LAYER_EDITOR_CAMERA TEXT("Layer_Editor_Camera")
#define LAYER_BACKGROUND TEXT("Layer_BackGround")
#define LAYER_MARKER TEXT("Layer_Marker")
diff --git a/Jusin154_Team3D/Client/Public/Level_GamePlay.h b/Jusin154_Team3D/Client/Public/Level_GamePlay.h
index 3c2f124c7..fd70267a6 100644
--- a/Jusin154_Team3D/Client/Public/Level_GamePlay.h
+++ b/Jusin154_Team3D/Client/Public/Level_GamePlay.h
@@ -27,7 +27,6 @@ class CLevel_GamePlay final : public CLevel
HRESULT Ready_Layer_UI(const _wstring& strLayerTag);
HRESULT Ready_Layer_Camera();
HRESULT Ready_Layer_Sound();
- HRESULT Ready_Layer_Effect(const _wstring& strLayerTag);
HRESULT Ready_Layer_Player(const _wstring& strLayerTag);
HRESULT Ready_Layer_SkyBox(const _wstring& strLayerTag);
diff --git a/Jusin154_Team3D/Client/Public/Player.h b/Jusin154_Team3D/Client/Public/Player.h
index 497fe5c7b..b39d1ed33 100644
--- a/Jusin154_Team3D/Client/Public/Player.h
+++ b/Jusin154_Team3D/Client/Public/Player.h
@@ -7,21 +7,12 @@ NS_BEGIN(Client)
class CPlayer final : public CUnit
{
-public:
- struct InputCondition
- {
- FSMSTATE::ESTATE state;
- function<_bool()> checker;
- };
-
private:
CPlayer(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
CPlayer(const CPlayer& Prototype);
virtual ~CPlayer() = default;
public:
- virtual HRESULT Initialize_Prototype() override;
- virtual HRESULT Initialize(void* pArg) override;
virtual void Priority_Update(_float fTimeDelta) override;
virtual void Update(_float fTimeDelta) override;
virtual void Late_Update(_float fTimeDelta) override;
@@ -33,10 +24,10 @@ class CPlayer final : public CUnit
size_t m_iStateMask = { 0 };
_float m_fDirectionRadian = 0.f;
- vector m_InputConditions;
_bool m_bSprintToggle = { false };
_bool m_bWalkToggle = { false };
+
class CCamPosition_Socket* m_pCamPosition_TopDown_LookPart = { nullptr };
class CCamPosition_Arm* m_pCamPosition_TopDown_FollowPart = { nullptr };
class CCamPosition_Shoulder* m_pCamPosition_ShoulderPart = { nullptr };
@@ -46,6 +37,8 @@ class CPlayer final : public CUnit
class CCallBack_Playable_Behavior* m_pCallBack_Behavior = { nullptr };
class CCallBack_Playable_HitReport* m_pCallBack_HitReport = { nullptr };
private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
HRESULT Ready_Components();
HRESULT Ready_Parts();
HRESULT Bind_ShaderResources();
@@ -57,15 +50,21 @@ class CPlayer final : public CUnit
virtual void Describe_Entity() override;
#pragma region STATE
+
+public:
+ virtual void Reset_Sprint() { m_bSprintToggle = false; }
+ virtual void Reset_Walk() { m_bWalkToggle = false; }
+
private:
+ void TestKeyInput(_float fTimeDelta);
virtual void Add_FSM();
virtual void Set_Anim();
- _bool IsSprint();
- _bool IsWalk();
- HRESULT InputSystem();
- HRESULT InputSkill();
+ HRESULT InputAction();
HRESULT InputMove();
+ HRESULT InputSpell();
+
+ STATEANIM::ESTATE m_eSpell = { STATEANIM::END };
void Behavior_IdleEnter();
HRESULT Behavior_IdleExitCheck();
@@ -87,17 +86,11 @@ class CPlayer final : public CUnit
HRESULT Behavior_DodgeExitCheck();
void Behavior_DodgeExit();
-
-public:
- virtual void Reset_Sprint() { m_bSprintToggle = false; }
- virtual void Reset_Walk() { m_bWalkToggle = false; }
-
+ void Behavior_CombatEnter();
+ HRESULT Behavior_CombatExitCheck();
+ void Behavior_CombatExit();
#pragma endregion
-
-
-
-
};
NS_END
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_AlphaMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_AlphaMap.bin
index 42fda0dc6..c8dd09079 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_AlphaMap.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_AlphaMap.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e113d19eac33fe1a0dc66a5ce1d3c50ea75d9d8ade3ec9ac7b00ad858c992663
+oid sha256:2a425f685254b0d133c6350fd0f020e4f526efac9cdccfed91c6944313da3b34
size 67108864
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_HeightMap.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_HeightMap.bin
new file mode 100644
index 000000000..5ec6b1988
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Hogsmeade_HeightMap.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b2b804eb5741b33d1c0d6a48f186ebf616ed95ac5ae61555ef7cb1ee6c88ab08
+size 1052676
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1124.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1124.xml
new file mode 100644
index 000000000..af7a9bb68
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1124.xml
@@ -0,0 +1,4768 @@
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Chimney
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Chimney_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_A
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance_Lod1
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance_Lod2
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_B
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_B_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Int_Decals
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Roof
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Roof_Lod1
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR_Lod2
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Wall
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Wall_Lod1
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Wall_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_A
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window_Lod1
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window_Lod2
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_A
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim_Lod1
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim_Lod2
+ Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL_Lod2
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On
+ Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Int_Trim
+ Prototype_GameObject_SM_HM_Ollivanders_Int_Trim_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_Int_Trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_ext_Display_Window_Blocker
+ Prototype_GameObject_SM_HM_Ollivanders_ext_Display_Window_Blocker_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Int_Floors
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Int_Counter
+ Prototype_GameObject_SM_HM_Ollivanders_Int_Counter_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_Int_Counter_Lod2
+ Prototype_GameObject_SM_HM_Ollivanders_Int_Counter_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H_Lod2
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Int_Walls
+ Prototype_GameObject_SM_HM_Ollivanders_Int_Walls_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On
+ Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Int_Window_Trim
+ Prototype_GameObject_SM_HM_Ollivanders_Int_Window_Trim_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_Int_Window_Trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC_Lod2
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows_Lod2
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ_Lod2
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG_Lod2
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG_Lod2
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN_Lod2
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P_Lod2
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_S
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_S_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_S_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_WallShelf_Int_kit
+ Prototype_GameObject_SM_HM_Ollivanders_WallShelf_Int_kit_Lod1
+ Prototype_GameObject_SM_HM_Ollivanders_WallShelf_Int_kit_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_B
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_B_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A
+ Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_EXT_APL_COL
+ Prototype_GameObject_SM_HM_Ollivanders_EXT_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_EXT_PL_COL
+ Prototype_GameObject_SM_HM_Ollivanders_EXT_PL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_EXT_Stairs_COL_Ramp
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Ollivanders_EXT_Stairs_COL_Steps
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Roof
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Lod1
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_ext_entrance
+ Prototype_GameObject_SM_HM_TScrolls_ext_entrance_Lod1
+ Prototype_GameObject_SM_HM_TScrolls_ext_entrance_Lod2
+ Prototype_GameObject_SM_HM_TScrolls_ext_entrance_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OutsideStairPlatform
+ Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod1
+ Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod2
+ Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_ext_chimneys
+ Prototype_GameObject_SM_HM_TScrolls_ext_chimneys_Lod1
+ Prototype_GameObject_SM_HM_TScrolls_ext_chimneys_Lod2
+ Prototype_GameObject_SM_HM_TScrolls_ext_chimneys_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Front_Door_Surrounds
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Front_Door_Surrounds_Lod1
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Front_Door_Surrounds_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Bay_Window_Blocker
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Bay_Window_Display
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Bay_Window_Display_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_ext_decals
+ Prototype_GameObject_SM_HM_TScrolls_ext_decals_Lod1
+ Prototype_GameObject_SM_HM_TScrolls_ext_decals_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Trim
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Trim_Lod1
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Trim_Lod2
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Steps_Base
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Steps_Base_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Trim
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Trim_Lod1
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Trim_Lod2
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Walls
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Walls_Lod1
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Windows
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Windows_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_ext_window_glass
+ Prototype_GameObject_SM_HM_TScrolls_ext_window_glass_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Wood_Caps
+ Prototype_GameObject_SM_HM_TScrolls_Ext_Wood_Caps_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_Sign_Base
+ Prototype_GameObject_SM_HM_TScrolls_Sign_Base_Lod1
+ Prototype_GameObject_SM_HM_TScrolls_Sign_Base_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_Sign_Anchor
+ Prototype_GameObject_SM_HM_TScrolls_Sign_Anchor_Lod1
+ Prototype_GameObject_SM_HM_TScrolls_Sign_Anchor_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_EXT_APL_COL
+ Prototype_GameObject_SM_HM_TScrolls_EXT_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_EXT_A_PL_COL
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_EXT_B_PL_COL
+ Prototype_GameObject_SM_HM_TScrolls_EXT_B_PL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_EXT_C_PL_COL
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TScrolls_EXT_Platform_PL_COL
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Tscrolls_EXT_Stairs_COL
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_LowerHiStreet_Zonkos
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_Hogshead
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_A
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_B
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_SideStreet_A
+ Prototype_GameObject_SM_HM_Streets_SideStreet_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_SideStreet_B
+ Prototype_GameObject_SM_HM_Streets_SideStreet_B_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_SideStreet_C
+ Prototype_GameObject_SM_HM_Streets_SideStreet_C_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Stairwalls_3Broomsticks
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_AA_COL
+ Prototype_GameObject_SM_HM_Streets_AA_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_BB_COL
+ Prototype_GameObject_SM_HM_Streets_BB_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_CC_COL
+ Prototype_GameObject_SM_HM_Streets_CC_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_DD_COL
+ Prototype_GameObject_SM_HM_Streets_DD_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_EE_COL
+ Prototype_GameObject_SM_HM_Streets_EE_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_FF_COL
+ Prototype_GameObject_SM_HM_Streets_FF_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_GG_COL
+ Prototype_GameObject_SM_HM_Streets_GG_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_HH_COL
+ Prototype_GameObject_SM_HM_Streets_HH_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_SideStreet_A_COL
+ Prototype_GameObject_SM_HM_Streets_SideStreet_A_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_SideStreet_B_COL
+ Prototype_GameObject_SM_HM_Streets_SideStreet_B_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_SideStreet_C_COL
+ Prototype_GameObject_SM_HM_Streets_SideStreet_C_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_SideStreet_D_COL
+ Prototype_GameObject_SM_HM_Streets_SideStreet_D_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HW_Streets_SideStreet_E_COL
+ Prototype_GameObject_SM_HW_Streets_SideStreet_E_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HW_Streets_SideStreet_F_COL
+ Prototype_GameObject_SM_HW_Streets_SideStreet_F_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_DoorFrame
+ Prototype_GameObject_SM_HM_3Broom_DoorFrame_Lod1
+ Prototype_GameObject_SM_HM_3Broom_DoorFrame_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_ext_trim_stone
+ Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod1
+ Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod2
+ Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_RectangularWindow_Stone
+ Prototype_GameObject_SM_HM_3Broom_RectangularWindow_Stone_Lod1
+ Prototype_GameObject_SM_HM_3Broom_RectangularWindow_Stone_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_Door_L
+ Prototype_GameObject_SM_HM_3Broom_Door_L_Lod1
+ Prototype_GameObject_SM_HM_3Broom_Door_L_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim
+ Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod1
+ Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod2
+ Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_ext_barrels_sign
+ Prototype_GameObject_SM_HM_3Broom_ext_barrels_sign_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_RectangularWindow_StoneB
+ Prototype_GameObject_SM_HM_3Broom_RectangularWindow_StoneB_Lod1
+ Prototype_GameObject_SM_HM_3Broom_RectangularWindow_StoneB_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_ext_walls
+ Prototype_GameObject_SM_HM_3Broom_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_3Broom_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B
+ Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod1
+ Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod2
+ Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_ext_barrels
+ Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod1
+ Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod2
+ Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_Door_R
+ Prototype_GameObject_SM_HM_3Broom_Door_R_Lod1
+ Prototype_GameObject_SM_HM_3Broom_Door_R_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands
+ Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands_Lod1
+ Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_ext_decals
+ Prototype_GameObject_SM_HM_3Broom_ext_decals_Lod1
+ Prototype_GameObject_SM_HM_3Broom_ext_decals_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_CrossBeam
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide
+ Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide_Lod1
+ Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_ext_Dormer_Wood_Slats
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_ext_roof
+ Prototype_GameObject_SM_HM_3Broom_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_3Broom_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops
+ Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops_Lod1
+ Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_ext_roof_decals
+ Prototype_GameObject_SM_HM_3Broom_ext_roof_decals_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box
+ Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box_Lod1
+ Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_ext_trim
+ Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod2
+ Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_RectangurWindowPlain
+ Prototype_GameObject_SM_HM_3Broom_RectangurWindowPlain_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_ext_wood_Corbels
+ Prototype_GameObject_SM_HM_3Broom_ext_wood_Corbels_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_Window_Glass
+ Prototype_GameObject_SM_HM_3Broom_Window_Glass_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_RoundedWindow
+ Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod1
+ Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_RoundedWindow
+ Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod1
+ Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_RoundedWindow
+ Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod1
+ Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_CrossBeam
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_EXT_APL_COL
+ Prototype_GameObject_SM_HM_3Broom_EXT_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_EXT_B_PL_COL_2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_3Broom_EXT_PL_COL
+ Prototype_GameObject_SM_HM_3Broom_EXT_PL_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Bridge
+ Prototype_GameObject_SM_HM_Gatehouse_Bridge_Lod1
+ Prototype_GameObject_SM_HM_Gatehouse_Bridge_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Bridge_Decals
+ Prototype_GameObject_SM_HM_Gatehouse_Bridge_Decals_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing
+ Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing_Lod1
+ Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Bridge_roof
+ Prototype_GameObject_SM_HM_Gatehouse_Bridge_roof_Lod1
+ Prototype_GameObject_SM_HM_Gatehouse_Bridge_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Bridge_road
+ Prototype_GameObject_SM_HM_Gatehouse_Bridge_road_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_B
+ Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_B_Lod1
+ Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_B_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Columns
+ Prototype_GameObject_SM_HM_Gatehouse_Columns_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Wood_Trim_Front
+ Prototype_GameObject_SM_HM_Gatehouse_Wood_Trim_Front_Lod1
+ Prototype_GameObject_SM_HM_Gatehouse_Wood_Trim_Front_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A
+ Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod1
+ Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Stone_Cap_A
+ Prototype_GameObject_SM_HM_Gatehouse_Stone_Cap_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Joist_Front
+ Prototype_GameObject_SM_HM_Gatehouse_Joist_Front_Lod1
+ Prototype_GameObject_SM_HM_Gatehouse_Joist_Front_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing
+ Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing_Lod1
+ Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Stone_Cap_A
+ Prototype_GameObject_SM_HM_Gatehouse_Stone_Cap_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Sign
+ Prototype_GameObject_SM_HM_Gatehouse_Sign_Lod1
+ Prototype_GameObject_SM_HM_Gatehouse_Sign_Lod2
+ Prototype_GameObject_SM_HM_Gatehouse_Sign_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Joist_Front
+ Prototype_GameObject_SM_HM_Gatehouse_Joist_Front_Lod1
+ Prototype_GameObject_SM_HM_Gatehouse_Joist_Front_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BridgeColumnTop_A
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Finial
+ Prototype_GameObject_SM_HM_Gatehouse_Finial_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Joist_Back
+ Prototype_GameObject_SM_HM_Gatehouse_Joist_Back_Lod1
+ Prototype_GameObject_SM_HM_Gatehouse_Joist_Back_Lod2
+ Prototype_GameObject_SM_HM_Gatehouse_Joist_Back_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A
+ Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod1
+ Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BridgeColumnTop_A
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BridgeColumnTop_A
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BridgeColumnTop_A
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BridgeColumnTop_A
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BridgeColumnTop_A
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A
+ Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod1
+ Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gatehouse_Bridge_COLLISION
+ Prototype_GameObject_SM_HM_Gatehouse_Bridge_COLLISION_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Entrance
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Entrance_Lod1
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Entrance_Lod2
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Entrance_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Roof_Decals
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_PatioCircle
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_PatioCircle_Lod1
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_PatioCircle_Lod2
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_PatioCircle_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Walls
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Walls_Lod1
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Quidditch_ext_Glass
+ Prototype_GameObject_SM_HM_Quidditch_ext_Glass_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Roof
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Roof_Lod1
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Sign
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Sign_Lod1
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Sign_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Window_Display
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_Window_Display_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Quid_EXT_Walls_Decals
+ Prototype_GameObject_SM_HM_BLDG_Quid_EXT_Walls_Decals_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim_Lod1
+ Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Quidditch_EXT_APL_COL
+ Prototype_GameObject_SM_HM_Quidditch_EXT_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Quidditch_EXT_PL_COL
+ Prototype_GameObject_SM_HM_Quidditch_EXT_PL_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_Quid_extSkirt
+ Prototype_GameObject_SM_HM_BLDG_Quid_extSkirt_Lod1
+ Prototype_GameObject_SM_HM_BLDG_Quid_extSkirt_Lod2
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_03
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_03_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_03_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_03_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_ext_Chimneys
+ Prototype_GameObject_SM_HM_HogsHead_ext_Chimneys_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_ext_Chimneys_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_01
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_01_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_01_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_01_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_02
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_02_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_02_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_02_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Hogshead_Docks_Stairs
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_04
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_04_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_04_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_04_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_05
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_05_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_05_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_05_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_ext_Decals
+ Prototype_GameObject_SM_HM_HogsHead_ext_Decals_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_ext_Decals_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_ext_Gutters
+ Prototype_GameObject_SM_HM_HogsHead_ext_Gutters_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_ext_Gutters_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_ext_Gutters_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_ext_Roof
+ Prototype_GameObject_SM_HM_HogsHead_ext_Roof_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_ext_Roof_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_ext_Roof_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_ext_Trim
+ Prototype_GameObject_SM_HM_HogsHead_ext_Trim_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_ext_Trim_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_ext_Trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_ext_Trim_B
+ Prototype_GameObject_SM_HM_HogsHead_ext_Trim_B_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_ext_Trim_B_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_ext_Trim_B_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_ext_Walls
+ Prototype_GameObject_SM_HM_HogsHead_ext_Walls_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_ext_Walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Hogshead_ext_window_glass
+ Prototype_GameObject_SM_HM_Hogshead_ext_window_glass_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Ferdinand_Portrait_Outline
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Porch_Steps
+ Prototype_GameObject_SM_HM_HogsHead_Porch_Steps_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Porch_Steps_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Sign_A
+ Prototype_GameObject_SM_HM_HogsHead_Sign_A_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Sign_A_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod1
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod2
+ Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Docks_COL
+ Prototype_GameObject_SM_HM_HogsHead_Docks_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Docks_Stairs_COL
+ Prototype_GameObject_SM_HM_HogsHead_Docks_Stairs_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HogsHead_Docks_Gap_COL
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Hogshead_ext_apl_COL
+ Prototype_GameObject_SM_HM_Hogshead_ext_apl_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Hogshead_ext_pl_COL
+ Prototype_GameObject_SM_HM_Hogshead_ext_pl_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_PlazaMain_A
+
+
+
+
+
+ Prototype_GameObject_SM_HM_PlazaMain_B
+
+
+
+
+
+ Prototype_GameObject_SM_HM_PlazaMain_C
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_Plaza_AA_COL
+ Prototype_GameObject_SM_HM_Streets_Plaza_AA_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_Plaza_BB_COL
+ Prototype_GameObject_SM_HM_Streets_Plaza_BB_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_Plaza_CC_COL
+ Prototype_GameObject_SM_HM_Streets_Plaza_CC_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_Plaza_DD_COL
+ Prototype_GameObject_SM_HM_Streets_Plaza_DD_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_Plaza_EE_COL
+ Prototype_GameObject_SM_HM_Streets_Plaza_EE_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_Plaza_FF_COL
+ Prototype_GameObject_SM_HM_Streets_Plaza_FF_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Streets_Plaza_HH_COL
+ Prototype_GameObject_SM_HM_Streets_Plaza_HH_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HoneyDukes_StoneTrim
+ Prototype_GameObject_SM_HM_HoneyDukes_StoneTrim_Lod1
+ Prototype_GameObject_SM_HM_HoneyDukes_StoneTrim_Lod2
+ Prototype_GameObject_SM_HM_HoneyDukes_StoneTrim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Honeydukes_Bay_Window_Blockers
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HoneyDukes_Chimneys
+ Prototype_GameObject_SM_HM_HoneyDukes_Chimneys_Lod1
+ Prototype_GameObject_SM_HM_HoneyDukes_Chimneys_Lod2
+ Prototype_GameObject_SM_HM_HoneyDukes_Chimneys_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Honeydukes_EXT_backside_flower_bed
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Honeydukes_Display_Window_Boxes
+ Prototype_GameObject_SM_HM_Honeydukes_Display_Window_Boxes_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Honeydukes_Entrance_Ivy_OLD
+ Prototype_GameObject_SM_HM_Honeydukes_Entrance_Ivy_OLD_Lod1
+ Prototype_GameObject_SM_HM_Honeydukes_Entrance_Ivy_OLD_Lod2
+ Prototype_GameObject_SM_HM_Honeydukes_Entrance_Ivy_OLD_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HoneyDukes_Entrance
+ Prototype_GameObject_SM_HM_HoneyDukes_Entrance_Lod1
+ Prototype_GameObject_SM_HM_HoneyDukes_Entrance_Lod2
+ Prototype_GameObject_SM_HM_HoneyDukes_Entrance_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HoneyDukes_Trim_No_Shadows
+ Prototype_GameObject_SM_HM_HoneyDukes_Trim_No_Shadows_Lod1
+ Prototype_GameObject_SM_HM_HoneyDukes_Trim_No_Shadows_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Honeydukes_Glass_A
+ Prototype_GameObject_SM_HM_Honeydukes_Glass_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HoneyDukes_Ext_Decals
+ Prototype_GameObject_SM_HM_HoneyDukes_Ext_Decals_Lod1
+ Prototype_GameObject_SM_HM_HoneyDukes_Ext_Decals_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Honeydukes_Glass_B
+ Prototype_GameObject_SM_HM_Honeydukes_Glass_B_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Honeydukes_Glass_Int_B
+ Prototype_GameObject_SM_HM_Honeydukes_Glass_Int_B_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HoneyDukes_Roofs
+ Prototype_GameObject_SM_HM_HoneyDukes_Roofs_Lod1
+ Prototype_GameObject_SM_HM_HoneyDukes_Roofs_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HoneyDukes_Trim
+ Prototype_GameObject_SM_HM_HoneyDukes_Trim_Lod1
+ Prototype_GameObject_SM_HM_HoneyDukes_Trim_Lod2
+ Prototype_GameObject_SM_HM_HoneyDukes_Trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HoneyDukes_Ext_Flags
+ Prototype_GameObject_SM_HoneyDukes_Ext_Flags_Lod1
+ Prototype_GameObject_SM_HoneyDukes_Ext_Flags_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HoneyDukes_Walls
+ Prototype_GameObject_SM_HM_HoneyDukes_Walls_Lod1
+ Prototype_GameObject_SM_HM_HoneyDukes_Walls_Lod2
+ Prototype_GameObject_SM_HM_HoneyDukes_Walls_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_HoneyDukes_Windows
+ Prototype_GameObject_SM_HM_HoneyDukes_Windows_Lod1
+ Prototype_GameObject_SM_HM_HoneyDukes_Windows_Lod2
+ Prototype_GameObject_SM_HM_HoneyDukes_Windows_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_EXT_APL2_COL
+ Prototype_GameObject_SM_HM_BLDG_EXT_APL2_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_EXT_APL3_COL
+ Prototype_GameObject_SM_HM_BLDG_EXT_APL3_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_EXT_APL_COL
+ Prototype_GameObject_SM_HM_BLDG_EXT_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_EXT_PL2_COL
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_EXT_PL3_COL
+
+
+
+
+
+ Prototype_GameObject_SM_HM_BLDG_EXT_PL_COL
+ Prototype_GameObject_SM_HM_BLDG_EXT_PL_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Chimney
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Chimney_Lod1
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Chimney_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_ext_Window_Glass_A
+ Prototype_GameObject_SM_HM_OwlPost_ext_Window_Glass_A_Lod1
+ Prototype_GameObject_SM_HM_OwlPost_ext_Window_Glass_A_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Owl
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Owl_Lod1
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Owl_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Roof
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Roof_Lod1
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Trim
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_Lod1
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_Lod2
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_B
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_B_Lod1
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_B_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Walls_ALT
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Walls_ALT_Lod1
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Walls_ALT_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Owl_Cubbies
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Owl_Cubbies_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_B
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_B_Lod1
+ Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_B_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_A
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_A_Lod1
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_A_Lod2
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_B
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_B_Lod1
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_B_Lod2
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_B_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Upper_Doors
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Upper_Doors_Lod1
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Upper_Doors_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_D
+ Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_D_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_ext_apl_COL
+ Prototype_GameObject_SM_HM_OwlPost_ext_apl_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_OwlPost_ext_pl_COL
+ Prototype_GameObject_SM_HM_OwlPost_ext_pl_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_A_ext_Window_Glass_A
+ Prototype_GameObject_SM_HM_GEN_A_ext_Window_Glass_A_Lod1
+ Prototype_GameObject_SM_HM_GEN_A_ext_Window_Glass_A_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_A_ext_Chimney
+ Prototype_GameObject_SM_HM_GEN_A_ext_Chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_A_ext_Chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_A_ext_Chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_A_ext_Roof
+ Prototype_GameObject_SM_HM_GEN_A_ext_Roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_A_ext_Roof_Lod2
+ Prototype_GameObject_SM_HM_GEN_A_ext_Roof_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_A_ext_Walls_Patch
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_A_ext_Trim
+ Prototype_GameObject_SM_HM_GEN_A_ext_Trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_A_ext_Trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_A_ext_Walls
+ Prototype_GameObject_SM_HM_GEN_A_ext_Walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_A_ext_Walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_A_EXT_APL_COL
+ Prototype_GameObject_SM_HM_GEN_A_EXT_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_A_EXT_APL2_COL
+ Prototype_GameObject_SM_HM_GEN_A_EXT_APL2_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_A_EXT_PL2_COL
+ Prototype_GameObject_SM_HM_GEN_A_EXT_PL2_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_A_EXT_PL_COL
+ Prototype_GameObject_SM_HM_GEN_A_EXT_PL_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_trim
+ Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_Door_Gap_Filler
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_walls
+ Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod2
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles
+ Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL
+ Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL
+ Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps
+ Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps_Lod1
+ Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim
+ Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod2
+ Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_roof
+ Prototype_GameObject_SM_HM_GEN_C_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_C_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_Stairs
+ Prototype_GameObject_SM_HM_GEN_C_ext_Stairs_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_trim
+ Prototype_GameObject_SM_HM_GEN_C_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_C_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_walls
+ Prototype_GameObject_SM_HM_GEN_C_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_C_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_windows
+ Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod2
+ Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_windows_glass_a
+ Prototype_GameObject_SM_HM_GEN_C_ext_windows_glass_a_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler
+ Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler
+ Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_EXT_APL_COL
+ Prototype_GameObject_SM_HM_GEN_C_EXT_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_EXT_PL2_COL
+ Prototype_GameObject_SM_HM_GEN_C_EXT_PL2_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_EXT_PL_COL
+ Prototype_GameObject_SM_HM_GEN_C_EXT_PL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_EXT_PL_Steps_COL
+ Prototype_GameObject_SM_HM_GEN_C_EXT_PL_Steps_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A
+ Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation
+ Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod2
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_trim
+ Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_walls
+ Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL
+ Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL
+ Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_side_wall
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a
+ Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation
+ Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL
+ Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL
+ Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_window_glass_A
+ Prototype_GameObject_SM_HM_GEN_G_ext_window_glass_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_walls
+ Prototype_GameObject_SM_HM_GEN_G_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_windows
+ Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod2
+ Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_apl_COL
+ Prototype_GameObject_SM_HM_GEN_G_ext_apl_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_pl_COL
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_Chimney
+ Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim
+ Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_Ivy
+ Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod1
+ Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod2
+ Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_decals
+ Prototype_GameObject_SM_HM_GEN_H_ext_decals_Lod1
+ Prototype_GameObject_SM_HM_GEN_H_ext_decals_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gen_H_window_glass_a
+ Prototype_GameObject_SM_HM_Gen_H_window_glass_a_Lod1
+ Prototype_GameObject_SM_HM_Gen_H_window_glass_a_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_Roof
+ Prototype_GameObject_SM_HM_GEN_H_ext_Roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_H_ext_Roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_Trim
+ Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod2
+ Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_Walls
+ Prototype_GameObject_SM_HM_GEN_H_ext_Walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_H_ext_Walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_apl_COL
+ Prototype_GameObject_SM_HM_GEN_H_ext_apl_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_pl_COL
+ Prototype_GameObject_SM_HM_GEN_H_ext_pl_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Trim
+ Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Trim_Lod2
+ Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_J_ext_Chimney
+ Prototype_GameObject_SM_HM_GEN_J_ext_Chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_J_ext_Chimney_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_J_ext_Roof
+ Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Lod2
+ Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_J_ext_Trim
+ Prototype_GameObject_SM_HM_GEN_J_ext_Trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_J_ext_Trim_Lod2
+ Prototype_GameObject_SM_HM_GEN_J_ext_Trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_J_ext_Wall
+ Prototype_GameObject_SM_HM_GEN_J_ext_Wall_Lod1
+ Prototype_GameObject_SM_HM_GEN_J_ext_Wall_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_J_ext_Wall_Decals
+ Prototype_GameObject_SM_HM_GEN_J_ext_Wall_Decals_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_J_ext_Windows
+ Prototype_GameObject_SM_HM_GEN_J_ext_Windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_J_ext_Windows_Lod2
+ Prototype_GameObject_SM_HM_GEN_J_ext_Windows_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_J_ext_window_glass_a
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_J_ext_apl_COL
+ Prototype_GameObject_SM_HM_GEN_J_ext_apl_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_J_ext_pl_COL
+ Prototype_GameObject_SM_HM_GEN_J_ext_pl_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_WoodTrim_shadows
+ Prototype_GameObject_SM_HM_TeaShop_WoodTrim_shadows_Lod1
+ Prototype_GameObject_SM_HM_TeaShop_WoodTrim_shadows_Lod2
+ Prototype_GameObject_SM_HM_TeaShop_WoodTrim_shadows_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_Chimney
+ Prototype_GameObject_SM_HM_TeaShop_Chimney_Lod1
+ Prototype_GameObject_SM_HM_TeaShop_Chimney_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_Decals
+ Prototype_GameObject_SM_HM_TeaShop_Decals_Lod1
+ Prototype_GameObject_SM_HM_TeaShop_Decals_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_Sign_Anchor
+ Prototype_GameObject_SM_HM_TeaShop_Sign_Anchor_Lod1
+ Prototype_GameObject_SM_HM_TeaShop_Sign_Anchor_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_Entrance_Sign
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_Glass_A_int
+ Prototype_GameObject_SM_HM_TeaShop_Glass_A_int_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_Roof
+ Prototype_GameObject_SM_HM_TeaShop_Roof_Lod1
+ Prototype_GameObject_SM_HM_TeaShop_Roof_Lod2
+ Prototype_GameObject_SM_HM_TeaShop_Roof_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_Patio_Floor
+ Prototype_GameObject_SM_HM_TeaShop_Patio_Floor_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_Glass_A_ext
+ Prototype_GameObject_SM_HM_TeaShop_Glass_A_ext_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_Sign_Base
+ Prototype_GameObject_SM_HM_TeaShop_Sign_Base_Lod1
+ Prototype_GameObject_SM_HM_TeaShop_Sign_Base_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_Walls
+ Prototype_GameObject_SM_HM_TeaShop_Walls_Lod1
+ Prototype_GameObject_SM_HM_TeaShop_Walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_Windows
+ Prototype_GameObject_SM_HM_TeaShop_Windows_Lod1
+ Prototype_GameObject_SM_HM_TeaShop_Windows_Lod2
+ Prototype_GameObject_SM_HM_TeaShop_Windows_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_WoodTrim
+ Prototype_GameObject_SM_HM_TeaShop_WoodTrim_Lod1
+ Prototype_GameObject_SM_HM_TeaShop_WoodTrim_Lod2
+ Prototype_GameObject_SM_HM_TeaShop_WoodTrim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_MERGED_Roof_Shingles_A
+ Prototype_GameObject_SM_HM_TeaShop_MERGED_Roof_Shingles_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_MERGED_Roof_Shingles_B
+ Prototype_GameObject_SM_HM_TeaShop_MERGED_Roof_Shingles_B_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_EXT_PL_COL
+ Prototype_GameObject_SM_HM_TeaShop_EXT_PL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_EXT_APL_COL
+ Prototype_GameObject_SM_HM_TeaShop_EXT_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_TeaShop_EXTSign_APL_COL
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_A
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_A_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_A_Lod2
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_Entrance_Sign
+ Prototype_GameObject_SM_HM_Zonkos_Entrance_Sign_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Decals
+ Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Decals_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Decals_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_ext_Glass_A
+ Prototype_GameObject_SM_HM_Zonkos_ext_Glass_A_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_ext_Glass_A_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys
+ Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Lod2
+ Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_B
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_B_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_B_Lod2
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_B_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Decals
+ Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Decals_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_sign_mid_sign
+ Prototype_GameObject_SM_HM_Zonkos_sign_mid_sign_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_sign_mid_sign_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_C
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_C_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_C_Lod2
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_C_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_A
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_A_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_A_Lod2
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_D
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_D_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_D_Lod2
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_D_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_ext_Glass_B
+ Prototype_GameObject_SM_HM_Zonkos_ext_Glass_B_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Gutter
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Gutter_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Gutter_Lod2
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Gutter_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_ext_Roof
+ Prototype_GameObject_SM_HM_Zonkos_ext_Roof_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_ext_Roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_ext_Roof_Decals
+ Prototype_GameObject_SM_HM_Zonkos_ext_Roof_Decals_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_ext_Trims
+ Prototype_GameObject_SM_HM_Zonkos_ext_Trims_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_ext_Trims_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_ext_Walls
+ Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_B
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_B_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_B_Lod2
+ Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_B_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_sign_bars
+ Prototype_GameObject_SM_HM_Zonkos_sign_bars_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_sign_bars_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_sign_bottom_sign
+ Prototype_GameObject_SM_HM_Zonkos_sign_bottom_sign_Lod1
+ Prototype_GameObject_SM_HM_Zonkos_sign_bottom_sign_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_EXT_APL_Lower_COL
+ Prototype_GameObject_SM_HM_Zonkos_EXT_APL_Lower_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_EXT_APL_Upper_COL
+ Prototype_GameObject_SM_HM_Zonkos_EXT_APL_Upper_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_EXT_PL_Lower_COL
+ Prototype_GameObject_SM_HM_Zonkos_EXT_PL_Lower_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Zonkos_EXT_PL_Upper_COL
+ Prototype_GameObject_SM_HM_Zonkos_EXT_PL_Upper_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_A
+ Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_A_Lod1
+ Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_A_Lod2
+ Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_B
+ Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_B_Lod1
+ Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_B_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_roof
+ Prototype_GameObject_SM_HM_DB_GR_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_DB_GR_ext_roof_Lod2
+ Prototype_GameObject_SM_HM_DB_GR_ext_roof_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_entrance
+ Prototype_GameObject_SM_HM_DB_GR_ext_entrance_Lod1
+ Prototype_GameObject_SM_HM_DB_GR_ext_entrance_Lod2
+ Prototype_GameObject_SM_HM_DB_GR_ext_entrance_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_Glass_A
+ Prototype_GameObject_SM_HM_DB_GR_ext_Glass_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_Glass_B
+ Prototype_GameObject_SM_HM_DB_GR_ext_Glass_B_Lod1
+ Prototype_GameObject_SM_HM_DB_GR_ext_Glass_B_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_roof_Trim
+ Prototype_GameObject_SM_HM_DB_GR_ext_roof_Trim_Lod1
+ Prototype_GameObject_SM_HM_DB_GR_ext_roof_Trim_Lod2
+ Prototype_GameObject_SM_HM_DB_GR_ext_roof_Trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_trim
+ Prototype_GameObject_SM_HM_DB_GR_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_DB_GR_ext_trim_Lod2
+ Prototype_GameObject_SM_HM_DB_GR_ext_trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_trim_B
+ Prototype_GameObject_SM_HM_DB_GR_ext_trim_B_Lod1
+ Prototype_GameObject_SM_HM_DB_GR_ext_trim_B_Lod2
+ Prototype_GameObject_SM_HM_DB_GR_ext_trim_B_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_Upper_Level_Arches
+ Prototype_GameObject_SM_HM_DB_GR_ext_Upper_Level_Arches_Lod1
+ Prototype_GameObject_SM_HM_DB_GR_ext_Upper_Level_Arches_Lod2
+ Prototype_GameObject_SM_HM_DB_GR_ext_Upper_Level_Arches_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_walls
+ Prototype_GameObject_SM_HM_DB_GR_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_DB_GR_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_walls_B
+ Prototype_GameObject_SM_HM_DB_GR_ext_walls_B_Lod1
+ Prototype_GameObject_SM_HM_DB_GR_ext_walls_B_Lod2
+ Prototype_GameObject_SM_HM_DB_GR_ext_walls_B_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_windows
+ Prototype_GameObject_SM_HM_DB_GR_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_DB_GR_ext_windows_Lod2
+ Prototype_GameObject_SM_HM_DB_GR_ext_windows_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_Decals
+ Prototype_GameObject_SM_HM_DB_GR_ext_Decals_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_MERGED_WoodTrim_Caps
+ Prototype_GameObject_SM_HM_DB_GR_MERGED_WoodTrim_Caps_Lod1
+ Prototype_GameObject_SM_HM_DB_GR_MERGED_WoodTrim_Caps_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_Lower_A_COL
+ Prototype_GameObject_SM_HM_DB_GR_ext_Lower_A_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_Lower_B_COL
+ Prototype_GameObject_SM_HM_DB_GR_ext_Lower_B_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_Upper_A_COL
+ Prototype_GameObject_SM_HM_DB_GR_ext_Upper_A_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_DB_GR_ext_Upper_B_COL
+ Prototype_GameObject_SM_HM_DB_GR_ext_Upper_B_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_ext_chimney_base
+ Prototype_GameObject_SM_HM_Potions_ext_chimney_base_Lod1
+ Prototype_GameObject_SM_HM_Potions_ext_chimney_base_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_ext_construction
+ Prototype_GameObject_SM_HM_Potions_ext_construction_Lod1
+ Prototype_GameObject_SM_HM_Potions_ext_construction_Lod2
+ Prototype_GameObject_SM_HM_Potions_ext_construction_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_EXT_Glass_A
+ Prototype_GameObject_SM_HM_Potions_EXT_Glass_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_EXT_Glass_B
+ Prototype_GameObject_SM_HM_Potions_EXT_Glass_B_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_ext_walls
+ Prototype_GameObject_SM_HM_Potions_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_Potions_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_ext_roof
+ Prototype_GameObject_SM_HM_Potions_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_Potions_ext_roof_Lod2
+ Prototype_GameObject_SM_HM_Potions_ext_roof_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_ext_stairs
+ Prototype_GameObject_SM_HM_Potions_ext_stairs_Lod1
+ Prototype_GameObject_SM_HM_Potions_ext_stairs_Lod2
+ Prototype_GameObject_SM_HM_Potions_ext_stairs_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_ext_trim
+ Prototype_GameObject_SM_HM_Potions_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_Potions_ext_trim_Lod2
+ Prototype_GameObject_SM_HM_Potions_ext_trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_ext_windows
+ Prototype_GameObject_SM_HM_Potions_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_Potions_ext_windows_Lod2
+ Prototype_GameObject_SM_HM_Potions_ext_windows_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_ext_window_02
+ Prototype_GameObject_SM_HM_Potions_ext_window_02_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_ext_window_01
+ Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod1
+ Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_ext_window_01
+ Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod1
+ Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_Store_Sign
+ Prototype_GameObject_SM_HM_Potions_Store_Sign_Lod1
+ Prototype_GameObject_SM_HM_Potions_Store_Sign_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_Store_Sign_Base
+ Prototype_GameObject_SM_HM_Potions_Store_Sign_Base_Lod1
+ Prototype_GameObject_SM_HM_Potions_Store_Sign_Base_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_ext_window_01
+ Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod1
+ Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_ext_apl_COL
+ Prototype_GameObject_SM_HM_Potions_ext_apl_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Potions_ext_pl_COL
+ Prototype_GameObject_SM_HM_Potions_ext_pl_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Hengist_Tree_Trunk
+ Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod1
+ Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod2
+ Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Hengist_Tree_Branches
+ Prototype_GameObject_SM_HM_Hengist_Tree_Branches_Lod1
+ Prototype_GameObject_SM_HM_Hengist_Tree_Branches_Lod2
+ Prototype_GameObject_SM_HM_Hengist_Tree_Branches_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Hengist_Tree_Fountain
+ Prototype_GameObject_SM_HM_Hengist_Tree_Fountain_Lod1
+ Prototype_GameObject_SM_HM_Hengist_Tree_Fountain_Lod2
+ Prototype_GameObject_SM_HM_Hengist_Tree_Fountain_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Hengist_Tree_Statue
+ Prototype_GameObject_SM_HM_Hengist_Tree_Statue_Lod1
+ Prototype_GameObject_SM_HM_Hengist_Tree_Statue_Lod2
+ Prototype_GameObject_SM_HM_Hengist_Tree_Statue_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Hengist_Branch_Loose_A
+ Prototype_GameObject_SM_HM_Hengist_Branch_Loose_A_Lod1
+ Prototype_GameObject_SM_HM_Hengist_Branch_Loose_A_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Hengist_Branch_Loose_B
+ Prototype_GameObject_SM_HM_Hengist_Branch_Loose_B_Lod1
+ Prototype_GameObject_SM_HM_Hengist_Branch_Loose_B_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Hengist_Tree_Trunk
+ Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod1
+ Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod2
+ Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Hengist_Tree_Roots_COL
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Hengist_Tree_PL_A_COL
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Ext_Chimney
+ Prototype_GameObject_SM_HM_Salon_Ext_Chimney_Lod1
+ Prototype_GameObject_SM_HM_Salon_Ext_Chimney_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Ext_Front
+ Prototype_GameObject_SM_HM_Salon_Ext_Front_Lod1
+ Prototype_GameObject_SM_HM_Salon_Ext_Front_Lod2
+ Prototype_GameObject_SM_HM_Salon_Ext_Front_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Ext_Glass_A
+ Prototype_GameObject_SM_HM_Salon_Ext_Glass_A_Lod1
+ Prototype_GameObject_SM_HM_Salon_Ext_Glass_A_Lod2
+ Prototype_GameObject_SM_HM_Salon_Ext_Glass_A_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_ext_Roof
+ Prototype_GameObject_SM_HM_Salon_ext_Roof_Lod1
+ Prototype_GameObject_SM_HM_Salon_ext_Roof_Lod2
+ Prototype_GameObject_SM_HM_Salon_ext_Roof_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Ext_Glass_B
+ Prototype_GameObject_SM_HM_Salon_Ext_Glass_B_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_ext_Walls
+ Prototype_GameObject_SM_HM_Salon_ext_Walls_Lod1
+ Prototype_GameObject_SM_HM_Salon_ext_Walls_Lod2
+ Prototype_GameObject_SM_HM_Salon_ext_Walls_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_ext_Trim
+ Prototype_GameObject_SM_HM_Salon_ext_Trim_Lod1
+ Prototype_GameObject_SM_HM_Salon_ext_Trim_Lod2
+ Prototype_GameObject_SM_HM_Salon_ext_Trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Ext_Trim_C
+ Prototype_GameObject_SM_HM_Salon_Ext_Trim_C_Lod1
+ Prototype_GameObject_SM_HM_Salon_Ext_Trim_C_Lod2
+ Prototype_GameObject_SM_HM_Salon_Ext_Trim_C_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper
+ Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod1
+ Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Ext_Window
+ Prototype_GameObject_SM_HM_Salon_Ext_Window_Lod1
+ Prototype_GameObject_SM_HM_Salon_Ext_Window_Lod2
+ Prototype_GameObject_SM_HM_Salon_Ext_Window_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_HangingSign
+ Prototype_GameObject_SM_HM_Salon_HangingSign_Lod1
+ Prototype_GameObject_SM_HM_Salon_HangingSign_Lod2
+ Prototype_GameObject_SM_HM_Salon_HangingSign_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper
+ Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod1
+ Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper
+ Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod1
+ Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper
+ Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod1
+ Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Window_Large
+ Prototype_GameObject_SM_HM_Salon_Window_Large_Lod1
+ Prototype_GameObject_SM_HM_Salon_Window_Large_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Ext_Trim_B
+ Prototype_GameObject_SM_HM_Salon_Ext_Trim_B_Lod1
+ Prototype_GameObject_SM_HM_Salon_Ext_Trim_B_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Window_Small
+ Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1
+ Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Ivy
+ Prototype_GameObject_SM_HM_Salon_Ivy_Lod1
+ Prototype_GameObject_SM_HM_Salon_Ivy_Lod2
+ Prototype_GameObject_SM_HM_Salon_Ivy_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Window_Large
+ Prototype_GameObject_SM_HM_Salon_Window_Large_Lod1
+ Prototype_GameObject_SM_HM_Salon_Window_Large_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Window_Small
+ Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1
+ Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Window_Small
+ Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1
+ Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Window_Small
+ Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1
+ Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Window_Small
+ Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1
+ Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Window_Small
+ Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1
+ Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Ext_APL_COL
+ Prototype_GameObject_SM_HM_Salon_Ext_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Salon_Ext_PL_COL
+ Prototype_GameObject_SM_HM_Salon_Ext_PL_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_trim
+ Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_Door_Gap_Filler
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_walls
+ Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod2
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles
+ Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL
+ Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL
+ Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_trim
+ Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_Door_Gap_Filler
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_walls
+ Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod2
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles
+ Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL
+ Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL
+ Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps
+ Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps_Lod1
+ Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim
+ Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod2
+ Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_roof
+ Prototype_GameObject_SM_HM_GEN_C_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_C_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_Stairs
+ Prototype_GameObject_SM_HM_GEN_C_ext_Stairs_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_trim
+ Prototype_GameObject_SM_HM_GEN_C_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_C_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_walls
+ Prototype_GameObject_SM_HM_GEN_C_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_C_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_windows
+ Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod2
+ Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_ext_windows_glass_a
+ Prototype_GameObject_SM_HM_GEN_C_ext_windows_glass_a_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler
+ Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler
+ Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_EXT_APL_COL
+ Prototype_GameObject_SM_HM_GEN_C_EXT_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_EXT_PL2_COL
+ Prototype_GameObject_SM_HM_GEN_C_EXT_PL2_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_EXT_PL_COL
+ Prototype_GameObject_SM_HM_GEN_C_EXT_PL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_C_EXT_PL_Steps_COL
+ Prototype_GameObject_SM_HM_GEN_C_EXT_PL_Steps_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A
+ Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation
+ Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod2
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_trim
+ Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_walls
+ Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL
+ Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL
+ Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A
+ Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation
+ Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod2
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_trim
+ Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_walls
+ Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL
+ Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL
+ Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A
+ Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation
+ Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod2
+ Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_trim
+ Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_walls
+ Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL
+ Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL
+ Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_side_wall
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a
+ Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation
+ Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL
+ Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL
+ Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_side_wall
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a
+ Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation
+ Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL
+ Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL
+ Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_side_wall
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a
+ Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation
+ Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL
+ Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL
+ Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_side_wall
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a
+ Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation
+ Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL
+ Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL
+ Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_window_glass_A
+ Prototype_GameObject_SM_HM_GEN_G_ext_window_glass_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_walls
+ Prototype_GameObject_SM_HM_GEN_G_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_windows
+ Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod2
+ Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_apl_COL
+ Prototype_GameObject_SM_HM_GEN_G_ext_apl_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_pl_COL
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_window_glass_A
+ Prototype_GameObject_SM_HM_GEN_G_ext_window_glass_A_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_walls
+ Prototype_GameObject_SM_HM_GEN_G_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_windows
+ Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod2
+ Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_apl_COL
+ Prototype_GameObject_SM_HM_GEN_G_ext_apl_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_G_ext_pl_COL
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_Chimney
+ Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod2
+ Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim
+ Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_Ivy
+ Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod1
+ Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod2
+ Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_decals
+ Prototype_GameObject_SM_HM_GEN_H_ext_decals_Lod1
+ Prototype_GameObject_SM_HM_GEN_H_ext_decals_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_Gen_H_window_glass_a
+ Prototype_GameObject_SM_HM_Gen_H_window_glass_a_Lod1
+ Prototype_GameObject_SM_HM_Gen_H_window_glass_a_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_Roof
+ Prototype_GameObject_SM_HM_GEN_H_ext_Roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_H_ext_Roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_Trim
+ Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod2
+ Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_Walls
+ Prototype_GameObject_SM_HM_GEN_H_ext_Walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_H_ext_Walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_apl_COL
+ Prototype_GameObject_SM_HM_GEN_H_ext_apl_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_H_ext_pl_COL
+ Prototype_GameObject_SM_HM_GEN_H_ext_pl_COL_Lod1
+
+
+
+
+
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_trim
+ Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_Door_Gap_Filler
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_walls
+ Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod2
+ Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod3
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod1
+ Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod2
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles
+ Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL
+ Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL_Lod1
+
+
+
+
+
+ Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL
+ Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL_Lod1
+
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
index fd32c126f..a7503bee5 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
@@ -525,7 +525,6 @@ PS_OUT PS_HpBar(PS_IN In)
float4 tex1 = g_Texture.Sample(ClampSampler, Finaluv);
Color = tex1;
-
float2 reversuv = In.vTexcoord;
reversuv.x = 1.0f - Finaluv;
@@ -537,7 +536,9 @@ PS_OUT PS_HpBar(PS_IN In)
tex2.rgb = float3(0.f, 0.f, 0.f);
}
- tex2.rgb *= float3(112.f, 241.f, 31.f) / 255.f;
+ float3 Green = float3(112.f, 241.f, 31.f) / 255.f;
+ Green *= 1.2f;
+ tex2.rgb *= Green;
if (all(Color.rgb >= float3(70.f / 255.f, 70.f / 255.f, 70.f / 255.f)))
Color = tex2;
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl
index d6eae9ff4..d6b238656 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl
@@ -3,6 +3,7 @@
matrix g_WorldMatrix, g_ViewMatrix, g_ProjMatrix;
Texture2D g_Texture;
+Texture2D g_Texture1;
float g_fAlpha;
float g_fOwnerAlpha;
@@ -97,6 +98,32 @@ PS_OUT PS_Alpha_Blend(PS_IN In)
return Out;
}
+PS_OUT PS_Megic_Meter(PS_IN In)
+{
+ PS_OUT Out;
+ float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha;
+ float3 Blue = float3(41.f, 165.f, 255.f) / 255.f;
+
+ float4 color = float4(1.f, 1.f, 1.f, 1.f);
+ float4 tex1 = g_Texture.Sample(ClampSampler, In.vTexcoord);
+ float4 tex2 = g_Texture1.Sample(ClampSampler, In.vTexcoord);
+
+ color = tex1;
+ tex2.rgb *= Blue * 1.5f;
+
+ if (all(color.rgb >= float3(65.f / 255.f, 65.f / 255.f, 65.f / 255.f)))
+ color = tex2;
+
+ //if(color.a <= 0.4f)
+ // discard;
+
+ color.a *= Alpha;
+
+ Out.vColor = color;
+
+ return Out;
+}
+
technique11 PosTexTechnique11
{
pass Default
@@ -120,4 +147,15 @@ technique11 PosTexTechnique11
GeometryShader = NULL;
PixelShader = compile ps_5_0 PS_Alpha_Blend();
}
+
+ pass Megic_Meter
+ {
+ SetRasterizerState(RS_Default);
+ SetDepthStencilState(DSS_Default, 0);
+ SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
+
+ VertexShader = compile vs_5_0 VS_MAIN();
+ GeometryShader = NULL;
+ PixelShader = compile ps_5_0 PS_Megic_Meter();
+ }
}
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/FinisherMeterOutline.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/FinisherMeterOutline.png
new file mode 100644
index 000000000..2e6e2a594
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/FinisherMeterOutline.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/HpBarBG1.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/HpBarBG1.png
deleted file mode 100644
index 0275521be..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/HpBarBG1.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_AncientMagicFinisher.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_AncientMagicFinisher.png
new file mode 100644
index 000000000..99e1c8e34
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_AncientMagicFinisher.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HUD_HealthMeterFill.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HUD_HealthMeterFill.png
index 574a9cb5e..b63ee71ec 100644
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HUD_HealthMeterFill.png and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HUD_HealthMeterFill.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HealthMeter_LeftEnd_4K.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HealthMeter_LeftEnd_4K.png
deleted file mode 100644
index 600b313df..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HealthMeter_LeftEnd_4K.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HealthMeter_Middle_4K.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HealthMeter_Middle_4K.png
deleted file mode 100644
index e6c2ab4f6..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HealthMeter_Middle_4K.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HealthMeter_RightEnd_4K.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HealthMeter_RightEnd_4K.png
deleted file mode 100644
index f9ac9de3c..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HealthMeter_RightEnd_4K.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_SpellDiamond_Red.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_SpellDiamond_Red.png
deleted file mode 100644
index 4f7dffb00..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_SpellDiamond_Red.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_SpellTypeBack_Yellow.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_SpellTypeBack_Yellow.png
deleted file mode 100644
index 9518d2203..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_SpellTypeBack_Yellow.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_SpellTypeDiamond_Forceful.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_SpellTypeDiamond_Forceful.png
deleted file mode 100644
index 0a10588a0..000000000
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_SpellTypeDiamond_Forceful.png and /dev/null differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_AMFillPotion.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_AMFillPotion.png
new file mode 100644
index 000000000..835903409
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_AMFillPotion.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_BeastBliss.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_BeastBliss.png
new file mode 100644
index 000000000..28b07a644
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_BeastBliss.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_Edurus.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_Edurus.png
new file mode 100644
index 000000000..a66c8633e
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_Edurus.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_EssenceOfDittany.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_EssenceOfDittany.png
new file mode 100644
index 000000000..90347927c
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_EssenceOfDittany.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_FelixFelicis.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_FelixFelicis.png
new file mode 100644
index 000000000..15a3e3857
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_FelixFelicis.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_Girding.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_Girding.png
new file mode 100644
index 000000000..946c872f1
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_Girding.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_HorklumpJuice.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_HorklumpJuice.png
new file mode 100644
index 000000000..1486cf649
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_HorklumpJuice.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_InvisibilityPotion.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_InvisibilityPotion.png
new file mode 100644
index 000000000..6a0dc9b84
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_InvisibilityPotion.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_Maxima.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_Maxima.png
new file mode 100644
index 000000000..647db47b6
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_Maxima.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_Sun_Syrup.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_Sun_Syrup.png
new file mode 100644
index 000000000..c8368887b
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_Sun_Syrup.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_WoundCleaning.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_WoundCleaning.png
new file mode 100644
index 000000000..c971988e3
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Potions/UI_T_WoundCleaning.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_D_2.dds b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_D_2.dds
index 2d3f6442e..643bbff77 100644
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_D_2.dds and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_D_2.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_MRO_2.dds b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_MRO_2.dds
index 7eff9329b..125314b46 100644
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_MRO_2.dds and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_MRO_2.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_N_2.dds b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_N_2.dds
index 6165e524d..91751a6cf 100644
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_N_2.dds and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_N_2.dds differ
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
index e07171a3f..54a8861cd 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
@@ -178,7 +178,9 @@
-
+
+
+
@@ -208,11 +210,12 @@
+
-
+
false
@@ -239,7 +242,9 @@
false
+
+
@@ -306,7 +311,9 @@
-
+
+
+
@@ -336,11 +343,12 @@
+
-
+
false
@@ -367,7 +375,10 @@
false
+
+
+
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
index e1e0021cd..4a10450e2 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
@@ -40,9 +40,6 @@
{fb090860-8f24-4f71-9daf-7fd971a8f5c2}
-
- {0eeb6d5c-db23-4147-b981-8346c879a1eb}
-
{085e6bcb-1fe4-4857-bfc6-ed6fc0218358}
@@ -310,9 +307,6 @@
{1c11a2a1-ad0a-4f0b-8a86-5ab9fc68a69f}
-
- {b899b53a-c8cf-451a-ab5d-6945cac88276}
-
{92110a48-81d0-4e98-be06-05dd078d0488}
@@ -351,6 +345,33 @@
{a94e6a94-cc46-4c16-8518-5032bfdbd235}
+
+
+ {b4e1da25-c952-4ff4-92fd-7f1501d8c005}
+
+
+ {7683f642-58f7-4a79-a78c-b29540bdab10}
+
+
+ {b6ec3441-6b18-45d1-80ba-03aa6df7f9e2}
+
+
+ {ee7ebf3c-8798-41cb-a261-31ca5041909c}
+
+
+ {94ad00fa-52a1-4d53-b44e-5bb849a25201}
+
+
+ {0d5c1798-4922-498e-afed-d1778c8e77b9}
+
+
+ {b899b53a-c8cf-451a-ab5d-6945cac88276}
+
+
+ {1962eafc-d147-494f-8d09-d96b78014958}
+
+
+ {1c4860c7-bc8a-4bed-b545-ed3ef0b02748}
@@ -387,9 +408,6 @@
01.Level\01.Logo
-
- 02.GameObjects\Dummys\DebugCamera
-
02.GameObjects\Dummys\DummyRect
@@ -666,12 +684,6 @@
02.GameObjects\Camera\CameraPosition
-
- 02.GameObjects\Camera\CameraPosition\Player
-
-
- 02.GameObjects\Camera
-
02.GameObjects\Wand
@@ -684,11 +696,35 @@
02.GameObjects\Wand
-
- 02.GameObjects\Env\05.AlphaMap
-
+
+ 02.GameObjects\Env\05.AlphaMap
+
02.GameObjects\Layer_Effect\Effect\07.Decendo
+
+
+ 02.GameObjects\Camera\Debug
+
+
+ 02.GameObjects\Camera\CameraPosition\Arm
+
+
+ 02.GameObjects\Camera\CameraPosition\Socket
+
+
+ 02.GameObjects\Camera\CameraPosition\Player\Shoulder
+
+
+ 02.GameObjects\Camera\CameraPosition\Player\Target
+
+
+ 50.UI\GamePlay_Canvas\Action_Panel\Spell_Slot_Preview
+
+
+ 50.UI\GamePlay_Canvas\Action_Panel\Potion
+
+
+ 50.UI\GamePlay_Canvas\Action_Panel\Magic_Meter
@@ -712,9 +748,6 @@
01.Level\01.Logo
-
- 02.GameObjects\Dummys\DebugCamera
-
99.Define\DEFAULT
@@ -997,12 +1030,6 @@
02.GameObjects\Camera\CameraPosition
-
- 02.GameObjects\Camera\CameraPosition\Player
-
-
- 02.GameObjects\Camera
-
02.GameObjects\Wand
@@ -1020,6 +1047,33 @@
02.GameObjects\Layer_Effect\Effect\07.Decendo
+
+
+ 50.UI\GamePlay_Canvas\Action_Panel\Spell_Slot_Preview
+
+
+ 50.UI\GamePlay_Canvas\Action_Panel\Potion
+
+
+ 50.UI\GamePlay_Canvas\Action_Panel\Magic_Meter
+
+
+ 02.GameObjects\Camera\Debug
+
+
+ 02.GameObjects\Camera\CameraPosition\Arm
+
+
+ 02.GameObjects\Camera\CameraPosition\Socket
+
+
+ 02.GameObjects\Camera\CameraPosition\Player\Shoulder
+
+
+ 02.GameObjects\Camera\CameraPosition\Player\Target
+
+
+ 02.GameObjects\Player
diff --git a/Jusin154_Team3D/Editor/Private/Action_Panel.cpp b/Jusin154_Team3D/Editor/Private/Action_Panel.cpp
index 6d43368e2..3cc914936 100644
--- a/Jusin154_Team3D/Editor/Private/Action_Panel.cpp
+++ b/Jusin154_Team3D/Editor/Private/Action_Panel.cpp
@@ -6,6 +6,7 @@
#include "Spell_Overlay.h"
#include "Slot_Number.h"
#include "HpBarBG.h"
+#include "Magic_Meter.h"
CAction_Panel::CAction_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
:CPanelObject(pDevice, pContext)
@@ -144,13 +145,18 @@ HRESULT CAction_Panel::Ready_Element(void* pArg)
return E_FAIL;
}
Add_Element(TEXT("HpBarBG"), m_pHpBarBG);
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pMagic_Meter))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Magic_Meter"), m_pMagic_Meter);
return S_OK;
}
CAction_Panel* CAction_Panel::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
{
CAction_Panel* pInstance = new CAction_Panel(pDevice, pContext);
-
+
if (FAILED(pInstance->Initialize_Prototype()))
{
MSG_BOX("Failed to Created : CAction_Panel");
diff --git a/Jusin154_Team3D/Editor/Private/Action_Panel.cpp.bak b/Jusin154_Team3D/Editor/Private/Action_Panel.cpp.bak
new file mode 100644
index 000000000..c91f89041
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Action_Panel.cpp.bak
@@ -0,0 +1,193 @@
+#include "pch.h"
+#include "Action_Panel.h"
+#include "GameInstance.h"
+#include "Spell_Slot.h"
+#include "Spell_Image.h"
+#include "Spell_Overlay.h"
+#include "Slot_Number.h"
+#include "HpBarBG.h"
+#include "Magic_Meter.h
+
+CAction_Panel::CAction_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CPanelObject(pDevice, pContext)
+{
+}
+
+CAction_Panel::CAction_Panel(const CAction_Panel& rhs)
+ :CPanelObject(rhs)
+{
+}
+
+HRESULT CAction_Panel::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CAction_Panel::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = 1515.f;
+ Desc.fY = 850.f;
+ Desc.fSizeX = 700.f;
+ Desc.fSizeY = 400.f;
+
+
+ if (FAILED(__super::Initialize(&Desc)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Components(pArg)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Element(pArg)))
+ {
+ return E_FAIL;
+ }
+
+ m_bVisible = true;
+ return S_OK;
+}
+
+void CAction_Panel::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CAction_Panel::Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+
+ __super::Update(fTimeDelta);
+}
+
+void CAction_Panel::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+
+ if (m_bVisible) {
+
+ }
+ __super::Late_Update(fTimeDelta);
+
+}
+
+HRESULT CAction_Panel::Render()
+{
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::DEFAULT)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render())) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+_vector CAction_Panel::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CAction_Panel::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+HRESULT CAction_Panel::Ready_Components(void* pArg)
+{
+ return S_OK;
+}
+
+HRESULT CAction_Panel::Ready_Element(void* pArg)
+{
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast (&m_pSpell_Slot))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Spell_Slot"), m_pSpell_Slot);
+
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pSpell_Image))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Spell_Image"), m_pSpell_Image);
+
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pSpell_Overlay))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Spell_Overlay"), m_pSpell_Overlay);
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pSlot_Number))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Slot_Number"), m_pSlot_Number);
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pHpBarBG))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("HpBarBG"), m_pHpBarBG);
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pMagic_Meter))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Magic_Meter"), m_pMagic_Meter);
+ return S_OK;
+}
+
+CAction_Panel* CAction_Panel::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CAction_Panel* pInstance = new CAction_Panel(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CAction_Panel");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CAction_Panel::Clone(void* pArg, CGameObject* pOwner)
+{
+ CAction_Panel* pInstance = new CAction_Panel(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CAction_Panel");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CAction_Panel::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CAction_Panel::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/AlphaMap.cpp b/Jusin154_Team3D/Editor/Private/AlphaMap.cpp
index 4f0c92ed5..1d339b681 100644
--- a/Jusin154_Team3D/Editor/Private/AlphaMap.cpp
+++ b/Jusin154_Team3D/Editor/Private/AlphaMap.cpp
@@ -112,7 +112,7 @@ void CAlphaMap::Load_ToFile(const _char* pFilePath)
if (FAILED(m_pContext->Map(m_pTexture2D, 0, D3D11_MAP_WRITE_DISCARD, 0, &SubResource)))
return;
- MSG_BOX("Success to Load Binanry File");
+ //MSG_BOX("Success to Load Binanry File");
memcpy(SubResource.pData, m_pPixels, sizeof(_float4) * m_iNumPixels);
diff --git a/Jusin154_Team3D/Editor/Private/BuildingContainer.cpp b/Jusin154_Team3D/Editor/Private/BuildingContainer.cpp
index 093b4f359..a42d36a04 100644
--- a/Jusin154_Team3D/Editor/Private/BuildingContainer.cpp
+++ b/Jusin154_Team3D/Editor/Private/BuildingContainer.cpp
@@ -36,12 +36,15 @@ void CBuildingContainer::Update(_float fTimeDelta)
void CBuildingContainer::Late_Update(_float fTimeDelta)
{
+
+#ifdef _DEBUG
if (m_bSelected)
{
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&m_vPosition), 1.f));
m_pTransformCom->Set_Scale(m_vScale);
m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z));
}
+#endif // _DEBUG
__super::Late_Update(fTimeDelta);
@@ -147,10 +150,8 @@ void CBuildingContainer::Describe_Entity()
if (m_pGameInstance->Mouse_Down(DIM_LBUTTON) && m_pGameInstance->Key_Pressing(DIK_LSHIFT))
{
- CTerrain* pTerrain = m_pGameInstance->Get_Layer(ENUM_CLASS(LEVEL::MAP), TEXT("Layer_Terrain"))->Get_Object();
- if (nullptr != pTerrain)
+ if (m_pGameInstance->isPicking(&m_vPosition))
{
- pTerrain->Get_Component()->Picking(pTerrain->Get_Component()->Get_XMWorldMatrix(), &m_vPosition);
}
}
diff --git a/Jusin154_Team3D/Editor/Private/CamPosition_Arm.cpp b/Jusin154_Team3D/Editor/Private/CamPosition_Arm.cpp
index 14c06801f..2f00ec9dc 100644
--- a/Jusin154_Team3D/Editor/Private/CamPosition_Arm.cpp
+++ b/Jusin154_Team3D/Editor/Private/CamPosition_Arm.cpp
@@ -6,12 +6,10 @@ CCamPosition_Arm::CCamPosition_Arm(ID3D11Device* pDevice, ID3D11DeviceContext* p
: CCamPosition(pDevice, pContext)
{
}
-
CCamPosition_Arm::CCamPosition_Arm(const CCamPosition_Arm& rhs)
: CCamPosition(rhs)
{
}
-
HRESULT CCamPosition_Arm::Initialize_Prototype()
{
return S_OK;
@@ -44,6 +42,7 @@ void CCamPosition_Arm::Priority_Update(_float fTimeDelta)
void CCamPosition_Arm::Update(_float fTimeDelta)
{
+
}
void CCamPosition_Arm::Late_Update(_float fTimeDelta)
@@ -96,12 +95,10 @@ CCamPosition_Arm* CCamPosition_Arm::Clone(void* pArg, class CGameObject* pOWner)
return pInstance;
}
-
void CCamPosition_Arm::Free()
{
__super::Free();
}
-
void CCamPosition_Arm::Describe_Entity()
{
}
diff --git a/Jusin154_Team3D/Editor/Private/CamPosition_Shoulder.cpp b/Jusin154_Team3D/Editor/Private/CamPosition_Shoulder.cpp
new file mode 100644
index 000000000..839277a46
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/CamPosition_Shoulder.cpp
@@ -0,0 +1,225 @@
+#include "pch.h"
+#include "CamPosition_Shoulder.h"
+#include "CamPosition_Target.h"
+#include "GameInstance.h"
+#include "Camera_Gaze.h"
+
+CCamPosition_Shoulder::CCamPosition_Shoulder(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CCamPosition(pDevice, pContext)
+{
+}
+CCamPosition_Shoulder::CCamPosition_Shoulder(const CCamPosition_Shoulder& rhs)
+ : CCamPosition(rhs)
+{
+}
+HRESULT CCamPosition_Shoulder::Initialize_Prototype()
+{
+ return S_OK;
+}
+HRESULT CCamPosition_Shoulder::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg))) {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_SubParts())) {
+ return E_FAIL;
+ }
+
+ CAMERA_SHOULDER_DESC* pDesc = static_cast(pArg);
+ {
+ m_fMouseSensor = pDesc->fMouseSensor;
+ m_vShoulderPosRatio = pDesc->vInitialLook;
+ m_fShoulderDistance = pDesc->fShoulderDistance;
+ m_vAccDegreeXY = { 0.f, 0.f };
+ m_fCameraFocalLength = pDesc->fCameraFocalLength;
+ m_fBackFrontRatio = pDesc->fBackFrontRatio;
+
+ m_vShoulderOtherRatio = m_vShoulderPosRatio = m_vShoulderStartRatio = pDesc->vInitialLook;
+ m_vShoulderStartRatio.x *= -1.f;
+ m_pTransformCom->Set_State(STATE::POSITION,
+ m_pParentTransformCom->Get_State(STATE::POSITION)
+ + XMVector3Normalize(XMLoadFloat3(&m_vShoulderPosRatio)) * m_fShoulderDistance);
+
+ _vector vShoulderPos = Get_WorldPostion();
+ _vector vCameraLook = XMVectorSet(0.f, 0.f, 1.f, 0.f);
+ _vector vRotCameraq = XMQuaternionRotationRollPitchYaw(XMConvertToRadians(m_vAccDegreeXY.x), XMConvertToRadians(m_vAccDegreeXY.y), 0.f);
+ vCameraLook = XMVector3Normalize(XMVector3Rotate(vCameraLook, vRotCameraq));
+
+ CTransform* pLookTransform = m_pTarget_LookPart->Get_Component();
+ CTransform* pFollowTransform = m_pTarget_FollowPart->Get_Component();
+
+ pLookTransform->Set_State(STATE::POSITION, vShoulderPos + vCameraLook * (m_fCameraFocalLength * m_fBackFrontRatio));
+ pFollowTransform->Set_State(STATE::POSITION, vShoulderPos - vCameraLook * (m_fCameraFocalLength * (1 - m_fBackFrontRatio)));
+ }
+
+ return S_OK;
+}
+
+void CCamPosition_Shoulder::Priority_Update(_float fTimeDelta)
+{
+ if (FAILED(m_pGameInstance->IsBinded_Camera(CAMERA_SHOULDER))) {
+ return;
+ }
+ if (true == m_bMovable) {
+ m_vAccDegreeXY.y += m_pGameInstance->Get_MouseMove().x * m_fMouseSensor;
+ m_vAccDegreeXY.x += m_pGameInstance->Get_MouseMove().y * m_fMouseSensor;
+ }
+
+ _vector vLook = XMVector3Normalize(XMLoadFloat3(&m_vShoulderPosRatio));
+ _vector vRotq = XMQuaternionRotationRollPitchYaw(0.f, XMConvertToRadians(m_vAccDegreeXY.y), 0.f);
+ vLook = XMVector3Normalize(XMVector3Rotate(vLook, vRotq));
+
+ m_pTransformCom->Set_State(STATE::POSITION, m_pParentTransformCom->Get_State(STATE::POSITION) + XMVector3Normalize(vLook) * m_fShoulderDistance);
+ _vector vShoulderPos = Get_WorldPostion();
+ _vector vCameraLook = XMVectorSet(0.f, 0.f, 1.f, 0.f);
+ _vector vRotCameraq = XMQuaternionRotationRollPitchYaw(XMConvertToRadians(m_vAccDegreeXY.x), XMConvertToRadians(m_vAccDegreeXY.y), 0.f);
+ vCameraLook = XMVector3Normalize(XMVector3Rotate(vCameraLook, vRotCameraq));
+
+ CTransform* pLookTransform = m_pTarget_LookPart->Get_Component();
+ CTransform* pFollowTransform = m_pTarget_FollowPart->Get_Component();
+
+ pLookTransform->Set_State(STATE::POSITION, vShoulderPos + vCameraLook * (m_fCameraFocalLength * m_fBackFrontRatio));
+ pFollowTransform->Set_State(STATE::POSITION, vShoulderPos - vCameraLook * (m_fCameraFocalLength * (1 - m_fBackFrontRatio)));
+}
+
+void CCamPosition_Shoulder::Update(_float fTimeDelta)
+{
+ if (m_pGameInstance->Key_Up(DIK_O)) {
+ m_pBinded_Camera->Toggle_Priority();
+ }
+ if (FAILED(m_pGameInstance->IsBinded_Camera(CAMERA_SHOULDER))) {
+ return;
+ }
+ Describe_Entity();
+ if (m_pGameInstance->Key_Up(DIK_GRAVE)) {
+ m_bMovable = !m_bMovable;
+ }
+ if (m_pGameInstance->Mouse_Down(DIM_RBUTTON)) {
+ m_pGameInstance->Toggle_MouseCenter();
+ }
+ if (m_pGameInstance->Key_Up(DIK_P)) {
+ m_vShoulderOtherRatio = m_vShoulderPosRatio = m_vShoulderStartRatio;
+ m_vShoulderStartRatio.x *= -1.f;
+ m_bLerp = true;
+ m_vLerpTimer.x = 0.f;
+ }
+}
+
+void CCamPosition_Shoulder::Late_Update(_float fTimeDelta)
+{
+ if (FAILED(m_pGameInstance->IsBinded_Camera(CAMERA_SHOULDER))) {
+ return;
+ }
+ if (true == m_bLerp) {
+ m_vLerpTimer.x += fTimeDelta;
+ XMStoreFloat3(&m_vShoulderPosRatio, XMVectorLerp(XMLoadFloat3(&m_vShoulderStartRatio), XMLoadFloat3(&m_vShoulderOtherRatio), m_vLerpTimer.x / m_vLerpTimer.y));
+ if (m_vLerpTimer.x > m_vLerpTimer.y) {
+ m_bLerp = false;
+ m_vLerpTimer.x = 0.f;
+
+ m_vShoulderPosRatio = m_vShoulderOtherRatio;
+ }
+ }
+}
+
+HRESULT CCamPosition_Shoulder::Render()
+{
+ return S_OK;
+}
+
+_vector CCamPosition_Shoulder::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CCamPosition_Shoulder::Ready_Components(void* pArg)
+{
+ CTransform::TRANSFORM_DESC DescTransfrom = {};
+ DescTransfrom.fRadius = 30.f;
+ DescTransfrom.fRotationPerSec = 0.f;
+ DescTransfrom.fSpeedPerSec = 0.f;
+ if (FAILED(__super::Ready_Components(&DescTransfrom))) {
+ return E_FAIL;
+ }
+ return S_OK;
+}
+HRESULT CCamPosition_Shoulder::Ready_SubParts()
+{
+ {
+ CCamPosition_Target::CAMERAPOSITION_TARGET_DESC Desc{};
+ Desc.pParentTransform = m_pTransformCom;
+ m_pTarget_LookPart = m_pGameInstance->Clone_Prototype< CCamPosition_Target>(g_iStaticLevel, &Desc);
+ m_pTarget_FollowPart = m_pGameInstance->Clone_Prototype< CCamPosition_Target>(g_iStaticLevel, &Desc);
+ }
+
+ CCamera_Gaze::CAMERA_GAZE_DESC CameraDesc{};
+ CameraDesc.fFovy = XMConvertToRadians(60.0f);
+ CameraDesc.fNear = 0.1f;
+ CameraDesc.fFar = 300.f;
+ CameraDesc.fSpeedPerSec = 5.f;
+ CameraDesc.fRotationPerSec = XMConvertToRadians(90.f);
+ CameraDesc.pFollowTarget = m_pTarget_FollowPart;
+ CameraDesc.pLookTarget = m_pTarget_LookPart;
+ CameraDesc.iPriority = 51;
+ CameraDesc.pCameraKey = CAMERA_SHOULDER;
+ CameraDesc.bEnableTransitionLerp = true;
+ CameraDesc.bEnableFollowLerp = true;
+ CameraDesc.bEnableLookLerp = true;
+ CameraDesc.vTransitionTime = { 0.f, 1.f };
+ CameraDesc.vFollowLerpTime = { 0.f, 0.16f };
+ CameraDesc.vLookLerpTime = { 0.f, 0.16f };
+
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &CameraDesc, nullptr, &m_pBinded_Camera)))
+ {
+ return E_FAIL;
+ }
+ m_pGameInstance->Add_Camera(g_iStaticLevel, m_pBinded_Camera, CAMERA_SHOULDER);
+
+
+ return S_OK;
+}
+CCamPosition_Shoulder* CCamPosition_Shoulder::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CCamPosition_Shoulder* pInstance = new CCamPosition_Shoulder(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CCamPosition_Shoulder");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+CCamPosition_Shoulder* CCamPosition_Shoulder::Clone(void* pArg, class CGameObject* pOWner)
+{
+ CCamPosition_Shoulder* pInstance = new CCamPosition_Shoulder(*this);
+ pInstance->m_pOwner = pOWner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CCamPosition_Shoulder");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+void CCamPosition_Shoulder::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pTarget_LookPart);
+ SAFE_RELEASE(m_pTarget_FollowPart);
+}
+void CCamPosition_Shoulder::Describe_Entity()
+{
+ GUI::Begin("Cam_Shoulder");
+ m_pTransformCom->Describe_Entity();
+ GUI::Text("fMouseSensor : %.1f", &m_fMouseSensor);
+ GUI::SliderFloat("ShoulderDistance", &m_fShoulderDistance, 0.f, 10.f, "%.1f");
+ GUI::SliderFloat("BackFrontRatio", &m_fBackFrontRatio, 0.01f, 0.99f, "%.2f");
+ GUI::Text("Pitch Yaw : %f %f", &m_vAccDegreeXY.x, &m_vAccDegreeXY.y);
+ GUI::SliderFloat3("ShoulderPosRatio", (_float*)&m_vShoulderPosRatio, -2.f, 2.f, "%.1f");
+ GUI::End();
+}
diff --git a/Jusin154_Team3D/Editor/Private/CamPosition_Player.cpp b/Jusin154_Team3D/Editor/Private/CamPosition_Socket.cpp
similarity index 53%
rename from Jusin154_Team3D/Editor/Private/CamPosition_Player.cpp
rename to Jusin154_Team3D/Editor/Private/CamPosition_Socket.cpp
index cf636702f..7fc1bd947 100644
--- a/Jusin154_Team3D/Editor/Private/CamPosition_Player.cpp
+++ b/Jusin154_Team3D/Editor/Private/CamPosition_Socket.cpp
@@ -1,18 +1,18 @@
#include "pch.h"
-#include "CamPosition_Player.h"
+#include "CamPosition_Socket.h"
-CCamPosition_Player::CCamPosition_Player(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+CCamPosition_Socket::CCamPosition_Socket(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
:CCamPosition(pDevice, pContext)
{
}
-CCamPosition_Player::CCamPosition_Player(const CCamPosition_Player& rhs)
+CCamPosition_Socket::CCamPosition_Socket(const CCamPosition_Socket& rhs)
:CCamPosition(rhs)
{
}
-void CCamPosition_Player::Priority_Update(_float fTimeDelta)
+void CCamPosition_Socket::Priority_Update(_float fTimeDelta)
{
/*_matrix socketMatrix = {};
@@ -24,29 +24,29 @@ void CCamPosition_Player::Priority_Update(_float fTimeDelta)
m_pTransformCom->Set_WorldMatrix(/*socketMatrix * */XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr()));
}
-void CCamPosition_Player::Update(_float fTimeDelta)
+void CCamPosition_Socket::Update(_float fTimeDelta)
{
}
-void CCamPosition_Player::Late_Update(_float fTimeDelta)
+void CCamPosition_Socket::Late_Update(_float fTimeDelta)
{
}
-HRESULT CCamPosition_Player::Initialize_Prototype()
+HRESULT CCamPosition_Socket::Initialize_Prototype()
{
return S_OK;
}
-HRESULT CCamPosition_Player::Initialize(void* pArg)
+HRESULT CCamPosition_Socket::Initialize(void* pArg)
{
CAMERAPOSITION_PLAYER_DESC* pDesc = static_cast (pArg);
//m_pSocketMatrices = pDesc->pSocketMatrices;
- if (FAILED(__super::Initialize(pArg)))
+ if (FAILED(__super::Initialize(pArg)))
{
return E_FAIL;
}
- if (FAILED(Ready_Components(pArg)))
+ if (FAILED(Ready_Components(pArg)))
{
return E_FAIL;
}
@@ -54,9 +54,9 @@ HRESULT CCamPosition_Player::Initialize(void* pArg)
return S_OK;
}
-HRESULT CCamPosition_Player::Ready_Components(void* pArg)
+HRESULT CCamPosition_Socket::Ready_Components(void* pArg)
{
- if (FAILED(__super::Ready_Components(pArg)))
+ if (FAILED(__super::Ready_Components(pArg)))
{
return E_FAIL;
}
@@ -64,14 +64,14 @@ HRESULT CCamPosition_Player::Ready_Components(void* pArg)
return S_OK;
}
-HRESULT CCamPosition_Player::Bind_ShaderResources()
+HRESULT CCamPosition_Socket::Bind_ShaderResources()
{
return S_OK;
}
-CCamPosition_Player* CCamPosition_Player::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+CCamPosition_Socket* CCamPosition_Socket::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
{
- CCamPosition_Player* pInstance = new CCamPosition_Player(pDevice, pContext);
+ CCamPosition_Socket* pInstance = new CCamPosition_Socket(pDevice, pContext);
if (FAILED(pInstance->Initialize_Prototype()))
{
@@ -82,9 +82,9 @@ CCamPosition_Player* CCamPosition_Player::Create(ID3D11Device* pDevice, ID3D11De
return pInstance;
}
-CCamPosition_Player* CCamPosition_Player::Clone(void* pArg, class CGameObject* pOWner)
+CCamPosition_Socket* CCamPosition_Socket::Clone(void* pArg, class CGameObject* pOWner)
{
- CCamPosition_Player* pInstance = new CCamPosition_Player(*this);
+ CCamPosition_Socket* pInstance = new CCamPosition_Socket(*this);
pInstance->m_pOwner = pOWner;
if (FAILED(pInstance->Initialize(pArg)))
{
@@ -95,11 +95,11 @@ CCamPosition_Player* CCamPosition_Player::Clone(void* pArg, class CGameObject* p
return pInstance;
}
-void CCamPosition_Player::Free()
+void CCamPosition_Socket::Free()
{
__super::Free();
}
-void CCamPosition_Player::Describe_Entity()
+void CCamPosition_Socket::Describe_Entity()
{
}
diff --git a/Jusin154_Team3D/Editor/Private/CamPosition_Target.cpp b/Jusin154_Team3D/Editor/Private/CamPosition_Target.cpp
new file mode 100644
index 000000000..c3b561717
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/CamPosition_Target.cpp
@@ -0,0 +1,94 @@
+#include "pch.h"
+
+#include "CamPosition_Target.h"
+
+CCamPosition_Target::CCamPosition_Target(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CCamPosition(pDevice, pContext)
+{
+}
+CCamPosition_Target::CCamPosition_Target(const CCamPosition_Target& rhs)
+ :CCamPosition(rhs)
+{
+}
+
+void CCamPosition_Target::Priority_Update(_float fTimeDelta)
+{
+}
+
+void CCamPosition_Target::Update(_float fTimeDelta)
+{
+}
+
+void CCamPosition_Target::Late_Update(_float fTimeDelta)
+{
+}
+
+_vector CCamPosition_Target::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CCamPosition_Target::Initialize_Prototype()
+{
+ return S_OK;
+}
+HRESULT CCamPosition_Target::Initialize(void* pArg)
+{
+ CAMERAPOSITION_TARGET_DESC* pDesc = static_cast (pArg);
+ if (FAILED(__super::Initialize(pArg))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CCamPosition_Target::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg)))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CCamPosition_Target::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+CCamPosition_Target* CCamPosition_Target::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CCamPosition_Target* pInstance = new CCamPosition_Target(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CCamPosition_Target");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+CCamPosition_Target* CCamPosition_Target::Clone(void* pArg, class CGameObject* pOWner)
+{
+ CCamPosition_Target* pInstance = new CCamPosition_Target(*this);
+ pInstance->m_pOwner = pOWner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CCamPosition_Target");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+void CCamPosition_Target::Free()
+{
+ __super::Free();
+}
+void CCamPosition_Target::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/DebugCamera.cpp b/Jusin154_Team3D/Editor/Private/Camera_Debug.cpp
similarity index 68%
rename from Jusin154_Team3D/Editor/Private/DebugCamera.cpp
rename to Jusin154_Team3D/Editor/Private/Camera_Debug.cpp
index 2952b68c6..d37e0cb12 100644
--- a/Jusin154_Team3D/Editor/Private/DebugCamera.cpp
+++ b/Jusin154_Team3D/Editor/Private/Camera_Debug.cpp
@@ -1,23 +1,27 @@
#include "pch.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
#include "Shader.h"
-CDebugCamera::CDebugCamera(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+CCamera_Debug::CCamera_Debug(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
: CCamera(pDevice, pContext)
{
}
-CDebugCamera::CDebugCamera(const CDebugCamera& rhs)
+CCamera_Debug::CCamera_Debug(const CCamera_Debug& rhs)
: CCamera(rhs)
{
}
-void CDebugCamera::Priority_Update(_float fTimeDelta)
+void CCamera_Debug::Priority_Update(_float fTimeDelta)
{
+ m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_DEBUG, false);
}
-void CDebugCamera::Update(_float fTimeDelta)
+void CCamera_Debug::Update(_float fTimeDelta)
{
+ if (false == m_bActive) {
+ return;
+ }
Transition(fTimeDelta);
_float3 vCamPos = {};
XMStoreFloat3(&vCamPos, m_pTransformCom->Get_State(STATE::POSITION));
@@ -66,21 +70,24 @@ void CDebugCamera::Update(_float fTimeDelta)
__super::Bind_Matrices();
}
-void CDebugCamera::Late_Update(_float fTimeDelta)
+void CCamera_Debug::Late_Update(_float fTimeDelta)
{
+ if (false == m_bActive) {
+ return;
+ }
}
-HRESULT CDebugCamera::Render()
+HRESULT CCamera_Debug::Render()
{
return S_OK;
}
-HRESULT CDebugCamera::Initialize_Prototype()
+HRESULT CCamera_Debug::Initialize_Prototype()
{
return S_OK;
}
-HRESULT CDebugCamera::Initialize(void* pArg)
+HRESULT CCamera_Debug::Initialize(void* pArg)
{
CAMERA_DEBUG_DESC* pDesc = static_cast(pArg);
m_fMouseSensor = pDesc->fMouseSensor;
@@ -97,12 +104,10 @@ HRESULT CDebugCamera::Initialize(void* pArg)
m_matInitial = *m_pTransformCom->Get_WorldMatrixPtr();
m_bActive = true;
- m_pGameInstance->Add_Camera(NEXT_LEVEL, this, m_pCameraKey);
- m_pGameInstance->Bind_Camera(NEXT_LEVEL, m_pCameraKey, false);
return S_OK;
}
-HRESULT CDebugCamera::Ready_Components(void* pArg)
+HRESULT CCamera_Debug::Ready_Components(void* pArg)
{
if (FAILED(__super::Ready_Components(pArg))) {
return E_FAIL;
@@ -111,46 +116,46 @@ HRESULT CDebugCamera::Ready_Components(void* pArg)
return S_OK;
}
-HRESULT CDebugCamera::Bind_ShaderResources()
+HRESULT CCamera_Debug::Bind_ShaderResources()
{
return S_OK;
}
-void CDebugCamera::Set_InitialPos()
+void CCamera_Debug::Set_InitialPos()
{
m_pTransformCom->Set_WorldMatrix(m_matInitial);
}
-CDebugCamera* CDebugCamera::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+CCamera_Debug* CCamera_Debug::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
{
- CDebugCamera* pInstance = new CDebugCamera(pDevice, pContext);
+ CCamera_Debug* pInstance = new CCamera_Debug(pDevice, pContext);
if (FAILED(pInstance->Initialize_Prototype()))
{
- MSG_BOX("Failed to Created : CDebugCamera");
+ MSG_BOX("Failed to Created : CCamera_Debug");
SAFE_RELEASE(pInstance);
}
return pInstance;
}
-CGameObject* CDebugCamera::Clone(void* pArg, CGameObject* pOwner)
+CGameObject* CCamera_Debug::Clone(void* pArg, CGameObject* pOwner)
{
- CDebugCamera* pInstance = new CDebugCamera(*this);
+ CCamera_Debug* pInstance = new CCamera_Debug(*this);
pInstance->m_pOwner = pOwner;
if (FAILED(pInstance->Initialize(pArg)))
{
- MSG_BOX("Failed to Cloned : CDebugCamera");
+ MSG_BOX("Failed to Cloned : CCamera_Debug");
SAFE_RELEASE(pInstance);
}
return pInstance;
}
-void CDebugCamera::Free()
+void CCamera_Debug::Free()
{
__super::Free();
}
-void CDebugCamera::Describe_Entity()
+void CCamera_Debug::Describe_Entity()
{
}
diff --git a/Jusin154_Team3D/Editor/Private/Camera_Gaze.cpp b/Jusin154_Team3D/Editor/Private/Camera_Gaze.cpp
index a7eeb9049..81b6771d0 100644
--- a/Jusin154_Team3D/Editor/Private/Camera_Gaze.cpp
+++ b/Jusin154_Team3D/Editor/Private/Camera_Gaze.cpp
@@ -13,9 +13,27 @@ CCamera_Gaze::CCamera_Gaze(const CCamera_Gaze& rhs)
void CCamera_Gaze::Priority_Update(_float fTimeDelta)
{
+ if (false == m_bActive) {
+ return;
+ }
if (false == m_bIsCurrentTransition) {
- m_pTransformCom->Set_State(STATE::POSITION, m_pFollowTarget->Get_Component()->Get_State(STATE::POSITION));
- m_pTransformCom->LookAt(m_pLookTarget->Get_Component()->Get_State(STATE::POSITION));
+ if (m_bEnable_FollowLerp) {
+ _vector vNewPos = XMVectorSetW(XMVectorLerp(XMLoadFloat3(&m_vFollowPos_Src), XMLoadFloat3(&m_vFollowPos_Dest), m_vFollowLerpTime.x / m_vFollowLerpTime.y), 1.f);
+ m_pTransformCom->Set_State(STATE::POSITION, vNewPos);
+ }
+ else {
+ m_pTransformCom->Set_State(STATE::POSITION, m_pFollowTarget->Get_Component()->Get_State(STATE::POSITION));
+ }
+ if (m_bEnable_LookLerp) {
+ _vector vNewLook = XMVectorSetW(XMVectorLerp(XMLoadFloat3(&m_vLookPos_Src), XMLoadFloat3(&m_vLookPos_Dest), m_vLookLerpTime.x / m_vLookLerpTime.y), 1.f);
+ m_pTransformCom->LookAt(vNewLook);
+ }
+ else {
+ m_pTransformCom->LookAt(m_pLookTarget->Get_Component()->Get_State(STATE::POSITION));
+ }
+ }
+ else {
+
}
m_bActive = true;
__super::Bind_Matrices();
@@ -23,22 +41,81 @@ void CCamera_Gaze::Priority_Update(_float fTimeDelta)
void CCamera_Gaze::Update(_float fTimeDelta)
{
+ GUI::Text("%d", m_iPriority);
+ if (false == m_bActive) {
+ return;
+ }
+ Transition(fTimeDelta);
+ Update_LerpTimer(fTimeDelta);
+
+ Describe_Entity();
+}
+
+void CCamera_Gaze::Update_LerpTimer(Engine::_float fTimeDelta)
+{
+ if (false == m_bActive) {
+ return;
+ }
+ if (true == m_bEnable_LookLerp) {
+ m_vLookLerpTime.x += fTimeDelta;
+ if (m_vLookLerpTime.y <= m_vLookLerpTime.x) {
+ m_vLookLerpTime.x = 0.f;
+ m_bEnable_LookLerp = false;
+ XMStoreFloat3(&m_vLookPos_Src, XMLoadFloat3(&m_vLookPos_Dest));
+ XMStoreFloat3(&m_vLookPos_Dest, m_pLookTarget->Get_WorldPostion());
+ }
+ }
+
+ if (true == m_bEnable_FollowLerp) {
+ m_vFollowLerpTime.x += fTimeDelta;
+ if (m_vFollowLerpTime.y <= m_vFollowLerpTime.x) {
+ m_vFollowLerpTime.x = 0.f;
+ m_bEnable_FollowLerp = false;
+ XMStoreFloat3(&m_vFollowPos_Src, m_pTransformCom->Get_State(STATE::POSITION));
+ XMStoreFloat3(&m_vFollowPos_Dest, m_pFollowTarget->Get_WorldPostion());
+ }
+ }
+}
+
+void CCamera_Gaze::Enable_FollowLerp()
+{
+ m_bEnable_FollowLerp = true;
+ m_vFollowLerpTime.x = 0.f;
+ XMStoreFloat3(&m_vFollowPos_Src, m_pFollowTarget->Get_WorldPostion());
+}
+
+void CCamera_Gaze::Enable_LookLerp()
+{
+ m_bEnable_LookLerp = true;
+ m_vLookLerpTime.x = 0.f;
+ XMStoreFloat3(&m_vLookPos_Src, m_pLookTarget->Get_WorldPostion());
+}
+
+void CCamera_Gaze::Toggle_Priority()
+{
+ if (m_iPriority == 99) {
+ m_iPriority = 51;
+ }
+ else {
+ m_iPriority = 99;
+ m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_SHOULDER, false);
+ }
}
void CCamera_Gaze::Late_Update(_float fTimeDelta)
{
+ if (false == m_bActive) {
+ return;
+ }
}
-
HRESULT CCamera_Gaze::Render()
{
return S_OK;
}
-
HRESULT CCamera_Gaze::Initialize_Prototype()
{
return S_OK;
}
-
HRESULT CCamera_Gaze::Initialize(void* pArg)
{
@@ -52,7 +129,6 @@ HRESULT CCamera_Gaze::Initialize(void* pArg)
return S_OK;
}
-
HRESULT CCamera_Gaze::Ready_Components(void* pArg)
{
if (FAILED(__super::Ready_Components(pArg))) {
@@ -61,12 +137,10 @@ HRESULT CCamera_Gaze::Ready_Components(void* pArg)
return S_OK;
}
-
HRESULT CCamera_Gaze::Bind_ShaderResources()
{
return S_OK;
}
-
CCamera_Gaze* CCamera_Gaze::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
{
CCamera_Gaze* pInstance = new CCamera_Gaze(pDevice, pContext);
@@ -78,7 +152,6 @@ CCamera_Gaze* CCamera_Gaze::Create(ID3D11Device* pDevice, ID3D11DeviceContext* p
return pInstance;
}
-
CGameObject* CCamera_Gaze::Clone(void* pArg, CGameObject* pOwner)
{
CCamera_Gaze* pInstance = new CCamera_Gaze(*this);
@@ -91,13 +164,35 @@ CGameObject* CCamera_Gaze::Clone(void* pArg, CGameObject* pOwner)
return pInstance;
}
-
void CCamera_Gaze::Free()
{
__super::Free();
}
-
void CCamera_Gaze::Describe_Entity()
{
+ GUI::Begin("Camera_Gaze_Describe");
+ m_pTransformCom->Describe_Entity();
+ GUI::Text("LOOK_SRC %.2f, %.2f, %.2f", m_vLookPos_Src.x, m_vLookPos_Src.y, m_vLookPos_Src.z);
+ GUI::Text("LOOK_DST %.2f, %.2f, %.2f", m_vLookPos_Dest.x, m_vLookPos_Dest.y, m_vLookPos_Dest.z);
+ GUI::Text("FOLLOW_SRC %.2f, %.2f, %.2f", m_vFollowPos_Src.x, m_vFollowPos_Src.y, m_vFollowPos_Src.z);
+ GUI::Text("FOLLOW_DST %.2f, %.2f, %.2f", m_vFollowPos_Dest.x, m_vFollowPos_Dest.y, m_vFollowPos_Dest.z);
+ GUI::Checkbox("TransitionLerp", &m_bEnable_TransitionLerp);
+ if (true == m_bEnable_TransitionLerp) {
+ GUI::SameLine(); GUI::Text("Translation : %.1f %.1f", m_vTransitionTime.x, m_vTransitionTime.y);
+ GUI::SliderFloat("TranslationTime", &m_vTransitionTime.y, 0.1f, 3.f, "%.1f");
+ }
+ GUI::Checkbox("LookLerp", &m_bEnable_LookLerp);
+ if (true == m_bEnable_LookLerp) {
+ GUI::SameLine(); GUI::Text("Translation : %.1f %.1f", m_vLookLerpTime.x, m_vLookLerpTime.y);
+ GUI::SliderFloat("LookTime", &m_vLookLerpTime.y, 0.1f, 3.f, "%.1f");
+ }
+
+ GUI::Checkbox("FollowLerp", &m_bEnable_FollowLerp);
+ if (true == m_bEnable_FollowLerp) {
+ GUI::SameLine(); GUI::Text("Translation : %.1f %.1f", m_vFollowLerpTime.x, m_vFollowLerpTime.y);
+ GUI::SliderFloat("FollowTime", &m_vFollowLerpTime.y, 0.1f, 3.f, "%.1f");
+ }
+
+ GUI::End();
}
diff --git a/Jusin154_Team3D/Editor/Private/DummyObject.cpp b/Jusin154_Team3D/Editor/Private/DummyObject.cpp
index c186b6fef..7f3568f40 100644
--- a/Jusin154_Team3D/Editor/Private/DummyObject.cpp
+++ b/Jusin154_Team3D/Editor/Private/DummyObject.cpp
@@ -2,7 +2,7 @@
#include "DummyObject.h"
#include "GameInstance.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
CDummyObject::CDummyObject(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
: CUnit(pDevice, pContext)
diff --git a/Jusin154_Team3D/Editor/Private/DummySkyBox.cpp b/Jusin154_Team3D/Editor/Private/DummySkyBox.cpp
index 32e8b87dc..f31cebd48 100644
--- a/Jusin154_Team3D/Editor/Private/DummySkyBox.cpp
+++ b/Jusin154_Team3D/Editor/Private/DummySkyBox.cpp
@@ -2,7 +2,7 @@
#include "DummySkyBox.h"
#include "GameInstance.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
#include "Layer.h"
#include "Camera_Gaze.h"
@@ -40,9 +40,7 @@ void CDummySkyBox::Priority_Update(_float fTimeDelta)
void CDummySkyBox::Update(_float fTimeDelta)
{
-#ifdef gimch
- m_pTransformCom->Set_State(STATE::POSITION, m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_CAMERA)->Get_Object()->Get_WorldPostion());
-#endif // !기무리
+ m_pTransformCom->Set_State(STATE::POSITION, m_pGameInstance->Get_CamXMPosition());
}
void CDummySkyBox::Late_Update(_float fTimeDelta)
diff --git a/Jusin154_Team3D/Editor/Private/HpBarBG.cpp b/Jusin154_Team3D/Editor/Private/HpBarBG.cpp
index 453d3da78..886d6c437 100644
--- a/Jusin154_Team3D/Editor/Private/HpBarBG.cpp
+++ b/Jusin154_Team3D/Editor/Private/HpBarBG.cpp
@@ -45,6 +45,7 @@ HRESULT CHpBarBG::Initialize(void* pArg)
m_fCurrentHp = m_fMaxHp;
m_fMoveSpeed = 5.f;
m_fHpBG = _float2(0, m_fSizeX);
+ SizeUpX(210.f);
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Level_BloomViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_BloomViewer.cpp
index 589c479d3..3e404ddd6 100644
--- a/Jusin154_Team3D/Editor/Private/Level_BloomViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_BloomViewer.cpp
@@ -1,7 +1,7 @@
#include "pch.h"
#include "Level_BloomViewer.h"
#include "GameInstance.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
#include "Dummy_Cube.h"
#include "Dummy_Globe.h"
#include "MainLight.h"
@@ -91,21 +91,28 @@ HRESULT CLevel_BloomViewer::Render()
HRESULT CLevel_BloomViewer::Ready_Layer_Camera(const _wstring& strLayerTag)
{
- CDebugCamera::CAMERA_DEBUG_DESC CameraDesc{};
- CameraDesc.fFovy = XMConvertToRadians(60.0f);
- CameraDesc.fNear = 0.1f;
- CameraDesc.fFar = 500.f;
- CameraDesc.vEye = _float3(0.f, 10.f, -10.f);
- CameraDesc.vAt = _float3(0.f, 0.f, 0.f);
- CameraDesc.fSpeedPerSec = 5.f;
- CameraDesc.pCameraKey = TEXT("Debug_Camera");
- CameraDesc.fRotationPerSec = XMConvertToRadians(90.0f);
- CameraDesc.fMouseSensor = 0.1f;
+ CCamera_Debug::CAMERA_DEBUG_DESC Camera_Desc{};
+ Camera_Desc.fFovy = XMConvertToRadians(60.0f);
+ Camera_Desc.fNear = 0.1f;
+ Camera_Desc.fFar = 200.f;
+ Camera_Desc.vEye = _float3(0.f, 10.f, -10.f);
+ Camera_Desc.vAt = _float3(0.f, 0.f, 0.f);
+ Camera_Desc.fSpeedPerSec = 5.f;
+ Camera_Desc.pCameraKey = CAMERA_DEBUG;
+ Camera_Desc.fRotationPerSec = XMConvertToRadians(90.0f);
+ Camera_Desc.fMouseSensor = 0.1f;
+ Camera_Desc.iPriority = 70;
+ Camera_Desc.pFollowTarget = { nullptr };
+ Camera_Desc.pLookTarget = { nullptr };
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL,
- strLayerTag, &CameraDesc)))
+ CCamera_Debug* pCamera = { nullptr };
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &Camera_Desc, nullptr, &pCamera))) {
return E_FAIL;
-
+ }
+ m_pGameInstance->Add_Camera(g_iStaticLevel, pCamera, CAMERA_DEBUG);
+ if (FAILED(m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_DEBUG, true))) {
+ return E_FAIL;
+ }
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
index 61f00c69d..a25a3e5d9 100644
--- a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
@@ -2,7 +2,7 @@
#include "Level_EffectViewer.h"
#include "GameInstance.h"
#include "Level_Loading.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
#include "TestEffect.h"
#include "Effect_Editor.h"
#include "Dummy_Cube.h"
@@ -72,21 +72,28 @@ HRESULT CLevel_EffectViewer::Render()
HRESULT CLevel_EffectViewer::Ready_Layer_Camera(const _wstring& strLayerTag)
{
- CDebugCamera::CAMERA_DEBUG_DESC CameraDesc{};
- CameraDesc.fFovy = XMConvertToRadians(60.0f);
- CameraDesc.fNear = 0.1f;
- CameraDesc.fFar = 500.f;
- CameraDesc.vEye = _float3(0.f, 10.f, -10.f);
- CameraDesc.vAt = _float3(0.f, 0.f, 0.f);
- CameraDesc.fSpeedPerSec = 5.f;
- CameraDesc.pCameraKey = TEXT("Debug_Camera");
- CameraDesc.fRotationPerSec = XMConvertToRadians(90.0f);
- CameraDesc.fMouseSensor = 0.1f;
+ CCamera_Debug::CAMERA_DEBUG_DESC Camera_Desc{};
+ Camera_Desc.fFovy = XMConvertToRadians(60.0f);
+ Camera_Desc.fNear = 0.1f;
+ Camera_Desc.fFar = 200.f;
+ Camera_Desc.vEye = _float3(0.f, 10.f, -10.f);
+ Camera_Desc.vAt = _float3(0.f, 0.f, 0.f);
+ Camera_Desc.fSpeedPerSec = 5.f;
+ Camera_Desc.pCameraKey = CAMERA_DEBUG;
+ Camera_Desc.fRotationPerSec = XMConvertToRadians(90.0f);
+ Camera_Desc.fMouseSensor = 0.1f;
+ Camera_Desc.iPriority = 70;
+ Camera_Desc.pFollowTarget = { nullptr };
+ Camera_Desc.pLookTarget = { nullptr };
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(ENUM_CLASS(LEVEL::EFFECT), NEXT_LEVEL,
- strLayerTag, &CameraDesc)))
+ CCamera_Debug* pCamera = { nullptr };
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &Camera_Desc, nullptr, &pCamera))) {
return E_FAIL;
-
+ }
+ m_pGameInstance->Add_Camera(g_iStaticLevel, pCamera, CAMERA_DEBUG);
+ if (FAILED(m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_DEBUG, true))) {
+ return E_FAIL;
+ }
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp
index e7ad90e29..3db4df98b 100644
--- a/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_MapViewer.cpp
@@ -3,7 +3,7 @@
#include "GameInstance.h"
#include "Level_Loading.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
#include "Terrain.h"
#include "MapObject_Manager.h"
#include "BuildingContainer.h"
@@ -68,22 +68,28 @@ HRESULT CLevel_MapViewer::Ready_Layer_Light()
HRESULT CLevel_MapViewer::Ready_Layer_Camera(const _wstring& strLayerTag)
{
- CDebugCamera::CAMERA_DEBUG_DESC CameraDesc{};
- CameraDesc.fFovy = XMConvertToRadians(60.0f);
- CameraDesc.fNear = 0.1f;
- CameraDesc.fFar = 500.f;
- CameraDesc.vEye = _float3(0.f, 10.f, -10.f);
- CameraDesc.vAt = _float3(0.f, 0.f, 0.f);
- CameraDesc.fSpeedPerSec = 5.f;
- CameraDesc.pCameraKey = TEXT("Debug_Camera");
- CameraDesc.fRotationPerSec = XMConvertToRadians(90.0f);
- CameraDesc.fMouseSensor = 0.1f;
+ CCamera_Debug::CAMERA_DEBUG_DESC Camera_Desc{};
+ Camera_Desc.fFovy = XMConvertToRadians(60.0f);
+ Camera_Desc.fNear = 0.1f;
+ Camera_Desc.fFar = 200.f;
+ Camera_Desc.vEye = _float3(0.f, 10.f, -10.f);
+ Camera_Desc.vAt = _float3(0.f, 0.f, 0.f);
+ Camera_Desc.fSpeedPerSec = 5.f;
+ Camera_Desc.pCameraKey = CAMERA_DEBUG;
+ Camera_Desc.fRotationPerSec = XMConvertToRadians(90.0f);
+ Camera_Desc.fMouseSensor = 0.1f;
+ Camera_Desc.iPriority = 70;
+ Camera_Desc.pFollowTarget = { nullptr };
+ Camera_Desc.pLookTarget = { nullptr };
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL,
- strLayerTag, &CameraDesc)))
+ CCamera_Debug* pCamera = { nullptr };
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &Camera_Desc, nullptr, &pCamera))) {
return E_FAIL;
-
-
+ }
+ m_pGameInstance->Add_Camera(g_iStaticLevel, pCamera, CAMERA_DEBUG);
+ if (FAILED(m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_DEBUG, true))) {
+ return E_FAIL;
+ }
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp
index 7bf3f026a..89cbf3237 100644
--- a/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_ObjectViewer.cpp
@@ -7,7 +7,7 @@
#include "Head.h"
#include "Hair.h"
#include "Dummy_Cube.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
#include "Layer.h"
#include "GameObject.h"
#include "DummyObject.h"
@@ -30,10 +30,10 @@ HRESULT CLevel_ObjectViewer::Initialize()
return E_FAIL;
}
- //if (FAILED(Ready_Layer_Camera(TEXT("Layer_Camera"))))
- //{
- // return E_FAIL;
- //}
+ if (FAILED(Ready_Layer_Camera(TEXT("Layer_Camera"))))
+ {
+ return E_FAIL;
+ }
if (FAILED(Ready_Layer_Dummy(TEXT("Layer_Dummy"))))
{
@@ -662,20 +662,28 @@ void CLevel_ObjectViewer::Find_Anim()
HRESULT CLevel_ObjectViewer::Ready_Layer_Camera(const _wstring& strLayerTag)
{
- CDebugCamera::CAMERA_DEBUG_DESC CameraDesc{};
- CameraDesc.fFovy = XMConvertToRadians(60.0f);
- CameraDesc.fNear = 0.1f;
- CameraDesc.fFar = 500.f;
- CameraDesc.vEye = _float3(0.f, 5.f, -5.f);
- CameraDesc.vAt = _float3(0.f, 0.f, 0.f);
- CameraDesc.fSpeedPerSec = 5.f;
- CameraDesc.pCameraKey = TEXT("Debug_Camera");
- CameraDesc.fRotationPerSec = XMConvertToRadians(90.0f);
- CameraDesc.fMouseSensor = 0.1f;
+ CCamera_Debug::CAMERA_DEBUG_DESC Camera_Desc{};
+ Camera_Desc.fFovy = XMConvertToRadians(60.0f);
+ Camera_Desc.fNear = 0.1f;
+ Camera_Desc.fFar = 200.f;
+ Camera_Desc.vEye = _float3(0.f, 10.f, -10.f);
+ Camera_Desc.vAt = _float3(0.f, 0.f, 0.f);
+ Camera_Desc.fSpeedPerSec = 5.f;
+ Camera_Desc.pCameraKey = CAMERA_DEBUG;
+ Camera_Desc.fRotationPerSec = XMConvertToRadians(90.0f);
+ Camera_Desc.fMouseSensor = 0.1f;
+ Camera_Desc.iPriority = 70;
+ Camera_Desc.pFollowTarget = { nullptr };
+ Camera_Desc.pLookTarget = { nullptr };
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL,
- strLayerTag, &CameraDesc)))
+ CCamera_Debug* pCamera = { nullptr };
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &Camera_Desc, nullptr, &pCamera))) {
return E_FAIL;
+ }
+ m_pGameInstance->Add_Camera(g_iStaticLevel, pCamera, CAMERA_DEBUG);
+ if (FAILED(m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_DEBUG, true))) {
+ return E_FAIL;
+ }
return S_OK;
}
@@ -706,8 +714,8 @@ HRESULT CLevel_ObjectViewer::Ready_Layer_Dummy(const _wstring& strLayerTag)
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag)))
- // return E_FAIL;
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag)))
+ return E_FAIL;
/*if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag)))
return E_FAIL;*/
diff --git a/Jusin154_Team3D/Editor/Private/Level_PhysXLab.cpp b/Jusin154_Team3D/Editor/Private/Level_PhysXLab.cpp
index 5312c8fe2..26291d98c 100644
--- a/Jusin154_Team3D/Editor/Private/Level_PhysXLab.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_PhysXLab.cpp
@@ -3,7 +3,7 @@
#include "GameInstance.h"
#include "Level_Loading.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
#include "Terrain.h"
#include "Dummy_PhysXBox.h"
#include "Dummy_PhysXPlayable.h"
@@ -62,21 +62,28 @@ HRESULT CLevel_PhysXLab::Ready_Layer_Light()
HRESULT CLevel_PhysXLab::Ready_Layer_Camera(const _wstring& strLayerTag)
{
- CDebugCamera::CAMERA_DEBUG_DESC CameraDesc{};
- CameraDesc.fFovy = XMConvertToRadians(60.0f);
- CameraDesc.fNear = 0.1f;
- CameraDesc.fFar = 100.f;
- CameraDesc.vEye = _float3(0.f, 10.f, -10.f);
- CameraDesc.vAt = _float3(0.f, 0.f, 0.f);
- CameraDesc.fSpeedPerSec = 2.f;
- CameraDesc.pCameraKey = TEXT("Debug_Camera");
- CameraDesc.fRotationPerSec = XMConvertToRadians(90.0f);
- CameraDesc.fMouseSensor = 0.1f;
+ CCamera_Debug::CAMERA_DEBUG_DESC Camera_Desc{};
+ Camera_Desc.fFovy = XMConvertToRadians(60.0f);
+ Camera_Desc.fNear = 0.1f;
+ Camera_Desc.fFar = 200.f;
+ Camera_Desc.vEye = _float3(0.f, 10.f, -10.f);
+ Camera_Desc.vAt = _float3(0.f, 0.f, 0.f);
+ Camera_Desc.fSpeedPerSec = 5.f;
+ Camera_Desc.pCameraKey = CAMERA_DEBUG;
+ Camera_Desc.fRotationPerSec = XMConvertToRadians(90.0f);
+ Camera_Desc.fMouseSensor = 0.1f;
+ Camera_Desc.iPriority = 70;
+ Camera_Desc.pFollowTarget = { nullptr };
+ Camera_Desc.pLookTarget = { nullptr };
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL,
- strLayerTag, &CameraDesc)))
+ CCamera_Debug* pCamera = { nullptr };
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &Camera_Desc, nullptr, &pCamera))) {
return E_FAIL;
-
+ }
+ m_pGameInstance->Add_Camera(g_iStaticLevel, pCamera, CAMERA_DEBUG);
+ if (FAILED(m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_DEBUG, true))) {
+ return E_FAIL;
+ }
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp
index d69ed923d..8ff61631f 100644
--- a/Jusin154_Team3D/Editor/Private/Loader.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader.cpp
@@ -4,7 +4,7 @@
#pragma region DEFAULT_HEADER
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
#include "DummyRect.h"
#include "MainApp.h"
#include "Dummy_Cube.h"
@@ -25,7 +25,9 @@
#include "Broom.h"
#include
#include "Camera_Gaze.h"
-#include "CamPosition_Player.h"
+#include "CamPosition_Socket.h"
+#include "CamPosition_Target.h"
+#include "CamPosition_Shoulder.h"
#include "CamPosition_Arm.h"
#include "Wand.h"
@@ -58,6 +60,8 @@
#include "Spell_Overlay.h"
#include "Slot_Number.h"
#include "HpBarBG.h"
+#include "Potion.h"
+#include "Magic_Meter.h"
#include "IMGUIUI.h"
@@ -256,7 +260,7 @@ HRESULT CLoader::Loading_For_Logo()
return E_FAIL;
}
- if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CDebugCamera::Create(m_pDevice, m_pContext)))) {
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CCamera_Debug::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
@@ -399,6 +403,22 @@ HRESULT CLoader::Loading_For_UI()
_wstring wstrFilePath = CMyTools::ToWstring(strFilePath);
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::UI), wstrFileName,
+ CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, wstrFilePath.c_str(), 0)))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+
+ });
+
+ Asset_FileLoad("../Bin/Resources/Textures/Potions", L"Prototype_Texture_", [&](_wstring wstrFileName, const _char* pFilePath)
+ {
+
+ _string strFilePath = pFilePath;
+ _wstring wstrFilePath = CMyTools::ToWstring(strFilePath);
+
+
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::UI), wstrFileName,
CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, wstrFilePath.c_str(), 0)))) {
return E_FAIL;
@@ -428,6 +448,24 @@ HRESULT CLoader::Loading_For_UI()
return E_FAIL;
}
+ CVIBuffer_UI_Instance::UI_INSTANCE_DESC Magic_MeterDesc{};
+
+ Magic_MeterDesc.iNum = 5;
+
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Magic_Meter_UI_Instance"),
+ CVIBuffer_UI_Instance::Create(m_pDevice, m_pContext, &Magic_MeterDesc)))) {
+ return E_FAIL;
+ }
+
+ CVIBuffer_UI_Instance::UI_INSTANCE_DESC Spell_Slot_PreviewDesc{};
+
+ Spell_Slot_PreviewDesc.iNum = 5;
+
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Spell_Slot_Previe_UI_Instance"),
+ CVIBuffer_UI_Instance::Create(m_pDevice, m_pContext, &Spell_Slot_PreviewDesc)))) {
+ return E_FAIL;
+ }
+
m_strMessage = TEXT("Shader Loading..");
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_UIEDITOR,
@@ -532,6 +570,14 @@ HRESULT CLoader::Loading_For_UI()
{
return E_FAIL;
}
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CPotion::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CMagic_Meter::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CIMGUIUI::Create(m_pDevice, m_pContext))))
{
@@ -735,9 +781,6 @@ HRESULT CLoader::Loading_For_Effect()
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CDummy_PhysXWall::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
- if (FAILED(m_pGameInstance->Add_Prototype(ENUM_CLASS(LEVEL::EFFECT), CDebugCamera::Create(m_pDevice, m_pContext)))) {
- return E_FAIL;
- }
if (FAILED(m_pGameInstance->Add_Prototype(ENUM_CLASS(LEVEL::EFFECT), CEditEffect::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
@@ -1249,6 +1292,32 @@ HRESULT CLoader::Loading_For_ObjectViewer()
m_strMessage = TEXT("Model Loading..");
+ // Heavy Wall
+ CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC Desc{};
+ {
+ Desc.eType = ACTOR::BOX;
+ Desc.ePxRigidBodyFlags = { /*PSX::PxRigidBodyFlag::eKINEMATIC*/ };
+ Desc.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE | PSX::PxShapeFlag::eSIMULATION_SHAPE };
+ Desc.ePxMaterialTypes = { PXMATERIAL::DEFAULT };
+ Desc.vMatInfo = { 0.5f, 0.5f, 0.6f };
+ Desc.fContactOffset = { 0.05f };
+ Desc.vhalfGeometryInfo = { 2.5f, 4.5f, 3.5f };
+ Desc.fDensity = 10.f;
+ Desc.pxMassCenter = PSX::PxTransform(PSX::PxIDENTITY());
+ Desc.eLockFlag = {};
+ Desc.vAutoDamping = { 100.f, 100.f };
+ }
+
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_HEAVY_WALL"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_CCT_CAPSULE"), CCharacter_Controller::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
vector*>> futures = {};
#pragma region BODY
@@ -1325,7 +1394,7 @@ HRESULT CLoader::Loading_For_ObjectViewer()
#pragma region MONSTER
futures.emplace_back(Deferred_ModelLoad(
- MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/Goblin.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixIdentity(),
+ MODEL::ANIM, "../Bin/Resources/Models/Monster/Goblin/Goblin.bin", XMMatrixIdentity(),
TEXT("Prototype_Component_Goblin_Model")
));
futures.emplace_back(Deferred_ModelLoad(
@@ -1348,7 +1417,7 @@ HRESULT CLoader::Loading_For_ObjectViewer()
TEXT("Prototype_Component_Npc_Model")
));
futures.emplace_back(Deferred_ModelLoad(
- MODEL::NONANIM, "../Bin/Resources/Models/Object/Wand/Wand.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixIdentity(),
+ MODEL::NONANIM, "../Bin/Resources/Models/Object/Wand/Wand.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixIdentity(),
TEXT("Prototype_Component_Wand_Model")
));
futures.emplace_back(Deferred_ModelLoad(
@@ -1432,7 +1501,15 @@ HRESULT CLoader::Loading_For_ObjectViewer()
return E_FAIL;
/* For.Prototype_GameObject_CamPosition_Player */
- if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CCamPosition_Player::Create(m_pDevice, m_pContext))))
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CCamPosition_Socket::Create(m_pDevice, m_pContext))))
+ return E_FAIL;
+
+ /* For.Prototype_GameObject_CamPosition_Shoulder */
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CCamPosition_Shoulder::Create(m_pDevice, m_pContext))))
+ return E_FAIL;
+
+ /* For.Prototype_GameObject_CamPosition_Target */
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CCamPosition_Target::Create(m_pDevice, m_pContext))))
return E_FAIL;
/* For.Prototype_GameObject_CamPosition_Arm */
diff --git a/Jusin154_Team3D/Editor/Private/Magic_Meter.cpp b/Jusin154_Team3D/Editor/Private/Magic_Meter.cpp
new file mode 100644
index 000000000..b9a3acdff
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Magic_Meter.cpp
@@ -0,0 +1,293 @@
+#include "pch.h"
+#include "Magic_Meter.h"
+#include "GameInstance.h"
+
+CMagic_Meter::CMagic_Meter(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CElementObject(pDevice, pContext)
+{
+}
+
+CMagic_Meter::CMagic_Meter(const CMagic_Meter& rhs)
+ :CElementObject(rhs)
+{
+}
+
+HRESULT CMagic_Meter::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CMagic_Meter::Initialize(void* pArg)
+{
+
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = 130.f;
+ Desc.fY = 145.f;
+ Desc.fSizeX = 80.f;
+ Desc.fSizeY = 20.f;
+
+ m_pRect = { long(Desc.fX - Desc.fSizeX * 0.5f), long(Desc.fY - Desc.fSizeY * 0.5f), long(Desc.fX + Desc.fSizeX * 0.5f), long(Desc.fY + Desc.fSizeY * 0.5f) };
+
+ if (FAILED(__super::Initialize(&Desc)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Components(pArg)))
+ {
+ return E_FAIL;
+ }
+
+ m_fAlpha = 1.f;
+ m_fTimeMult = 3.f;
+ m_fAngle = XMConvertToRadians(45);
+ m_fAlphaTime = 1.f;
+ m_iCols = 5;
+ UV();
+ m_pVIBufferCom->Set_Cloned(true);
+ m_pVIBufferCom->Set_Pos(0.f, 0.f, -65.f, m_fSizeY, m_iCols);
+ m_pVIBufferCom->Set_Size(m_fSizeX, m_fSizeY);
+ m_pVIBufferCom->Set_ImageUV(pUVDesc);
+ return S_OK;
+}
+
+void CMagic_Meter::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CMagic_Meter::Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+
+ if (m_bFadeIn == true)
+ {
+ if (m_fAlpha <= 1.f)
+ m_fAlpha += fTimeDelta * m_fAlphaTime;
+
+ if (m_fAlpha >= 1.f)
+ {
+ m_bFadeIn = false;
+ m_fAlpha = 1.f;
+ }
+ }
+
+ if (m_bFadeOut == true)
+ {
+ if (m_fAlpha >= 0.f)
+ m_fAlpha -= fTimeDelta;
+
+ if (m_fAlpha <= 0.f)
+ {
+ m_bFadeOut = false;
+ m_fAlpha = 0.f;
+ }
+ }
+ m_fTime += fTimeDelta * m_fTimeMult;
+ __super::Update(fTimeDelta);
+}
+
+
+void CMagic_Meter::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ if (m_bVisible)
+ {
+ m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
+ }
+ __super::Late_Update(fTimeDelta);
+}
+
+HRESULT CMagic_Meter::Render()
+{
+ if (FAILED(Bind_ShaderResources()))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIINTANCE::MAGIC_METER))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources()))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render()))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+
+_vector CMagic_Meter::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+void CMagic_Meter::UV()
+{
+ pUVDesc[0].fUVStart = Compute_UVX(1);
+ pUVDesc[0].fUVEnd = Compute_UVY(1);
+ pUVDesc[1].fUVStart = Compute_UVX(2);
+ pUVDesc[1].fUVEnd = Compute_UVY(2);
+ pUVDesc[2].fUVStart = Compute_UVX(2);
+ pUVDesc[2].fUVEnd = Compute_UVY(2);
+ pUVDesc[3].fUVStart = Compute_UVX(2);
+ pUVDesc[3].fUVEnd = Compute_UVY(2);
+ pUVDesc[4].fUVStart = Compute_UVX(0);
+ pUVDesc[4].fUVEnd = Compute_UVY(0);
+}
+
+_float2 CMagic_Meter::Compute_UVX(_uint Number)
+{
+ m_fIamge_Size = { 128, 96 };
+
+ _uint iXCount = 1;
+ _uint iYCount = 3;
+
+ _float frameWidth = 128.f;
+ _float frameHeight = 32.f;
+
+ _uint frameX = Number % iXCount;
+ _uint frameY = Number / iXCount;
+
+ _float2 UVStart;
+ UVStart.x = frameX * frameWidth / m_fIamge_Size.x;
+ UVStart.y = frameY * frameHeight / m_fIamge_Size.y;
+
+ return UVStart;
+}
+
+_float2 CMagic_Meter::Compute_UVY(_uint Number)
+{
+ m_fIamge_Size = { 320.f, 128.f };
+
+ _float frameWidth = 128.f;
+ _float frameHeight = 32.f;
+
+ // Start 구함
+ _float2 UVStart = Compute_UVX(Number);
+
+ _float2 UVEnd;
+ UVEnd.x = UVStart.x + (frameWidth / m_fIamge_Size.x);
+ UVEnd.y = UVStart.y + (frameHeight / m_fIamge_Size.y);
+
+ return UVEnd;
+}
+
+HRESULT CMagic_Meter::Bind_ShaderResources()
+{
+ if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix")))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", &m_ViewMatrix)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", &m_ProjMatrix)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pDiffuse_TextureCom->Bind_ShaderResource(m_pShaderCom, "g_Texture", 0)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pDiffuse_TextureCom1->Bind_ShaderResource(m_pShaderCom, "g_Texture1", 0)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fAlpha", &m_fAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fOwnerAlpha", &m_fOwnerAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fCanvasAlpha", &m_fCanvasAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CMagic_Meter::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Magic_Meter_UI_Instance"), (CComponent**)&m_pVIBufferCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_FinisherMeterOutline"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_HUD_HealthMeterFill"), reinterpret_cast(&m_pDiffuse_TextureCom1), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIINSTANCE, (CComponent**)&m_pShaderCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+
+CMagic_Meter* CMagic_Meter::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CMagic_Meter* pInstance = new CMagic_Meter(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CMagic_Meter");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CMagic_Meter::Clone(void* pArg, CGameObject* pOwner)
+{
+ CMagic_Meter* pInstance = new CMagic_Meter(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CSpell_Slot");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CMagic_Meter::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
+ SAFE_RELEASE(m_pDiffuse_TextureCom1);
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CMagic_Meter::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/MainLight.cpp b/Jusin154_Team3D/Editor/Private/MainLight.cpp
index 6d2c5fb53..a950ae69a 100644
--- a/Jusin154_Team3D/Editor/Private/MainLight.cpp
+++ b/Jusin154_Team3D/Editor/Private/MainLight.cpp
@@ -2,7 +2,7 @@
#include "MainLight.h"
#include "GameInstance.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
CMainLight::CMainLight(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
: CGameObject(pDevice, pContext)
diff --git a/Jusin154_Team3D/Editor/Private/MapObject.cpp b/Jusin154_Team3D/Editor/Private/MapObject.cpp
index cde869e7c..04cd1fb82 100644
--- a/Jusin154_Team3D/Editor/Private/MapObject.cpp
+++ b/Jusin154_Team3D/Editor/Private/MapObject.cpp
@@ -2,7 +2,7 @@
#include "MapObject.h"
#include "GameInstance.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
#include "Layer.h"
#include "Terrain.h"
#include "VIBuffer_Terrain.h"
diff --git a/Jusin154_Team3D/Editor/Private/MapObject_Collision.cpp b/Jusin154_Team3D/Editor/Private/MapObject_Collision.cpp
index 7a12417b6..a78565a65 100644
--- a/Jusin154_Team3D/Editor/Private/MapObject_Collision.cpp
+++ b/Jusin154_Team3D/Editor/Private/MapObject_Collision.cpp
@@ -2,7 +2,7 @@
#include "MapObject_Collision.h"
#include "GameInstance.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
#include "Layer.h"
#include "Terrain.h"
#include "VIBuffer_Terrain.h"
diff --git a/Jusin154_Team3D/Editor/Private/MapObject_LOD.cpp b/Jusin154_Team3D/Editor/Private/MapObject_LOD.cpp
index 5611c81d2..d71a8a5eb 100644
--- a/Jusin154_Team3D/Editor/Private/MapObject_LOD.cpp
+++ b/Jusin154_Team3D/Editor/Private/MapObject_LOD.cpp
@@ -2,7 +2,7 @@
#include "MapObject_LOD.h"
#include "GameInstance.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
#include "Layer.h"
#include "Terrain.h"
#include "VIBuffer_Terrain.h"
@@ -57,9 +57,18 @@ HRESULT CMapObject_LOD::Initialize(void* pArg)
m_vRotation = pDesc->vRotation;
+ m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&m_vPosition), 1.f));
+ m_pTransformCom->Set_Scale(m_vScale);
+ m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z));
+
+ XMStoreFloat4x4(&m_CombinedWorldMatrix, m_pTransformCom->Get_XMWorldMatrix() * m_pParentTransformCom->Get_XMWorldMatrix());
+
+ _float3 vOffset = m_pModelComs[0]->Get_RadiusOffset();
+ _matrix ColliderMatrix = XMMatrixTranslation(vOffset.x, vOffset.y, vOffset.z) * XMLoadFloat4x4(&m_CombinedWorldMatrix);
+ XMStoreFloat4(&m_vExtentPosition, ColliderMatrix.r[3]);
+
-
//m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
@@ -78,18 +87,12 @@ void CMapObject_LOD::Priority_Update(_float fTimeDelta)
void CMapObject_LOD::Update(_float fTimeDelta)
{
- //if (0 == m_iLodIndex)
- // m_bSelected = true;
+ /*if (0 == m_iLodIndex)
+ m_bSelected = true;*/
- //m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&m_vPosition), 1.f));
- //m_pTransformCom->Set_Scale(m_vScale);
- //m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z));
-
- XMStoreFloat4x4(&m_CombinedWorldMatrix, m_pTransformCom->Get_XMWorldMatrix() * m_pParentTransformCom->Get_XMWorldMatrix());
-
- _float3 vOffset = m_pModelComs[0]->Get_RadiusOffset();
- _matrix ColliderMatrix = XMMatrixTranslation(vOffset.x, vOffset.y, vOffset.z) * XMLoadFloat4x4(&m_CombinedWorldMatrix);
- XMStoreFloat4(&m_vExtentPosition, ColliderMatrix.r[3]);
+ m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&m_vPosition), 1.f));
+ m_pTransformCom->Set_Scale(m_vScale);
+ m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z));
}
void CMapObject_LOD::Late_Update(_float fTimeDelta)
@@ -102,6 +105,12 @@ void CMapObject_LOD::Late_Update(_float fTimeDelta)
m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z));
}
#endif
+ XMStoreFloat4x4(&m_CombinedWorldMatrix, m_pTransformCom->Get_XMWorldMatrix() * m_pParentTransformCom->Get_XMWorldMatrix());
+
+ _float3 vOffset = m_pModelComs[0]->Get_RadiusOffset();
+ _matrix ColliderMatrix = XMMatrixTranslation(vOffset.x, vOffset.y, vOffset.z) * XMLoadFloat4x4(&m_CombinedWorldMatrix);
+ XMStoreFloat4(&m_vExtentPosition, ColliderMatrix.r[3]);
+
_float fRaius = m_pModelComs[0]->Get_Radius();
if (m_pGameInstance->isIn_WorldFrustum(XMLoadFloat4(&m_vExtentPosition), fRaius)) {
diff --git a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp
index 96ca17ab4..7b7fac607 100644
--- a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp
+++ b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp
@@ -2,7 +2,7 @@
#include "MapObject_Manager.h"
#include "GameInstance.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
#include "Layer.h"
#include "MapObject.h"
#include "MapObject_LOD.h"
@@ -1348,7 +1348,7 @@ void CMapObject_Manager::Update_ContainerObject()
for (auto& pObject : (*pList))
{
- if (GUI::Button((dynamic_cast(pObject)->Get_Name().c_str())))
+ if (GUI::Button((dynamic_cast(pObject)->Get_Name() + to_string(iIndex)).c_str()))
{
m_iContainerObjectIndex = iIndex;
}
diff --git a/Jusin154_Team3D/Editor/Private/Player.cpp b/Jusin154_Team3D/Editor/Private/Player.cpp
index 233d42f30..26df46f54 100644
--- a/Jusin154_Team3D/Editor/Private/Player.cpp
+++ b/Jusin154_Team3D/Editor/Private/Player.cpp
@@ -2,13 +2,16 @@
#include "Player.h"
#include "GameInstance.h"
-#include "CamPosition_Player.h"
+#include "CamPosition_Socket.h"
#include "Camera_Gaze.h"
#include "CamPosition_Arm.h"
#include "Wand.h"
+#include "Character_Controller.h"
+#include "CallBack_Playable_Behavior.h"
+#include "CamPosition_Shoulder.h"
+#include "CallBack_Playable_HitReport.h"
#pragma region STATE
-
#include "State_Idle.h"
#include "State_Dodge.h"
#include "State_Jump.h"
@@ -17,6 +20,8 @@
#include "State_Combat.h"
#pragma endregion
+#include "Bombard.h"
+
CPlayer::CPlayer(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
: CUnit(pDevice, pContext)
{
@@ -34,15 +39,17 @@ HRESULT CPlayer::Initialize_Prototype()
HRESULT CPlayer::Initialize(void* pArg)
{
- if (FAILED(__super::Initialize(pArg)))
+ if (FAILED(__super::Initialize(pArg))) {
return E_FAIL;
+ }
- if (FAILED(Ready_Components()))
+ if (FAILED(Ready_Components())) {
return E_FAIL;
+ }
-
- if (FAILED(Ready_Parts()))
+ if (FAILED(Ready_Parts())) {
return E_FAIL;
+ }
Load_KeyFrame();
@@ -50,6 +57,8 @@ HRESULT CPlayer::Initialize(void* pArg)
Set_Anim();
+ m_eSpell = STATEANIM::DESCENDO;
+
{
CFSM::FSM_DESC FSMDesc{};
FSMDesc.pStates = &m_States;
@@ -59,11 +68,15 @@ HRESULT CPlayer::Initialize(void* pArg)
m_pFSM->Change_State(FSMSTATE::IDLE);
}
+ m_pCallBack_Behavior->Initialize(m_pCharacter_Controller, m_pRigidBody);
+ m_pCallBack_HitReport->Initialize(m_pCharacter_Controller, m_pRigidBody);
return S_OK;
}
void CPlayer::Priority_Update(_float fTimeDelta)
{
+ m_pTransformCom->RewindMomentum();
+
__super::Priority_Update(fTimeDelta);
}
@@ -71,13 +84,23 @@ void CPlayer::Update(_float fTimeDelta)
{
m_pFSM->Update_State(fTimeDelta);
+
m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom);
+
+
__super::Update(fTimeDelta);
+ Describe_Entity();
+
+
+ m_pCharacter_Controller->Move(fTimeDelta);
+ TestKeyInput(fTimeDelta);
}
void CPlayer::Late_Update(_float fTimeDelta)
{
+ m_pTransformCom->Set_State(STATE::POSITION, m_pCharacter_Controller->Get_Position());
+
m_pGameInstance->Add_RenderGroup(RENDER::BLEND, this);
__super::Late_Update(fTimeDelta);
@@ -85,6 +108,8 @@ void CPlayer::Late_Update(_float fTimeDelta)
HRESULT CPlayer::Render()
{
+ if (!m_bVisible)
+ return S_OK;
if (FAILED(Bind_ShaderResources())) {
return E_FAIL;
}
@@ -104,12 +129,16 @@ HRESULT CPlayer::Render()
return E_FAIL;
}
-
if (FAILED(m_pModelCom->Render(i))) {
return E_FAIL;
}
}
+#ifdef _DEBUG
+ m_pCharacter_Controller->Render();
+ //m_pRigidBody->Render();
+#endif
+
return S_OK;
}
@@ -124,19 +153,49 @@ HRESULT CPlayer::Ready_Components()
if (FAILED(__super::Ready_Components(&Desc))) {
return E_FAIL;
}
-
m_strModelPrototypeTag = TEXT("Prototype_Component_Npc_Model");
/* Com_Model */
if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, m_strModelPrototypeTag,
- reinterpret_cast(&m_pModelCom))))
+ reinterpret_cast(&m_pModelCom)))) {
return E_FAIL;
+ }
/* Com_Shader */
if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_ANIMMESH,
- reinterpret_cast(&m_pShaderCom))))
+ reinterpret_cast(&m_pShaderCom)))) {
return E_FAIL;
+ }
+
+ { // CCT
+ CCharacter_Controller::Character_Controller_DESC Desc{};
+
+ Desc.iSubKind = ENUM_CLASS(COLLIDABLEOBJECT::PLAYER);
+ Desc.pTransform = m_pTransformCom;
+ Desc.eBodyType = ACTOR::CAPSULE;
+ Desc.fContactOffset = 0.1f;
+ Desc.fMaterial = { 0.5f, 0.5f, 0.6f };
+ Desc.bAutoStepping = { false };
+ Desc.fStepOffset = { 0.05f };
+ Desc.fRadius = 0.5f;
+ Desc.fHeight = 1.0f;
+ Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_Playable_HitReport::Create();
+ Desc.pCallback_Behavior = m_pCallBack_Behavior = CCallBack_Playable_Behavior::Create();
+ Desc.eClimbingMode = PSX::PxCapsuleClimbingMode::eEASY;
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_CCT_CAPSULE"), (CComponent**)&m_pCharacter_Controller, &Desc))) {
+ return E_FAIL;
+ }
+ }
+
+ { // DO
+ CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{};
+ Desc.iSubKind = ENUM_CLASS(COLLIDABLEOBJECT::PLAYER);
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX"), (CComponent**)&m_pRigidBody, &Desc))) {
+ return E_FAIL;
+ }
+ m_pGameInstance->Detach_Actor(*m_pRigidBody->Get_Actor());
+ }
return S_OK;
}
@@ -153,47 +212,20 @@ HRESULT CPlayer::Ready_Parts()
return E_FAIL;
}
- CCamPosition_Player::CAMERAPOSITION_PLAYER_DESC Desc{};
-
- Desc.pParentTransform = m_pTransformCom;
- //Desc.pSocketMatrices = m_pModelCom->Get_BoneMatrixPtr("SKT_HeadCamera");
-
- if (FAILED(Add_PartObject("Cam_TopDown_Look", g_iStaticLevel, &m_pCamPosition_TopDown_LookPart, &Desc)))
{
- return E_FAIL;
+ CCamPosition_Shoulder::CAMERA_SHOULDER_DESC Desc;
+ Desc.pParentTransform = m_pTransformCom;
+ Desc.fMouseSensor = 0.5f;
+ Desc.fShoulderDistance = 2.f;
+ Desc.fBackFrontRatio = 0.9f;
+ Desc.fCameraFocalLength = 10.f;
+ Desc.vInitialLook = { 1.f, 2.f, -1.f };
+
+ if (FAILED(Add_PartObject("Cam_Shoulder_Part", g_iStaticLevel, &m_pCamPosition_ShoulderPart, &Desc))) {
+ return E_FAIL;
+ }
}
- CCamPosition_Arm::CameraArm_DESC CameraArmDesc{};
- XMStoreFloat3(&CameraArmDesc.fAt, m_pTransformCom->Get_State(STATE::POSITION));
- CameraArmDesc.pParentTransform = m_pTransformCom;
- CameraArmDesc.fEye = { 0.f, 10.f, 10.f };
- CameraArmDesc.fMouseSensor = 0.4f;
- CameraArmDesc.fDistance = 4.f;
- CameraArmDesc.pParentTransform = m_pTransformCom;
-
- if (FAILED(Add_PartObject("Cam_TopDown_Follow", g_iStaticLevel, &m_pCamPosition_TopDown_FollowPart, &CameraArmDesc))) {
- return E_FAIL;
- }
-
- CCamera_Gaze::CAMERA_GAZE_DESC CameraDesc{};
- CameraDesc.fFovy = XMConvertToRadians(60.0f);
- CameraDesc.fNear = 0.1f;
- CameraDesc.fFar = 300.f;
- CameraDesc.fSpeedPerSec = 5.f;
- CameraDesc.fRotationPerSec = XMConvertToRadians(90.f);
- CameraDesc.pFollowTarget = m_pCamPosition_TopDown_FollowPart;
- CameraDesc.pLookTarget = m_pCamPosition_TopDown_LookPart;
- CameraDesc.iPriority = 51;
-
- CCamera_Gaze* pCamera = { nullptr };
-
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_CAMERA, &CameraDesc, nullptr, &pCamera)))
- {
- return E_FAIL;
- }
-
- m_pGameInstance->Add_Camera(NEXT_LEVEL, pCamera, TEXT("CAM_TOPVIEW"));
-
return S_OK;
}
@@ -213,532 +245,6 @@ HRESULT CPlayer::Bind_ShaderResources()
}
return S_OK;
}
-
-HRESULT CPlayer::InputAction()
-{
- if (
- m_pGameInstance->Key_Down(DIK_SPACE)
- || m_pGameInstance->Key_Down(DIK_LCONTROL)
- || m_pGameInstance->Key_Down(DIK_E)
- || m_pGameInstance->Key_Down(DIK_R)
- || m_pGameInstance->Key_Down(DIK_Q)
- || m_pGameInstance->Mouse_Up(DIM_LBUTTON)
- || m_pGameInstance->Key_Down(DIK_1)
- || m_pGameInstance->Key_Down(DIK_LSHIFT)
- || m_pGameInstance->Key_Down(DIK_C)
- || m_pGameInstance->Key_Down(DIK_V)
- )
- {
- return S_OK;
- }
- return E_FAIL;
-}
-
-HRESULT CPlayer::InputMove()
-{
- if (m_pGameInstance->Key_Pressing(DIK_W)
- || m_pGameInstance->Key_Pressing(DIK_A)
- || m_pGameInstance->Key_Pressing(DIK_S)
- || m_pGameInstance->Key_Pressing(DIK_D))
- {
- return S_OK;
- }
- return E_FAIL;
-}
-
-void CPlayer::Behavior_IdleEnter() {
- m_pFSM->Enable_State(FSMSTATE::IDLE);
- pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::IDLE];
-
- if (m_pFSM->IsEnable_Previous(FSMSTATE::JOG|FSMSTATE::WALK)) {
-
- if (m_pFSM->IsEnable_Previous(FSMSTATE::WALK)) {
- pairAnimInfo = m_Animation[STATEANIM::WALK_STOP];
- }
- else if (m_pFSM->IsEnable_Previous(FSMSTATE::SPRINT)) {
- pairAnimInfo = m_Animation[STATEANIM::JOG_STOP];
- }
-
- else if (m_pFSM->IsEnable_Previous(FSMSTATE::JOG)) {
- pairAnimInfo = m_Animation[STATEANIM::JOG_STOP];
- }
- }
- m_bSprintToggle = false;
- m_bWalkToggle = false;
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
-}
-
-HRESULT CPlayer::Behavior_IdleExitCheck()
-{
- // S_OK -> 현 상태 유지
- // E_FAIL -> 현 상태 탈출
- if (SUCCEEDED(InputAction())) {
- if (m_pGameInstance->Key_Down(DIK_SPACE)) {
- m_pFSM->Change_State(FSMSTATE::JUMP);
- }
- else if (m_pGameInstance->Key_Down(DIK_LCONTROL)) {
- m_pFSM->Change_State(FSMSTATE::DODGE);
- }
- else if (m_pGameInstance->Key_Down(DIK_R)) {
- m_pFSM->Change_State(FSMSTATE::COMBAT);
- }
- else if (m_pGameInstance->Key_Down(DIK_Q)) {
- m_pFSM->Change_State(FSMSTATE::COMBAT);
- }
- else if (m_pGameInstance->Key_Down(DIK_1)) {
- m_pFSM->Change_State(FSMSTATE::COMBAT);
- }
- else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON)) {
- m_pFSM->Change_State(FSMSTATE::COMBAT);
- }
- else if (m_pGameInstance->Key_Down(DIK_V)) {
- m_pFSM->Change_State(FSMSTATE::COMBAT);
- }
-
- return E_FAIL;
- }
- if (SUCCEEDED(InputMove())) {
- m_pFSM->Change_State(FSMSTATE::MOVE);
- return E_FAIL;
- }
- pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::IDLE];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- return S_OK;
-}
-
-void CPlayer::Behavior_IdleExit()
-{
- m_pFSM->Disable_State(FSMSTATE::IDLE);
-}
-
-void CPlayer::Behavior_MoveEnter()
-{
- pair<_uint, _bool> pairAnimInfo = {};
- _bool bFoward = m_pGameInstance->Key_Pressing(DIK_W);
- _bool bLeft = m_pGameInstance->Key_Pressing(DIK_A);
- _bool bRight = m_pGameInstance->Key_Pressing(DIK_D);
- _bool bBackward = m_pGameInstance->Key_Pressing(DIK_S);
- m_pFSM->Enable_State(FSMSTATE::MOVE);
- if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE | FSMSTATE::DODGE)) {
- if (true == m_bSprintToggle) {
- m_pFSM->Enable_State(FSMSTATE::SPRINT);
- m_bWalkToggle = false;
- if (true == bFoward) {
- pairAnimInfo = m_Animation[STATEANIM::SPRINT];
- }
- }
- else if (true == m_bWalkToggle) {
- m_pFSM->Enable_State(FSMSTATE::WALK);
- m_bSprintToggle = false;
- if (true == bFoward) {
- pairAnimInfo = m_Animation[STATEANIM::WALK_FWD];
- }
- else if (true == bBackward) {
- pairAnimInfo = m_Animation[STATEANIM::WALK_BWD];
- }
- }
- else
- {
- m_pFSM->Enable_State(FSMSTATE::JOG);
- m_bSprintToggle = false;
- m_bWalkToggle = false;
- pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
- }
- }
- else { // While Moving
- if (true == m_bSprintToggle) {
- m_pFSM->Enable_State(FSMSTATE::SPRINT);
- m_bWalkToggle = false;
- pairAnimInfo = m_Animation[STATEANIM::SPRINT];
-
- }
- else if (true == m_bWalkToggle) {
- m_pFSM->Enable_State(FSMSTATE::WALK);
- m_bSprintToggle = false;
- if (true == bFoward) {
- pairAnimInfo = m_Animation[STATEANIM::WALK_FWD];
- }
- else if (true == bBackward){
- pairAnimInfo = m_Animation[STATEANIM::WALK_BWD];
- }
- }
- else {
- m_pFSM->Enable_State(FSMSTATE::JOG);
- m_bSprintToggle = false;
- m_bWalkToggle = false;
- pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
- }
- }
-
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
-}
-
-HRESULT CPlayer::Behavior_MoveExitCheck()
-{
- pair<_uint, _bool> pairAnimInfo;
- if (SUCCEEDED(InputAction())) {
- if (m_pGameInstance->Key_Down(DIK_SPACE)) {
- m_pFSM->Change_State(FSMSTATE::JUMP);
- }
- else if (m_pGameInstance->Key_Down(DIK_LCONTROL)) {
- m_pFSM->Change_State(FSMSTATE::DODGE);
- }
- else if (m_pGameInstance->Key_Down(DIK_R)) {
- m_pFSM->Change_State(FSMSTATE::COMBAT);
- }
- else if (m_pGameInstance->Key_Down(DIK_Q)) {
- m_pFSM->Change_State(FSMSTATE::COMBAT);
- }
- else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON)) {
- m_pFSM->Change_State(FSMSTATE::COMBAT);
- }
- else if (m_pGameInstance->Key_Down(DIK_1)) {
- m_pFSM->Change_State(FSMSTATE::COMBAT);
- }
- else if (m_pGameInstance->Key_Down(DIK_V)) {
- m_pFSM->Change_State(FSMSTATE::COMBAT);
- }
- else if (m_pGameInstance->Key_Down(DIK_LSHIFT)) {
- m_bSprintToggle = !m_bSprintToggle;
- m_bWalkToggle = false;
- if (m_bSprintToggle)
- {
- m_pFSM->Enable_State(FSMSTATE::SPRINT);
-
- pairAnimInfo = m_Animation[STATEANIM::SPRINT];
- }
- else
- {
- m_pFSM->Enable_State(FSMSTATE::JOG);
- m_pFSM->Disable_State(FSMSTATE::SPRINT);
- pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
- }
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- }
- else if (m_pGameInstance->Key_Down(DIK_C)) {
- m_bWalkToggle = !m_bWalkToggle;
- m_bSprintToggle= false;
- if (m_bWalkToggle)
- {
- m_pFSM->Enable_State(FSMSTATE::WALK);
- pairAnimInfo = m_Animation[STATEANIM::WALK_FWD];
- }
- else
- {
- m_pFSM->Enable_State(FSMSTATE::JOG);
- m_pFSM->Disable_State(FSMSTATE::WALK);
- pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
- }
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- }
- return E_FAIL;
- }
- if (SUCCEEDED(InputMove())) {
- return S_OK;
- }
- m_pFSM->Change_State(FSMSTATE::IDLE);
- return E_FAIL;
-}
-
-void CPlayer::Behavior_MoveExit()
-{
- m_pFSM->Disable_State(FSMSTATE::MOVE | FSMSTATE::SPRINT | FSMSTATE::JOG | FSMSTATE::WALK);
-}
-
-void CPlayer::Behavior_JumpEnter()
-{
- pair<_uint, _bool> pairAnimInfo;
- m_pFSM->Enable_State(FSMSTATE::JUMP);
- if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE|FSMSTATE::WALK|FSMSTATE::JOG|FSMSTATE::SPRINT)) {
- if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE)) {
- pairAnimInfo = Get_AnimInfo(STATEANIM::JUMP);
- }
- else if (m_pFSM->IsEnable_Previous(FSMSTATE::SPRINT)) {
- pairAnimInfo = m_Animation[STATEANIM::JUMP_SPRINT];
- }
- else if (m_pFSM->IsEnable_Previous(FSMSTATE::WALK)) {
- pairAnimInfo = Get_AnimInfo(STATEANIM::JUMP);
- }
- else if (m_pFSM->IsEnable_Previous(FSMSTATE::JOG)) {
- pairAnimInfo = Get_AnimInfo(STATEANIM::JUMP_JOG);
- }
- }
- else {
- // Drop?
- }
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
-}
-
-HRESULT CPlayer::Behavior_JumpExitCheck()
-{
- if (IsCurrentKeyFrame("Jump")) {
- m_pFSM->Change_State(FSMSTATE::LAND);
- return E_FAIL;
- }
- return S_OK;
-}
-
-void CPlayer::Behavior_JumpExit()
-{
- m_pFSM->Disable_State(FSMSTATE::JUMP);
-}
-
-void CPlayer::Behavior_LandEnter()
-{
- m_pFSM->Enable_State(FSMSTATE::LAND);
- pair<_uint, _bool> pairAnimInfo = Get_AnimInfo(STATEANIM::LAND);
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
-}
-
-HRESULT CPlayer::Behavior_LandExitCheck()
-{
- if (m_pModelCom->IsFinishedAnim()){
- m_pFSM->Change_State(FSMSTATE::IDLE);
- return E_FAIL;
- } // 혹시 Land to (Jog, Sprint, Dodge) 같은 애니메이션 있으면 여기에 분기 조건 넣으면 됨
-
- if (SUCCEEDED(InputMove())) {
- m_pFSM->Change_State(FSMSTATE::MOVE);
- return E_FAIL;
- }
- return S_OK;
-}
-
-void CPlayer::Behavior_LandExit()
-{
- m_pFSM->Disable_State(FSMSTATE::LAND);
-}
-
-void CPlayer::Behavior_DodgeEnter()
-{
- // 혹시 @@ to Dodge 있으면 여기에
- m_pFSM->Enable_State(FSMSTATE::DODGE);
- pair<_uint, _bool> pairAnimInfo = Get_AnimInfo(STATEANIM::DODGE);
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
-}
-
-HRESULT CPlayer::Behavior_DodgeExitCheck()
-{
- if (m_pModelCom->IsFinishedAnim()){
- m_pFSM->Change_State(FSMSTATE::IDLE);
- return E_FAIL;
- }
- if (IsCurrentKeyFrame("Dodge")) {
- m_pFSM->Change_State(FSMSTATE::MOVE);
- return E_FAIL;
- }
- return S_OK;
-}
-
-void CPlayer::Behavior_DodgeExit()
-{
- m_pFSM->Disable_State(FSMSTATE::DODGE);
-}
-
-void CPlayer::Behavior_CombatEnter()
-{
- pair<_uint, _bool> pairAnimInfo = {};
- m_pFSM->Enable_State(FSMSTATE::COMBAT);
-
- if (m_pGameInstance->Key_Down(DIK_R)) {
- m_pFSM->Enable_State(FSMSTATE::SKILL);
- pairAnimInfo = m_Animation[STATEANIM::SKILL];
- }
- else if (m_pGameInstance->Key_Down(DIK_Q)) {
- m_pFSM->Enable_State(FSMSTATE::SKILL2);
- pairAnimInfo = m_Animation[STATEANIM::SKILL2];
- }
- else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON)) {
- m_pFSM->Enable_State(FSMSTATE::LIGHT_ATTACK);
- pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK];
- }
- else if (m_pGameInstance->Key_Down(DIK_1)) {
- m_pFSM->Enable_State(FSMSTATE::CAST);
- pairAnimInfo = m_Animation[STATEANIM::CAST];
-
- }
- else if (m_pGameInstance->Key_Down(DIK_V)) {
- m_pFSM->Enable_State(FSMSTATE::MAPHELP);
- pairAnimInfo = m_Animation[STATEANIM::MAPHELP];
-
- }
-
-
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
-}
-
-HRESULT CPlayer::Behavior_CombatExitCheck()
-{
- pair<_uint, _bool> pairAnimInfo;
- if (SUCCEEDED(InputAction())) {
- if (m_pGameInstance->Key_Down(DIK_R))
- {
- m_pFSM->Enable_State(FSMSTATE::SKILL);
- }
- else if (m_pGameInstance->Key_Down(DIK_Q))
- {
- m_pFSM->Enable_State(FSMSTATE::SKILL2);
- }
- else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON))
- {
- m_pFSM->Enable_State(FSMSTATE::LIGHT_ATTACK);
- _uint iIndex = m_pModelCom->Get_AnimIndex();
- if (m_Animation[STATEANIM::LIGHT_ATTACK].first <= iIndex && m_Animation[STATEANIM::LIGHT_ATTACK].first + 3 > iIndex) {
- _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
- if (fRatio >= 0.1f) {
- pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK];
- pairAnimInfo.first = iIndex + 1;
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- }
- }
- }
- else if (m_pGameInstance->Key_Down(DIK_1))
- {
- m_pFSM->Enable_State(FSMSTATE::CAST);
- _uint iIndex = m_pModelCom->Get_AnimIndex();
- if (m_Animation[STATEANIM::CAST].first <= iIndex && m_Animation[STATEANIM::CAST].first + 3 > iIndex) {
- _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
- if (fRatio >= 0.15f) {
- pairAnimInfo = m_Animation[STATEANIM::CAST];
- pairAnimInfo.first = iIndex + 1;
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- }
- }
- }
- else if (m_pGameInstance->Key_Down(DIK_V))
- {
- m_pFSM->Enable_State(FSMSTATE::MAPHELP);
- pairAnimInfo = m_Animation[STATEANIM::MAPHELP];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- }
- return E_FAIL;
- }
- if (SUCCEEDED(InputMove()) && IsCurrentKeyFrame("Combat")) {
- m_pFSM->Change_State(FSMSTATE::MOVE);
- return E_FAIL;
- }
-
- if (m_pModelCom->IsFinishedAnim()) {
- m_pFSM->Change_State(FSMSTATE::IDLE);
- return E_FAIL;
- }
-
- return E_FAIL;
-}
-
-void CPlayer::Behavior_CombatExit()
-{
- m_pFSM->Disable_State(FSMSTATE::COMBAT | FSMSTATE::LIGHT_ATTACK | FSMSTATE::CAST | FSMSTATE::SKILL | FSMSTATE::SKILL2 | FSMSTATE::MAPHELP);
-}
-
-void CPlayer::Add_FSM()
-{
-#pragma region Behavior_Movement_NotFocus
- {
- CState_Idle::STATE_IDLE_DESC Desc{};
- Desc.pOwner = this;
- Desc.funcEnterEvent = [this]() { Behavior_IdleEnter(); };
- Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_IdleExitCheck(); };
- Desc.funcExitEvent = [this]() { Behavior_IdleExit(); };
- Desc.funcPriorityUpdate = nullptr;
- Desc.funcLateUpdate = nullptr;
- m_States.emplace(FSMSTATE::IDLE, CState_Idle::Create(&Desc));
- }
- {
- CState_Move::STATE_MOVE_DESC Desc{};
- Desc.pOwner = this;
- Desc.funcEnterEvent = [this]() { Behavior_MoveEnter(); };
- Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_MoveExitCheck(); };
- Desc.funcExitEvent = [this]() { Behavior_MoveExit(); };
- Desc.funcPriorityUpdate = [this](_float fTimeDelta) {
- if (m_pGameInstance->Key_Pressing(DIK_A)) {m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta);}
- if (m_pGameInstance->Key_Pressing(DIK_D)) { m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta);};
- };
- Desc.funcLateUpdate = nullptr;
- m_States.emplace(FSMSTATE::MOVE, CState_Move::Create(&Desc));
- }
-#pragma endregion
-#pragma region Behavior_Movement_Focus
- {
- CState_Jump::STATE_JUMP_DESC Desc{};
- Desc.pOwner = this;
- Desc.funcEnterEvent = [this]() { Behavior_JumpEnter(); };
- Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_JumpExitCheck(); };
- Desc.funcExitEvent = [this]() { Behavior_JumpExit(); };
- m_States.emplace(FSMSTATE::JUMP, CState_Jump::Create(&Desc));
- }
- {
- CState_Land::STATE_LAND_DESC Desc{};
- Desc.pOwner = this;
- Desc.funcEnterEvent = [this]() { Behavior_LandEnter(); };
- Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_LandExitCheck(); };
- Desc.funcExitEvent = [this]() { Behavior_LandExit(); };
- m_States.emplace(FSMSTATE::LAND, CState_Land::Create(&Desc));
- }
- {
- CState_Dodge::STATE_DODGE_DESC Desc{};
- Desc.pOwner = this;
- Desc.funcEnterEvent = [this]() { Behavior_DodgeEnter(); };
- Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_DodgeExitCheck(); };
- Desc.funcExitEvent = [this]() { Behavior_DodgeExit(); };
- Desc.funcPriorityUpdate = [this](_float fTimeDelta) {
- if (m_pGameInstance->Key_Pressing(DIK_A)) { m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta); }
- if (m_pGameInstance->Key_Pressing(DIK_D)) { m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta); };
- };
- Desc.funcLateUpdate = nullptr;
- m_States.emplace(FSMSTATE::DODGE, CState_Dodge::Create(&Desc));
- }
-#pragma endregion
-#pragma region Behavior_Combat_NotFocus
- {
- CState_Combat::STATE_COMBAT_DESC Desc{};
- Desc.pOwner = this;
- Desc.funcEnterEvent = [this]() { Behavior_CombatEnter(); };
- Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_CombatExitCheck(); };
- Desc.funcExitEvent = [this]() { Behavior_CombatExit(); };
- Desc.funcPriorityUpdate = nullptr;
- Desc.funcLateUpdate = nullptr;
- m_States.emplace(FSMSTATE::COMBAT, CState_Combat::Create(&Desc));
- }
-#pragma endregion
-#pragma region Behavior_Combat_Focus
-
-#pragma endregion
-
-}
-
-void CPlayer::Set_Anim()
-{
-
- m_Animation[STATEANIM::DODGE] = { 802,false };
-
- m_Animation[STATEANIM::SKILL] = { 593,false };
- m_Animation[STATEANIM::SKILL2] = { 915,false };
- m_Animation[STATEANIM::LIGHT_ATTACK] = { 413,false };
- m_Animation[STATEANIM::LAND] = { 259,false };
- m_Animation[STATEANIM::CAST] = { 696,false };
- m_Animation[STATEANIM::MAPHELP] = { 122,false };
-
- m_Animation[STATEANIM::IDLE] = { 266,true };
- m_Animation[STATEANIM::IDLE_TURN_L] = { 270,false };
- m_Animation[STATEANIM::IDLE_TURN_R] = { 430,false };
- m_Animation[STATEANIM::IDLE_TURN_BWD] = { 268,false };
-
- m_Animation[STATEANIM::WALK_FWD] = { 625,true };
- m_Animation[STATEANIM::WALK_BWD] = { 166,true };
- m_Animation[STATEANIM::WALK_STOP] = { 344,false };
-
- m_Animation[STATEANIM::JOG_FWD] = { 167,true };
- m_Animation[STATEANIM::JOG_STOP] = { 289,false };
-
- m_Animation[STATEANIM::JUMP] = { 205,false };
- m_Animation[STATEANIM::JUMP_JOG] = { 203,false };
- m_Animation[STATEANIM::JUMP_SPRINT] = { 207,false };
-
- m_Animation[STATEANIM::SPRINT] = { 599,true };
-
-}
-
CPlayer* CPlayer::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
{
CPlayer* pInstance = new CPlayer(pDevice, pContext);
@@ -767,12 +273,27 @@ void CPlayer::Free()
{
__super::Free();
+ if (nullptr != m_pCallBack_Behavior) {
+ m_pCallBack_Behavior->Finalize();
+ }
+ if (nullptr != m_pCallBack_HitReport) {
+ m_pCallBack_HitReport->Finalize();
+ }
+ SAFE_RELEASE(m_pCharacter_Controller);
+ SAFE_RELEASE(m_pRigidBody);
+ Safe_Delete(m_pCallBack_Behavior);
+ Safe_Delete(m_pCallBack_HitReport);
SAFE_RELEASE(m_pCamPosition_TopDown_FollowPart);
SAFE_RELEASE(m_pCamPosition_TopDown_LookPart);
+ SAFE_RELEASE(m_pCamPosition_ShoulderPart);
}
void CPlayer::Describe_Entity()
{
+ m_pCharacter_Controller->Describe_Entity();
+ _float4 vMomentum = {};
+ XMStoreFloat4(&vMomentum, m_pTransformCom->Get_CurrentMomentum());
+ GUI::Text("%.1f %.1f %.1f %.1f ", vMomentum.x, vMomentum.y, vMomentum.z, vMomentum.w);
_char label[256];
for (auto& iter : m_KeyFrames)
{
@@ -788,7 +309,7 @@ void CPlayer::Describe_Entity()
GUI::DragFloat3("Pos", Pos3);
- _float RotR,RotU,RotL;
+ _float RotR, RotU, RotL;
RotR = XMVectorGetX(m_pTransformCom->Get_State(STATE::RIGHT));
RotU = XMVectorGetY(m_pTransformCom->Get_State(STATE::UP));
RotL = XMVectorGetZ(m_pTransformCom->Get_State(STATE::LOOK));
@@ -799,5 +320,7 @@ void CPlayer::Describe_Entity()
string AnimList = m_pModelCom->Get_AnimList(m_pModelCom->Get_AnimIndex());
GUI::Text(AnimList.c_str());
+
+ GUI::Checkbox("Render", &m_bVisible);
}
diff --git a/Jusin154_Team3D/Editor/Private/Player_States.cpp b/Jusin154_Team3D/Editor/Private/Player_States.cpp
new file mode 100644
index 000000000..42fa72364
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Player_States.cpp
@@ -0,0 +1,648 @@
+#include "pch.h"
+#include "Player.h"
+
+#include "GameInstance.h"
+#include "CamPosition_Socket.h"
+#include "Camera_Gaze.h"
+#include "CamPosition_Arm.h"
+#include "Wand.h"
+#include "Character_Controller.h"
+#include "CallBack_Playable_Behavior.h"
+#include "CamPosition_Shoulder.h"
+#include "CallBack_Playable_HitReport.h"
+
+#pragma region STATE
+#include "State_Idle.h"
+#include "State_Dodge.h"
+#include "State_Jump.h"
+#include "State_Land.h"
+#include "State_Move.h"
+#include "State_Combat.h"
+#pragma endregion
+
+#include "Bombard.h"
+
+#pragma region States
+void CPlayer::TestKeyInput(_float fTimeDelta)
+{
+ if (m_pGameInstance->Key_Down(DIK_F1))
+ {
+ m_eSpell = STATEANIM::ACCIO;
+ }
+ if (m_pGameInstance->Key_Down(DIK_F2))
+ {
+ m_eSpell = STATEANIM::DESCENDO;
+ }
+ if (m_pGameInstance->Key_Down(DIK_F3))
+ {
+ m_eSpell = STATEANIM::DEPULSO;
+ }
+ if (m_pGameInstance->Key_Down(DIK_F4))
+ {
+ m_eSpell = STATEANIM::DIFFINDO;
+ }
+ if (m_pGameInstance->Key_Down(DIK_F5))
+ {
+ m_eSpell = STATEANIM::DISILLUSION_ENTER;
+ }
+ if (m_pGameInstance->Key_Down(DIK_F6))
+ {
+ m_eSpell = STATEANIM::DISILLUSION_EXIT;
+ }
+
+}
+
+HRESULT CPlayer::InputAction()
+{
+ if (
+ m_pGameInstance->Key_Down(DIK_SPACE)
+ || m_pGameInstance->Key_Down(DIK_LCONTROL)
+ || m_pGameInstance->Key_Down(DIK_E)
+ || m_pGameInstance->Key_Down(DIK_R)
+ || m_pGameInstance->Key_Down(DIK_Q)
+ || m_pGameInstance->Mouse_Up(DIM_LBUTTON)
+ || m_pGameInstance->Key_Down(DIK_LSHIFT)
+ || m_pGameInstance->Key_Down(DIK_C)
+ || m_pGameInstance->Key_Down(DIK_V)
+ )
+ {
+ return S_OK;
+ }
+ return E_FAIL;
+}
+
+HRESULT CPlayer::InputMove()
+{
+ if (m_pGameInstance->Key_Pressing(DIK_W)
+ || m_pGameInstance->Key_Pressing(DIK_A)
+ || m_pGameInstance->Key_Pressing(DIK_S)
+ || m_pGameInstance->Key_Pressing(DIK_D))
+ {
+ return S_OK;
+ }
+ return E_FAIL;
+}
+
+HRESULT CPlayer::InputSpell()
+{
+ if (
+ m_pGameInstance->Key_Down(DIK_1)
+ || m_pGameInstance->Key_Down(DIK_2)
+ || m_pGameInstance->Key_Down(DIK_3)
+ || m_pGameInstance->Key_Down(DIK_4)
+ )
+ {
+ return S_OK;
+ }
+ return E_FAIL;
+}
+
+void CPlayer::Behavior_IdleEnter() {
+ m_pFSM->Enable_State(FSMSTATE::IDLE);
+ pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::IDLE];
+
+ if (m_pFSM->IsEnable_Previous(FSMSTATE::JOG | FSMSTATE::WALK | FSMSTATE::SPRINT)) {
+
+ if (m_pFSM->IsEnable_Previous(FSMSTATE::WALK)) {
+ pairAnimInfo = m_Animation[STATEANIM::WALK_STOP];
+ }
+ else if (m_pFSM->IsEnable_Previous(FSMSTATE::SPRINT)) {
+ pairAnimInfo = m_Animation[STATEANIM::JOG_STOP];
+ }
+
+ else if (m_pFSM->IsEnable_Previous(FSMSTATE::JOG)) {
+ pairAnimInfo = m_Animation[STATEANIM::JOG_STOP];
+ }
+ }
+ m_bSprintToggle = false;
+ m_bWalkToggle = false;
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+}
+
+HRESULT CPlayer::Behavior_IdleExitCheck()
+{
+ // S_OK -> 현 상태 유지
+ // E_FAIL -> 현 상태 탈출
+ if (SUCCEEDED(InputAction()) || SUCCEEDED(InputSpell())) {
+ if (m_pGameInstance->Key_Down(DIK_SPACE)) {
+ m_pFSM->Change_State(FSMSTATE::JUMP);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_LCONTROL)) {
+ m_pFSM->Change_State(FSMSTATE::DODGE);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_R)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_Q)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (SUCCEEDED(InputSpell())) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_V)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+
+ return E_FAIL;
+ }
+ if (SUCCEEDED(InputMove())) {
+ m_pFSM->Change_State(FSMSTATE::MOVE);
+ return E_FAIL;
+ }
+
+ if (m_pModelCom->IsFinishedAnim())
+ {
+ pair<_uint, _bool> pairAnimInfo = m_Animation[STATEANIM::IDLE];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ return S_OK;
+}
+
+void CPlayer::Behavior_IdleExit()
+{
+ m_pFSM->Disable_State(FSMSTATE::IDLE);
+}
+
+void CPlayer::Behavior_MoveEnter()
+{
+ pair<_uint, _bool> pairAnimInfo = {};
+ _bool bFoward = m_pGameInstance->Key_Pressing(DIK_W);
+ _bool bLeft = m_pGameInstance->Key_Pressing(DIK_A);
+ _bool bRight = m_pGameInstance->Key_Pressing(DIK_D);
+ _bool bBackward = m_pGameInstance->Key_Pressing(DIK_S);
+ m_pFSM->Enable_State(FSMSTATE::MOVE);
+ if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE | FSMSTATE::DODGE)) {
+ if (true == m_bSprintToggle) {
+ m_pFSM->Enable_State(FSMSTATE::SPRINT);
+ m_bWalkToggle = false;
+ if (true == bFoward) {
+ pairAnimInfo = m_Animation[STATEANIM::SPRINT];
+ }
+ }
+ else if (true == m_bWalkToggle) {
+ m_pFSM->Enable_State(FSMSTATE::WALK);
+ m_bSprintToggle = false;
+ if (true == bFoward) {
+ pairAnimInfo = m_Animation[STATEANIM::WALK_FWD];
+ }
+ else if (true == bBackward) {
+ pairAnimInfo = m_Animation[STATEANIM::WALK_BWD];
+ }
+ }
+ else
+ {
+ m_pFSM->Enable_State(FSMSTATE::JOG);
+ m_bSprintToggle = false;
+ m_bWalkToggle = false;
+ pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
+ }
+ }
+ else { // While Moving
+ if (true == m_bSprintToggle) {
+ m_pFSM->Enable_State(FSMSTATE::SPRINT);
+ m_bWalkToggle = false;
+ pairAnimInfo = m_Animation[STATEANIM::SPRINT];
+
+ }
+ else if (true == m_bWalkToggle) {
+ m_pFSM->Enable_State(FSMSTATE::WALK);
+ m_bSprintToggle = false;
+ if (true == bFoward) {
+ pairAnimInfo = m_Animation[STATEANIM::WALK_FWD];
+ }
+ else if (true == bBackward) {
+ pairAnimInfo = m_Animation[STATEANIM::WALK_BWD];
+ }
+ }
+ else {
+ m_pFSM->Enable_State(FSMSTATE::JOG);
+ m_bSprintToggle = false;
+ m_bWalkToggle = false;
+ pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
+ }
+ }
+
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+}
+
+HRESULT CPlayer::Behavior_MoveExitCheck()
+{
+ pair<_uint, _bool> pairAnimInfo;
+ if (SUCCEEDED(InputAction()) || SUCCEEDED(InputSpell())) {
+ if (m_pGameInstance->Key_Down(DIK_SPACE)) {
+ m_pFSM->Change_State(FSMSTATE::JUMP);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_LCONTROL)) {
+ m_pFSM->Change_State(FSMSTATE::DODGE);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_R)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_Q)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (SUCCEEDED(InputSpell())) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_V)) {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_LSHIFT)) {
+ m_bSprintToggle = !m_bSprintToggle;
+ m_bWalkToggle = false;
+ if (m_bSprintToggle)
+ {
+ m_pFSM->Enable_State(FSMSTATE::SPRINT);
+
+ pairAnimInfo = m_Animation[STATEANIM::SPRINT];
+ }
+ else
+ {
+ m_pFSM->Enable_State(FSMSTATE::JOG);
+ m_pFSM->Disable_State(FSMSTATE::SPRINT);
+ pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
+ }
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_C)) {
+ m_bWalkToggle = !m_bWalkToggle;
+ m_bSprintToggle = false;
+ if (m_bWalkToggle)
+ {
+ m_pFSM->Enable_State(FSMSTATE::WALK);
+ pairAnimInfo = m_Animation[STATEANIM::WALK_FWD];
+ }
+ else
+ {
+ m_pFSM->Enable_State(FSMSTATE::JOG);
+ m_pFSM->Disable_State(FSMSTATE::WALK);
+ pairAnimInfo = m_Animation[STATEANIM::JOG_FWD];
+ }
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ return E_FAIL;
+ }
+ if (SUCCEEDED(InputMove())) {
+ return S_OK;
+ }
+
+ m_pFSM->Change_State(FSMSTATE::IDLE);
+
+ return E_FAIL;
+}
+
+void CPlayer::Behavior_MoveExit()
+{
+ m_pFSM->Disable_State(FSMSTATE::MOVE | FSMSTATE::SPRINT | FSMSTATE::JOG | FSMSTATE::WALK);
+}
+
+void CPlayer::Behavior_JumpEnter()
+{
+ pair<_uint, _bool> pairAnimInfo;
+ m_pFSM->Enable_State(FSMSTATE::JUMP);
+ if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE | FSMSTATE::WALK | FSMSTATE::JOG | FSMSTATE::SPRINT)) {
+ if (m_pFSM->IsEnable_Previous(FSMSTATE::IDLE)) {
+ pairAnimInfo = Get_AnimInfo(STATEANIM::JUMP);
+ }
+ else if (m_pFSM->IsEnable_Previous(FSMSTATE::SPRINT)) {
+ pairAnimInfo = m_Animation[STATEANIM::JUMP_SPRINT];
+ }
+ else if (m_pFSM->IsEnable_Previous(FSMSTATE::WALK)) {
+ pairAnimInfo = Get_AnimInfo(STATEANIM::JUMP);
+ }
+ else if (m_pFSM->IsEnable_Previous(FSMSTATE::JOG)) {
+ pairAnimInfo = Get_AnimInfo(STATEANIM::JUMP_JOG);
+ }
+ }
+ else {
+ // Drop?
+ }
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+}
+
+HRESULT CPlayer::Behavior_JumpExitCheck()
+{
+ if (IsCurrentKeyFrame("Jump")) {
+ m_pFSM->Change_State(FSMSTATE::LAND);
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+void CPlayer::Behavior_JumpExit()
+{
+ m_pFSM->Disable_State(FSMSTATE::JUMP);
+}
+
+void CPlayer::Behavior_LandEnter()
+{
+ m_pFSM->Enable_State(FSMSTATE::LAND);
+ pair<_uint, _bool> pairAnimInfo = Get_AnimInfo(STATEANIM::LAND);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+}
+
+HRESULT CPlayer::Behavior_LandExitCheck()
+{
+ if (m_pModelCom->IsFinishedAnim()) {
+ m_pFSM->Change_State(FSMSTATE::IDLE);
+ return E_FAIL;
+ } // 혹시 Land to (Jog, Sprint, Dodge) 같은 애니메이션 있으면 여기에 분기 조건 넣으면 됨
+
+ if (SUCCEEDED(InputMove())) {
+ m_pFSM->Change_State(FSMSTATE::MOVE);
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+void CPlayer::Behavior_LandExit()
+{
+ m_pFSM->Disable_State(FSMSTATE::LAND);
+}
+
+void CPlayer::Behavior_DodgeEnter()
+{
+ // 혹시 @@ to Dodge 있으면 여기에
+ m_pFSM->Enable_State(FSMSTATE::DODGE);
+ pair<_uint, _bool> pairAnimInfo = Get_AnimInfo(STATEANIM::DODGE);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+}
+
+HRESULT CPlayer::Behavior_DodgeExitCheck()
+{
+ if (m_pModelCom->IsFinishedAnim()) {
+ m_pFSM->Change_State(FSMSTATE::IDLE);
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+void CPlayer::Behavior_DodgeExit()
+{
+ m_pFSM->Disable_State(FSMSTATE::DODGE);
+}
+
+void CPlayer::Behavior_CombatEnter()
+{
+ pair<_uint, _bool> pairAnimInfo = {};
+ m_pFSM->Enable_State(FSMSTATE::COMBAT);
+
+ if (m_pGameInstance->Key_Down(DIK_R)) {
+ m_pFSM->Enable_State(FSMSTATE::SKILL);
+ pairAnimInfo = m_Animation[STATEANIM::SKILL];
+ }
+ else if (m_pGameInstance->Key_Down(DIK_Q)) {
+ m_pFSM->Enable_State(FSMSTATE::SKILL2);
+ pairAnimInfo = m_Animation[STATEANIM::SKILL2];
+ }
+ else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON)) {
+ m_pFSM->Enable_State(FSMSTATE::LIGHT_ATTACK);
+ pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK];
+ }
+ else if (SUCCEEDED(InputSpell())) {
+ m_pFSM->Enable_State(FSMSTATE::SPELL);
+ if (m_eSpell != STATEANIM::END)
+ {
+ switch (m_eSpell)
+ {
+ case STATEANIM::DEPULSO:
+ pairAnimInfo = m_Animation[STATEANIM::DEPULSO];
+ m_eSpell = STATEANIM::END;
+ break;
+ case STATEANIM::DIFFINDO:
+ pairAnimInfo = m_Animation[STATEANIM::DIFFINDO];
+ m_eSpell = STATEANIM::END;
+ break;
+ case STATEANIM::DISILLUSION_ENTER:
+ pairAnimInfo = m_Animation[STATEANIM::DISILLUSION_ENTER];
+ m_eSpell = STATEANIM::END;
+ break;
+ case STATEANIM::DISILLUSION_EXIT:
+ pairAnimInfo = m_Animation[STATEANIM::DISILLUSION_EXIT];
+ m_eSpell = STATEANIM::END;
+ break;
+ default:
+ pairAnimInfo = m_Animation[STATEANIM::SPELL];
+ break;
+ }
+ }
+ else
+ pairAnimInfo = m_Animation[STATEANIM::SPELL];
+ }
+ else if (m_pGameInstance->Key_Down(DIK_V)) {
+ m_pFSM->Enable_State(FSMSTATE::MAPHELP);
+ pairAnimInfo = m_Animation[STATEANIM::MAPHELP];
+
+ }
+
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+}
+
+HRESULT CPlayer::Behavior_CombatExitCheck()
+{
+ pair<_uint, _bool> pairAnimInfo;
+ if (SUCCEEDED(InputAction()) || SUCCEEDED(InputSpell())) {
+ if (m_pGameInstance->Key_Down(DIK_R))
+ {
+ m_pFSM->Enable_State(FSMSTATE::SKILL);
+ }
+ else if (m_pGameInstance->Key_Down(DIK_Q))
+ {
+ m_pFSM->Enable_State(FSMSTATE::SKILL2);
+ pairAnimInfo = m_Animation[STATEANIM::SKILL2];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ else if (m_pGameInstance->Mouse_Up(DIM_LBUTTON))
+ {
+ m_pFSM->Enable_State(FSMSTATE::LIGHT_ATTACK);
+ _uint iIndex = m_pModelCom->Get_AnimIndex();
+ if (m_Animation[STATEANIM::LIGHT_ATTACK].first <= iIndex && m_Animation[STATEANIM::LIGHT_ATTACK].first + 3 > iIndex) {
+ _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
+ if (fRatio >= 0.1f) {
+ pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK];
+ pairAnimInfo.first = iIndex + 1;
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ }
+ }
+ else if (SUCCEEDED(InputSpell()))
+ {
+ m_pFSM->Enable_State(FSMSTATE::SPELL);
+ _uint iIndex = m_pModelCom->Get_AnimIndex();
+ if (m_Animation[STATEANIM::SPELL].first <= iIndex && m_Animation[STATEANIM::SPELL].first + 3 > iIndex) {
+ _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
+ if (fRatio >= 0.15f) {
+ pairAnimInfo = m_Animation[STATEANIM::SPELL];
+ pairAnimInfo.first = iIndex + 1;
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ }
+ }
+ else if (m_pGameInstance->Key_Down(DIK_V))
+ {
+ m_pFSM->Enable_State(FSMSTATE::MAPHELP);
+ pairAnimInfo = m_Animation[STATEANIM::MAPHELP];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ }
+
+ if (m_pFSM->IsEnable(FSMSTATE::SPELL) && IsCurrentKeyFrame("Combat"))
+ {
+ if (m_eSpell != STATEANIM::END)
+ {
+ switch (m_eSpell)
+ {
+ case STATEANIM::ACCIO:
+ pairAnimInfo = m_Animation[STATEANIM::ACCIO];
+ break;
+ case STATEANIM::DESCENDO:
+ pairAnimInfo = m_Animation[STATEANIM::DESCENDO];
+ break;
+ default:
+ break;
+ }
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ m_eSpell = STATEANIM::END;
+ return E_FAIL;
+ }
+ }
+
+ if (SUCCEEDED(InputMove()) && IsCurrentKeyFrame("Combat")) {
+ m_pFSM->Change_State(FSMSTATE::MOVE);
+ return E_FAIL;
+ }
+
+ if (m_pModelCom->IsFinishedAnim()) {
+ m_pFSM->Change_State(FSMSTATE::IDLE);
+ return E_FAIL;
+ }
+
+ return E_FAIL;
+}
+
+void CPlayer::Behavior_CombatExit()
+{
+ m_pFSM->Disable_State(FSMSTATE::COMBAT | FSMSTATE::LIGHT_ATTACK | FSMSTATE::SPELL | FSMSTATE::SKILL | FSMSTATE::SKILL2 | FSMSTATE::MAPHELP);
+}
+
+void CPlayer::Add_FSM()
+{
+#pragma region Behavior_Movement_NotFocus
+ {
+ CState_Idle::STATE_IDLE_DESC Desc{};
+ Desc.pOwner = this;
+ Desc.funcEnterEvent = [this]() { Behavior_IdleEnter(); };
+ Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_IdleExitCheck(); };
+ Desc.funcExitEvent = [this]() { Behavior_IdleExit(); };
+ Desc.funcPriorityUpdate = nullptr;
+ Desc.funcLateUpdate = nullptr;
+ m_States.emplace(FSMSTATE::IDLE, CState_Idle::Create(&Desc));
+ }
+ {
+ CState_Move::STATE_MOVE_DESC Desc{};
+ Desc.pOwner = this;
+ Desc.funcEnterEvent = [this]() { Behavior_MoveEnter(); };
+ Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_MoveExitCheck(); };
+ Desc.funcExitEvent = [this]() { Behavior_MoveExit(); };
+ Desc.funcPriorityUpdate = [this](_float fTimeDelta) {
+ if (m_pGameInstance->Key_Pressing(DIK_A)) { m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta); }
+ if (m_pGameInstance->Key_Pressing(DIK_D)) { m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta); };
+ };
+ Desc.funcLateUpdate = nullptr;
+ m_States.emplace(FSMSTATE::MOVE, CState_Move::Create(&Desc));
+ }
+#pragma endregion
+#pragma region Behavior_Movement_Focus
+ {
+ CState_Jump::STATE_JUMP_DESC Desc{};
+ Desc.pOwner = this;
+ Desc.funcEnterEvent = [this]() { Behavior_JumpEnter(); };
+ Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_JumpExitCheck(); };
+ Desc.funcExitEvent = [this]() { Behavior_JumpExit(); };
+ m_States.emplace(FSMSTATE::JUMP, CState_Jump::Create(&Desc));
+ }
+ {
+ CState_Land::STATE_LAND_DESC Desc{};
+ Desc.pOwner = this;
+ Desc.funcEnterEvent = [this]() { Behavior_LandEnter(); };
+ Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_LandExitCheck(); };
+ Desc.funcExitEvent = [this]() { Behavior_LandExit(); };
+ m_States.emplace(FSMSTATE::LAND, CState_Land::Create(&Desc));
+ }
+ {
+ CState_Dodge::STATE_DODGE_DESC Desc{};
+ Desc.pOwner = this;
+ Desc.funcEnterEvent = [this]() { Behavior_DodgeEnter(); };
+ Desc.funcExitCheck = [this](_float fTimeDelta) { return Behavior_DodgeExitCheck(); };
+ Desc.funcExitEvent = [this]() { Behavior_DodgeExit(); };
+ Desc.funcPriorityUpdate = [this](_float fTimeDelta) {
+ if (m_pGameInstance->Key_Pressing(DIK_A)) { m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta); }
+ if (m_pGameInstance->Key_Pressing(DIK_D)) { m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta); };
+ };
+ Desc.funcLateUpdate = nullptr;
+ m_States.emplace(FSMSTATE::DODGE, CState_Dodge::Create(&Desc));
+ }
+#pragma endregion
+#pragma region Behavior_Combat_NotFocus
+ {
+ CState_Combat::STATE_COMBAT_DESC Desc{};
+ Desc.pOwner = this;
+ Desc.funcEnterEvent = [this]() { Behavior_CombatEnter(); };
+ Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_CombatExitCheck(); };
+ Desc.funcExitEvent = [this]() { Behavior_CombatExit(); };
+ Desc.funcPriorityUpdate = nullptr;
+ Desc.funcLateUpdate = nullptr;
+ m_States.emplace(FSMSTATE::COMBAT, CState_Combat::Create(&Desc));
+ }
+#pragma endregion
+#pragma region Behavior_Combat_Focus
+
+#pragma endregion
+
+}
+
+void CPlayer::Set_Anim()
+{
+ m_Animation[STATEANIM::IDLE] = { 266,true };
+ m_Animation[STATEANIM::IDLE_TURN_L] = { 270,false };
+ m_Animation[STATEANIM::IDLE_TURN_R] = { 430,false };
+ m_Animation[STATEANIM::IDLE_TURN_BWD] = { 268,false };
+
+ m_Animation[STATEANIM::WALK_FWD] = { 625,true };
+ m_Animation[STATEANIM::WALK_BWD] = { 166,true };
+ m_Animation[STATEANIM::WALK_STOP] = { 344,false };
+
+ m_Animation[STATEANIM::JOG_FWD] = { 167,true };
+ m_Animation[STATEANIM::JOG_STOP] = { 289,false };
+
+ m_Animation[STATEANIM::JUMP] = { 205,false };
+ m_Animation[STATEANIM::JUMP_JOG] = { 203,false };
+ m_Animation[STATEANIM::JUMP_SPRINT] = { 207,false };
+
+ m_Animation[STATEANIM::SPRINT] = { 599,true };
+
+ m_Animation[STATEANIM::LAND] = { 259,false };
+
+ m_Animation[STATEANIM::DODGE] = { 802,false };
+
+ m_Animation[STATEANIM::SKILL] = { 593,false };
+ m_Animation[STATEANIM::SKILL2] = { 915,false };
+ m_Animation[STATEANIM::LIGHT_ATTACK] = { 413,false };
+ m_Animation[STATEANIM::SPELL] = { 696,false };
+ m_Animation[STATEANIM::MAPHELP] = { 122,false };
+ m_Animation[STATEANIM::ACCIO] = { 417,false };
+ m_Animation[STATEANIM::DESCENDO] = { 418,false };
+ m_Animation[STATEANIM::DEPULSO] = { 782,false };
+ m_Animation[STATEANIM::DIFFINDO] = { 786,false };
+ m_Animation[STATEANIM::LUMOS] = { 782,false };
+ m_Animation[STATEANIM::DISILLUSION_ENTER] = { 585,false };
+ m_Animation[STATEANIM::DISILLUSION_EXIT] = { 586,false };
+}
+#pragma endregion State
+
diff --git a/Jusin154_Team3D/Editor/Private/Potion.cpp b/Jusin154_Team3D/Editor/Private/Potion.cpp
new file mode 100644
index 000000000..49ede637d
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Potion.cpp
@@ -0,0 +1,222 @@
+#include "pch.h"
+#include "Potion.h"
+#include "GameInstance.h"
+
+CPotion::CPotion(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CElementObject(pDevice, pContext)
+{
+}
+
+CPotion::CPotion(const CPotion& rhs)
+ :CElementObject(rhs)
+{
+}
+
+HRESULT CPotion::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CPotion::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = 220.f;
+ Desc.fY = 180.f;
+ Desc.fSizeX = 144.f;
+ Desc.fSizeY = 24.f;
+
+ m_pRect = { long(Desc.fX - Desc.fSizeX * 0.5f), long(Desc.fY - Desc.fSizeY * 0.5f), long(Desc.fX + Desc.fSizeX * 0.5f), long(Desc.fY + Desc.fSizeY * 0.5f) };
+
+ if (FAILED(__super::Initialize(&Desc)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Components(pArg)))
+ {
+ return E_FAIL;
+ }
+
+ m_fTimeMult = 3.f;
+ m_fAlpha = 1.f;
+ m_fAlphaTime = 1.f;
+ return S_OK;
+}
+
+void CPotion::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+
+void CPotion::Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+
+ if (m_bFadeIn == true)
+ {
+ if (m_fAlpha <= 1.f)
+ m_fAlpha += fTimeDelta * m_fAlphaTime;
+
+ if (m_fAlpha >= 1.f)
+ {
+ m_bFadeIn = false;
+ m_fAlpha = 1.f;
+ }
+ }
+
+ if (m_bFadeOut == true)
+ {
+ if (m_fAlpha >= 0.f)
+ m_fAlpha -= fTimeDelta;
+
+ if (m_fAlpha <= 0.f)
+ {
+ m_bFadeOut = false;
+ m_fAlpha = 0.f;
+ }
+ }
+
+ m_fTime += fTimeDelta * m_fTimeMult;
+
+ __super::Update(fTimeDelta);
+}
+
+void CPotion::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ if (m_bVisible) {
+ m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
+ __super::Late_Update(fTimeDelta);
+ }
+}
+
+HRESULT CPotion::Render()
+{
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::DEFAULT)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render())) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+_vector CPotion::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CPotion::Bind_ShaderResources()
+{
+ if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix")))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", &m_ViewMatrix)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", &m_ProjMatrix)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pDiffuse_TextureCom->Bind_ShaderResource(m_pShaderCom, "g_Texture", 0)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fTime", &m_fTime, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fAlpha", &m_fAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fOwnerAlpha", &m_fOwnerAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fCanvasAlpha", &m_fCanvasAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+HRESULT CPotion::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_WoundCleaning"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+CPotion* CPotion::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CPotion* pInstance = new CPotion(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CPotion");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CPotion::Clone(void* pArg, CGameObject* pOwner)
+{
+ CPotion* pInstance = new CPotion(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CSpell_Image");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CPotion::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CPotion::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/RootModelPart.cpp b/Jusin154_Team3D/Editor/Private/RootModelPart.cpp
index 61acedece..489dd2283 100644
--- a/Jusin154_Team3D/Editor/Private/RootModelPart.cpp
+++ b/Jusin154_Team3D/Editor/Private/RootModelPart.cpp
@@ -2,7 +2,7 @@
#include "RootModelPart.h"
#include "GameInstance.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
#include "ModelParts.h"
#include "Body.h"
#include "Head.h"
diff --git a/Jusin154_Team3D/Editor/Private/Spell_Slot_Preview.cpp b/Jusin154_Team3D/Editor/Private/Spell_Slot_Preview.cpp
new file mode 100644
index 000000000..9820becb0
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Spell_Slot_Preview.cpp
@@ -0,0 +1,231 @@
+#include "pch.h"
+#include "Spell_Slot_Preview.h"
+#include "GameInstance.h"
+
+CSpell_Slot_Preview::CSpell_Slot_Preview(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CElementObject(pDevice, pContext)
+{
+}
+
+CSpell_Slot_Preview::CSpell_Slot_Preview(const CSpell_Slot_Preview& rhs)
+ :CElementObject(rhs)
+{
+}
+
+HRESULT CSpell_Slot_Preview::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CSpell_Slot_Preview::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = 0.f;
+ Desc.fY = 0.f;
+ Desc.fSizeX = 100.f;
+ Desc.fSizeY = 100.f;
+
+ m_pRect = { long(Desc.fX - Desc.fSizeX * 0.5f), long(Desc.fY - Desc.fSizeY * 0.5f), long(Desc.fX + Desc.fSizeX * 0.5f), long(Desc.fY + Desc.fSizeY * 0.5f) };
+
+ if (FAILED(__super::Initialize(&Desc)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Components(pArg)))
+ {
+ return E_FAIL;
+ }
+
+ m_fAlpha = 1.f;
+ m_fTimeMult = 3.f;
+ m_fAngle = XMConvertToRadians(45);
+ m_fAlphaTime = 1.f;
+ m_pVIBufferCom->Set_Cloned(true);
+ //m_pVIBufferCom->Set_Pos(0.f, 0.f, m_fOffSetX, m_fOffSetY, m_iCols);
+ m_pVIBufferCom->Set_Size(m_fSizeX, m_fSizeY);
+ m_pVIBufferCom->Set_ImageUV();
+ return S_OK;
+}
+
+void CSpell_Slot_Preview::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CSpell_Slot_Preview::Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+
+ if (m_bFadeIn == true)
+ {
+ if (m_fAlpha <= 1.f)
+ m_fAlpha += fTimeDelta * m_fAlphaTime;
+
+ if (m_fAlpha >= 1.f)
+ {
+ m_bFadeIn = false;
+ m_fAlpha = 1.f;
+ }
+ }
+
+ if (m_bFadeOut == true)
+ {
+ if (m_fAlpha >= 0.f)
+ m_fAlpha -= fTimeDelta;
+
+ if (m_fAlpha <= 0.f)
+ {
+ m_bFadeOut = false;
+ m_fAlpha = 0.f;
+ }
+ }
+ m_fTime += fTimeDelta * m_fTimeMult;
+ __super::Update(fTimeDelta);
+}
+
+void CSpell_Slot_Preview::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ if (m_bVisible)
+ {
+ m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
+ }
+ __super::Late_Update(fTimeDelta);
+}
+
+HRESULT CSpell_Slot_Preview::Render()
+{
+ if(FAILED(Bind_ShaderResources()))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::DEFAULT))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources()))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render()))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+_vector CSpell_Slot_Preview::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CSpell_Slot_Preview::Bind_ShaderResources()
+{
+ if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix")))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", &m_ViewMatrix)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", &m_ProjMatrix)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pDiffuse_TextureCom->Bind_ShaderResource(m_pShaderCom, "g_Texture", 0)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fAngle", &m_fAngle, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fAlpha", &m_fAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fOwnerAlpha", &m_fOwnerAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fCanvasAlpha", &m_fCanvasAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CSpell_Slot_Preview::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Spell_Slot_Previe_UI_Instance"), (CComponent**)&m_pVIBufferCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_ActionItemGoldleaf_4K"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIINSTANCE, (CComponent**)&m_pShaderCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+CSpell_Slot_Preview* CSpell_Slot_Preview::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CSpell_Slot_Preview* pInstance = new CSpell_Slot_Preview(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CSpell_Slot_Preview");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CSpell_Slot_Preview::Clone(void* pArg, CGameObject* pOwner)
+{
+ CSpell_Slot_Preview* pInstance = new CSpell_Slot_Preview(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CSpell_Slot");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CSpell_Slot_Preview::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CSpell_Slot_Preview::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/Terrain.cpp b/Jusin154_Team3D/Editor/Private/Terrain.cpp
index 43f688ae1..bba59e573 100644
--- a/Jusin154_Team3D/Editor/Private/Terrain.cpp
+++ b/Jusin154_Team3D/Editor/Private/Terrain.cpp
@@ -2,7 +2,7 @@
#include "Terrain.h"
#include "GameInstance.h"
-#include "DebugCamera.h"
+#include "Camera_Debug.h"
#include "VIBuffer_Terrain.h"
#include "AlphaMap.h"
@@ -40,6 +40,9 @@ HRESULT CTerrain::Initialize(void* pArg)
m_pAlphaMap->Load_ToFile("Hogsmeade_AlphaMap.bin");
+ if (FAILED(m_pVIBufferCom->Load_HeightMap("Hogsmeade_HeightMap.bin")))
+ return E_FAIL;
+
return S_OK;
}
@@ -63,7 +66,7 @@ void CTerrain::Priority_Update(_float fTimeDelta)
//}
- GUI::DragFloat("Up", &m_fUpValue, 0.01f, -1.0f, 1.f);
+ //GUI::DragFloat("Up", &m_fUpValue, 0.01f, -1.0f, 1.f);
if (m_pGameInstance->Mouse_Pressing(DIM_LBUTTON))
{
if (m_pGameInstance->isPicking(&m_vPickingPosition))
@@ -82,23 +85,24 @@ void CTerrain::Priority_Update(_float fTimeDelta)
}
#pragma endregion
+#pragma region HEIGHT MAP
+ //HRESULT hr = {};
+ //if(GUI::Button("Save HeightMap"))
+ // hr = m_pVIBufferCom->Save_HeightMap("Hogsmeade_HeightMap.bin");
+ //if(GUI::Button("Load HeightMap"))
+ // hr = m_pVIBufferCom->Load_HeightMap("Hogsmeade_HeightMap.bin");
+#pragma endregion
-
- /*GUI::InputFloat("Height Ratio", &m_fHeightRatio);
- max(0.01f, m_fHeightRatio);
-*/
- //m_pVIBufferCom->Change_HeigthRatio(m_fHeightRatio);
- //GUI::DragFloat3("Picking", (_float*)(&m_vPickingPosition));
- _float4 vPos = {};
- _float3 vRotation = {};
- XMStoreFloat4(&vPos, m_pTransformCom->Get_State(STATE::POSITION));
- GUI::DragFloat3("Pos", (_float*)(&vPos));
- GUI::DragFloat3("Rota", (_float*)(&m_vRotation));
+ //_float4 vPos = {};
+ //_float3 vRotation = {};
+ //XMStoreFloat4(&vPos, m_pTransformCom->Get_State(STATE::POSITION));
+ //GUI::DragFloat3("Pos", (_float*)(&vPos));
+ //GUI::DragFloat3("Rota", (_float*)(&m_vRotation));
//m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z));
- m_pTransformCom->Set_State(STATE::POSITION, XMLoadFloat4(&vPos));
+ //m_pTransformCom->Set_State(STATE::POSITION, XMLoadFloat4(&vPos));
- GUI::DragFloat("Culling Radius", &m_fCullingRadius, 0.01f, 0.01f, 2.f);
+ //GUI::DragFloat("Culling Radius", &m_fCullingRadius, 0.01f, 0.01f, 2.f);
GUI::End();
}
@@ -107,7 +111,10 @@ void CTerrain::Update(_float fTimeDelta)
{
//m_pVIBufferCom->Culling(XMMatrixIdentity());
-
+ if(m_pGameInstance->Key_Down(DIK_LSHIFT) && m_pGameInstance->Key_Down(DIK_W))
+ {
+ m_bWasWireFrame = !m_bWasWireFrame;
+ }
}
void CTerrain::Late_Update(_float fTimeDelta)
@@ -122,9 +129,18 @@ HRESULT CTerrain::Render()
if (FAILED(Bind_ShaderResources())) {
return E_FAIL;
}
-
- if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NORTEX::DEFAULT)))) {
- return E_FAIL;
+
+ if(m_bWasWireFrame)
+ {
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NORTEX::TERRAIN)))) {
+ return E_FAIL;
+ }
+ }
+ else
+ {
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NORTEX::DEFAULT)))) {
+ return E_FAIL;
+ }
}
if (FAILED(m_pVIBufferCom->Bind_Resources())) {
diff --git a/Jusin154_Team3D/Editor/Private/Wand.cpp b/Jusin154_Team3D/Editor/Private/Wand.cpp
index 5412960a8..1c904ec41 100644
--- a/Jusin154_Team3D/Editor/Private/Wand.cpp
+++ b/Jusin154_Team3D/Editor/Private/Wand.cpp
@@ -43,10 +43,6 @@ void CWand::Priority_Update(_float fTimeDelta)
socketMatrix.r[i] = XMVector3Normalize(socketMatrix.r[i]);
}
m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr()));
-
-
- //_float3 Scale = _float3(10.f, 10.f, 10.f);
- //m_pTransformCom->Set_Scale(Scale);
}
void CWand::Update(_float fTimeDelta)
diff --git a/Jusin154_Team3D/Editor/Public/Action_Panel.h b/Jusin154_Team3D/Editor/Public/Action_Panel.h
index 685415b08..bce4da7ce 100644
--- a/Jusin154_Team3D/Editor/Public/Action_Panel.h
+++ b/Jusin154_Team3D/Editor/Public/Action_Panel.h
@@ -3,10 +3,6 @@
#include "Editor_Define.h"
#include "PanelObject.h"
-NS_BEGIN(Engine)
-class CGameObject;
-NS_END
-
NS_BEGIN(Editor)
class CAction_Panel final : public CPanelObject
@@ -40,6 +36,7 @@ class CAction_Panel final : public CPanelObject
CGameObject* m_pSpell_Overlay = { nullptr };
CGameObject* m_pSlot_Number = { nullptr };
CGameObject* m_pHpBarBG= { nullptr };
+ CGameObject* m_pMagic_Meter = { nullptr };
public:
static CAction_Panel* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
diff --git a/Jusin154_Team3D/Editor/Public/CamPosition_Shoulder.h b/Jusin154_Team3D/Editor/Public/CamPosition_Shoulder.h
new file mode 100644
index 000000000..fbaff6adb
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/CamPosition_Shoulder.h
@@ -0,0 +1,64 @@
+#pragma once
+#include "Editor_Define.h"
+#include "CamPosition.h"
+#include "CamPosition_Target.h"
+
+NS_BEGIN(Editor)
+
+class CCamPosition_Shoulder final : public CCamPosition
+{
+public:
+ typedef struct tagCameraShoulder_Desc : public CCamPosition::CAMERAPOSITION_DESC
+ {
+ _float fMouseSensor = { 0.5f };
+ _float fShoulderDistance = { 2.f };
+ _float fBackFrontRatio = { 0.9f };
+ _float fCameraFocalLength = { 10.f };
+ _float3 vInitialLook = { 1.f, 2.f, -1.f };
+ }CAMERA_SHOULDER_DESC;
+private:
+ CCamPosition_Shoulder(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CCamPosition_Shoulder(const CCamPosition_Shoulder& rhs);
+ virtual ~CCamPosition_Shoulder() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+ virtual HRESULT Render() override;
+ virtual _vector Get_WorldPostion() override;
+
+
+private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ HRESULT Ready_Components(void* pArg);
+ HRESULT Ready_SubParts();
+
+ _bool m_bMovable = { true };
+ _float m_fMouseSensor = { 0.5f };
+ _float m_fShoulderDistance = { 2.f };
+ _float m_fCameraFocalLength = { 10.f };
+ _float m_fBackFrontRatio = { 0.9f };
+ _float2 m_vAccDegreeXY = {};
+ _float3 m_vShoulderPosRatio = { 1.f, 2.f, -1.f };
+
+ _float3 m_vShoulderStartRatio = { 1.f, 2.f, -1.f };
+ _float3 m_vShoulderOtherRatio = { 1.f, 2.f, -1.f };
+
+ _bool m_bLerp = { false };
+ _float2 m_vLerpTimer = { 0.f, 1.f };
+
+
+ CCamPosition_Target* m_pTarget_LookPart = { nullptr };
+ CCamPosition_Target* m_pTarget_FollowPart = { nullptr };
+ class CCamera_Gaze* m_pBinded_Camera = { nullptr };
+
+public:
+ static CCamPosition_Shoulder* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CCamPosition_Shoulder* Clone(void* pArg, class CGameObject* pOWner) override;
+ virtual void Free() override;
+ void Describe_Entity() override;
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Public/CamPosition_Player.h b/Jusin154_Team3D/Editor/Public/CamPosition_Socket.h
similarity index 70%
rename from Jusin154_Team3D/Editor/Public/CamPosition_Player.h
rename to Jusin154_Team3D/Editor/Public/CamPosition_Socket.h
index 3b8f8ce59..8b826a0a0 100644
--- a/Jusin154_Team3D/Editor/Public/CamPosition_Player.h
+++ b/Jusin154_Team3D/Editor/Public/CamPosition_Socket.h
@@ -4,7 +4,7 @@
NS_BEGIN(Editor)
-class CCamPosition_Player final : public CCamPosition
+class CCamPosition_Socket final : public CCamPosition
{
public:
typedef struct tagCamPosition_Player : public CCamPosition::CAMERAPOSITION_DESC
@@ -12,9 +12,9 @@ class CCamPosition_Player final : public CCamPosition
const _float4x4* pSocketMatrices = { };
}CAMERAPOSITION_PLAYER_DESC;
private:
- CCamPosition_Player(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
- CCamPosition_Player(const CCamPosition_Player& rhs);
- virtual ~CCamPosition_Player() = default;
+ CCamPosition_Socket(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CCamPosition_Socket(const CCamPosition_Socket& rhs);
+ virtual ~CCamPosition_Socket() = default;
public:
virtual void Priority_Update(_float fTimeDelta) override;
@@ -30,8 +30,8 @@ class CCamPosition_Player final : public CCamPosition
const _float4x4* m_pSocketMatrices = { };
public:
- static CCamPosition_Player* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
- virtual CCamPosition_Player* Clone(void* pArg, class CGameObject* pOWner) override;
+ static CCamPosition_Socket* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CCamPosition_Socket* Clone(void* pArg, class CGameObject* pOWner) override;
virtual void Free() override;
void Describe_Entity() override;
};
diff --git a/Jusin154_Team3D/Editor/Public/CamPosition_Target.h b/Jusin154_Team3D/Editor/Public/CamPosition_Target.h
new file mode 100644
index 000000000..bef83e130
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/CamPosition_Target.h
@@ -0,0 +1,37 @@
+#pragma once
+#include "Editor_Define.h"
+#include "CamPosition.h"
+
+NS_BEGIN(Editor)
+
+class CCamPosition_Target final : public CCamPosition
+{
+public:
+ typedef struct tagCamPosition_Target : public CCamPosition::CAMERAPOSITION_DESC
+ {
+ }CAMERAPOSITION_TARGET_DESC;
+private:
+ CCamPosition_Target(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CCamPosition_Target(const CCamPosition_Target& rhs);
+ virtual ~CCamPosition_Target() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+ virtual _vector Get_WorldPostion() override;
+
+private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ HRESULT Ready_Components(void* pArg);
+ HRESULT Bind_ShaderResources() override;
+
+public:
+ static CCamPosition_Target* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CCamPosition_Target* Clone(void* pArg, class CGameObject* pOWner) override;
+ virtual void Free() override;
+ void Describe_Entity() override;
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Public/DebugCamera.h b/Jusin154_Team3D/Editor/Public/Camera_Debug.h
similarity index 76%
rename from Jusin154_Team3D/Editor/Public/DebugCamera.h
rename to Jusin154_Team3D/Editor/Public/Camera_Debug.h
index 56c07bc30..d10732bea 100644
--- a/Jusin154_Team3D/Editor/Public/DebugCamera.h
+++ b/Jusin154_Team3D/Editor/Public/Camera_Debug.h
@@ -5,7 +5,7 @@
NS_BEGIN(Editor)
-class CDebugCamera final : public CCamera
+class CCamera_Debug final : public CCamera
{
public:
typedef struct tagCamera_Debug : public CCamera::CAMERA_DESC
@@ -14,9 +14,9 @@ class CDebugCamera final : public CCamera
_float fMouseSensor{};
}CAMERA_DEBUG_DESC;
private:
- CDebugCamera(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
- CDebugCamera(const CDebugCamera& rhs);
- virtual ~CDebugCamera() = default;
+ CCamera_Debug(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CCamera_Debug(const CCamera_Debug& rhs);
+ virtual ~CCamera_Debug() = default;
public:
virtual void Priority_Update(_float fTimeDelta) override;
@@ -37,11 +37,11 @@ class CDebugCamera final : public CCamera
void Set_InitialPos();
public:
- static CDebugCamera* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ static CCamera_Debug* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
virtual CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
virtual void Free() override;
void Describe_Entity() override;
};
-NS_END
\ No newline at end of file
+NS_END
diff --git a/Jusin154_Team3D/Editor/Public/Camera_Gaze.h b/Jusin154_Team3D/Editor/Public/Camera_Gaze.h
index 9836c8045..47c8cfcf8 100644
--- a/Jusin154_Team3D/Editor/Public/Camera_Gaze.h
+++ b/Jusin154_Team3D/Editor/Public/Camera_Gaze.h
@@ -19,6 +19,10 @@ class CCamera_Gaze final : public CCamera
public:
virtual void Priority_Update(_float fTimeDelta) override;
virtual void Update(_float fTimeDelta) override;
+ void Update_LerpTimer(Engine::_float fTimeDelta);
+ void Enable_FollowLerp();
+ void Enable_LookLerp();
+ void Toggle_Priority();
virtual void Late_Update(_float fTimeDelta) override;
virtual HRESULT Render() override;
diff --git a/Jusin154_Team3D/Editor/Public/Editor_Define.h b/Jusin154_Team3D/Editor/Public/Editor_Define.h
index f53a81246..3073c5c89 100644
--- a/Jusin154_Team3D/Editor/Public/Editor_Define.h
+++ b/Jusin154_Team3D/Editor/Public/Editor_Define.h
@@ -26,6 +26,7 @@ namespace Editor
enum class SHADER_PASS_POSTEX { DEFAULT, SCISSOR, UI, UVMOVE, TRAIL, TRAIL_BLUR ,END };
enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, END };
enum class SHADER_PASS_UIEDITOR { DEFAULT, ALPHABLEND, CLAMP, CURSOR, LODING, HOLD_ROTATION, MISSION, QUESTYPE, UVMULT, NINECLICE, ROTATION, SLOT, SPELLTYPE, HPBAR, END };
+ enum class SHADER_PASS_UIINTANCE { DEFAULT, ALPHABLEND, MAGIC_METER, END };
enum class EFFECT_TYPE { EFFECT, TRAIL, END };
}
diff --git a/Jusin154_Team3D/Editor/Public/Editor_Macro.h b/Jusin154_Team3D/Editor/Public/Editor_Macro.h
index fc6d3bf5e..cba1695df 100644
--- a/Jusin154_Team3D/Editor/Public/Editor_Macro.h
+++ b/Jusin154_Team3D/Editor/Public/Editor_Macro.h
@@ -29,6 +29,8 @@ namespace Editor {
#pragma endregion
#pragma region OBJECT
+#define CAMERA_DEBUG TEXT("CAMERA_DEBUG")
+#define CAMERA_SHOULDER TEXT("CAMERA_SHOULDER")
#pragma endregion
#pragma region COMPONENT
diff --git a/Jusin154_Team3D/Editor/Public/Magic_Meter.h b/Jusin154_Team3D/Editor/Public/Magic_Meter.h
new file mode 100644
index 000000000..c6960a852
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Magic_Meter.h
@@ -0,0 +1,51 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "ElementObject.h"
+
+NS_BEGIN(Editor)
+
+class CMagic_Meter final : public CElementObject
+{
+private:
+ CMagic_Meter(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CMagic_Meter(const CMagic_Meter& rhs);
+ virtual ~CMagic_Meter() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta);
+ virtual void Update(_float fTimeDelta);
+ virtual void Late_Update(_float fTimeDelta);
+ virtual HRESULT Render() override;
+ virtual _vector Get_WorldPostion() override;
+
+private:
+ void UV();
+ _float2 Compute_UVX(_uint Number);
+ _float2 Compute_UVY(_uint Numver);
+
+
+private:
+ virtual HRESULT Bind_ShaderResources() override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+
+private:
+ CTexture* m_pDiffuse_TextureCom = { nullptr };
+ CTexture* m_pDiffuse_TextureCom1 = { nullptr };
+ CShader* m_pShaderCom = { nullptr };
+ CVIBuffer_UI_Instance* m_pVIBufferCom = { nullptr };
+ CVIBuffer_UI_Instance::UI_ATLAS_DESC pUVDesc[5];
+
+ _uint m_iCols{};
+ _float2 m_fIamge_Size{};
+ //_float2 Position[5];
+public:
+ static CMagic_Meter* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;
+ virtual void Free() override;
+ void Describe_Entity() override;
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Public/Player.h b/Jusin154_Team3D/Editor/Public/Player.h
index 65be8a156..b7c733909 100644
--- a/Jusin154_Team3D/Editor/Public/Player.h
+++ b/Jusin154_Team3D/Editor/Public/Player.h
@@ -7,21 +7,12 @@ NS_BEGIN(Editor)
class CPlayer final : public CUnit
{
-public:
- struct InputCondition
- {
- FSMSTATE::ESTATE state;
- function<_bool()> checker;
- };
-
private:
CPlayer(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
CPlayer(const CPlayer& Prototype);
virtual ~CPlayer() = default;
public:
- virtual HRESULT Initialize_Prototype() override;
- virtual HRESULT Initialize(void* pArg) override;
virtual void Priority_Update(_float fTimeDelta) override;
virtual void Update(_float fTimeDelta) override;
virtual void Late_Update(_float fTimeDelta) override;
@@ -33,18 +24,25 @@ class CPlayer final : public CUnit
size_t m_iStateMask = { 0 };
_float m_fDirectionRadian = 0.f;
- vector m_InputConditions;
_bool m_bSprintToggle = { false };
_bool m_bWalkToggle = { false };
- _int m_iCombo = { 0 };
- class CCamPosition_Player* m_pCamPosition_TopDown_LookPart = { nullptr };
+ class CCamPosition_Socket* m_pCamPosition_TopDown_LookPart = { nullptr };
class CCamPosition_Arm* m_pCamPosition_TopDown_FollowPart = { nullptr };
+ class CCamPosition_Shoulder* m_pCamPosition_ShoulderPart = { nullptr };
+
+ CCharacter_Controller* m_pCharacter_Controller = { nullptr };
+ CRigidBody_Dynamic* m_pRigidBody = { nullptr };
+ class CCallBack_Playable_Behavior* m_pCallBack_Behavior = { nullptr };
+ class CCallBack_Playable_HitReport* m_pCallBack_HitReport = { nullptr };
private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
HRESULT Ready_Components();
HRESULT Ready_Parts();
HRESULT Bind_ShaderResources();
+
public:
static CPlayer* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
virtual CGameObject* Clone(void* pArg, CGameObject* pOwner = nullptr) override;
@@ -52,12 +50,21 @@ class CPlayer final : public CUnit
virtual void Describe_Entity() override;
#pragma region STATE
+
+public:
+ virtual void Reset_Sprint() { m_bSprintToggle = false; }
+ virtual void Reset_Walk() { m_bWalkToggle = false; }
+
private:
+ void TestKeyInput(_float fTimeDelta);
virtual void Add_FSM();
virtual void Set_Anim();
HRESULT InputAction();
HRESULT InputMove();
+ HRESULT InputSpell();
+
+ STATEANIM::ESTATE m_eSpell = { STATEANIM::END };
void Behavior_IdleEnter();
HRESULT Behavior_IdleExitCheck();
@@ -83,17 +90,7 @@ class CPlayer final : public CUnit
HRESULT Behavior_CombatExitCheck();
void Behavior_CombatExit();
-
-public:
- virtual void Reset_Sprint() { m_bSprintToggle = false; }
- virtual void Reset_Walk() { m_bWalkToggle = false; }
-
-
#pragma endregion
-
-
-
-
};
NS_END
diff --git a/Jusin154_Team3D/Editor/Public/Potion.h b/Jusin154_Team3D/Editor/Public/Potion.h
new file mode 100644
index 000000000..604263141
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Potion.h
@@ -0,0 +1,40 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "ElementObject.h"
+
+NS_BEGIN(Editor)
+
+class CPotion final : public CElementObject
+{
+private:
+ CPotion(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CPotion(const CPotion& rhs);
+ virtual ~CPotion() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta);
+ virtual void Update(_float fTimeDelta);
+ virtual void Late_Update(_float fTimeDelta);
+ virtual HRESULT Render() override;
+ virtual _vector Get_WorldPostion() override;
+
+private:
+ virtual HRESULT Bind_ShaderResources() override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+
+private:
+ CTexture* m_pDiffuse_TextureCom = { nullptr };
+ CShader* m_pShaderCom = { nullptr };
+ CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
+
+public:
+ static CPotion* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;
+ virtual void Free() override;
+ void Describe_Entity() override;
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Public/Spell_Slot_Preview.h b/Jusin154_Team3D/Editor/Public/Spell_Slot_Preview.h
new file mode 100644
index 000000000..5fa48e200
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Spell_Slot_Preview.h
@@ -0,0 +1,40 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "ElementObject.h"
+
+NS_BEGIN(Editor)
+
+class CSpell_Slot_Preview final : public CElementObject
+{
+private:
+ CSpell_Slot_Preview(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CSpell_Slot_Preview(const CSpell_Slot_Preview& rhs);
+ virtual ~CSpell_Slot_Preview() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta);
+ virtual void Update(_float fTimeDelta);
+ virtual void Late_Update(_float fTimeDelta);
+ virtual HRESULT Render() override;
+ virtual _vector Get_WorldPostion() override;
+
+private:
+ virtual HRESULT Bind_ShaderResources() override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+
+private:
+ CTexture* m_pDiffuse_TextureCom = { nullptr };
+ CShader* m_pShaderCom = { nullptr };
+ CVIBuffer_UI_Instance* m_pVIBufferCom = { nullptr };
+
+public:
+ static CSpell_Slot_Preview* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;
+ virtual void Free() override;
+ void Describe_Entity() override;
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Public/Terrain.h b/Jusin154_Team3D/Editor/Public/Terrain.h
index 63fbeb8e1..b1ca26178 100644
--- a/Jusin154_Team3D/Editor/Public/Terrain.h
+++ b/Jusin154_Team3D/Editor/Public/Terrain.h
@@ -49,6 +49,7 @@ class CTerrain final : public CGameObject
_float m_fMaskValue = {0.1f};
_float m_fUpValue = { 0.01f };
+ _bool m_bWasWireFrame = { false };
private:
HRESULT Ready_Components();
diff --git a/Jusin154_Team3D/Engine/Private/Channel.cpp b/Jusin154_Team3D/Engine/Private/Channel.cpp
index c0b1f6b93..07aa53faf 100644
--- a/Jusin154_Team3D/Engine/Private/Channel.cpp
+++ b/Jusin154_Team3D/Engine/Private/Channel.cpp
@@ -203,8 +203,7 @@ void CChannel::Update_TransformationMatirx(const vector& Bones, const LO
_vector vCurrentPos = pTransform->Get_State(STATE::POSITION);
_vector vTargetPos = vCurrentPos + vDeltaWorld;
- pTransform->Set_State(STATE::POSITION, vTargetPos);
- //pTransform->AccumulateMomentum(vDeltaWorld);
+ pTransform->AccumulateMomentum(vDeltaWorld);
m_vPrevRootPos = vCurRootPos;
vTranslation = XMVectorZero();
diff --git a/Jusin154_Team3D/Engine/Private/QuadTree.cpp b/Jusin154_Team3D/Engine/Private/QuadTree.cpp
index f204750c2..9fdb46bad 100644
--- a/Jusin154_Team3D/Engine/Private/QuadTree.cpp
+++ b/Jusin154_Team3D/Engine/Private/QuadTree.cpp
@@ -275,9 +275,7 @@ _bool CQuadTree::Set_Y(CGameInstance* pGameInstance, const _float3* pVertexPosit
{
if (nullptr == m_pChildren[CORNER_LT])
{
- pVertices[m_iCorners[CORNER_LT]].vPosition.y += fY;
- pVertices[m_iCorners[CORNER_RT]].vPosition.y += fY;
- pVertices[m_iCorners[CORNER_RB]].vPosition.y += fY;
+ Add_Y(pVertices, fY);
XMStoreFloat3(&Out, XMVector3TransformCoord(XMLoadFloat3(&Out), WorldMatrix));
return true;
@@ -289,9 +287,7 @@ _bool CQuadTree::Set_Y(CGameInstance* pGameInstance, const _float3* pVertexPosit
{
if (nullptr == m_pChildren[CORNER_LT])
{
- pVertices[m_iCorners[CORNER_LT]].vPosition.y += fY;
- pVertices[m_iCorners[CORNER_RB]].vPosition.y += fY;
- pVertices[m_iCorners[CORNER_LB]].vPosition.y += fY;
+ Add_Y(pVertices, fY);
XMStoreFloat3(&Out, XMVector3TransformCoord(XMLoadFloat3(&Out), WorldMatrix));
return true;
@@ -311,6 +307,24 @@ _bool CQuadTree::Set_Y(CGameInstance* pGameInstance, const _float3* pVertexPosit
return false;
}
+void CQuadTree::Add_Y(VTXNORTEX* pVertices, _float fY)
+{
+ _float fValue = {};
+
+ fValue += pVertices[m_iCorners[CORNER_LT]].vPosition.y;
+ fValue += pVertices[m_iCorners[CORNER_RB]].vPosition.y;
+ fValue += pVertices[m_iCorners[CORNER_RT]].vPosition.y;
+ fValue += pVertices[m_iCorners[CORNER_LB]].vPosition.y;
+
+ fValue /= 4.0f;
+ fValue += fY;
+
+ pVertices[m_iCorners[CORNER_LT]].vPosition.y = fValue;
+ pVertices[m_iCorners[CORNER_RB]].vPosition.y = fValue;
+ pVertices[m_iCorners[CORNER_RT]].vPosition.y = fValue;
+ pVertices[m_iCorners[CORNER_LB]].vPosition.y = fValue;
+}
+
_bool CQuadTree::isDraw(CGameInstance* pGameInstance, const _float3* pVertexPositions)
{
_vector vCamPos = XMLoadFloat4(pGameInstance->Get_CamPosition());
diff --git a/Jusin154_Team3D/Engine/Private/Texture.cpp b/Jusin154_Team3D/Engine/Private/Texture.cpp
index eb24d45a6..a5f292c74 100644
--- a/Jusin154_Team3D/Engine/Private/Texture.cpp
+++ b/Jusin154_Team3D/Engine/Private/Texture.cpp
@@ -106,7 +106,7 @@ HRESULT CTexture::Load_SRV(const _char* szPath, ID3D11ShaderResourceView** ppSRV
HRESULT hr = {};
- hr = CreateDDSTextureFromFile(m_pDevice, CMyTools::ToWstring(szTextureFilePath).c_str(), nullptr, ppSRV); // 일단 dds로 시도하고
+ hr = CreateDDSTextureFromFile(m_pDevice, CMyTools::ToWstring(szTextureFilePath).c_str(), nullptr, ppSRV, 1024); // 일단 dds로 시도하고
if (FAILED(hr)) {
memset(szTextureFilePath, 0, sizeof(_char) * MAX_PATH); // 실패하면 원래 확장자로 다시 시도
strcat_s(szTextureFilePath, szTextureFileName);
diff --git a/Jusin154_Team3D/Engine/Private/VIBuffer_Terrain.cpp b/Jusin154_Team3D/Engine/Private/VIBuffer_Terrain.cpp
index 563361e53..8e9a87846 100644
--- a/Jusin154_Team3D/Engine/Private/VIBuffer_Terrain.cpp
+++ b/Jusin154_Team3D/Engine/Private/VIBuffer_Terrain.cpp
@@ -4,6 +4,7 @@
#include "QuadTree.h"
#define STB_IMAGE_IMPLEMENTATION
+#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image.h"
CVIBuffer_Terrain::CVIBuffer_Terrain(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
@@ -26,6 +27,7 @@ HRESULT CVIBuffer_Terrain::Initialize_Prototype(const _char* pFilePath, _uint iS
_int iWidth = {};
_int iHeight = {};
_int iComp = {};
+
unsigned char* pTexture = {};
pTexture = stbi_load(pFilePath, &iWidth, &iHeight, &iComp, 0);
@@ -252,7 +254,7 @@ void CVIBuffer_Terrain::FitY(_fmatrix WorldMatrix, _float fY)
D3D11_MAPPED_SUBRESOURCE SubResource{};
- m_pContext->Map(m_pVB, 0, D3D11_MAP_WRITE, 0, &SubResource);
+ m_pContext->Map(m_pVB, 0, D3D11_MAP_READ_WRITE, 0, &SubResource);
VTXNORTEX* pVertices = static_cast(SubResource.pData);
@@ -262,6 +264,12 @@ void CVIBuffer_Terrain::FitY(_fmatrix WorldMatrix, _float fY)
m_pQuadTree->Set_Y(m_pGameInstance, m_pVertexPositions, pVertices, WorldMatrix, fY);
+ for (_uint i = 0; i < m_iNumVertices; ++i)
+ {
+ memcpy(&m_pVertexPositions[i], &pVertices[i].vPosition, sizeof(_float3));
+ }
+
+
m_pContext->Unmap(m_pVB, 0);
}
@@ -286,6 +294,74 @@ void CVIBuffer_Terrain::Set_CullingRadius(_float fRaduis)
m_pQuadTree->Set_CullingRadius(fRaduis);
}
+HRESULT CVIBuffer_Terrain::Save_HeightMap(const _char* pFilePath)
+{
+ string strFilePath = "../Bin/Resources/Data/Map/" + string(pFilePath);
+
+ ofstream out(strFilePath, ios::binary);
+
+ if (false == out.is_open())
+ {
+ MSG_BOX("Failed to Save Binanry File");
+ return E_FAIL;
+ }
+
+ D3D11_MAPPED_SUBRESOURCE SubResource{};
+
+ m_pContext->Map(m_pVB, 0, D3D11_MAP_READ, 0, &SubResource);
+
+ VTXNORTEX* pVertices = static_cast(SubResource.pData);
+
+ for (_uint i = 0; i < m_iNumVerticesZ; ++i)
+ {
+ for (_uint j = 0; j < m_iNumVerticesX; ++j)
+ {
+ _uint iIndex = i * m_iNumVerticesX + j;
+ out.write(reinterpret_cast(&pVertices[iIndex].vPosition.y), sizeof(_float));
+ }
+ }
+ m_pContext->Unmap(m_pVB, 0);
+
+ out.close();
+
+ MSG_BOX("Success to Load Binanry File");
+
+ return S_OK;
+}
+
+HRESULT CVIBuffer_Terrain::Load_HeightMap(const _char* pFilePath)
+{
+ string strFilePath = "../Bin/Resources/Data/Map/" + string(pFilePath);
+
+ ifstream in(strFilePath, ios::binary);
+
+ if (false == in.is_open())
+ {
+ MSG_BOX("Failed to Load Model Binanry File");
+ return E_FAIL;
+ }
+
+ D3D11_MAPPED_SUBRESOURCE SubResource{};
+ m_pContext->Map(m_pVB, 0, D3D11_MAP_WRITE, 0, &SubResource);
+
+ VTXNORTEX* pVertices = static_cast(SubResource.pData);
+
+ for (_uint i = 0; i < m_iNumVerticesZ; ++i)
+ {
+ for (_uint j = 0; j < m_iNumVerticesX; ++j)
+ {
+ _uint iIndex = i * m_iNumVerticesX + j;
+ in.read(reinterpret_cast<_char*>(&pVertices[iIndex].vPosition.y), sizeof(_float));
+ }
+ }
+
+ in.close();
+
+ m_pContext->Unmap(m_pVB, 0);
+
+ return S_OK;
+}
+
CVIBuffer_Terrain* CVIBuffer_Terrain::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, const _char* pFilePath, _uint iSizeX, _uint iSizeZ)
{
CVIBuffer_Terrain* pInstance = new CVIBuffer_Terrain(pDevice, pContext);
diff --git a/Jusin154_Team3D/Engine/Private/VIBuffer_UI_Instance.cpp b/Jusin154_Team3D/Engine/Private/VIBuffer_UI_Instance.cpp
index 452e704f4..627bd6bf4 100644
--- a/Jusin154_Team3D/Engine/Private/VIBuffer_UI_Instance.cpp
+++ b/Jusin154_Team3D/Engine/Private/VIBuffer_UI_Instance.cpp
@@ -131,6 +131,32 @@ HRESULT CVIBuffer_UI_Instance::Initialize(void* pArg)
return S_OK;
}
+void CVIBuffer_UI_Instance::Set_Index_Position(_uint iIndex, _float fX, _float fY)
+{
+ D3D11_MAPPED_SUBRESOURCE SubResource{};
+ m_pContext->Map(m_pVBInstance, 0, D3D11_MAP_WRITE_NO_OVERWRITE, 0, &SubResource);
+
+ VTX_INSTANCE_UI* pVertices = static_cast(SubResource.pData);
+
+ pVertices[iIndex].fPos.x = fX;
+ pVertices[iIndex].fPos.y = fY;
+
+ m_pContext->Unmap(m_pVBInstance, 0);
+}
+
+void CVIBuffer_UI_Instance::Set_Index_Size(_uint iIndex, _float fSizeX, _float fSizeY)
+{
+ D3D11_MAPPED_SUBRESOURCE SubResource{};
+ m_pContext->Map(m_pVBInstance, 0, D3D11_MAP_WRITE_NO_OVERWRITE, 0, &SubResource);
+
+ VTX_INSTANCE_UI* pVertices = static_cast(SubResource.pData);
+
+ pVertices[iIndex].fSize.x = fSizeX;
+ pVertices[iIndex].fSize.y = fSizeY;
+
+ m_pContext->Unmap(m_pVBInstance, 0);
+}
+
void CVIBuffer_UI_Instance::Set_Pos(_float fX, _float fY, _float OffSetX, _float OffSetY, _uint iCols)
{
@@ -213,7 +239,7 @@ void CVIBuffer_UI_Instance::Set_ImageUV(UI_ATLAS_DESC* AtlasUV)
if (AtlasUV == nullptr)
{
pVertices[i].fUVStart = _float2(0.f, 0.f);
- pVertices[i].fUVStart = _float2(1.f,1.f);
+ pVertices[i].fUVStart = _float2(1.f, 1.f);
}
else
{
@@ -225,6 +251,25 @@ void CVIBuffer_UI_Instance::Set_ImageUV(UI_ATLAS_DESC* AtlasUV)
m_pContext->Unmap(m_pVBInstance, 0);
}
+void CVIBuffer_UI_Instance::Add_InstanceOvject(vector<_uint> VisileIndices)
+{
+ m_VisibleIndices = VisileIndices;
+ D3D11_MAPPED_SUBRESOURCE SubResource{};
+
+ m_pContext->Map(m_pVBInstance, 0, D3D11_MAP_WRITE_NO_OVERWRITE, 0, &SubResource);
+
+ VTX_INSTANCE_UI* pVertices = static_cast(SubResource.pData);
+
+ for (_uint i = 0; i < m_VisibleIndices.size(); ++i)
+ {
+ pVertices[i] = m_pInstanceVertices[m_VisibleIndices[i]];
+ }
+
+
+ m_pContext->Unmap(m_pVBInstance, 0);
+
+}
+
CVIBuffer_UI_Instance* CVIBuffer_UI_Instance::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, const INSTANCE_DESC* pInstanceDesc)
{
CVIBuffer_UI_Instance* pInstance = new CVIBuffer_UI_Instance(pDevice, pContext);
diff --git a/Jusin154_Team3D/Engine/Public/Engine_Macro.h b/Jusin154_Team3D/Engine/Public/Engine_Macro.h
index 4096e43a0..50854f91e 100644
--- a/Jusin154_Team3D/Engine/Public/Engine_Macro.h
+++ b/Jusin154_Team3D/Engine/Public/Engine_Macro.h
@@ -99,7 +99,7 @@ constexpr unsigned int g_iMaxShadowHeight = 9216;
#define KR_CSTR(str) reinterpret_cast(u8##str)
#ifndef MSG_BOX
-#define MSG_BOX(_message) MessageBox(NULL, TEXT(_message), L"System Message", MB_OK)
+#define MSG_BOX(_message) MessageBox(NULL, TEXT(_message), L"System Message", MB_OK); assert(false)
#endif
#define NS_BEGIN(NAMESPACE) namespace NAMESPACE {
diff --git a/Jusin154_Team3D/Engine/Public/FSM.h b/Jusin154_Team3D/Engine/Public/FSM.h
index a233d1cbc..52ae58118 100644
--- a/Jusin154_Team3D/Engine/Public/FSM.h
+++ b/Jusin154_Team3D/Engine/Public/FSM.h
@@ -14,7 +14,7 @@ enum ESTATE : _u64Flag
DODGE = 1ULL << 7,
COMBAT = 1ULL << 8,
LIGHT_ATTACK = 1ULL << 9,
- CAST = 1ULL << 10,
+ SPELL = 1ULL << 10,
SKILL = 1ULL << 11,
SKILL2 = 1ULL << 12,
MAPHELP = 1ULL << 13,
diff --git a/Jusin154_Team3D/Engine/Public/QuadTree.h b/Jusin154_Team3D/Engine/Public/QuadTree.h
index d2c878e02..444a3626a 100644
--- a/Jusin154_Team3D/Engine/Public/QuadTree.h
+++ b/Jusin154_Team3D/Engine/Public/QuadTree.h
@@ -19,10 +19,11 @@ class CQuadTree final : public CBase
#endif // _DEBUG
- void Culling(class CGameInstance* pGameInstance, const _float3* pVertexPositions, _uint* pIndices, _uint* pNumIndices);
- void SetUp_Neighbors();
- _bool Picking(class CGameInstance* pGameInstance, const _float3* pVertexPositions, _float3& Out, _fmatrix WorldMatrix);
- _bool Set_Y(class CGameInstance* pGameInstance, const _float3* pVertexPositions, VTXNORTEX* pVertices, _fmatrix WorldMatrix, _float fY);
+ void Culling(class CGameInstance* pGameInstance, const _float3* pVertexPositions, _uint* pIndices, _uint* pNumIndices);
+ void SetUp_Neighbors();
+ _bool Picking(class CGameInstance* pGameInstance, const _float3* pVertexPositions, _float3& Out, _fmatrix WorldMatrix);
+ _bool Set_Y(class CGameInstance* pGameInstance, const _float3* pVertexPositions, VTXNORTEX* pVertices, _fmatrix WorldMatrix, _float fY);
+ void Add_Y(VTXNORTEX* pVertices, _float fY);
private:
_uint m_iCorners[CORNER_END] = { };
diff --git a/Jusin154_Team3D/Engine/Public/State.h b/Jusin154_Team3D/Engine/Public/State.h
index 246971a8d..60a160fe5 100644
--- a/Jusin154_Team3D/Engine/Public/State.h
+++ b/Jusin154_Team3D/Engine/Public/State.h
@@ -12,7 +12,8 @@ enum ESTATE
JUMP,JUMP_JOG,JUMP_SPRINT,
LAND,
DODGE,
- COMBAT, LIGHT_ATTACK, CAST, SKILL, SKILL2,
+ COMBAT, LIGHT_ATTACK, SPELL, SKILL, SKILL2,
+ ACCIO,DESCENDO,DIFFINDO,DEPULSO,LUMOS,DISILLUSION_ENTER,DISILLUSION_EXIT,
MAPHELP,
END
};
diff --git a/Jusin154_Team3D/Engine/Public/VIBuffer_Terrain.h b/Jusin154_Team3D/Engine/Public/VIBuffer_Terrain.h
index 87455a542..e9e6f9151 100644
--- a/Jusin154_Team3D/Engine/Public/VIBuffer_Terrain.h
+++ b/Jusin154_Team3D/Engine/Public/VIBuffer_Terrain.h
@@ -28,7 +28,9 @@ class ENGINE_DLL CVIBuffer_Terrain final : public CVIBuffer
void Change_HeigthRatio(_float fRatio);
#ifdef _DEBUG
- void Set_CullingRadius(_float fRaduis);
+ void Set_CullingRadius(_float fRaduis);
+ HRESULT Save_HeightMap(const _char* pFilePath);
+ HRESULT Load_HeightMap(const _char* pFilePath);
#endif // _DEBUG
diff --git a/Jusin154_Team3D/Engine/Public/VIBuffer_UI_Instance.h b/Jusin154_Team3D/Engine/Public/VIBuffer_UI_Instance.h
index 44c73d40f..a484d3a2e 100644
--- a/Jusin154_Team3D/Engine/Public/VIBuffer_UI_Instance.h
+++ b/Jusin154_Team3D/Engine/Public/VIBuffer_UI_Instance.h
@@ -25,12 +25,15 @@ class ENGINE_DLL CVIBuffer_UI_Instance final : public CVIBuffer_Instance
virtual HRESULT Initialize(void* pArg) override;
public:
- virtual void Set_Pos(_float fX, _float fY, _float OffSetX, _float OffSetY, _uint iCols);
- virtual void Set_Size(_float fSizeX, _float fSizeY);
- virtual void Set_SizeX(_float fSizeX);
- virtual void Set_SizeY(_float fSizeY);
- virtual void Set_Cloned(_bool isCloned) { m_isCloned = isCloned; }
- virtual void Set_ImageUV(UI_ATLAS_DESC* AtlasUV = nullptr);
+ void Set_Index_Position(_uint iIndex, _float fX, _float fY);
+ void Set_Index_Size(_uint iIndex, _float fSizeX, _float fSizeY);
+ void Set_Pos(_float fX, _float fY, _float OffSetX, _float OffSetY, _uint iCols);
+ void Set_Size(_float fSizeX, _float fSizeY);
+ void Set_SizeX(_float fSizeX);
+ void Set_SizeY(_float fSizeY);
+ void Set_Cloned(_bool isCloned) { m_isCloned = isCloned; }
+ void Set_ImageUV(UI_ATLAS_DESC* AtlasUV = nullptr);
+ void Add_InstanceOvject(vector<_uint> VisileIndices);
private:
VTX_INSTANCE_UI* m_pInstanceVertices = { nullptr };
@@ -39,6 +42,8 @@ class ENGINE_DLL CVIBuffer_UI_Instance final : public CVIBuffer_Instance
_float2* m_fPosition{ nullptr };
_float m_fAddPosition{};
+ vector<_uint> m_VisibleIndices;
+
public:
static CVIBuffer_UI_Instance* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, const INSTANCE_DESC* pInstanceDesc);
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;