Skip to content

Commit

Permalink
Changed Configuration naming to include left and top coordinates for …
Browse files Browse the repository at this point in the history
…cache image names and basic string output.

Added Elite Dangerous
  • Loading branch information
ScottyMac52 committed Sep 19, 2019
1 parent 8757c47 commit 800c86c
Show file tree
Hide file tree
Showing 7 changed files with 112 additions and 454 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,4 @@
/CustomActions/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
/CustomActions/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
/CustomActions/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
/MFDSettingsManager/`1
2 changes: 1 addition & 1 deletion MFDSettingsManager/MFDSettingsManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\Output\</OutputPath>
<OutputPath>`1\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand Down
2 changes: 1 addition & 1 deletion MFDSettingsManager/Models/ConfigurationDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public ConfigurationDefinition(ConfigurationDefinition dc) : base(dc)
/// <returns></returns>
protected override string GetReadableString()
{
return $"{Width}_{Height}";
return $"({Left}, {Top})_{Width}_{Height}";
}

#endregion Protected overrides
Expand Down
4 changes: 2 additions & 2 deletions MFDSettingsManager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.6.4.0")]
[assembly: AssemblyFileVersion("2.6.4.0")]
[assembly: AssemblyVersion("2.6.5.0")]
[assembly: AssemblyFileVersion("2.6.5.0")]
4 changes: 2 additions & 2 deletions MFDisplay/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.6.4.0")]
[assembly: AssemblyFileVersion("2.6.4.0")]
[assembly: AssemblyVersion("2.6.5.0")]
[assembly: AssemblyFileVersion("2.6.5.0")]
[assembly: Guid("FE237DCB-D0D2-477C-BCC0-6004B30B0D9E")]

12 changes: 12 additions & 0 deletions MFDisplay/mfdsettings.config
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,18 @@ xsi:schemaLocation="http://tempuri.org/mfdsettings.xsd mfdsettings.xsd" filePath
<add name="WHKEY" filename="Combined Arms\DCS CA WH.jpg" />
</Configurations>
</add>
<add moduleName="Elite" displayName="Elite: Dangerous" filename="Elite Dangerous\EliteD MFD.jpg">
<Configurations>
<add name="RMFD" enable="false" />
<add name="WHKEY" filename="Elite Dangerous\EliteD WH.jpg" />
</Configurations>
</add>
<add moduleName="EliteHV" displayName="Elite: Dangerous HiViz" filename="_High Contrast MFDs\EliteD MFD HiVis.jpg">
<Configurations>
<add name="RMFD" enable="false" />
<add name="WHKEY" filename="Elite Dangerous\EliteD WH.jpg" />
</Configurations>
</add>
<add moduleName="F-5E" displayName="F-5E Tiger II" filename="F-5E\DCS F5E MFD.jpg">
<Configurations>
<add name="WHKEY" filename="F-5E\DCS F5E WH.jpg" />
Expand Down
Loading

0 comments on commit 800c86c

Please sign in to comment.