Skip to content

Commit

Permalink
Added cs_agency preview
Browse files Browse the repository at this point in the history
  • Loading branch information
CorySanin authored and akiver committed Feb 26, 2018
1 parent 552a473 commit 6d3cfc7
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Manager/Converters/MapNameToImageConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ public object Convert(object value, Type targetType, object parameter, System.Gl

switch (demo.MapName)
{
case "de_ali":
case "cs_agency":
return new Uri(AppSettings.RESOURCES_URI + "images/maps/preview/agency.png", UriKind.RelativeOrAbsolute);
case "de_ali":
return new Uri(AppSettings.RESOURCES_URI + "images/maps/preview/ali.png", UriKind.RelativeOrAbsolute);
case "de_aztec":
return new Uri(AppSettings.RESOURCES_URI + "images/maps/preview/aztec.png", UriKind.RelativeOrAbsolute);
Expand Down
10 changes: 10 additions & 0 deletions Resources/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Resources/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -415,4 +415,7 @@
<data name="de_train_sr" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\maps\overview\simpleradar\de_train.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="agency" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\maps\preview\agency.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
3 changes: 3 additions & 0 deletions Resources/Resources.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@
<ItemGroup>
<Resource Include="images\maps\overview\cs_agency.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="images\maps\preview\agency.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>cd $(SolutionDir)Manager\bin\x86\Debug
Expand Down
Binary file added Resources/images/maps/preview/agency.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6d3cfc7

Please sign in to comment.