Merge branch 'Develope' into UI
This commit is contained in:
@@ -110,7 +110,7 @@
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>$(USERNAME);_DEBUG;_WINDOWS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||
<AdditionalIncludeDirectories>../Public/;../../EngineSDK/Inc/;../../EngineSDK/Inc/DirectXTK/;../../EngineSDK/Inc/fMod/;../../EngineSDK/Inc/IMGUI/;../../EngineSDK/Inc/FX11/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
@@ -137,7 +137,7 @@ call Update_Resources.bat
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>$(USERNAME);NDEBUG;_WINDOWS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||
<AdditionalIncludeDirectories>../Public/;../../EngineSDK/Inc/;../../EngineSDK/Inc/DirectXTK/;../../EngineSDK/Inc/fMod/;../../EngineSDK/Inc/IMGUI/;../../EngineSDK/Inc/FX11/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
|
||||
@@ -244,12 +244,6 @@ void CLevioso::Free()
|
||||
|
||||
void CLevioso::Describe_Entity()
|
||||
{
|
||||
GUI::Begin("LEVIOSO");
|
||||
|
||||
GUI::DragFloat("TURN SPEED", &m_fTurnSpeed);
|
||||
GUI::DragFloat("RANGE", &m_fRange);
|
||||
GUI::End();
|
||||
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -38,7 +38,9 @@ void CLight_Main::Priority_Update(_float fTimeDelta)
|
||||
|
||||
void CLight_Main::Update(_float fTimeDelta)
|
||||
{
|
||||
|
||||
GUI::Begin("Main_Light");
|
||||
m_pLightCom->Describe_Entity();
|
||||
GUI::End();
|
||||
}
|
||||
|
||||
void CLight_Main::Late_Update(_float fTimeDelta)
|
||||
|
||||
@@ -387,8 +387,9 @@ HRESULT CMapInfo::Load_LightElements(const _char* pFileName)
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CMapElement_Light>(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Element_Light"), &Desc)))
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
#ifndef 기무리
|
||||
MSG_BOX("Successed to Load File");
|
||||
#endif
|
||||
|
||||
|
||||
return S_OK;
|
||||
|
||||
@@ -53,13 +53,7 @@ void CTerrain::Priority_Update(_float fTimeDelta)
|
||||
|
||||
void CTerrain::Update(_float fTimeDelta)
|
||||
{
|
||||
|
||||
#ifdef _DEBUG
|
||||
if (m_pGameInstance->Key_Down(DIK_LSHIFT) )
|
||||
{
|
||||
m_bWasWireFrame = !m_bWasWireFrame;
|
||||
}
|
||||
#endif // _DEBUG
|
||||
Describe_Entity();
|
||||
}
|
||||
|
||||
void CTerrain::Late_Update(_float fTimeDelta)
|
||||
@@ -74,18 +68,6 @@ HRESULT CTerrain::Render()
|
||||
if (FAILED(Bind_ShaderResources())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
static _int iValue1 = 16;
|
||||
static _int iValue2 = 16;
|
||||
static _int iValue3 = 16;
|
||||
GUI::SliderInt("DSN1", (_int*)&iValue1, 1, 1024);
|
||||
GUI::SliderInt("DSN2", (_int*)&iValue2, 1, 1024);
|
||||
GUI::SliderInt("DSN3", (_int*)&iValue3, 1, 1024);
|
||||
m_vDRN.x = 1.f / (_float)iValue1;
|
||||
m_vDRN.y = 1.f / (_float)iValue2;
|
||||
m_vDRN.z = 1.f / (_float)iValue3;
|
||||
#endif // _DEBUG
|
||||
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fDiffuseMultiplier", &m_vDRN.x, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -95,31 +77,12 @@ HRESULT CTerrain::Render()
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fNormalMultiplier", &m_vDRN.z, sizeof(_float)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
if (m_bWasWireFrame)
|
||||
{
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NORTEX::ENV_TERRAIN_ANISO)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NORTEX::DEFAULT)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
#endif // _DEBUG
|
||||
#ifndef _DEBUG
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_NORTEX::ENV_TERRAIN_ANISO)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
#endif // !_DEBUG
|
||||
|
||||
|
||||
if (FAILED(m_pVIBufferCom->Bind_Resources())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pVIBufferCom->Render())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -245,6 +208,20 @@ void CTerrain::Free()
|
||||
#ifdef _DEBUG
|
||||
void CTerrain::Describe_Entity()
|
||||
{
|
||||
|
||||
GUI::Begin("Renderer");
|
||||
GUI::PushItemWidth(80);
|
||||
if (GUI::CollapsingHeader("PostProcessing_Bloom"))
|
||||
{
|
||||
static _int iTuningValue = 16;
|
||||
GUI::DragInt("DSN1", (_int*)&iTuningValue, 1, 1024);
|
||||
GUI::DragInt("DSN2", (_int*)&iTuningValue, 1, 1024);
|
||||
GUI::DragInt("DSN3", (_int*)&iTuningValue, 1, 1024);
|
||||
m_vDRN.x = 1.f / (_float)iTuningValue;
|
||||
m_vDRN.y = 1.f / (_float)iTuningValue;
|
||||
m_vDRN.z = 1.f / (_float)iTuningValue;
|
||||
GUI::PopItemWidth();
|
||||
GUI::EndChild();
|
||||
}
|
||||
GUI::End();
|
||||
}
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -36,7 +36,7 @@ class CLevioso final : public CEffect_Container
|
||||
|
||||
class CEffectParts* m_pLeviosoPJ_0 = { nullptr };
|
||||
class CEffectParts* m_pLeviosoPJ_1 = { nullptr };
|
||||
class CTrailObject* m_pLeviosoTrail = { nullptr };
|
||||
class CTrailObject* m_pLeviosoTrail = { nullptr };
|
||||
class CEffectParts* m_pTrail_PT_0 = { nullptr };
|
||||
|
||||
_vector m_vOwnerLook = {};
|
||||
|
||||
@@ -23,7 +23,12 @@ class CPlayerInfo final : public CBase
|
||||
pair<_float3, _float3> Get_CameraCoordinateSystem();
|
||||
private:
|
||||
CGameInstance* m_pGameInstance = { nullptr };
|
||||
class CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
class C
|
||||
|
||||
|
||||
|
||||
|
||||
* m_pInfoInstance = { nullptr };
|
||||
ID3D11Device* m_pDevice = { nullptr };
|
||||
ID3D11DeviceContext* m_pContext = { nullptr };
|
||||
|
||||
|
||||
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.
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.
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
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.
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.
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.
Binary file not shown.
Binary file not shown.
BIN
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user