File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 130130 <Content Include =" News\UpdateFeatureDefs\UpdateFeatures.xml" />
131131 <Content Include =" v1.4\Assemblies\Progress-Renderer.dll" />
132132 <Content Include =" v1.5\Assemblies\Progress-Renderer.dll" />
133+ <Content Include =" v1.5\Textures\PRicon.png" />
133134 </ItemGroup >
134135 <ItemGroup >
135136 <None Include =" .gitattributes" />
Original file line number Diff line number Diff line change 1- using System ;
1+ #define VERSION_1_5
2+
3+ using System ;
24using System . Collections ;
35using System . IO ;
46using System . Threading . Tasks ;
@@ -221,7 +223,9 @@ private IEnumerator DoRendering(bool forceRenderFullMap)
221223 showPollutionOverlay = settings . showPollutionOverlay ,
222224 showTemperatureOverlay = settings . showTemperatureOverlay
223225 } ;
226+ #if VERSION_1_5
224227 var oldHighlight = Prefs . DotHighlightDisplayMode ;
228+ #endif
225229
226230 if ( ! PRModSettings . renderZones )
227231 Find . PlaySettings . showZones = false ;
@@ -233,8 +237,9 @@ private IEnumerator DoRendering(bool forceRenderFullMap)
233237 Find . PlaySettings . showPollutionOverlay = false ;
234238 Find . PlaySettings . showTemperatureOverlay = false ;
235239 }
240+ #if VERSION_1_5
236241 Prefs . DotHighlightDisplayMode = DotHighlightDisplayMode . None ;
237-
242+ #endif
238243 //TODO: Hide fog of war (stretch)
239244
240245 #endregion
@@ -478,9 +483,9 @@ private IEnumerator DoRendering(bool forceRenderFullMap)
478483 Find . PlaySettings . showTerrainAffordanceOverlay = oldVisibilities . showTerrainAffordanceOverlay ;
479484 Find . PlaySettings . showPollutionOverlay = oldVisibilities . showPollutionOverlay ;
480485 Find . PlaySettings . showTemperatureOverlay = oldVisibilities . showTemperatureOverlay ;
481-
486+ #if VERSION_1_5
482487 Prefs . DotHighlightDisplayMode = oldHighlight ;
483-
488+ #endif
484489 // Switch back to world view if needed
485490 if ( rememberedWorldRendered )
486491 {
You can’t perform that action at this time.
0 commit comments