Commit MetaInfo

Revision2c3b7968940b3f9390bcee81eb010d48598ec7c8 (tree)
Time2019-11-07 06:10:38
Author <Kuddel@c0f5...>

Log Message

- changed GenericCamera MFD code to not use "OBSOLETE" _FVECTOR4.
- minor project change (debugging)

Change Summary

Incremental Difference

diff -r b56b00e95443 -r 2c3b7968940b Orbitersdk/samples/GenericCamera/GenericCamera.vcxproj
--- a/Orbitersdk/samples/GenericCamera/GenericCamera.vcxproj Wed Nov 06 20:07:36 2019 +0000
+++ b/Orbitersdk/samples/GenericCamera/GenericCamera.vcxproj Wed Nov 06 21:10:38 2019 +0000
@@ -1,4 +1,4 @@
1-<?xml version="1.0" encoding="utf-8"?>
1+<?xml version="1.0" encoding="utf-8"?>
22 <Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33 <ItemGroup Label="ProjectConfigurations">
44 <ProjectConfiguration Include="Debug|Win32">
@@ -87,8 +87,6 @@
8787 <ImportLibrary>$(Configuration)\$(TargetName).lib</ImportLibrary>
8888 <TargetMachine>MachineX86</TargetMachine>
8989 <SubSystem>Windows</SubSystem>
90- <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
91- <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
9290 </Link>
9391 </ItemDefinitionGroup>
9492 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
diff -r b56b00e95443 -r 2c3b7968940b Orbitersdk/samples/GenericCamera/MFD.cpp
--- a/Orbitersdk/samples/GenericCamera/MFD.cpp Wed Nov 06 20:07:36 2019 +0000
+++ b/Orbitersdk/samples/GenericCamera/MFD.cpp Wed Nov 06 21:10:38 2019 +0000
@@ -386,9 +386,9 @@
386386 if (nDock != 0 || nAtch != 0) {
387387
388388 if (bNightVis) {
389- pSkp3->SetBrightness(&_FVECTOR4(0.0, 4.0, 0.0, 1));
390- pSkp3->SetRenderParam(SKP3_PRM_GAMMA, &_FVECTOR4(0.5f, 0.5f, 0.5f, 1.0f));
391- pSkp3->SetRenderParam(SKP3_PRM_NOISE, &_FVECTOR4(0.0f, 0.3f, 0.0f, 0.0f));
389+ pSkp3->SetBrightness(&FVECTOR4(0.0f, 4.0f, 0.0f, 1.0f));
390+ pSkp3->SetRenderParam(SKP3_PRM_GAMMA, &FVECTOR4(0.5f, 0.5f, 0.5f, 1.0f));
391+ pSkp3->SetRenderParam(SKP3_PRM_NOISE, &FVECTOR4(0.0f, 0.3f, 0.0f, 0.0f));
392392 }
393393
394394
Show on old repository browser