- Various clang reformat
- Added shader compiler app (doing nothing) - Various Project files changes
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<AdditionalDependencies>Juliet.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>Juliet.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||||
<AdditionalLibraryDirectories>$(SolutionDir)\bin\$(Platform)\$(Configuration)\</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(SolutionDir)\lib\$(Platform)\$(Configuration)\</AdditionalLibraryDirectories>
|
||||||
<ProgramDatabaseFile>$(OutDir)$(TargetName)_$(Random).pdb</ProgramDatabaseFile>
|
<ProgramDatabaseFile>$(OutDir)$(TargetName)_$(Random).pdb</ProgramDatabaseFile>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
@@ -94,12 +94,12 @@
|
|||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<AdditionalLibraryDirectories>$(SolutionDir)\bin\$(Platform)\$(Configuration)\</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(SolutionDir)\lib\$(Platform)\$(Configuration)\</AdditionalLibraryDirectories>
|
||||||
<AdditionalDependencies>Juliet.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>Juliet.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="game.cpp" />
|
<ClCompile Include="game.cpp"/>
|
||||||
<ClCompile Include="Entity\EntityManager.cpp"/>
|
<ClCompile Include="Entity\EntityManager.cpp"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -15,6 +15,11 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Game", "Game\Game.vcxproj",
|
|||||||
{1BBC0B92-E4D8-4838-974B-439C5C501E82} = {1BBC0B92-E4D8-4838-974B-439C5C501E82}
|
{1BBC0B92-E4D8-4838-974B-439C5C501E82} = {1BBC0B92-E4D8-4838-974B-439C5C501E82}
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JulietShaderCompiler", "JulietShaderCompiler\JulietShaderCompiler.vcxproj", "{26880364-45F4-4817-BFD3-0ACC0958757D}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{1BBC0B92-E4D8-4838-974B-439C5C501E82} = {1BBC0B92-E4D8-4838-974B-439C5C501E82}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|x64 = Debug|x64
|
Debug|x64 = Debug|x64
|
||||||
@@ -33,6 +38,10 @@ Global
|
|||||||
{B7B12DCC-1A69-4371-A9FE-D6E7671497B0}.Debug|x64.Build.0 = Debug|x64
|
{B7B12DCC-1A69-4371-A9FE-D6E7671497B0}.Debug|x64.Build.0 = Debug|x64
|
||||||
{B7B12DCC-1A69-4371-A9FE-D6E7671497B0}.Release|x64.ActiveCfg = Release|x64
|
{B7B12DCC-1A69-4371-A9FE-D6E7671497B0}.Release|x64.ActiveCfg = Release|x64
|
||||||
{B7B12DCC-1A69-4371-A9FE-D6E7671497B0}.Release|x64.Build.0 = Release|x64
|
{B7B12DCC-1A69-4371-A9FE-D6E7671497B0}.Release|x64.Build.0 = Release|x64
|
||||||
|
{26880364-45F4-4817-BFD3-0ACC0958757D}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{26880364-45F4-4817-BFD3-0ACC0958757D}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{26880364-45F4-4817-BFD3-0ACC0958757D}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{26880364-45F4-4817-BFD3-0ACC0958757D}.Release|x64.Build.0 = Release|x64
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|||||||
@@ -71,6 +71,7 @@
|
|||||||
</SubSystem>
|
</SubSystem>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<AdditionalDependencies>ws2_32.lib;dxgi.lib;dxguid.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>ws2_32.lib;dxgi.lib;dxguid.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<ImportLibrary>$(SolutionDir)\lib\$(Platform)\$(Configuration)\$(TargetName).lib</ImportLibrary>
|
||||||
</Link>
|
</Link>
|
||||||
<Lib>
|
<Lib>
|
||||||
<AdditionalDependencies>
|
<AdditionalDependencies>
|
||||||
@@ -99,6 +100,7 @@
|
|||||||
<OptimizeReferences>true</OptimizeReferences>
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<AdditionalDependencies>ws2_32.lib;d3d12.lib;dxgi.lib;dxguid.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>ws2_32.lib;d3d12.lib;dxgi.lib;dxguid.lib;$(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<ImportLibrary>$(SolutionDir)\lib\$(Platform)\$(Configuration)\$(TargetName).lib</ImportLibrary>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@@ -113,94 +115,96 @@
|
|||||||
<ClInclude Include="include\Core\Common\NonNullPtr.h"/>
|
<ClInclude Include="include\Core\Common\NonNullPtr.h"/>
|
||||||
<ClInclude Include="include\Core\Common\Singleton.h"/>
|
<ClInclude Include="include\Core\Common\Singleton.h"/>
|
||||||
<ClInclude Include="include\Core\Container\Vector.h"/>
|
<ClInclude Include="include\Core\Container\Vector.h"/>
|
||||||
<ClInclude Include="include\Core\HAL\Display\Display.h" />
|
<ClInclude Include="include\Core\HAL\Display\Display.h"/>
|
||||||
<ClInclude Include="include\Core\HAL\Event\SystemEvent.h" />
|
<ClInclude Include="include\Core\HAL\Event\SystemEvent.h"/>
|
||||||
<ClInclude Include="include\Core\HAL\Keyboard\Keyboard.h" />
|
<ClInclude Include="include\Core\HAL\Keyboard\Keyboard.h"/>
|
||||||
<ClInclude Include="include\Core\HAL\Keyboard\KeyCode.h" />
|
<ClInclude Include="include\Core\HAL\Keyboard\KeyCode.h"/>
|
||||||
<ClInclude Include="include\Core\HAL\Keyboard\ScanCode.h" />
|
<ClInclude Include="include\Core\HAL\Keyboard\ScanCode.h"/>
|
||||||
<ClInclude Include="include\Core\HAL\Mouse\Mouse.h" />
|
<ClInclude Include="include\Core\HAL\Mouse\Mouse.h"/>
|
||||||
<ClInclude Include="include\Core\HotReload\HotReload.h" />
|
<ClInclude Include="include\Core\HotReload\HotReload.h"/>
|
||||||
<ClInclude Include="include\Core\JulietInit.h" />
|
<ClInclude Include="include\Core\JulietInit.h"/>
|
||||||
<ClInclude Include="include\Core\Logging\LogManager.h" />
|
<ClInclude Include="include\Core\Logging\LogManager.h"/>
|
||||||
<ClInclude Include="include\Core\Logging\LogTypes.h" />
|
<ClInclude Include="include\Core\Logging\LogTypes.h"/>
|
||||||
<ClInclude Include="include\Core\Math\Shape.h" />
|
<ClInclude Include="include\Core\Math\Shape.h"/>
|
||||||
<ClInclude Include="include\Core\Memory\Allocator.h" />
|
<ClInclude Include="include\Core\Memory\Allocator.h"/>
|
||||||
<ClInclude Include="include\Core\Memory\Utils.h" />
|
<ClInclude Include="include\Core\Memory\Utils.h"/>
|
||||||
<ClInclude Include="include\Core\Networking\IPAddress.h" />
|
<ClInclude Include="include\Core\Networking\IPAddress.h"/>
|
||||||
<ClInclude Include="include\Core\Networking\NetworkPacket.h" />
|
<ClInclude Include="include\Core\Networking\NetworkPacket.h"/>
|
||||||
<ClInclude Include="include\Core\Networking\Socket.h" />
|
<ClInclude Include="include\Core\Networking\Socket.h"/>
|
||||||
<ClInclude Include="include\Core\Networking\SocketHandle.h" />
|
<ClInclude Include="include\Core\Networking\SocketHandle.h"/>
|
||||||
<ClInclude Include="include\Core\Networking\TcpListener.h" />
|
<ClInclude Include="include\Core\Networking\TcpListener.h"/>
|
||||||
<ClInclude Include="include\Core\Networking\TcpSocket.h" />
|
<ClInclude Include="include\Core\Networking\TcpSocket.h"/>
|
||||||
<ClInclude Include="include\Core\Thread\Thread.h" />
|
<ClInclude Include="include\Core\Thread\Thread.h"/>
|
||||||
<ClInclude Include="include\Engine\Class.h" />
|
<ClInclude Include="include\Engine\Class.h"/>
|
||||||
<ClInclude Include="include\Engine\Engine.h" />
|
<ClInclude Include="include\Engine\Engine.h"/>
|
||||||
<ClInclude Include="include\Graphics\Colors.h" />
|
<ClInclude Include="include\Graphics\Colors.h"/>
|
||||||
<ClInclude Include="include\Graphics\Graphics.h" />
|
<ClInclude Include="include\Graphics\Graphics.h"/>
|
||||||
<ClInclude Include="include\Graphics\GraphicsConfig.h" />
|
<ClInclude Include="include\Graphics\GraphicsConfig.h"/>
|
||||||
<ClInclude Include="include\Graphics\RenderPass.h" />
|
<ClInclude Include="include\Graphics\RenderPass.h"/>
|
||||||
<ClInclude Include="include\Graphics\Texture.h" />
|
<ClInclude Include="include\Graphics\Texture.h"/>
|
||||||
<ClInclude Include="include\Juliet.h" />
|
<ClInclude Include="include\Juliet.h"/>
|
||||||
<ClInclude Include="include\pch.h" />
|
<ClInclude Include="include\pch.h"/>
|
||||||
<ClInclude Include="src\Core\HAL\Display\DisplayDevice.h" />
|
<ClInclude Include="src\Core\HAL\Display\DisplayDevice.h"/>
|
||||||
<ClInclude Include="src\Core\HAL\Display\Display_Private.h" />
|
<ClInclude Include="src\Core\HAL\Display\Display_Private.h"/>
|
||||||
<ClInclude Include="src\Core\HAL\Display\Win32\Win32DisplayEvent.h" />
|
<ClInclude Include="src\Core\HAL\Display\Win32\Win32DisplayEvent.h"/>
|
||||||
<ClInclude Include="src\Core\HAL\Display\Win32\Win32Window.h" />
|
<ClInclude Include="src\Core\HAL\Display\Win32\Win32Window.h"/>
|
||||||
<ClInclude Include="src\Core\HAL\Display\Window.h" />
|
<ClInclude Include="src\Core\HAL\Display\Window.h"/>
|
||||||
<ClInclude Include="src\Core\HAL\Event\KeyboardMapping.h" />
|
<ClInclude Include="src\Core\HAL\Event\KeyboardMapping.h"/>
|
||||||
<ClInclude Include="src\Core\HAL\Event\Keyboard_Private.h" />
|
<ClInclude Include="src\Core\HAL\Event\Keyboard_Private.h"/>
|
||||||
<ClInclude Include="src\Core\HAL\Event\Mouse_Private.h" />
|
<ClInclude Include="src\Core\HAL\Event\Mouse_Private.h"/>
|
||||||
<ClInclude Include="src\Core\HAL\Event\Win32ScanCode.h" />
|
<ClInclude Include="src\Core\HAL\Event\Win32ScanCode.h"/>
|
||||||
<ClInclude Include="src\Core\HAL\Event\WindowEvent.h" />
|
<ClInclude Include="src\Core\HAL\Event\WindowEvent.h"/>
|
||||||
<ClInclude Include="src\Core\HAL\Filesystem\Filesystem_Platform.h" />
|
<ClInclude Include="src\Core\HAL\Filesystem\Filesystem_Platform.h"/>
|
||||||
<ClInclude Include="src\Core\HAL\Filesystem\Filesystem_Private.h" />
|
<ClInclude Include="src\Core\HAL\Filesystem\Filesystem_Private.h"/>
|
||||||
<ClInclude Include="src\Core\Networking\SocketPlatformImpl.h" />
|
<ClInclude Include="src\Core\Networking\SocketPlatformImpl.h"/>
|
||||||
<ClInclude Include="src\Core\HAL\Win32.h" />
|
<ClInclude Include="src\Core\HAL\Win32.h"/>
|
||||||
<ClInclude Include="src\Graphics\D3D12\D3D12Common.h" />
|
<ClInclude Include="src\Graphics\D3D12\D3D12Common.h"/>
|
||||||
<ClInclude Include="src\Graphics\D3D12\D3D12RenderPass.h" />
|
<ClInclude Include="src\Graphics\D3D12\D3D12RenderPass.h"/>
|
||||||
<ClInclude Include="src\Graphics\D3D12\D3D12Synchronization.h" />
|
<ClInclude Include="src\Graphics\D3D12\D3D12Shader.h"/>
|
||||||
<ClInclude Include="src\Graphics\D3D12\D3D12Texture.h" />
|
<ClInclude Include="src\Graphics\D3D12\D3D12Synchronization.h"/>
|
||||||
<ClInclude Include="src\Graphics\D3D12\DX12CommandList.h" />
|
<ClInclude Include="src\Graphics\D3D12\D3D12Texture.h"/>
|
||||||
<ClInclude Include="src\Graphics\D3D12\DX12GraphicsDevice.h" />
|
<ClInclude Include="src\Graphics\D3D12\DX12CommandList.h"/>
|
||||||
<ClInclude Include="src\Graphics\D3D12\DX12Includes.h" />
|
<ClInclude Include="src\Graphics\D3D12\DX12GraphicsDevice.h"/>
|
||||||
<ClInclude Include="src\Graphics\D3D12\DX12SwapChain.h" />
|
<ClInclude Include="src\Graphics\D3D12\DX12Includes.h"/>
|
||||||
<ClInclude Include="src\Graphics\D3D12\DX12Utils.h" />
|
<ClInclude Include="src\Graphics\D3D12\DX12SwapChain.h"/>
|
||||||
<ClInclude Include="src\Graphics\GraphicsDevice.h" />
|
<ClInclude Include="src\Graphics\D3D12\DX12Utils.h"/>
|
||||||
|
<ClInclude Include="src\Graphics\GraphicsDevice.h"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="src\Core\Application\ApplicationManager.cpp" />
|
<ClCompile Include="src\Core\Application\ApplicationManager.cpp"/>
|
||||||
<ClCompile Include="src\Core\Common\CoreUtils.cpp" />
|
<ClCompile Include="src\Core\Common\CoreUtils.cpp"/>
|
||||||
<ClCompile Include="src\Core\HAL\Display\Display.cpp" />
|
<ClCompile Include="src\Core\HAL\Display\Display.cpp"/>
|
||||||
<ClCompile Include="src\Core\HAL\Display\Win32\Win32DisplayDevice.cpp" />
|
<ClCompile Include="src\Core\HAL\Display\Win32\Win32DisplayDevice.cpp"/>
|
||||||
<ClCompile Include="src\Core\HAL\Display\Win32\Win32DisplayEvent.cpp" />
|
<ClCompile Include="src\Core\HAL\Display\Win32\Win32DisplayEvent.cpp"/>
|
||||||
<ClCompile Include="src\Core\HAL\Display\Win32\Win32Window.cpp" />
|
<ClCompile Include="src\Core\HAL\Display\Win32\Win32Window.cpp"/>
|
||||||
<ClCompile Include="src\Core\HAL\DynLib\Win32\DynamicLibrary.cpp" />
|
<ClCompile Include="src\Core\HAL\DynLib\Win32\DynamicLibrary.cpp"/>
|
||||||
<ClCompile Include="src\Core\HAL\Event\Keyboard.cpp" />
|
<ClCompile Include="src\Core\HAL\Event\Keyboard.cpp"/>
|
||||||
<ClCompile Include="src\Core\HAL\Event\KeyboardMapping.cpp" />
|
<ClCompile Include="src\Core\HAL\Event\KeyboardMapping.cpp"/>
|
||||||
<ClCompile Include="src\Core\HAL\Event\Mouse.cpp" />
|
<ClCompile Include="src\Core\HAL\Event\Mouse.cpp"/>
|
||||||
<ClCompile Include="src\Core\HAL\Event\SystemEvent.cpp" />
|
<ClCompile Include="src\Core\HAL\Event\SystemEvent.cpp"/>
|
||||||
<ClCompile Include="src\Core\HAL\Event\WindowEvent.cpp" />
|
<ClCompile Include="src\Core\HAL\Event\WindowEvent.cpp"/>
|
||||||
<ClCompile Include="src\Core\HAL\Filesystem\Filesystem.cpp" />
|
<ClCompile Include="src\Core\HAL\Filesystem\Filesystem.cpp"/>
|
||||||
<ClCompile Include="src\Core\HAL\Filesystem\Win32\Win32Filesystem.cpp" />
|
<ClCompile Include="src\Core\HAL\Filesystem\Win32\Win32Filesystem.cpp"/>
|
||||||
<ClCompile Include="src\Core\HotReload\HotReload.cpp" />
|
<ClCompile Include="src\Core\HotReload\HotReload.cpp"/>
|
||||||
<ClCompile Include="src\Core\HotReload\Win32\Win32HotReload.cpp" />
|
<ClCompile Include="src\Core\HotReload\Win32\Win32HotReload.cpp"/>
|
||||||
<ClCompile Include="src\Core\Juliet.cpp" />
|
<ClCompile Include="src\Core\Juliet.cpp"/>
|
||||||
<ClCompile Include="src\Core\Logging\LogManager.cpp" />
|
<ClCompile Include="src\Core\Logging\LogManager.cpp"/>
|
||||||
<ClCompile Include="src\Core\Memory\Allocator.cpp" />
|
<ClCompile Include="src\Core\Memory\Allocator.cpp"/>
|
||||||
<ClCompile Include="src\Core\Networking\NetworkPacket.cpp" />
|
<ClCompile Include="src\Core\Networking\NetworkPacket.cpp"/>
|
||||||
<ClCompile Include="src\Core\Networking\Socket.cpp" />
|
<ClCompile Include="src\Core\Networking\Socket.cpp"/>
|
||||||
<ClCompile Include="src\Core\Networking\TcpListener.cpp" />
|
<ClCompile Include="src\Core\Networking\TcpListener.cpp"/>
|
||||||
<ClCompile Include="src\Core\Networking\TcpSocket.cpp" />
|
<ClCompile Include="src\Core\Networking\TcpSocket.cpp"/>
|
||||||
<ClCompile Include="src\Core\Networking\Win32\Win32SocketPlatformImpl.cpp" />
|
<ClCompile Include="src\Core\Networking\Win32\Win32SocketPlatformImpl.cpp"/>
|
||||||
<ClCompile Include="src\Engine\Engine.cpp" />
|
<ClCompile Include="src\Engine\Engine.cpp"/>
|
||||||
<ClCompile Include="src\Graphics\D3D12\D3D12Common.cpp" />
|
<ClCompile Include="src\Graphics\D3D12\D3D12Common.cpp"/>
|
||||||
<ClCompile Include="src\Graphics\D3D12\D3D12RenderPass.cpp" />
|
<ClCompile Include="src\Graphics\D3D12\D3D12RenderPass.cpp"/>
|
||||||
<ClCompile Include="src\Graphics\D3D12\D3D12Synchronization.cpp" />
|
<ClCompile Include="src\Graphics\D3D12\D3D12Shader.cpp"/>
|
||||||
<ClCompile Include="src\Graphics\D3D12\D3D12Texture.cpp" />
|
<ClCompile Include="src\Graphics\D3D12\D3D12Synchronization.cpp"/>
|
||||||
<ClCompile Include="src\Graphics\D3D12\DX12CommandList.cpp" />
|
<ClCompile Include="src\Graphics\D3D12\D3D12Texture.cpp"/>
|
||||||
<ClCompile Include="src\Graphics\D3D12\DX12GraphicsDevice.cpp" />
|
<ClCompile Include="src\Graphics\D3D12\DX12CommandList.cpp"/>
|
||||||
<ClCompile Include="src\Graphics\D3D12\DX12SwapChain.cpp" />
|
<ClCompile Include="src\Graphics\D3D12\DX12GraphicsDevice.cpp"/>
|
||||||
<ClCompile Include="src\Graphics\D3D12\DX12Utils.cpp" />
|
<ClCompile Include="src\Graphics\D3D12\DX12SwapChain.cpp"/>
|
||||||
|
<ClCompile Include="src\Graphics\D3D12\DX12Utils.cpp"/>
|
||||||
<ClCompile Include="src\Graphics\Graphics.cpp">
|
<ClCompile Include="src\Graphics\Graphics.cpp">
|
||||||
<RuntimeLibrary>MultiThreadedDebugDll</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebugDll</RuntimeLibrary>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
@@ -261,8 +265,8 @@
|
|||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="include\Core\Thread\Mutex.h" />
|
<Content Include="include\Core\Thread\Mutex.h"/>
|
||||||
<Content Include="src\TODO.txt" />
|
<Content Include="src\TODO.txt"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <Juliet.h>
|
|
||||||
#include <Core/Common/CoreTypes.h>
|
#include <Core/Common/CoreTypes.h>
|
||||||
|
#include <Juliet.h>
|
||||||
|
|
||||||
// TODO : Juliet strings
|
// TODO : Juliet strings
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
@@ -9,4 +9,4 @@ namespace Juliet
|
|||||||
int32 Width;
|
int32 Width;
|
||||||
int32 Height;
|
int32 Height;
|
||||||
};
|
};
|
||||||
}
|
} // namespace Juliet
|
||||||
|
|||||||
@@ -14,4 +14,4 @@ namespace Juliet
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} // namespace Juliet
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#include <pch.h>
|
#include <pch.h>
|
||||||
|
|
||||||
#include <Core/HAL/Filesystem/Filesystem.h>
|
#include <Core/HAL/Filesystem/Filesystem.h>
|
||||||
#include <Core/HAL/Filesystem/Filesystem_Private.h>
|
|
||||||
#include <Core/HAL/Filesystem/Filesystem_Platform.h>
|
#include <Core/HAL/Filesystem/Filesystem_Platform.h>
|
||||||
|
#include <Core/HAL/Filesystem/Filesystem_Private.h>
|
||||||
#include <Core/Memory/Allocator.h>
|
#include <Core/Memory/Allocator.h>
|
||||||
|
|
||||||
namespace Juliet
|
namespace Juliet
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ namespace Juliet
|
|||||||
{
|
{
|
||||||
extern void InitFilesystem();
|
extern void InitFilesystem();
|
||||||
extern void ShutdownFilesystem();
|
extern void ShutdownFilesystem();
|
||||||
}
|
} // namespace Juliet
|
||||||
|
|||||||
16
Juliet/src/Graphics/D3D12/D3D12Shader.cpp
Normal file
16
Juliet/src/Graphics/D3D12/D3D12Shader.cpp
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
#include <pch.h>
|
||||||
|
|
||||||
|
#include <Graphics/D3D12/D3D12Shader.h>
|
||||||
|
|
||||||
|
namespace Juliet::D3D12
|
||||||
|
{
|
||||||
|
namespace
|
||||||
|
{
|
||||||
|
void CompileShader(const char* shaderFile) {}
|
||||||
|
} // namespace
|
||||||
|
|
||||||
|
void LoadShader(const char* shaderFile)
|
||||||
|
{
|
||||||
|
CompileShader(shaderFile);
|
||||||
|
}
|
||||||
|
} // namespace Juliet::D3D12
|
||||||
6
Juliet/src/Graphics/D3D12/D3D12Shader.h
Normal file
6
Juliet/src/Graphics/D3D12/D3D12Shader.h
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
namespace Juliet::D3D12
|
||||||
|
{
|
||||||
|
extern void LoadShader(const char* shaderFile);
|
||||||
|
}
|
||||||
@@ -17,6 +17,12 @@
|
|||||||
#include <dxgi1_6.h>
|
#include <dxgi1_6.h>
|
||||||
#include "d3d12.h"
|
#include "d3d12.h"
|
||||||
|
|
||||||
|
#include <d3d12shader.h>
|
||||||
|
// TODO: Should not use this when shipping
|
||||||
|
// Prebake the shaders and embed .dxil files
|
||||||
|
// When not shipping, thats ok to compile them
|
||||||
|
// #include <dxcapi.h>
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
#include <dxgidebug.h>
|
#include <dxgidebug.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -11,13 +11,17 @@
|
|||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Game\Game.vcxproj">
|
||||||
|
<Project>{b7b12dcc-1a69-4371-a9fe-d6e7671497b0}</Project>
|
||||||
|
<Name>Game</Name>
|
||||||
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\Juliet\Juliet.vcxproj">
|
<ProjectReference Include="..\Juliet\Juliet.vcxproj">
|
||||||
<Project>{1bbc0b92-e4d8-4838-974b-439c5c501e82}</Project>
|
<Project>{1bbc0b92-e4d8-4838-974b-439c5c501e82}</Project>
|
||||||
<Name>Juliet</Name>
|
<Name>Juliet</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="main.h" />
|
<ClInclude Include="main.h"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="main.cpp">
|
<ClCompile Include="main.cpp">
|
||||||
@@ -72,7 +76,7 @@
|
|||||||
<LinkCompiled>true</LinkCompiled>
|
<LinkCompiled>true</LinkCompiled>
|
||||||
<ClangClMode>true</ClangClMode>
|
<ClangClMode>true</ClangClMode>
|
||||||
<MSCVersion>Default</MSCVersion>
|
<MSCVersion>Default</MSCVersion>
|
||||||
<AdditionalOptions>--target=amd64-pc-windows-msvc </AdditionalOptions>
|
<AdditionalOptions>--target=amd64-pc-windows-msvc</AdditionalOptions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
@@ -111,12 +115,8 @@
|
|||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<IntDir>$(SolutionDir)Intermediate\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
|
<IntDir>$(SolutionDir)Intermediate\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
|
||||||
<OutDir>$(SolutionDir)\bin\$(Platform)\$(Configuration)\</OutDir>
|
<OutDir>$(SolutionDir)\bin\$(Platform)\$(Configuration)\</OutDir>
|
||||||
<IncludePath>$(SolutionDir)Juliet\include\;$(SolutionDir)JulietApp;$(IncludePath)</IncludePath>
|
|
||||||
<LibraryPath>$(SolutionDir)\bin\$(Platform)\$(Configuration)\;$(LibraryPath)</LibraryPath>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<IncludePath>$(SolutionDir)Juliet\include\;$(SolutionDir)JulietApp;$(IncludePath)</IncludePath>
|
|
||||||
<LibraryPath>$(SolutionDir)\bin\$(Platform)\$(Configuration)\;$(LibraryPath)</LibraryPath>
|
|
||||||
<OutDir>$(SolutionDir)\bin\$(Platform)\$(Configuration)\</OutDir>
|
<OutDir>$(SolutionDir)\bin\$(Platform)\$(Configuration)\</OutDir>
|
||||||
<IntDir>$(SolutionDir)Intermediate\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
|
<IntDir>$(SolutionDir)Intermediate\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -130,11 +130,13 @@
|
|||||||
<ExceptionHandling>false</ExceptionHandling>
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
<FloatingPointModel>Fast</FloatingPointModel>
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)Juliet\include\;$(SolutionDir)JulietApp;$(IncludePath)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Console</SubSystem>
|
<SubSystem>Console</SubSystem>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<AdditionalDependencies>Juliet.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>Juliet.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>$(SolutionDir)\lib\$(Platform)\$(Configuration)\</AdditionalLibraryDirectories>
|
||||||
</Link>
|
</Link>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
<Command></Command>
|
<Command></Command>
|
||||||
@@ -152,6 +154,7 @@
|
|||||||
<ExceptionHandling>false</ExceptionHandling>
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
<FloatingPointModel>Fast</FloatingPointModel>
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)Juliet\include\;$(SolutionDir)JulietApp;$(IncludePath)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Console</SubSystem>
|
<SubSystem>Console</SubSystem>
|
||||||
@@ -159,6 +162,7 @@
|
|||||||
<OptimizeReferences>true</OptimizeReferences>
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<AdditionalDependencies>Juliet.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>Juliet.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>$(SolutionDir)\lib\$(Platform)\$(Configuration)\</AdditionalLibraryDirectories>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
|
||||||
|
|||||||
@@ -58,12 +58,12 @@ void JulietApplication::Init()
|
|||||||
if (Running)
|
if (Running)
|
||||||
{
|
{
|
||||||
AttachToWindow(GraphicsDevice, MainWindow);
|
AttachToWindow(GraphicsDevice, MainWindow);
|
||||||
//Game = LoadDynamicLibrary("Game.dll");
|
// Game = LoadDynamicLibrary("Game.dll");
|
||||||
|
|
||||||
GameCode.Functions = reinterpret_cast<void**>(&Game);
|
GameCode.Functions = reinterpret_cast<void**>(&Game);
|
||||||
GameCode.FunctionCount = ArraySize(GameFunctionTable);
|
GameCode.FunctionCount = ArraySize(GameFunctionTable);
|
||||||
GameCode.FunctionNames = GameFunctionTable;
|
GameCode.FunctionNames = GameFunctionTable;
|
||||||
InitHotReloadCode(GameCode, StringBufferParam("Game.dll"),StringBufferParam("Game_Temp.dll"), StringBufferParam("lock.tmp"));
|
InitHotReloadCode(GameCode, StringBufferParam("Game.dll"), StringBufferParam("Game_Temp.dll"), StringBufferParam("lock.tmp"));
|
||||||
if ((Running = GameCode.IsValid))
|
if ((Running = GameCode.IsValid))
|
||||||
{
|
{
|
||||||
Game.Init();
|
Game.Init();
|
||||||
|
|||||||
Reference in New Issue
Block a user