Merge branch 'Develope' into Effect
This commit is contained in:
@@ -189,8 +189,6 @@ HRESULT CAvadakedavra::Pre_Setting(CGameObject* pObject, void* pArg)
|
||||
|
||||
static_cast<CPlayer*>(m_pOwner)->Start_CameraShake(0.5f, 1.2f);
|
||||
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_AVADAKEDAVRA, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -102,6 +102,9 @@ HRESULT CInstancedProp::Ready_Components(void* pArg)
|
||||
|
||||
INSTANCE_PROP_DESC* pDesc = static_cast<INSTANCE_PROP_DESC*>(pArg);
|
||||
|
||||
m_isShake = pDesc->isShake;
|
||||
m_isTree = pDesc->isTree;
|
||||
|
||||
/* Com_VIBuffer_Instance_Model */
|
||||
if (FAILED(__super::Add_Asset_Component(NEXT_LEVEL, pDesc->strPrototypeTag,
|
||||
reinterpret_cast<CComponent**>(&m_pVIBufferInstanceCom))))
|
||||
@@ -119,7 +122,6 @@ HRESULT CInstancedProp::Ready_Components(void* pArg)
|
||||
if(FAILED(Load_InstancedProp(pDesc->strInstanceDataPath.c_str(), pDesc)))
|
||||
return E_FAIL;
|
||||
|
||||
m_isShake = pDesc->isShake;
|
||||
if (m_isShake)
|
||||
m_pVIBufferInstanceCom->Set_Shake_Value(pDesc->vRadius, pDesc->vSpeed);
|
||||
|
||||
@@ -204,6 +206,8 @@ HRESULT CInstancedProp::Load_InstancedProp(const _char* pFilePath, INSTANCE_PROP
|
||||
{
|
||||
for (_uint i = 0; i < m_iNumMesh; ++i)
|
||||
{
|
||||
if (true == m_isTree && 0 == i)
|
||||
continue;
|
||||
CRigidBody_Static* pRigidBody = { nullptr };
|
||||
CRigidBody_Static::RIGIDBODY_STATIC_DESC Desc = {};
|
||||
Desc.pMeshName = RigidBodyTags[i].c_str();
|
||||
|
||||
@@ -154,7 +154,7 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
|
||||
m_pInfoInstance->Event_CallBack(TEXT("UIManagerFadeIn"));
|
||||
|
||||
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::BGM_0, SD_CHANNEL_GROUP::BGM, true, 0.6f);
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::BGM_HOGWART_0, SD_CHANNEL_GROUP::BGM, true, 0.6f);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
@@ -611,6 +611,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* InstanceProp Oak_Tree*/
|
||||
Desc.isShake = true;
|
||||
Desc.isTree = true;
|
||||
Desc.eShaderPass = SHADER_PASS_WORLDMODLE_INSTANCE::DEFAULT;
|
||||
Desc.bEnableRigidbody = true;
|
||||
Desc.vRadius = _float2(0.015f, 0.02f);
|
||||
@@ -629,6 +630,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* BearBerry */
|
||||
Desc.isShake = true;
|
||||
Desc.isTree = false;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.vRadius = _float2(0.015f, 0.02f);
|
||||
Desc.vSpeed = _float2(0.6f, 1.f);
|
||||
@@ -640,6 +642,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* SM_HM_OwlPost_Window_A */
|
||||
Desc.isShake = false;
|
||||
Desc.isTree = false;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_OwlPost_Window_A";
|
||||
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/OwlPost_Window.bin";
|
||||
@@ -648,6 +651,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
///* WA_Rectangle_Double_A */
|
||||
Desc.isShake = false;
|
||||
Desc.isTree = false;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WA_Rectangle_Double_A";
|
||||
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Rectangle_Double_A.bin";
|
||||
@@ -656,6 +660,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
///* WC_Retangle_Double_A */
|
||||
Desc.isShake = false;
|
||||
Desc.isTree = false;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_Retangle_Double_A";
|
||||
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_Retangle_Double_A.bin";
|
||||
@@ -664,6 +669,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
///* WA_Square_Double_C */
|
||||
Desc.isShake = false;
|
||||
Desc.isTree = false;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WA_Square_Double_C";
|
||||
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WA_Square_Double_C.bin";
|
||||
@@ -672,6 +678,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* Quid_Window_A */
|
||||
Desc.isShake = false;
|
||||
Desc.isTree = false;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Quid_Window_A";
|
||||
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Quid_Window_A.bin";
|
||||
@@ -680,6 +687,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* Ollivanders_Box_Window */
|
||||
Desc.isShake = false;
|
||||
Desc.isTree = false;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_Ollivanders_Box_Window";
|
||||
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Ollivanders_Box.bin";
|
||||
@@ -688,6 +696,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* WC_L_DoubleS_A */
|
||||
Desc.isShake = false;
|
||||
Desc.isTree = false;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_L_DoubleS_A";
|
||||
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_L_DoubleS_A.bin";
|
||||
@@ -696,6 +705,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* WC_Round_Double_A */
|
||||
Desc.isShake = false;
|
||||
Desc.isTree = false;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_WC_Round_Double_A";
|
||||
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/WC_Round_Double_A.bin";
|
||||
@@ -704,6 +714,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* SM_HM_Door1a */
|
||||
Desc.isShake = false;
|
||||
Desc.isTree = false;
|
||||
Desc.bEnableRigidbody = true;
|
||||
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door1a";
|
||||
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Door1a.bin";
|
||||
@@ -712,6 +723,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* SM_HM_Door2b */
|
||||
Desc.isShake = false;
|
||||
Desc.isTree = false;
|
||||
Desc.bEnableRigidbody = true;
|
||||
Desc.strPrototypeTag = L"Prototype_Component_VIBuffer_Model_Instancel_SM_HM_Door2b";
|
||||
Desc.strInstanceDataPath = "../Bin/Resources/Data/Map/Instance/Door2b.bin";
|
||||
@@ -728,6 +740,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* OakTree_TallA */
|
||||
Desc.isShake = false;
|
||||
Desc.isTree = true;
|
||||
Desc.bEnableRigidbody = true;
|
||||
Desc.vRadius = _float2(0.015f, 0.016f);
|
||||
Desc.vSpeed = _float2(0.01f, 0.1f);
|
||||
@@ -738,6 +751,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* Shrub_B */
|
||||
Desc.isShake = true;
|
||||
Desc.isTree = false;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.vRadius = _float2(0.015f, 0.04f);
|
||||
Desc.vSpeed = _float2(0.3f, 1.f);
|
||||
@@ -748,6 +762,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* BogMyrtle_A */
|
||||
Desc.isShake = true;
|
||||
Desc.isTree = false;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.vRadius = _float2(0.015f, 0.04f);
|
||||
Desc.vSpeed = _float2(0.3f, 1.f);
|
||||
@@ -762,6 +777,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* Dogwood_B */
|
||||
Desc.isShake = true;
|
||||
Desc.isTree = true;
|
||||
Desc.bEnableRigidbody = true;
|
||||
Desc.vRadius = _float2(0.015f, 0.02f);
|
||||
Desc.vSpeed = _float2(0.3f, 1.f);
|
||||
@@ -772,6 +788,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* ScotsPine_LargeA */
|
||||
Desc.isShake = false;
|
||||
Desc.isTree = true;
|
||||
Desc.bEnableRigidbody = true;
|
||||
Desc.vRadius = _float2(0.015f, 0.02f);
|
||||
Desc.vSpeed = _float2(0.3f, 1.f);
|
||||
@@ -795,6 +812,7 @@ HRESULT CLevel_GamePlay::Ready_IntstanceProp(map<_string, CLand*>* Lands)
|
||||
|
||||
/* StratifiedCliff_A1 */
|
||||
Desc.isShake = false;
|
||||
Desc.isTree = false;
|
||||
Desc.bEnableRigidbody = false;
|
||||
Desc.vRadius = _float2(0.f, 0.f);
|
||||
Desc.vSpeed = _float2(0.f, 0.f);
|
||||
|
||||
@@ -19,6 +19,7 @@ class CInstancedProp final : public CGameObject
|
||||
SHADER_PASS_WORLDMODLE_INSTANCE eShaderPass;
|
||||
_bool isShake;
|
||||
_bool bEnableRigidbody;
|
||||
_bool isTree;
|
||||
_float2 vRadius;
|
||||
_float2 vSpeed;
|
||||
_wstring strPrototypeTag;
|
||||
@@ -38,6 +39,7 @@ class CInstancedProp final : public CGameObject
|
||||
|
||||
private:
|
||||
_bool m_isShake = {};
|
||||
_bool m_isTree = {};
|
||||
_uint m_iNumMesh = {};
|
||||
_uint m_iNumInstacne = {};
|
||||
SHADER_PASS_WORLDMODLE_INSTANCE m_eShaderPass = {};
|
||||
|
||||
@@ -15,4 +15,19 @@
|
||||
<KeyFrame Event="Player/spells_avada_kedavra_akb/avada_kedavra_4.wav" Ratio="0.296" Volume="0.80000001"/>
|
||||
<KeyFrame Event="Player/spells_avada_kedavra_akb/avada_kedavra_9.wav" Ratio="0.154" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="1002">
|
||||
<KeyFrame Event="Player/spells_finisher_am_lightningstrike_akb/lightnig_2.wav" Ratio="0.15" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="760">
|
||||
<KeyFrame Event="Player/spells_accio_akb/accio_12.wav" Ratio="0.020" Volume="0.80000001"/>
|
||||
<KeyFrame Event="Player/spells_accio_akb/accio_3.wav" Ratio="0.031" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="759">
|
||||
<KeyFrame Event="Player/Voice/reparo_voice.wav" Ratio="0.356" Volume="1"/>
|
||||
<KeyFrame Event="Player/spells_reparo_akb/reparo_0.wav" Ratio="0.400" Volume="0.5"/>
|
||||
<KeyFrame Event="Player/spells_reparo_akb/reparo_21.wav" Ratio="0.900" Volume="0.1"/>
|
||||
</Animation>
|
||||
<Animation Index="757">
|
||||
<KeyFrame Event="Player/spells_reparo_akb/reparo_11.wav" Ratio="0.026" Volume="0.5"/>
|
||||
</Animation>
|
||||
</KeyFrames>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -56,7 +56,7 @@ void CLevel_Logo::Update(_float fTimeDelta)
|
||||
}
|
||||
GUI::End();
|
||||
#ifdef gimch
|
||||
if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::EFFECT))))
|
||||
if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::OBJECT))))
|
||||
return;
|
||||
#endif // gimch
|
||||
#ifdef 기무리
|
||||
|
||||
@@ -7,7 +7,13 @@ using namespace Engine::SOUND;
|
||||
|
||||
const _tchar* const SD_PATH::SD_KIND_PATHS[SD_KIND_COUNT] = {
|
||||
#pragma region BGM
|
||||
TEXT("BGM/Hogwart_BGM_0.wav"),
|
||||
TEXT("BGM/battle_BGM_0.wav"),
|
||||
TEXT("BGM/battle_BGM_1.wav"),
|
||||
TEXT("BGM/grassland_day.wav"),
|
||||
TEXT("BGM/grassland_night.wav"),
|
||||
TEXT("BGM/hogwart_BGM_0.wav"),
|
||||
TEXT("BGM/hogwart_BGM_1.wav"),
|
||||
TEXT("BGM/hogwart_BGM_int.wav"),
|
||||
TEXT("BGM/Ranrok_BGM.wav"),
|
||||
#pragma endregion
|
||||
|
||||
@@ -24,16 +30,23 @@ const _tchar* const SD_PATH::SD_KIND_PATHS[SD_KIND_COUNT] = {
|
||||
TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_2.wav"),
|
||||
TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_3.wav"),
|
||||
TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_4.wav"),
|
||||
TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_5.wav"),
|
||||
TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_5.wav"), // 5
|
||||
TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_6.wav"),
|
||||
TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_7.wav"),
|
||||
TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_8.wav"),
|
||||
TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_9.wav"),
|
||||
TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_10.wav"),
|
||||
TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_10.wav"), // 10
|
||||
TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_11.wav"),
|
||||
TEXT("Player/spells_avada_kedavra_akb/avada_kedavra_12.wav"),
|
||||
#pragma endregion
|
||||
|
||||
#pragma region ANCIENT_LIGHTNING
|
||||
TEXT("Player/spells_finisher_am_lightningstrike_akb/lightnig_0.wav"),
|
||||
TEXT("Player/spells_finisher_am_lightningstrike_akb/lightnig_1.wav"),
|
||||
TEXT("Player/spells_finisher_am_lightningstrike_akb/lightnig_2.wav"),
|
||||
TEXT("Player/spells_finisher_am_lightningstrike_akb/lightnig_3.wav"),
|
||||
#pragma endregion
|
||||
|
||||
#pragma region ACCIO
|
||||
TEXT("Player/spells_accio_akb/accio_3.wav"),
|
||||
TEXT("Player/spells_accio_akb/accio_6.wav"),
|
||||
@@ -44,6 +57,12 @@ const _tchar* const SD_PATH::SD_KIND_PATHS[SD_KIND_COUNT] = {
|
||||
TEXT("Player/spells_accio_akb/accio_21.wav"),
|
||||
#pragma endregion
|
||||
|
||||
#pragma region REPARO
|
||||
TEXT("Player/spells_reparo_akb/reparo_0.wav"),
|
||||
TEXT("Player/spells_reparo_akb/reparo_11.wav"),
|
||||
TEXT("Player/spells_reparo_akb/reparo_21.wav"),
|
||||
#pragma endregion
|
||||
|
||||
#pragma region VOICE
|
||||
TEXT("Player/Voice/avadakedavra_voice.wav"),
|
||||
TEXT("Player/Voice/bombarda_voice.wav"),
|
||||
@@ -53,7 +72,7 @@ const _tchar* const SD_PATH::SD_KIND_PATHS[SD_KIND_COUNT] = {
|
||||
TEXT("Player/Voice/protego_voice.wav"),
|
||||
TEXT("Player/Voice/reparo_voice.wav"),
|
||||
TEXT("Player/Voice/revelio.voice.wav"),
|
||||
TEXT("Player/Voice/stupefy_voice.wav"),
|
||||
TEXT("Player/Voice/stupefy_voice.wav")
|
||||
#pragma endregion
|
||||
|
||||
};
|
||||
|
||||
@@ -14,8 +14,14 @@ enum class SD_CHANNEL_GROUP {
|
||||
|
||||
enum class SD_KIND {
|
||||
#pragma region BGM
|
||||
BGM_0,
|
||||
BGM_1,
|
||||
BGM_Battle_0,
|
||||
BGM_Battle_1,
|
||||
BGM_Land_DAY,
|
||||
BGM_Land_NIGHT,
|
||||
BGM_HOGWART_0,
|
||||
BGM_HOGWART_1,
|
||||
BGM_HOGWART_INT,
|
||||
BGM_RANROK_0,
|
||||
#pragma endregion
|
||||
#pragma region SPELL
|
||||
SP_JAP_0,
|
||||
@@ -38,6 +44,14 @@ enum class SD_KIND {
|
||||
S_AVADA_KEDAVRA_11,
|
||||
S_AVADA_KEDAVRA_12,
|
||||
#pragma endregion
|
||||
|
||||
#pragma region ANCIENT_LIGHTNING
|
||||
SP_LIGHTNING_0,
|
||||
SP_LIGHTNING_1,
|
||||
SP_LIGHTNING_2,
|
||||
SP_LIGHTNING_3,
|
||||
#pragma endregion
|
||||
|
||||
#pragma region ACCIO
|
||||
SP_ACCIO_0,
|
||||
SP_ACCIO_1,
|
||||
@@ -48,6 +62,12 @@ enum class SD_KIND {
|
||||
SP_ACCIO_6,
|
||||
#pragma endregion
|
||||
|
||||
#pragma region REPARO
|
||||
SP_REPARO_0,
|
||||
SP_REPARO_1,
|
||||
SP_REPARO_2,
|
||||
#pragma endregion
|
||||
|
||||
|
||||
#pragma region VOICE
|
||||
VOICE_AVADAKEDAVRA,
|
||||
|
||||
Reference in New Issue
Block a user