Description:
Clean up warnings.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r370:1bf418f0d230 -

@@ -106,22 +106,21
106 106 #endregion
107 107 #region dialog
108 108
109 this.game.enqueueDialog(DialogTrees.flatten(DialogTrees.testTree, this.grammar));
109 this.game.enqueueDialog(DialogTrees.flatten(DialogTrees.testTree, this.grammar));
110 110 #endregion
111 this.simulation.Subsidy = message.Difficulty switch {
112 DifficultyLevel.Hard => 0M,
113 DifficultyLevel.Medium => 750M,
114 DifficultyLevel.Easy => 1000M,
115 };
111 this.simulation.Subsidy = message.Difficulty switch {
112 DifficultyLevel.Hard => 0M,
113 DifficultyLevel.Medium => 750M,
114 DifficultyLevel.Easy => 1000M,
115 _ => 1000M};
116 116
117 this.simulation.SubsidyDelta = message.Difficulty switch {
118 DifficultyLevel.Hard => 0M,
119 DifficultyLevel.Medium => -10M,
120 DifficultyLevel.Easy => 0M,
121 };
122
117 this.simulation.SubsidyDelta = message.Difficulty switch {
118 DifficultyLevel.Hard => 0M,
119 DifficultyLevel.Medium => -10M,
120 DifficultyLevel.Easy => 0M,
121 _ => 1000M};
122
123 123 Logging.Success("Spawned new game.");
124
125 124 }
126 125 }
127 126 }
@@ -310,6 +310,7
310 310 }
311 311 catch (FileNotFoundException e)
312 312 {
313 Logging.Error(String.Format("Error loading file: {0}", e.ToString()));
313 314 }
314 315
315 316 World = WorldBuilder.Build();
@@ -22,8 +22,6
22 22 private static ImageMap map;
23 23 private static IntPtr _imGuiTexture;
24 24
25 private static bool show = false;
26
27 25 private static Dictionary<string, bool> hadFocus = new Dictionary<string, bool>();
28 26
29 27 public static void LoadContent(ImGuiRenderer _imGuiRenderer, ImageMap map)
@@ -17,9 +17,7
17 17 source[i] = tmp;
18 18 }
19 19
20
21 20 return source;
22
23 21 }
24 22 }
25 23 }
@@ -7,11 +7,6
7 7
8 8 public T data;
9 9
10
11 public Node()
12 {
13 }
14
15 10 public Node(T data)
16 11 {
17 12 this.data = data;
@@ -56,7 +56,6
56 56 <Compile Include="Engines\Spawners\*.cs" />
57 57 <Compile Include="Utils\MathUtils.cs" />
58 58 <Compile Include="Utils\Extensions.cs" />
59 <Compile Include="Utils\Extensions.cs" />
60 59 <Compile Include="Utils\Node.cs" />
61 60 <Compile Include="UI\BudgetWindow.cs" />
62 61 <Compile Include="UI\ContractWindow.cs" />
You need to be logged in to leave comments. Login now