Added Windows solution for use in debugger

This commit is contained in:
Michael Smith 2019-01-15 11:39:07 +01:00
parent 5b572c214c
commit 7783ad744e
3 changed files with 35 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
build/
code/.vs

View File

@ -38,8 +38,8 @@ PluginUpdateAndRender(plugin_offscreen_buffer *Buffer)
float r = float(X) / float(Buffer->Width);
float g = float(Y) / float(Buffer->Height);
float b = 0.2;
int ig = int(255.99 * r);
int ir = int(255.99 * g);
int ir = int(255.99 * r);
int ig = int(255.99 * g);
int ib = int(255.99 * b);
*Pixel++ = (ir << 24) + (ig << 16) + (ib << 8) + 0xFF;

32
code/win32_platform.sln Normal file
View File

@ -0,0 +1,32 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.271
MinimumVisualStudioVersion = 10.0.40219.1
Project("{911E67C6-3D85-4FCE-B560-20A9C3E3FF48}") = "win32_platform", "..\build\win32_platform.exe", "{7EE2B853-EA19-4366-8F86-B1820B9F6782}"
ProjectSection(DebuggerProjectSystem) = preProject
PortSupplier = 00000000-0000-0000-0000-000000000000
Executable = W:\1weekendraytracer\build\win32_platform.exe
RemoteMachine = T410
StartingDirectory = W:\1weekendraytracer\build
Environment = Default
LaunchingEngine = 00000000-0000-0000-0000-000000000000
UseLegacyDebugEngines = No
LaunchSQLEngine = No
AttachLaunchAction = No
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7EE2B853-EA19-4366-8F86-B1820B9F6782}.Release|x64.ActiveCfg = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4F394C8A-2DD9-4A39-A237-1406BB45DF5E}
EndGlobalSection
EndGlobal