[add] Describe #ifdef _Debug
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>EDITOR_PROJECT;ENGINE_EXPORTS;IMGUI_EXPORTS;TINYXML2_EXPORT;$(USERNAME);_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>ENGINE_EXPORTS;IMGUI_EXPORTS;TINYXML2_EXPORT;EDITOR_PROJECT;$(USERNAME);_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||
<AdditionalIncludeDirectories>../Public/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
@@ -148,7 +148,7 @@ call Update_Lib.bat
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>EDITOR_PROJECT;ENGINE_EXPORTS;IMGUI_EXPORTS;TINYXML2_EXPORT;$(USERNAME);NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>ENGINE_EXPORTS;IMGUI_EXPORTS;TINYXML2_EXPORT;$(USERNAME);NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||
<AdditionalIncludeDirectories>../Public/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
@@ -304,6 +304,7 @@ call Update_Lib.bat
|
||||
<ClCompile Include="..\Private\Timer_Manager.cpp" />
|
||||
<ClCompile Include="..\Private\tinyxml2.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\Transform.cpp" />
|
||||
<ClCompile Include="..\private\UIComponent.cpp" />
|
||||
@@ -568,31 +569,43 @@ call Update_Lib.bat
|
||||
<FileType>Document</FileType>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
</ExcludedFromBuild>
|
||||
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Effect</ShaderType>
|
||||
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">5.0</ShaderModel>
|
||||
</FxCompile>
|
||||
<FxCompile Include="..\Bin\Resources\ShaderFiles\Engine_Shader_States.hlsli">
|
||||
<FileType>Document</FileType>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
</ExcludedFromBuild>
|
||||
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Effect</ShaderType>
|
||||
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">5.0</ShaderModel>
|
||||
</FxCompile>
|
||||
<FxCompile Include="..\Bin\Resources\ShaderFiles\Engine_Shader_Constants.hlsli">
|
||||
<FileType>Document</FileType>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
</ExcludedFromBuild>
|
||||
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Effect</ShaderType>
|
||||
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">5.0</ShaderModel>
|
||||
</FxCompile>
|
||||
<FxCompile Include="..\Bin\Resources\ShaderFiles\Engine_Shader_Defines.hlsli">
|
||||
<FileType>Document</FileType>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
</ExcludedFromBuild>
|
||||
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Effect</ShaderType>
|
||||
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">5.0</ShaderModel>
|
||||
</FxCompile>
|
||||
<FxCompile Include="..\Bin\Resources\ShaderFiles\Engine_Shader_Functions.hlsli">
|
||||
<FileType>Document</FileType>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
</ExcludedFromBuild>
|
||||
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Effect</ShaderType>
|
||||
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">5.0</ShaderModel>
|
||||
</FxCompile>
|
||||
<FxCompile Include="..\Bin\Resources\ShaderFiles\Engine_Shader_Structures.hlsli">
|
||||
<FileType>Document</FileType>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
</ExcludedFromBuild>
|
||||
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Effect</ShaderType>
|
||||
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">5.0</ShaderModel>
|
||||
</FxCompile>
|
||||
<None Include="..\Public\Assimp\color4.inl" />
|
||||
<None Include="..\Public\Assimp\config.h.in" />
|
||||
@@ -611,7 +624,10 @@ call Update_Lib.bat
|
||||
<None Include="..\Public\fMod\fmod_errors.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<FxCompile Include="..\Bin\Resources\ShaderFiles\Shader_Mesh_Compute.hlsl" />
|
||||
<FxCompile Include="..\Bin\Resources\ShaderFiles\Shader_Mesh_Compute.hlsl">
|
||||
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Effect</ShaderType>
|
||||
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">5.0</ShaderModel>
|
||||
</FxCompile>
|
||||
<FxCompile Include="..\Bin\Resources\ShaderFiles\Shader_WeightBlend.hlsl">
|
||||
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Effect</ShaderType>
|
||||
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">5.0</ShaderModel>
|
||||
@@ -625,10 +641,14 @@ call Update_Lib.bat
|
||||
<FxCompile Include="..\Bin\Resources\ShaderFiles\Shader_Cell.hlsl">
|
||||
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Effect</ShaderType>
|
||||
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">5.0</ShaderModel>
|
||||
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Effect</ShaderType>
|
||||
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">5.0</ShaderModel>
|
||||
</FxCompile>
|
||||
<FxCompile Include="..\Bin\Resources\ShaderFiles\Shader_Deferred.hlsl">
|
||||
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Effect</ShaderType>
|
||||
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">5.0</ShaderModel>
|
||||
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Effect</ShaderType>
|
||||
<ShaderModel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">5.0</ShaderModel>
|
||||
</FxCompile>
|
||||
<FxCompile Include="..\Bin\Resources\ShaderFiles\Shader_Particle_Compute.hlsl">
|
||||
<ShaderType Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Effect</ShaderType>
|
||||
|
||||
@@ -324,7 +324,7 @@ void CCharacter_Controller::Free()
|
||||
}
|
||||
__super::Free();
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
void CCharacter_Controller::Describe_Entity()
|
||||
{
|
||||
GUI::Begin("Character_Controller");
|
||||
@@ -381,3 +381,5 @@ void CCharacter_Controller::Describe_Entity()
|
||||
|
||||
GUI::End();
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -165,7 +165,9 @@ void CCollider::Free()
|
||||
|
||||
SAFE_RELEASE(m_pBounding);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CCollider::Describe_Entity()
|
||||
{
|
||||
}
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -101,6 +101,7 @@ void CFSM::Free()
|
||||
m_pStates = nullptr;
|
||||
}
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CFSM::Describe_Entity()
|
||||
{
|
||||
@@ -108,3 +109,4 @@ void CFSM::Describe_Entity()
|
||||
|
||||
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -199,6 +199,8 @@ void CGameInstance::BillBoard(CTransform* pTransform)
|
||||
|
||||
}
|
||||
|
||||
#ifdef EDITOR_PROJECT
|
||||
|
||||
|
||||
void CGameInstance::Save_ModelFilePath(const _char* FilePath)
|
||||
{
|
||||
@@ -228,6 +230,7 @@ size_t CGameInstance::ModelFilePathCount()
|
||||
return m_FilePaths.size();
|
||||
}
|
||||
|
||||
#endif // EDITOR_PROJECT
|
||||
void CGameInstance::Render_Begin(const _float4* pClearColor)
|
||||
{
|
||||
m_pGraphic_Device->Clear_BackBuffer_View(pClearColor);
|
||||
@@ -538,7 +541,7 @@ HRESULT CGameInstance::Copy_RenderTarget(const _wstring& strTargetTag, ID3D11Tex
|
||||
{
|
||||
return m_pRenderTarget_Manager->Copy_RenderTarget(strTargetTag, pTexture2D);
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
void CGameInstance::RenderTarget_Debuger()
|
||||
{
|
||||
m_pRenderTarget_Manager->RenderTarget_Debuger();
|
||||
@@ -548,6 +551,7 @@ HRESULT CGameInstance::Render_RenderTarget_Debug(CShader* pShader, CVIBuffer_Rec
|
||||
{
|
||||
return m_pRenderTarget_Manager->Render_RenderTarget_Debug(pShader, pVIBuffer);
|
||||
}
|
||||
#endif // _DEBUG
|
||||
HRESULT CGameInstance::Clear_Cameras(_uint iLevel)
|
||||
{
|
||||
return m_pCamera_Manager->Clear_Cameras(iLevel);
|
||||
@@ -602,12 +606,20 @@ _bool CGameInstance::SaveAssimpModel(const _char* filename)
|
||||
auto iter = m_ModelMap.find(filename);
|
||||
return iter->second->SaveAssimpModel(filename);
|
||||
}
|
||||
#endif
|
||||
void CGameInstance::Add_ModelToMap(const _char* filePath, CModel* pModel)
|
||||
{
|
||||
m_ModelMap[filePath] = pModel;
|
||||
}
|
||||
void CGameInstance::Add_SaveModel(const _char* filePath, SaveModel sModel)
|
||||
{
|
||||
m_sModelMap[filePath] = sModel;
|
||||
}
|
||||
SaveModel* CGameInstance::Load_SaveModel(const _char* filePath)
|
||||
{
|
||||
auto iter = m_sModelMap.find(filePath);
|
||||
return &iter->second;
|
||||
}
|
||||
#endif
|
||||
|
||||
#pragma region PhysX_Manager
|
||||
PSX::PxMaterial* CGameInstance::Create_Material(_float3* vMatInfo)
|
||||
@@ -660,6 +672,7 @@ void CGameInstance::Release_Actor(PSX::PxActor& Actor)
|
||||
{
|
||||
m_pPhysX_Manager->Detach_Actor(Actor);
|
||||
}
|
||||
#ifdef EDITOR_PROJECT
|
||||
HRESULT CGameInstance::ConvertToTriMeshes(vector<class CMesh*>& Meshes, vector<class PSX::PxTriangleMesh*>& pxTriMeshes, _fmatrix WorldMatrix)
|
||||
{
|
||||
return m_pPhysX_Manager->ConvertToTriMeshes(Meshes, pxTriMeshes, WorldMatrix);
|
||||
@@ -668,6 +681,8 @@ HRESULT CGameInstance::SaveTriMeshes(const _char* pPath, vector<PSX::PxTriangleM
|
||||
{
|
||||
return m_pPhysX_Manager->SaveTriMeshes(pPath, TriMeshes);
|
||||
}
|
||||
#endif // EDITOR_PROJECT
|
||||
|
||||
HRESULT CGameInstance::LoadTriMeshes(const _char* pPath, vector<PSX::PxTriangleMesh*>& TriMeshes)
|
||||
{
|
||||
return m_pPhysX_Manager->LoadTriMeshes(pPath, TriMeshes);
|
||||
|
||||
@@ -39,8 +39,8 @@ HRESULT CGameObject_Manager::Add_GameObject_ToLayer(_uint iLayerLevelIndex, cons
|
||||
|
||||
void CGameObject_Manager::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
Describe_Entity();
|
||||
#ifdef _DEBUG
|
||||
Describe_Entity();
|
||||
m_pGameInstance->Compute_TimeDelta(TEXT("Timer_PriorityUpdate"));
|
||||
#endif // _DEBUG
|
||||
for (size_t i = 0; i < m_iNumLevels; i++)
|
||||
|
||||
@@ -526,6 +526,7 @@ void CInstance_Model::Free()
|
||||
SAFE_RELEASE(m_pConstantBuffer);
|
||||
SAFE_RELEASE(m_pParticleValueBuffer);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CInstance_Model::Describe_Entity()
|
||||
{
|
||||
@@ -732,3 +733,5 @@ void CInstance_Model::Describe_Entity()
|
||||
|
||||
ImGui::Separator();
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -151,6 +151,7 @@ void CLight::Free()
|
||||
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CLight::Describe_Entity()
|
||||
{
|
||||
@@ -187,3 +188,5 @@ void CLight::Describe_Entity()
|
||||
|
||||
GUI::Separator();
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "pch.h"
|
||||
#include "pch.h"
|
||||
#include "Navigation.h"
|
||||
|
||||
#include "Cell.h"
|
||||
@@ -68,48 +68,48 @@ HRESULT CNavigation::isMove(_fvector vCurrentPos, _vector vCurrentDir, _vector&
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
// iCrossCount > 0 이므로
|
||||
// 슬라이딩 혹은 이웃찾기 혹은 블록
|
||||
// iCrossCount > 0 이므로
|
||||
// 슬라이딩 혹은 이웃찾기 혹은 블록
|
||||
_uint iCrossedNeighborCount = 0;
|
||||
_int iBlockedLine = -1;
|
||||
_int iCrossedNeighbor = -1;
|
||||
{
|
||||
_int iTempNeighbor = -1;
|
||||
for (int i = 0; i < 3; ++i) {
|
||||
if (fOuts[i] < 0.f) { // 선분에 가로막혔는데
|
||||
if (fOuts[i] < 0.f) { // 선분에 가로막혔는데
|
||||
iTempNeighbor = (*m_pCells)[m_iCurrentCellIndex]->Get_Neighbor((NAVI_LINE)i);
|
||||
if (-1 != iTempNeighbor) { // 이웃으로 향하는 길 이면
|
||||
if (-1 != iTempNeighbor) { // 이웃으로 향하는 길 이면
|
||||
iCrossedNeighborCount++;
|
||||
iCrossedNeighbor = iTempNeighbor;
|
||||
}
|
||||
else {
|
||||
iBlockedLine = i; // 진짜 막힌 길이면 저장
|
||||
iBlockedLine = i; // 진짜 막힌 길이면 저장
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// 10 11
|
||||
// 20 21 22
|
||||
if (iCrossCount == iCrossedNeighborCount) // 가로막혔던 길이 모두 이웃이 있는 길이었으면
|
||||
if (iCrossCount == iCrossedNeighborCount) // 가로막혔던 길이 모두 이웃이 있는 길이었으면
|
||||
{
|
||||
m_iCurrentCellIndex = iCrossedNeighbor; // 아무 방향으로나
|
||||
m_iCurrentCellIndex = iCrossedNeighbor; // 아무 방향으로나
|
||||
vCorrectOut = XMVector3TransformNormal(vCurrentDirection, XMLoadFloat4x4(&s_WorldMatrix));
|
||||
return S_OK; // 이동
|
||||
return S_OK; // 이동
|
||||
}
|
||||
|
||||
// 10
|
||||
// 20 21
|
||||
if (iCrossCount > iCrossedNeighborCount) // 가로막혔던 길 중 이웃으로 향하는 길이 더 적다면
|
||||
if (iCrossCount > iCrossedNeighborCount) // 가로막혔던 길 중 이웃으로 향하는 길이 더 적다면
|
||||
{
|
||||
if (iCrossCount == 2 && iCrossedNeighborCount == 0) {// 가로막혔던 길이 둘 다 막힌 길이었으면 이동불가능
|
||||
if (iCrossCount == 2 && iCrossedNeighborCount == 0) {// 가로막혔던 길이 둘 다 막힌 길이었으면 이동불가능
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
// 10
|
||||
// 21
|
||||
// 막힌 길로 슬라이딩 타면 됨
|
||||
// 막힌 길로 슬라이딩 타면 됨
|
||||
|
||||
// 슬라이딩 벡터
|
||||
// 슬라이딩 벡터
|
||||
_vector vNeighborNormal = -XMLoadFloat3(pCell->Get_Normarl((NAVI_LINE)iBlockedLine));
|
||||
vCurrentDirection = vCurrentDirection - XMVector3Dot(vCurrentDirection, vNeighborNormal) * vNeighborNormal;
|
||||
if (iCrossedNeighborCount == 0) {
|
||||
@@ -124,7 +124,7 @@ HRESULT CNavigation::isMove(_fvector vCurrentPos, _vector vCurrentDir, _vector&
|
||||
if (SUCCEEDED((*m_pCells)[iCrossedNeighbor]->isIn(vEstimatedDestination, fOuts, iCrossCount))) {
|
||||
m_iCurrentCellIndex = iCrossedNeighbor;
|
||||
}
|
||||
else { // K 자 네비도트가 있을 때 아래 삼각형에서 바로 윗삼각형으로 갔을 경우임
|
||||
else { // K 자 네비도트가 있을 때 아래 삼각형에서 바로 윗삼각형으로 갔을 경우임
|
||||
int iFoundCell = Find_Cell_ByPosition(vEstimatedDestination, m_iCurrentCellIndex, 5);
|
||||
|
||||
if (iFoundCell >= 0)
|
||||
@@ -135,7 +135,7 @@ HRESULT CNavigation::isMove(_fvector vCurrentPos, _vector vCurrentDir, _vector&
|
||||
}
|
||||
else
|
||||
{
|
||||
return E_FAIL; // 완전히 네비 밖
|
||||
return E_FAIL; // 완전히 네비 밖
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -143,8 +143,8 @@ HRESULT CNavigation::isMove(_fvector vCurrentPos, _vector vCurrentDir, _vector&
|
||||
}
|
||||
else {
|
||||
assert(false);
|
||||
// 불가능,
|
||||
// 경우의 수가 없음
|
||||
// 불가능,
|
||||
// 경우의 수가 없음
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
@@ -162,32 +162,32 @@ HRESULT CNavigation::Get_NearCell(_fvector vCurrentPos, _int& iDestCell)
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
// iCrossCount > 0 이므로
|
||||
// 슬라이딩 혹은 이웃찾기 혹은 블록
|
||||
// iCrossCount > 0 이므로
|
||||
// 슬라이딩 혹은 이웃찾기 혹은 블록
|
||||
_uint iCrossedNeighborCount = 0;
|
||||
_int iBlockedLine = -1;
|
||||
_int iCrossedNeighbor = -1;
|
||||
{
|
||||
_int iTempNeighbor = -1;
|
||||
for (int i = 0; i < 3; ++i) {
|
||||
if (fOuts[i] < 0.f) { // 선분에 가로막혔는데
|
||||
if (fOuts[i] < 0.f) { // 선분에 가로막혔는데
|
||||
iTempNeighbor = (*m_pCells)[m_iCurrentCellIndex]->Get_Neighbor((NAVI_LINE)i);
|
||||
if (-1 != iTempNeighbor) { // 이웃으로 향하는 길 이면
|
||||
if (-1 != iTempNeighbor) { // 이웃으로 향하는 길 이면
|
||||
iCrossedNeighborCount++;
|
||||
iCrossedNeighbor = iTempNeighbor;
|
||||
}
|
||||
else {
|
||||
iBlockedLine = i; // 진짜 막힌 길이면 저장
|
||||
iBlockedLine = i; // 진짜 막힌 길이면 저장
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// 10 11
|
||||
// 20 21 22
|
||||
if (iCrossCount == iCrossedNeighborCount) // 가로막혔던 길이 모두 이웃이 있는 길이었으면
|
||||
if (iCrossCount == iCrossedNeighborCount) // 가로막혔던 길이 모두 이웃이 있는 길이었으면
|
||||
{
|
||||
iDestCell = iCrossedNeighbor;
|
||||
return S_OK; // 이동
|
||||
return S_OK; // 이동
|
||||
}
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -362,7 +362,9 @@ void CNavigation::Free()
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CNavigation::Describe_Entity()
|
||||
{
|
||||
}
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -143,6 +143,7 @@ void CPhysX_Manager::RegistTriMesh(const _char* pName, PSX::PxTriangleMesh* pPxT
|
||||
{
|
||||
m_TriangleMeshes.emplace(CMyTools::ToWstring(pName), pPxTriMesh);
|
||||
}
|
||||
#ifdef EDITOR_PROJECT
|
||||
|
||||
HRESULT CPhysX_Manager::ConvertToTriMeshes(vector<class CMesh*>& Meshes, vector<PSX::PxTriangleMesh*>& pxTriMeshes, _fmatrix WorldMatrix)
|
||||
{
|
||||
@@ -194,6 +195,7 @@ HRESULT CPhysX_Manager::SaveTriMeshes(const _char* pPath, vector<PSX::PxTriangle
|
||||
assert(ok);
|
||||
return (ok ? S_OK : E_FAIL);
|
||||
}
|
||||
#endif // EDITOR_PROJECT
|
||||
|
||||
HRESULT CPhysX_Manager::LoadTriMeshes(const _char* pPath, vector<PSX::PxTriangleMesh*>& TriMeshes)
|
||||
{
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
CQuadTree::CQuadTree()
|
||||
{
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CQuadTree::Set_CullingRadius(_float fRadius)
|
||||
{
|
||||
@@ -18,6 +19,7 @@ void CQuadTree::Set_CullingRadius(_float fRadius)
|
||||
m_pChildren[i]->Set_CullingRadius(fRadius);
|
||||
}
|
||||
}
|
||||
#endif // _DEBUG
|
||||
|
||||
void CQuadTree::Culling(CGameInstance* pGameInstance, const _float3* pVertexPositions, _uint* pIndices, _uint* pNumIndices)
|
||||
{
|
||||
|
||||
@@ -40,7 +40,10 @@ void CRigidBody::Free()
|
||||
|
||||
SAFE_RELEASE(m_pTransform);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CRigidBody::Describe_Entity()
|
||||
{
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -180,7 +180,9 @@ void CRigidBody_Dynamic::Free()
|
||||
m_pRigidBody = nullptr;
|
||||
}
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CRigidBody_Dynamic::Describe_Entity()
|
||||
{
|
||||
}
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -70,7 +70,10 @@ void CRigidBody_Static::Free()
|
||||
m_pRigidBody = nullptr;
|
||||
}
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CRigidBody_Static::Describe_Entity()
|
||||
{
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -251,6 +251,7 @@ void CShader::Free()
|
||||
|
||||
m_InputLayouts.clear();
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CShader::Describe_Entity()
|
||||
{
|
||||
@@ -268,3 +269,5 @@ void CShader::Describe_Entity()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -230,7 +230,10 @@ void CTexture::Free()
|
||||
SAFE_RELEASE(pSRV);
|
||||
}
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CTexture::Describe_Entity()
|
||||
{
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -244,6 +244,7 @@ void CTrail::Free()
|
||||
|
||||
Safe_Delete_Array(m_pVertices);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CTrail::Describe_Entity()
|
||||
{
|
||||
@@ -252,3 +253,5 @@ void CTrail::Describe_Entity()
|
||||
GUI::InputFloat3("High", (_float*)&m_TrailDesc.vHigh);
|
||||
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -358,6 +358,7 @@ void CTransform::Free()
|
||||
__super::Free();
|
||||
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CTransform::Describe_Entity()
|
||||
{
|
||||
@@ -382,3 +383,5 @@ void CTransform::Describe_Entity()
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "pch.h"
|
||||
#include "pch.h"
|
||||
#include "UIComponent.h"
|
||||
|
||||
CUIComponent ::CUIComponent(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
@@ -51,7 +51,9 @@ void CUIComponent::Free()
|
||||
{
|
||||
__super::Free();
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CUIComponent::Describe_Entity()
|
||||
{
|
||||
}
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "pch.h"
|
||||
#include "pch.h"
|
||||
#include "VIBuffer_Cell.h"
|
||||
|
||||
CVIBuffer_Cell::CVIBuffer_Cell(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
@@ -127,7 +127,9 @@ void CVIBuffer_Cell::Free()
|
||||
|
||||
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CVIBuffer_Cell::Describe_Entity()
|
||||
{
|
||||
}
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "pch.h"
|
||||
#include "pch.h"
|
||||
#include "VIBuffer_Cube.h"
|
||||
|
||||
CVIBuffer_Cube::CVIBuffer_Cube(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
@@ -273,7 +273,10 @@ void CVIBuffer_Cube::Free()
|
||||
|
||||
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CVIBuffer_Cube::Describe_Entity()
|
||||
{
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "pch.h"
|
||||
#include "pch.h"
|
||||
#include "VIBuffer_Rect.h"
|
||||
|
||||
CVIBuffer_Rect::CVIBuffer_Rect(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
@@ -128,7 +128,10 @@ void CVIBuffer_Rect::Free()
|
||||
|
||||
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CVIBuffer_Rect::Describe_Entity()
|
||||
{
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -280,11 +280,14 @@ void CVIBuffer_Terrain::Change_HeigthRatio(_float fRatio)
|
||||
|
||||
m_pContext->Unmap(m_pVB, 0);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CVIBuffer_Terrain::Set_CullingRadius(_float fRaduis)
|
||||
{
|
||||
m_pQuadTree->Set_CullingRadius(fRaduis);
|
||||
}
|
||||
#endif // _DEBUG
|
||||
|
||||
|
||||
CVIBuffer_Terrain* CVIBuffer_Terrain::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, const _char* pFilePath, _uint iSizeX, _uint iSizeZ)
|
||||
{
|
||||
@@ -317,7 +320,9 @@ void CVIBuffer_Terrain::Free()
|
||||
|
||||
Safe_Release(m_pQuadTree);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CVIBuffer_Terrain::Describe_Entity()
|
||||
{
|
||||
}
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -307,7 +307,10 @@ void CVIBuffer_UI_Instance::Free()
|
||||
Safe_Delete_Array(m_fPosition);
|
||||
}
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CVIBuffer_UI_Instance::Describe_Entity()
|
||||
{
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -93,7 +93,10 @@ class ENGINE_DLL CCharacter_Controller final :
|
||||
static CCharacter_Controller* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
#ifdef _DEBUG
|
||||
virtual void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
|
||||
};
|
||||
|
||||
NS_END
|
||||
|
||||
@@ -43,8 +43,9 @@ class ENGINE_DLL CCollider final : public CComponent
|
||||
static CCollider* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
NS_END
|
||||
|
||||
@@ -72,7 +72,9 @@ class ENGINE_DLL CFSM final : public CComponent
|
||||
static CFSM* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CFSM* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
virtual void Describe_Entity() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
|
||||
@@ -198,9 +198,10 @@ class ENGINE_DLL CGameInstance final : public CBase
|
||||
void Attach_Actor(PSX::PxActor& Actor);
|
||||
void Detach_Actor(PSX::PxActor& pActor);
|
||||
void Release_Actor(PSX::PxActor& Actor);
|
||||
|
||||
#ifdef EDITOR_PROJECT
|
||||
HRESULT ConvertToTriMeshes(vector<class CMesh*>& Meshes, vector<class PSX::PxTriangleMesh*>& pxTriMeshes, _fmatrix WorldMatrix = XMMatrixIdentity());
|
||||
HRESULT SaveTriMeshes(const _char* pPath, vector<PSX::PxTriangleMesh*>& TriMeshes);
|
||||
#endif // EDITOR_PROJECT
|
||||
HRESULT LoadTriMeshes(const _char* pPath, vector<PSX::PxTriangleMesh*>& TriMeshes); // 모델 불러왔던 경로에 그대로 있음
|
||||
#pragma endregion
|
||||
#pragma region THREADHOLDER
|
||||
@@ -215,26 +216,19 @@ class ENGINE_DLL CGameInstance final : public CBase
|
||||
#pragma endregion
|
||||
|
||||
public:
|
||||
void Add_ModelToMap(const _char* filePath, CModel* pModel)
|
||||
{
|
||||
m_ModelMap[filePath] = pModel;
|
||||
}
|
||||
void Add_ModelToMap(const _char* filePath, CModel* pModel);
|
||||
|
||||
void Add_SaveModel(const _char* filePath, SaveModel sModel)
|
||||
{
|
||||
m_sModelMap[filePath] = sModel;
|
||||
}
|
||||
|
||||
#ifdef EDITOR_PROJECT
|
||||
_bool SaveAssimpModel(const _char* filename);
|
||||
#endif
|
||||
void Add_SaveModel(const _char* filePath, SaveModel sModel);
|
||||
|
||||
SaveModel* Load_SaveModel(const _char* filePath);
|
||||
#ifdef EDITOR_PROJECT
|
||||
_bool SaveAssimpModel(const _char* filename);
|
||||
void Save_ModelFilePath(const _char* FilePath);
|
||||
const _char* Load_ModelFilePath(_uint iIndex);
|
||||
const _char* Load_BinaryModelFilePath(_uint iIndex);
|
||||
size_t BinaryModelFilePathCount();
|
||||
size_t ModelFilePathCount();
|
||||
#endif
|
||||
|
||||
private:
|
||||
class CGraphic_Device* m_pGraphic_Device = { nullptr };
|
||||
|
||||
@@ -227,7 +227,9 @@ class ENGINE_DLL CInstance_Model final : public CComponent
|
||||
|
||||
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr);
|
||||
virtual void Free() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
|
||||
@@ -29,7 +29,9 @@ class ENGINE_DLL CLight final : public CComponent
|
||||
static CLight* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
CComponent* Clone(void* pArg, CGameObject* pOwner) override;
|
||||
virtual void Free() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#include "Component.h"
|
||||
|
||||
@@ -6,7 +6,7 @@ NS_BEGIN(Engine)
|
||||
|
||||
class ENGINE_DLL CNavigation final : public CComponent
|
||||
{
|
||||
// 맵툴 형님께서 다 갈아 엎으셔도 됩니다 ^^7, CCell, CVIBuffer_Cell, 이친구들이랑 영향력이 묶여있어요
|
||||
// 맵툴 형님께서 다 갈아 엎으셔도 됩니다 ^^7, CCell, CVIBuffer_Cell, 이친구들이랑 영향력이 묶여있어요
|
||||
static _float4x4 s_WorldMatrix;
|
||||
public:
|
||||
typedef struct tagNavigaionDesc
|
||||
@@ -55,8 +55,9 @@ class ENGINE_DLL CNavigation final : public CComponent
|
||||
static CNavigation* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner) override;
|
||||
virtual void Free() override;
|
||||
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
NS_END
|
||||
|
||||
@@ -28,9 +28,11 @@ class CPhysX_Manager final : public CBase
|
||||
|
||||
void RegistTriMesh(const _char* pName, PSX::PxTriangleMesh* pPxTriMesh);
|
||||
PSX::PxMaterial* Create_Material(const _float3* vMatInfo);
|
||||
#ifdef EDITOR_PROJECT
|
||||
|
||||
HRESULT ConvertToTriMeshes(vector<class CMesh*>& Meshes, vector<class PSX::PxTriangleMesh*>& pxTriMeshes, _fmatrix WorldMatrix);
|
||||
HRESULT SaveTriMeshes(const _char* pPath, vector<PSX::PxTriangleMesh*>& TriMeshes);
|
||||
#endif // EDITOR_PROJECT
|
||||
HRESULT LoadTriMeshes(const _char* pPath, vector<PSX::PxTriangleMesh*>& TriMeshes);
|
||||
//HRESULT LoadTriMeshes_Binary(const _char* pPath, vector<PSX::PxTriangleMesh*>& TriMeshes);
|
||||
PSX::PxTriangleMesh* Find_TriangleMesh(const _tchar* pMeshName);
|
||||
|
||||
@@ -53,7 +53,9 @@ class ENGINE_DLL CRigidBody abstract : public CComponent
|
||||
|
||||
public:
|
||||
virtual void Free() override;
|
||||
#ifdef _DEBUG
|
||||
virtual void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
|
||||
@@ -71,7 +71,9 @@ class ENGINE_DLL CRigidBody_Dynamic : public CRigidBody
|
||||
static CRigidBody_Dynamic* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, RIGIDBODY_PROTOTYPE_DYNAMIC_DESC& Desc);
|
||||
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
#ifdef _DEBUG
|
||||
virtual void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
|
||||
@@ -40,7 +40,9 @@ class ENGINE_DLL CRigidBody_Static : public CRigidBody
|
||||
static CRigidBody_Static* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, RIGIDBODY_STATIC_PROTOTYPEDESC& Desc);
|
||||
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
virtual void Describe_Entity() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#include "Component.h"
|
||||
|
||||
@@ -53,8 +53,9 @@ class ENGINE_DLL CShader final : public CComponent
|
||||
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner) override;
|
||||
virtual void Free() override;
|
||||
|
||||
// CComponent을(를) 통해 상속됨
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
NS_END
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
#include "Component.h"
|
||||
|
||||
NS_BEGIN(Engine)
|
||||
@@ -38,7 +38,9 @@ class ENGINE_DLL CTexture final :
|
||||
static CTexture* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, TEXTURE_LOAD_TYPE eType, const _tchar* pTextureFilePath, _uint iNumTextures, _wstring wstrPrototypeName = L"");
|
||||
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
virtual void Describe_Entity() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
NS_END
|
||||
|
||||
@@ -33,7 +33,9 @@ class ENGINE_DLL CTrail final :
|
||||
static CTrail* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CTrail* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
virtual void Describe_Entity() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
virtual HRESULT Render() override;
|
||||
private:
|
||||
TRAIL_DESC m_TrailDesc = {};
|
||||
|
||||
@@ -84,7 +84,9 @@ class ENGINE_DLL CTransform final :
|
||||
static CTransform* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
virtual void Describe_Entity() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
#include "Component.h"
|
||||
|
||||
NS_BEGIN(Engine)
|
||||
@@ -37,7 +37,9 @@ class ENGINE_DLL CUIComponent final : public CComponent
|
||||
static CUIComponent* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
virtual void Describe_Entity() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
NS_END
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
#include "VIBuffer.h"
|
||||
|
||||
NS_BEGIN(Engine)
|
||||
@@ -22,7 +22,9 @@ class ENGINE_DLL CVIBuffer_Cell final :
|
||||
static CVIBuffer_Cell* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, const _float3* pPoints);
|
||||
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
virtual void Describe_Entity() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
NS_END
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
#include "VIBuffer.h"
|
||||
|
||||
NS_BEGIN(Engine)
|
||||
@@ -24,7 +24,9 @@ class ENGINE_DLL CVIBuffer_Cube final :
|
||||
static CVIBuffer_Cube* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CVIBuffer_Cube* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
virtual void Describe_Entity() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
NS_END
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
#include "VIBuffer.h"
|
||||
|
||||
NS_BEGIN(Engine)
|
||||
@@ -19,7 +19,9 @@ class ENGINE_DLL CVIBuffer_Rect final :
|
||||
static CVIBuffer_Rect* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CVIBuffer_Rect* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
virtual void Describe_Entity() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
NS_END
|
||||
|
||||
@@ -45,7 +45,9 @@ class ENGINE_DLL CVIBuffer_Terrain final : public CVIBuffer
|
||||
static CVIBuffer_Terrain* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, const _char* pFilePath, _uint iSizeX, _uint iSizeZ);
|
||||
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
virtual void Describe_Entity() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
|
||||
@@ -48,7 +48,9 @@ class ENGINE_DLL CVIBuffer_UI_Instance final : public CVIBuffer_Instance
|
||||
static CVIBuffer_UI_Instance* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, const INSTANCE_DESC* pInstanceDesc);
|
||||
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
virtual void Describe_Entity() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
};
|
||||
|
||||
NS_END
|
||||
|
||||
Reference in New Issue
Block a user