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