Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new EICAS page #11

Draft
wants to merge 10 commits into
base: Cross
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions B78XH.sln
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SimpleIni", "SimpleIni\Simp
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NanoVG", "NanoVG\NanoVG.vcxproj", "{9C025D65-9FD3-4C33-8BB4-82387922C9D3}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tests", "Tests\Tests.vcxproj", "{A76613D0-1191-49BA-B592-2943F604B9D7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|MSFS = Debug|MSFS
Expand Down Expand Up @@ -149,6 +151,30 @@ Global
{9C025D65-9FD3-4C33-8BB4-82387922C9D3}.RelWithDebInfo|x64.Build.0 = Release|MSFS
{9C025D65-9FD3-4C33-8BB4-82387922C9D3}.RelWithDebInfo|x86.ActiveCfg = Release|MSFS
{9C025D65-9FD3-4C33-8BB4-82387922C9D3}.RelWithDebInfo|x86.Build.0 = Release|MSFS
{A76613D0-1191-49BA-B592-2943F604B9D7}.Debug|MSFS.ActiveCfg = Debug|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.Debug|MSFS.Build.0 = Debug|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.Debug|x64.ActiveCfg = Debug|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.Debug|x64.Build.0 = Debug|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.Debug|x86.ActiveCfg = Debug|Win32
{A76613D0-1191-49BA-B592-2943F604B9D7}.Debug|x86.Build.0 = Debug|Win32
{A76613D0-1191-49BA-B592-2943F604B9D7}.MinSizeRel|MSFS.ActiveCfg = Debug|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.MinSizeRel|MSFS.Build.0 = Debug|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.MinSizeRel|x64.ActiveCfg = Debug|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.MinSizeRel|x64.Build.0 = Debug|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.MinSizeRel|x86.ActiveCfg = Debug|Win32
{A76613D0-1191-49BA-B592-2943F604B9D7}.MinSizeRel|x86.Build.0 = Debug|Win32
{A76613D0-1191-49BA-B592-2943F604B9D7}.Release|MSFS.ActiveCfg = Release|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.Release|MSFS.Build.0 = Release|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.Release|x64.ActiveCfg = Release|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.Release|x64.Build.0 = Release|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.Release|x86.ActiveCfg = Release|Win32
{A76613D0-1191-49BA-B592-2943F604B9D7}.Release|x86.Build.0 = Release|Win32
{A76613D0-1191-49BA-B592-2943F604B9D7}.RelWithDebInfo|MSFS.ActiveCfg = Release|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.RelWithDebInfo|MSFS.Build.0 = Release|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.RelWithDebInfo|x64.ActiveCfg = Release|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.RelWithDebInfo|x64.Build.0 = Release|x64
{A76613D0-1191-49BA-B592-2943F604B9D7}.RelWithDebInfo|x86.ActiveCfg = Release|Win32
{A76613D0-1191-49BA-B592-2943F604B9D7}.RelWithDebInfo|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
4 changes: 2 additions & 2 deletions B78XH/AircraftUnitsType.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
#pragma once

enum class AircraftUnitsType {
IMPERIAL,
METRIC
IMPERIAL = 1,
METRIC = 2
};
77 changes: 74 additions & 3 deletions B78XH/B78XH.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,16 @@
<TargetName>$(ProjectName)</TargetName>
<LinkIncremental>true</LinkIncremental>
<TargetExt>.wasm</TargetExt>
<IncludePath>$(MSFS_IncludePath);$(CPP_EXTERNALS)\include\NANOVG;</IncludePath>
<OutDir>..\..\..\..\WebstormProjects\B78XH-INTERIOR\SimObjects\Airplanes\Asobo_B787_10\panel</OutDir>
<IncludePath>$(MSFS_IncludePath);$(CPP_EXTERNALS)\include\NANOVG;$(ProjectDir)..\Systems</IncludePath>
<OutDir>G:\MSFS\Community\B78XH-experimental\SimObjects\Airplanes\Heavy-Division-B78XH-mod\panel</OutDir>
<ReferencePath>$(VC_ReferencesPath_x86);$(ProjectDir)..\Systems</ReferencePath>
<ExternalIncludePath>$(ProjectDir)..\Systems</ExternalIncludePath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|MSFS'">
<LinkIncremental>false</LinkIncremental>
<TargetExt>.wasm</TargetExt>
<IncludePath>$(MSFS_IncludePath)</IncludePath>
<OutDir>..\..\..\..\Desktop\msfs_addons\Aircraft\787-10_Heavy_Division\B78XH-experimental\SimObjects\Airplanes\Heavy-Division-B78XH-mod\panel</OutDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|MSFS'">
<ClCompile>
Expand All @@ -65,7 +68,7 @@
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_MSFS_WASM;_STRING_H_CPLUSPLUS_98_CONFORMANCE_;_WCHAR_H_CPLUSPLUS_98_CONFORMANCE_;_LIBCPP_NO_EXCEPTIONS;_LIBCPP_HAS_NO_THREADS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(SolutionDir)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(SolutionDir);$(ProjectDir)..\Systems</AdditionalIncludeDirectories>
<BufferSecurityCheck>false</BufferSecurityCheck>
<ExceptionHandling>false</ExceptionHandling>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
Expand All @@ -77,6 +80,8 @@
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<AdditionalOptions>-Winline %(AdditionalOptions)</AdditionalOptions>
<ShowIncludes>false</ShowIncludes>
<AdditionalModuleDependencies>$(ProjectDir)..\Systems;%(AdditionalModuleDependencies)</AdditionalModuleDependencies>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand Down Expand Up @@ -153,6 +158,25 @@
<ClCompile Include="CDURoutePageControl.cpp" />
<ClCompile Include="CDUScratchpadControl.cpp" />
<ClCompile Include="CDUSelectKeyButtonControl.cpp" />
<ClCompile Include="CrewAlertMessage.cpp" />
<ClCompile Include="EICASBaseControl.cpp" />
<ClCompile Include="EICASCircularControl.cpp" />
<ClCompile Include="EICASMasterControl.cpp" />
<ClCompile Include="EngineEGTGaugeControlLeft.cpp" />
<ClCompile Include="EngineEGTGaugeControlRight.cpp" />
<ClCompile Include="EngineN1GaugeControlLeft.cpp" />
<ClCompile Include="EngineN1GaugeControlRight.cpp" />
<ClCompile Include="EngineN2GaugeControlLeft.cpp" />
<ClCompile Include="EngineN2GaugeControlRight.cpp" />
<ClCompile Include="EngineVibrationControlLeft.cpp" />
<ClCompile Include="EngineVibrationControlRight.cpp" />
<ClCompile Include="FFControlLeft.cpp" />
<ClCompile Include="FFControlRight.cpp" />
<ClCompile Include="FlapsIndicatorControl.cpp" />
<ClCompile Include="Fuel.cpp" />
<ClCompile Include="GearPositionControl.cpp" />
<ClCompile Include="LineSeparatorControl.cpp" />
<ClCompile Include="LowerEICASControl.cpp" />
<ClCompile Include="MFDMouseCursorControl.cpp" />
<ClCompile Include="CDUMouseMoveResolver.cpp" />
<ClCompile Include="CDUMouseResolver.cpp" />
Expand Down Expand Up @@ -222,6 +246,12 @@
<ClCompile Include="MFDSYSControl.cpp" />
<ClCompile Include="NavData.cpp" />
<ClCompile Include="NullLogger.cpp" />
<ClCompile Include="OilPressControlLeft.cpp" />
<ClCompile Include="OilPressControlRight.cpp" />
<ClCompile Include="OilQuantityControlLeft.cpp" />
<ClCompile Include="OilQuantityControlRight.cpp" />
<ClCompile Include="OilTempControlLeft.cpp" />
<ClCompile Include="OilTempControlRight.cpp" />
<ClCompile Include="Operable.cpp" />
<ClCompile Include="PFDAirspeedIndicator.cpp" />
<ClCompile Include="PFDAirspeedIndicatorApplication.cpp" />
Expand Down Expand Up @@ -274,6 +304,7 @@
<ClCompile Include="SimConnectConnector.cpp" />
<ClCompile Include="PEDESTALTuningControlPanelGauge.cpp" />
<ClCompile Include="SpeedMarker.cpp" />
<ClCompile Include="TATControl.cpp" />
<ClCompile Include="TCPCABPageControl.cpp" />
<ClCompile Include="TcpCenterDisplay.cpp" />
<ClCompile Include="TcpCenterDisplayGaugeCallback.cpp" />
Expand Down Expand Up @@ -303,6 +334,7 @@
<ClCompile Include="TCPVHFPageControl.cpp" />
<ClCompile Include="TCPWXRPageControl.cpp" />
<ClCompile Include="TCPXPDRPageControl.cpp" />
<ClCompile Include="ThrustReferenceModeControl.cpp" />
<ClCompile Include="Timer.cpp" />
<ClCompile Include="TuningControlPanelALTNNAVPage.cpp" />
<ClCompile Include="TuningControlPanelGPWSPage.cpp" />
Expand All @@ -321,6 +353,7 @@
<ClCompile Include="V2SpeedMarker.cpp" />
<ClCompile Include="VRefSpeedMarker.cpp" />
<ClCompile Include="VRSpeedMarker.cpp" />
<ClCompile Include="FuelIndicationsControl.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="AHRU.h" />
Expand Down Expand Up @@ -371,6 +404,34 @@
<ClInclude Include="CDURoutePageControl.h" />
<ClInclude Include="CDUScratchpadControl.h" />
<ClInclude Include="CDUSelectKeyButtonControl.h" />
<ClInclude Include="CrewAlertMessage.h" />
<ClInclude Include="CrewAlertMessageControl.h" />
<ClInclude Include="CrewAlertMessageDispatch.h" />
<ClInclude Include="CrewAlertMessageName.h" />
<ClInclude Include="CrewAlertMessages.h" />
<ClInclude Include="CrewAlertMessagesControl.cpp" />
<ClInclude Include="CrewAlertMessagesControl.h" />
<ClInclude Include="EICASBaseControl.h" />
<ClInclude Include="EICASCircularControl.h" />
<ClInclude Include="EICASMasterControl.h" />
<ClInclude Include="EngineEGTGaugeControlLeft.h" />
<ClInclude Include="EngineEGTGaugeControlRight.h" />
<ClInclude Include="EngineN1GaugeControlLeft.h" />
<ClInclude Include="EngineN1GaugeControlRight.h" />
<ClInclude Include="EngineN2GaugeControlLeft.h" />
<ClInclude Include="EngineN2GaugeControlRight.h" />
<ClInclude Include="EngineVibrationControlLeft.h" />
<ClInclude Include="EngineVibrationControlRight.h" />
<ClInclude Include="FFControlLeft.h" />
<ClInclude Include="FFControlRight.h" />
<ClInclude Include="FlapsIndicatorControl.h" />
<ClInclude Include="Fuel.h" />
<ClInclude Include="FuelIndicationsControl.h" />
<ClInclude Include="GaugeType.h" />
<ClInclude Include="GearPositionControl.h" />
<ClInclude Include="HorizontalStabilizerControl.hpp" />
<ClInclude Include="LineSeparatorControl.h" />
<ClInclude Include="LowerEICASControl.h" />
<ClInclude Include="MFDMouseCursorControl.h" />
<ClInclude Include="CDUMouseMoveResolver.h" />
<ClInclude Include="CDUMouseResolver.h" />
Expand Down Expand Up @@ -449,6 +510,12 @@
<ClInclude Include="NavDataCache.h" />
<ClInclude Include="NavRadioEnums.h" />
<ClInclude Include="NullLogger.h" />
<ClInclude Include="OilPressControlLeft.h" />
<ClInclude Include="OilPressControlRight.h" />
<ClInclude Include="OilQuantityControlLeft.h" />
<ClInclude Include="OilQuantityControlRight.h" />
<ClInclude Include="OilTempControlLeft.h" />
<ClInclude Include="OilTempControlRight.h" />
<ClInclude Include="OnOffState.h" />
<ClInclude Include="Operable.h" />
<ClInclude Include="PFDAirspeedIndicatorApplication.h" />
Expand Down Expand Up @@ -476,6 +543,8 @@
<ClInclude Include="RightInboardDisplay.h" />
<ClInclude Include="RightOutboardDisplay.h" />
<ClInclude Include="RouteReference.h" />
<ClInclude Include="Severity.h" />
<ClInclude Include="Side.h" />
<ClInclude Include="SimbriefImportStrategyType.h" />
<ClInclude Include="SimConnectAirportPreloader.h" />
<ClInclude Include="SimConnectClientEvents.h" />
Expand Down Expand Up @@ -509,6 +578,7 @@
<ClInclude Include="PFDAuxGauge.h" />
<ClInclude Include="ScratchpadEvents.h" />
<ClInclude Include="Systems.h" />
<ClInclude Include="TATControl.h" />
<ClInclude Include="TCPCABPageControl.h" />
<ClInclude Include="TcpCenterDisplay.h" />
<ClInclude Include="TCPCenterLineControl.h" />
Expand All @@ -535,6 +605,7 @@
<ClInclude Include="TCPVHFPageControl.h" />
<ClInclude Include="TCPWXRPageControl.h" />
<ClInclude Include="TCPXPDRPageControl.h" />
<ClInclude Include="ThrestReferenceModeControl.h" />
<ClInclude Include="Timer.h" />
<ClInclude Include="TokenVars.h" />
<ClInclude Include="TuningControlPanelALTNNAVPage.h" />
Expand Down
Loading