commit
This commit is contained in:
@@ -210,6 +210,10 @@
|
||||
#include "Avadakedavra.h"
|
||||
#include "Goblin_Teleport.h"
|
||||
|
||||
#include "PotionBroken.h"
|
||||
#include "PotionScreen.h"
|
||||
#include "HitScreen.h"
|
||||
#include "BroomRace_Bubble.h"
|
||||
|
||||
#include "TrollSwing.h"
|
||||
#include "Troll_Nomal_Smoke.h"
|
||||
@@ -2946,7 +2950,21 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CScreen_Wind>(g_iStaticLevel, CScreen_Wind::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CPotionBroken>(g_iStaticLevel, CPotionBroken::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CPotionScreen>(g_iStaticLevel, CPotionScreen::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CHitScreen>(g_iStaticLevel, CHitScreen::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CBroomRace_Bubble>(g_iStaticLevel, CBroomRace_Bubble::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CEffectPool>(g_iStaticLevel, CEffectPool::Create(m_pDevice, m_pContext)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -4112,8 +4130,8 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
{
|
||||
CModel* pModelOriginal = (CModel*)m_pGameInstance->Find_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Ranrok_Model"));
|
||||
CMotion_Trail::MODELCAPTURE_DESC Desc{};
|
||||
Desc.fMaxCaptureLifeTime = 2.f;
|
||||
Desc.iMaximumCapture = 4;
|
||||
Desc.fMaxCaptureLifeTime = 0.3f;
|
||||
Desc.iMaximumCapture = 16;
|
||||
Desc.iNumBones = pModelOriginal->Get_BoneAbsoluteCount();
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Ranrok_MotionTrail"), CMotion_Trail::Create(m_pDevice, m_pContext, &Desc)))) {
|
||||
return E_FAIL;
|
||||
@@ -4123,8 +4141,8 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
{
|
||||
CModel* pModelOriginal = (CModel*)m_pGameInstance->Find_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Goblin_Assassin_Model"));
|
||||
CMotion_Trail::MODELCAPTURE_DESC Desc{};
|
||||
Desc.fMaxCaptureLifeTime = 2.f;
|
||||
Desc.iMaximumCapture = 4;
|
||||
Desc.fMaxCaptureLifeTime = 0.7f;
|
||||
Desc.iMaximumCapture = 16;
|
||||
Desc.iNumBones = pModelOriginal->Get_BoneAbsoluteCount();
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Goblin_Assassin_MotionTrail"), CMotion_Trail::Create(m_pDevice, m_pContext, &Desc)))) {
|
||||
return E_FAIL;
|
||||
|
||||
Reference in New Issue
Block a user