Description:
Add hacky way of integrating the News Window.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r182:92a35f92fc37 -

@@ -0,0 +1,30
1 using System.Collections.Generic;
2 using Encompass;
3
4 using isometricparkfna.Messages;
5 using isometricparkfna.Components;
6
7 namespace isometricparkfna.Engines {
8
9 [Sends(typeof(ToggleWindowMessage))]
10 public class NewsWindowBridgeEngine : Engine
11 {
12
13 public List<ToggleWindowMessage> messages;
14
15 public NewsWindowBridgeEngine()
16 {
17 this.messages = new List<ToggleWindowMessage>();
18 }
19 //
20
21 public override void Update(double dt)
22 {
23 foreach(var message in this.messages)
24 {
25 SendMessage(message);
26 }
27 this.messages.Clear();
28 }
29 }
30 }
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -1,1 +1,1
1 ccf73b859df7dddc357676bd95436a0b13bdd512
1 8ee6b95dcd628b76a0d5ee914132625645a90707
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -63,15 +63,492
63 }
63 }
64 },
64 },
65 "libraries": {
65 "libraries": {
66 "Microsoft.NETCore.Platforms/1.1.0": {
67 "sha512": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
68 "type": "package",
69 "path": "microsoft.netcore.platforms/1.1.0",
70 "files": [
71 ".nupkg.metadata",
72 ".signature.p7s",
73 "ThirdPartyNotices.txt",
74 "dotnet_library_license.txt",
75 "lib/netstandard1.0/_._",
76 "microsoft.netcore.platforms.1.1.0.nupkg.sha512",
77 "microsoft.netcore.platforms.nuspec",
78 "runtime.json"
79 ]
80 },
81 "Microsoft.NETFramework.ReferenceAssemblies/1.0.0": {
82 "sha512": "7D2TMufjGiowmt0E941kVoTIS+GTNzaPopuzM1/1LSaJAdJdBrVP0SkZW7AgDd0a2U1DjsIeaKG1wxGVBNLDMw==",
83 "type": "package",
84 "path": "microsoft.netframework.referenceassemblies/1.0.0",
85 "files": [
86 ".nupkg.metadata",
87 ".signature.p7s",
88 "microsoft.netframework.referenceassemblies.1.0.0.nupkg.sha512",
89 "microsoft.netframework.referenceassemblies.nuspec"
90 ]
91 },
92 "Microsoft.NETFramework.ReferenceAssemblies.net45/1.0.0": {
93 "sha512": "f7XMQsZFaoc3w8Vg3VQ3FHuU2C9vf0Ng5EAV4gzdNWDerPM/OmrzccLj15eI1wCLLXj4jk8+lKsbonzJeyXgQQ==",
94 "type": "package",
95 "path": "microsoft.netframework.referenceassemblies.net45/1.0.0",
96 "files": [
97 ".nupkg.metadata",
98 ".signature.p7s",
99 "build/.NETFramework/v4.5/Accessibility.dll",
100 "build/.NETFramework/v4.5/Accessibility.xml",
101 "build/.NETFramework/v4.5/CustomMarshalers.dll",
102 "build/.NETFramework/v4.5/CustomMarshalers.xml",
103 "build/.NETFramework/v4.5/Facades/System.Collections.Concurrent.dll",
104 "build/.NETFramework/v4.5/Facades/System.Collections.dll",
105 "build/.NETFramework/v4.5/Facades/System.ComponentModel.Annotations.dll",
106 "build/.NETFramework/v4.5/Facades/System.ComponentModel.EventBasedAsync.dll",
107 "build/.NETFramework/v4.5/Facades/System.ComponentModel.dll",
108 "build/.NETFramework/v4.5/Facades/System.Diagnostics.Contracts.dll",
109 "build/.NETFramework/v4.5/Facades/System.Diagnostics.Debug.dll",
110 "build/.NETFramework/v4.5/Facades/System.Diagnostics.Tools.dll",
111 "build/.NETFramework/v4.5/Facades/System.Diagnostics.Tracing.dll",
112 "build/.NETFramework/v4.5/Facades/System.Dynamic.Runtime.dll",
113 "build/.NETFramework/v4.5/Facades/System.Globalization.dll",
114 "build/.NETFramework/v4.5/Facades/System.IO.dll",
115 "build/.NETFramework/v4.5/Facades/System.Linq.Expressions.dll",
116 "build/.NETFramework/v4.5/Facades/System.Linq.Parallel.dll",
117 "build/.NETFramework/v4.5/Facades/System.Linq.Queryable.dll",
118 "build/.NETFramework/v4.5/Facades/System.Linq.dll",
119 "build/.NETFramework/v4.5/Facades/System.Net.NetworkInformation.dll",
120 "build/.NETFramework/v4.5/Facades/System.Net.Primitives.dll",
121 "build/.NETFramework/v4.5/Facades/System.Net.Requests.dll",
122 "build/.NETFramework/v4.5/Facades/System.ObjectModel.dll",
123 "build/.NETFramework/v4.5/Facades/System.Reflection.Emit.ILGeneration.dll",
124 "build/.NETFramework/v4.5/Facades/System.Reflection.Emit.Lightweight.dll",
125 "build/.NETFramework/v4.5/Facades/System.Reflection.Emit.dll",
126 "build/.NETFramework/v4.5/Facades/System.Reflection.Extensions.dll",
127 "build/.NETFramework/v4.5/Facades/System.Reflection.Primitives.dll",
128 "build/.NETFramework/v4.5/Facades/System.Reflection.dll",
129 "build/.NETFramework/v4.5/Facades/System.Resources.ResourceManager.dll",
130 "build/.NETFramework/v4.5/Facades/System.Runtime.Extensions.dll",
131 "build/.NETFramework/v4.5/Facades/System.Runtime.InteropServices.WindowsRuntime.dll",
132 "build/.NETFramework/v4.5/Facades/System.Runtime.InteropServices.dll",
133 "build/.NETFramework/v4.5/Facades/System.Runtime.Numerics.dll",
134 "build/.NETFramework/v4.5/Facades/System.Runtime.Serialization.Json.dll",
135 "build/.NETFramework/v4.5/Facades/System.Runtime.Serialization.Primitives.dll",
136 "build/.NETFramework/v4.5/Facades/System.Runtime.Serialization.Xml.dll",
137 "build/.NETFramework/v4.5/Facades/System.Runtime.dll",
138 "build/.NETFramework/v4.5/Facades/System.Security.Principal.dll",
139 "build/.NETFramework/v4.5/Facades/System.ServiceModel.Duplex.dll",
140 "build/.NETFramework/v4.5/Facades/System.ServiceModel.Http.dll",
141 "build/.NETFramework/v4.5/Facades/System.ServiceModel.NetTcp.dll",
142 "build/.NETFramework/v4.5/Facades/System.ServiceModel.Primitives.dll",
143 "build/.NETFramework/v4.5/Facades/System.ServiceModel.Security.dll",
144 "build/.NETFramework/v4.5/Facades/System.Text.Encoding.Extensions.dll",
145 "build/.NETFramework/v4.5/Facades/System.Text.Encoding.dll",
146 "build/.NETFramework/v4.5/Facades/System.Text.RegularExpressions.dll",
147 "build/.NETFramework/v4.5/Facades/System.Threading.Tasks.Parallel.dll",
148 "build/.NETFramework/v4.5/Facades/System.Threading.Tasks.dll",
149 "build/.NETFramework/v4.5/Facades/System.Threading.dll",
150 "build/.NETFramework/v4.5/Facades/System.Xml.ReaderWriter.dll",
151 "build/.NETFramework/v4.5/Facades/System.Xml.XDocument.dll",
152 "build/.NETFramework/v4.5/Facades/System.Xml.XmlSerializer.dll",
153 "build/.NETFramework/v4.5/ISymWrapper.dll",
154 "build/.NETFramework/v4.5/ISymWrapper.xml",
155 "build/.NETFramework/v4.5/Microsoft.Activities.Build.dll",
156 "build/.NETFramework/v4.5/Microsoft.Activities.Build.xml",
157 "build/.NETFramework/v4.5/Microsoft.Build.Conversion.v4.0.dll",
158 "build/.NETFramework/v4.5/Microsoft.Build.Conversion.v4.0.xml",
159 "build/.NETFramework/v4.5/Microsoft.Build.Engine.dll",
160 "build/.NETFramework/v4.5/Microsoft.Build.Engine.xml",
161 "build/.NETFramework/v4.5/Microsoft.Build.Framework.dll",
162 "build/.NETFramework/v4.5/Microsoft.Build.Framework.xml",
163 "build/.NETFramework/v4.5/Microsoft.Build.Tasks.v4.0.dll",
164 "build/.NETFramework/v4.5/Microsoft.Build.Tasks.v4.0.xml",
165 "build/.NETFramework/v4.5/Microsoft.Build.Utilities.v4.0.dll",
166 "build/.NETFramework/v4.5/Microsoft.Build.Utilities.v4.0.xml",
167 "build/.NETFramework/v4.5/Microsoft.Build.dll",
168 "build/.NETFramework/v4.5/Microsoft.Build.xml",
169 "build/.NETFramework/v4.5/Microsoft.CSharp.dll",
170 "build/.NETFramework/v4.5/Microsoft.CSharp.xml",
171 "build/.NETFramework/v4.5/Microsoft.JScript.dll",
172 "build/.NETFramework/v4.5/Microsoft.JScript.xml",
173 "build/.NETFramework/v4.5/Microsoft.VisualBasic.Compatibility.Data.dll",
174 "build/.NETFramework/v4.5/Microsoft.VisualBasic.Compatibility.Data.xml",
175 "build/.NETFramework/v4.5/Microsoft.VisualBasic.Compatibility.dll",
176 "build/.NETFramework/v4.5/Microsoft.VisualBasic.Compatibility.xml",
177 "build/.NETFramework/v4.5/Microsoft.VisualBasic.dll",
178 "build/.NETFramework/v4.5/Microsoft.VisualBasic.xml",
179 "build/.NETFramework/v4.5/Microsoft.VisualC.STLCLR.dll",
180 "build/.NETFramework/v4.5/Microsoft.VisualC.STLCLR.xml",
181 "build/.NETFramework/v4.5/Microsoft.VisualC.dll",
182 "build/.NETFramework/v4.5/Microsoft.VisualC.xml",
183 "build/.NETFramework/v4.5/PermissionSets/FullTrust.xml",
184 "build/.NETFramework/v4.5/PermissionSets/Internet.xml",
185 "build/.NETFramework/v4.5/PermissionSets/LocalIntranet.xml",
186 "build/.NETFramework/v4.5/PresentationBuildTasks.dll",
187 "build/.NETFramework/v4.5/PresentationBuildTasks.xml",
188 "build/.NETFramework/v4.5/PresentationCore.dll",
189 "build/.NETFramework/v4.5/PresentationCore.xml",
190 "build/.NETFramework/v4.5/PresentationFramework.Aero.dll",
191 "build/.NETFramework/v4.5/PresentationFramework.Aero.xml",
192 "build/.NETFramework/v4.5/PresentationFramework.Aero2.dll",
193 "build/.NETFramework/v4.5/PresentationFramework.AeroLite.dll",
194 "build/.NETFramework/v4.5/PresentationFramework.Classic.dll",
195 "build/.NETFramework/v4.5/PresentationFramework.Classic.xml",
196 "build/.NETFramework/v4.5/PresentationFramework.Luna.dll",
197 "build/.NETFramework/v4.5/PresentationFramework.Luna.xml",
198 "build/.NETFramework/v4.5/PresentationFramework.Royale.dll",
199 "build/.NETFramework/v4.5/PresentationFramework.Royale.xml",
200 "build/.NETFramework/v4.5/PresentationFramework.dll",
201 "build/.NETFramework/v4.5/PresentationFramework.xml",
202 "build/.NETFramework/v4.5/ReachFramework.dll",
203 "build/.NETFramework/v4.5/ReachFramework.xml",
204 "build/.NETFramework/v4.5/RedistList/FrameworkList.xml",
205 "build/.NETFramework/v4.5/System.Activities.Core.Presentation.dll",
206 "build/.NETFramework/v4.5/System.Activities.Core.Presentation.xml",
207 "build/.NETFramework/v4.5/System.Activities.DurableInstancing.dll",
208 "build/.NETFramework/v4.5/System.Activities.DurableInstancing.xml",
209 "build/.NETFramework/v4.5/System.Activities.Presentation.dll",
210 "build/.NETFramework/v4.5/System.Activities.Presentation.xml",
211 "build/.NETFramework/v4.5/System.Activities.dll",
212 "build/.NETFramework/v4.5/System.Activities.xml",
213 "build/.NETFramework/v4.5/System.AddIn.Contract.dll",
214 "build/.NETFramework/v4.5/System.AddIn.Contract.xml",
215 "build/.NETFramework/v4.5/System.AddIn.dll",
216 "build/.NETFramework/v4.5/System.AddIn.xml",
217 "build/.NETFramework/v4.5/System.ComponentModel.Composition.Registration.dll",
218 "build/.NETFramework/v4.5/System.ComponentModel.Composition.dll",
219 "build/.NETFramework/v4.5/System.ComponentModel.Composition.xml",
220 "build/.NETFramework/v4.5/System.ComponentModel.DataAnnotations.dll",
221 "build/.NETFramework/v4.5/System.ComponentModel.DataAnnotations.xml",
222 "build/.NETFramework/v4.5/System.Configuration.Install.dll",
223 "build/.NETFramework/v4.5/System.Configuration.Install.xml",
224 "build/.NETFramework/v4.5/System.Configuration.dll",
225 "build/.NETFramework/v4.5/System.Configuration.xml",
226 "build/.NETFramework/v4.5/System.Core.dll",
227 "build/.NETFramework/v4.5/System.Core.xml",
228 "build/.NETFramework/v4.5/System.Data.DataSetExtensions.dll",
229 "build/.NETFramework/v4.5/System.Data.DataSetExtensions.xml",
230 "build/.NETFramework/v4.5/System.Data.Entity.Design.dll",
231 "build/.NETFramework/v4.5/System.Data.Entity.Design.xml",
232 "build/.NETFramework/v4.5/System.Data.Entity.dll",
233 "build/.NETFramework/v4.5/System.Data.Entity.xml",
234 "build/.NETFramework/v4.5/System.Data.Linq.dll",
235 "build/.NETFramework/v4.5/System.Data.Linq.xml",
236 "build/.NETFramework/v4.5/System.Data.OracleClient.dll",
237 "build/.NETFramework/v4.5/System.Data.OracleClient.xml",
238 "build/.NETFramework/v4.5/System.Data.Services.Client.dll",
239 "build/.NETFramework/v4.5/System.Data.Services.Client.xml",
240 "build/.NETFramework/v4.5/System.Data.Services.Design.dll",
241 "build/.NETFramework/v4.5/System.Data.Services.Design.xml",
242 "build/.NETFramework/v4.5/System.Data.Services.dll",
243 "build/.NETFramework/v4.5/System.Data.Services.xml",
244 "build/.NETFramework/v4.5/System.Data.SqlXml.dll",
245 "build/.NETFramework/v4.5/System.Data.SqlXml.xml",
246 "build/.NETFramework/v4.5/System.Data.dll",
247 "build/.NETFramework/v4.5/System.Data.xml",
248 "build/.NETFramework/v4.5/System.Deployment.dll",
249 "build/.NETFramework/v4.5/System.Deployment.xml",
250 "build/.NETFramework/v4.5/System.Design.dll",
251 "build/.NETFramework/v4.5/System.Design.xml",
252 "build/.NETFramework/v4.5/System.Device.dll",
253 "build/.NETFramework/v4.5/System.Device.xml",
254 "build/.NETFramework/v4.5/System.DirectoryServices.AccountManagement.dll",
255 "build/.NETFramework/v4.5/System.DirectoryServices.AccountManagement.xml",
256 "build/.NETFramework/v4.5/System.DirectoryServices.Protocols.dll",
257 "build/.NETFramework/v4.5/System.DirectoryServices.Protocols.xml",
258 "build/.NETFramework/v4.5/System.DirectoryServices.dll",
259 "build/.NETFramework/v4.5/System.DirectoryServices.xml",
260 "build/.NETFramework/v4.5/System.Drawing.Design.dll",
261 "build/.NETFramework/v4.5/System.Drawing.Design.xml",
262 "build/.NETFramework/v4.5/System.Drawing.dll",
263 "build/.NETFramework/v4.5/System.Drawing.xml",
264 "build/.NETFramework/v4.5/System.EnterpriseServices.Thunk.dll",
265 "build/.NETFramework/v4.5/System.EnterpriseServices.Wrapper.dll",
266 "build/.NETFramework/v4.5/System.EnterpriseServices.dll",
267 "build/.NETFramework/v4.5/System.EnterpriseServices.xml",
268 "build/.NETFramework/v4.5/System.IO.Compression.FileSystem.dll",
269 "build/.NETFramework/v4.5/System.IO.Compression.FileSystem.xml",
270 "build/.NETFramework/v4.5/System.IO.Compression.dll",
271 "build/.NETFramework/v4.5/System.IO.Compression.xml",
272 "build/.NETFramework/v4.5/System.IO.Log.dll",
273 "build/.NETFramework/v4.5/System.IO.Log.xml",
274 "build/.NETFramework/v4.5/System.IdentityModel.Selectors.dll",
275 "build/.NETFramework/v4.5/System.IdentityModel.Selectors.xml",
276 "build/.NETFramework/v4.5/System.IdentityModel.Services.dll",
277 "build/.NETFramework/v4.5/System.IdentityModel.Services.xml",
278 "build/.NETFramework/v4.5/System.IdentityModel.dll",
279 "build/.NETFramework/v4.5/System.IdentityModel.xml",
280 "build/.NETFramework/v4.5/System.Management.Instrumentation.dll",
281 "build/.NETFramework/v4.5/System.Management.Instrumentation.xml",
282 "build/.NETFramework/v4.5/System.Management.dll",
283 "build/.NETFramework/v4.5/System.Management.xml",
284 "build/.NETFramework/v4.5/System.Messaging.dll",
285 "build/.NETFramework/v4.5/System.Messaging.xml",
286 "build/.NETFramework/v4.5/System.Net.Http.WebRequest.dll",
287 "build/.NETFramework/v4.5/System.Net.Http.WebRequest.xml",
288 "build/.NETFramework/v4.5/System.Net.Http.dll",
289 "build/.NETFramework/v4.5/System.Net.Http.xml",
290 "build/.NETFramework/v4.5/System.Net.dll",
291 "build/.NETFramework/v4.5/System.Net.xml",
292 "build/.NETFramework/v4.5/System.Numerics.dll",
293 "build/.NETFramework/v4.5/System.Numerics.xml",
294 "build/.NETFramework/v4.5/System.Printing.dll",
295 "build/.NETFramework/v4.5/System.Printing.xml",
296 "build/.NETFramework/v4.5/System.Reflection.Context.dll",
297 "build/.NETFramework/v4.5/System.Reflection.Context.xml",
298 "build/.NETFramework/v4.5/System.Runtime.Caching.dll",
299 "build/.NETFramework/v4.5/System.Runtime.Caching.xml",
300 "build/.NETFramework/v4.5/System.Runtime.DurableInstancing.dll",
301 "build/.NETFramework/v4.5/System.Runtime.DurableInstancing.xml",
302 "build/.NETFramework/v4.5/System.Runtime.Remoting.dll",
303 "build/.NETFramework/v4.5/System.Runtime.Remoting.xml",
304 "build/.NETFramework/v4.5/System.Runtime.Serialization.Formatters.Soap.dll",
305 "build/.NETFramework/v4.5/System.Runtime.Serialization.Formatters.Soap.xml",
306 "build/.NETFramework/v4.5/System.Runtime.Serialization.dll",
307 "build/.NETFramework/v4.5/System.Runtime.Serialization.xml",
308 "build/.NETFramework/v4.5/System.Security.dll",
309 "build/.NETFramework/v4.5/System.Security.xml",
310 "build/.NETFramework/v4.5/System.ServiceModel.Activation.dll",
311 "build/.NETFramework/v4.5/System.ServiceModel.Activation.xml",
312 "build/.NETFramework/v4.5/System.ServiceModel.Activities.dll",
313 "build/.NETFramework/v4.5/System.ServiceModel.Activities.xml",
314 "build/.NETFramework/v4.5/System.ServiceModel.Channels.dll",
315 "build/.NETFramework/v4.5/System.ServiceModel.Channels.xml",
316 "build/.NETFramework/v4.5/System.ServiceModel.Discovery.dll",
317 "build/.NETFramework/v4.5/System.ServiceModel.Discovery.xml",
318 "build/.NETFramework/v4.5/System.ServiceModel.Routing.dll",
319 "build/.NETFramework/v4.5/System.ServiceModel.Routing.xml",
320 "build/.NETFramework/v4.5/System.ServiceModel.Web.dll",
321 "build/.NETFramework/v4.5/System.ServiceModel.Web.xml",
322 "build/.NETFramework/v4.5/System.ServiceModel.dll",
323 "build/.NETFramework/v4.5/System.ServiceModel.xml",
324 "build/.NETFramework/v4.5/System.ServiceProcess.dll",
325 "build/.NETFramework/v4.5/System.ServiceProcess.xml",
326 "build/.NETFramework/v4.5/System.Speech.dll",
327 "build/.NETFramework/v4.5/System.Speech.xml",
328 "build/.NETFramework/v4.5/System.Threading.Tasks.Dataflow.xml",
329 "build/.NETFramework/v4.5/System.Transactions.dll",
330 "build/.NETFramework/v4.5/System.Transactions.xml",
331 "build/.NETFramework/v4.5/System.Web.Abstractions.dll",
332 "build/.NETFramework/v4.5/System.Web.ApplicationServices.dll",
333 "build/.NETFramework/v4.5/System.Web.ApplicationServices.xml",
334 "build/.NETFramework/v4.5/System.Web.DataVisualization.Design.dll",
335 "build/.NETFramework/v4.5/System.Web.DataVisualization.dll",
336 "build/.NETFramework/v4.5/System.Web.DataVisualization.xml",
337 "build/.NETFramework/v4.5/System.Web.DynamicData.Design.dll",
338 "build/.NETFramework/v4.5/System.Web.DynamicData.Design.xml",
339 "build/.NETFramework/v4.5/System.Web.DynamicData.dll",
340 "build/.NETFramework/v4.5/System.Web.DynamicData.xml",
341 "build/.NETFramework/v4.5/System.Web.Entity.Design.dll",
342 "build/.NETFramework/v4.5/System.Web.Entity.Design.xml",
343 "build/.NETFramework/v4.5/System.Web.Entity.dll",
344 "build/.NETFramework/v4.5/System.Web.Entity.xml",
345 "build/.NETFramework/v4.5/System.Web.Extensions.Design.dll",
346 "build/.NETFramework/v4.5/System.Web.Extensions.Design.xml",
347 "build/.NETFramework/v4.5/System.Web.Extensions.dll",
348 "build/.NETFramework/v4.5/System.Web.Extensions.xml",
349 "build/.NETFramework/v4.5/System.Web.Mobile.dll",
350 "build/.NETFramework/v4.5/System.Web.Mobile.xml",
351 "build/.NETFramework/v4.5/System.Web.RegularExpressions.dll",
352 "build/.NETFramework/v4.5/System.Web.RegularExpressions.xml",
353 "build/.NETFramework/v4.5/System.Web.Routing.dll",
354 "build/.NETFramework/v4.5/System.Web.Services.dll",
355 "build/.NETFramework/v4.5/System.Web.Services.xml",
356 "build/.NETFramework/v4.5/System.Web.dll",
357 "build/.NETFramework/v4.5/System.Web.xml",
358 "build/.NETFramework/v4.5/System.Windows.Controls.Ribbon.dll",
359 "build/.NETFramework/v4.5/System.Windows.Controls.Ribbon.xml",
360 "build/.NETFramework/v4.5/System.Windows.Forms.DataVisualization.Design.dll",
361 "build/.NETFramework/v4.5/System.Windows.Forms.DataVisualization.dll",
362 "build/.NETFramework/v4.5/System.Windows.Forms.DataVisualization.xml",
363 "build/.NETFramework/v4.5/System.Windows.Forms.dll",
364 "build/.NETFramework/v4.5/System.Windows.Forms.xml",
365 "build/.NETFramework/v4.5/System.Windows.Input.Manipulations.dll",
366 "build/.NETFramework/v4.5/System.Windows.Input.Manipulations.xml",
367 "build/.NETFramework/v4.5/System.Windows.Presentation.dll",
368 "build/.NETFramework/v4.5/System.Windows.Presentation.xml",
369 "build/.NETFramework/v4.5/System.Windows.dll",
370 "build/.NETFramework/v4.5/System.Workflow.Activities.dll",
371 "build/.NETFramework/v4.5/System.Workflow.Activities.xml",
372 "build/.NETFramework/v4.5/System.Workflow.ComponentModel.dll",
373 "build/.NETFramework/v4.5/System.Workflow.ComponentModel.xml",
374 "build/.NETFramework/v4.5/System.Workflow.Runtime.dll",
375 "build/.NETFramework/v4.5/System.Workflow.Runtime.xml",
376 "build/.NETFramework/v4.5/System.WorkflowServices.dll",
377 "build/.NETFramework/v4.5/System.WorkflowServices.xml",
378 "build/.NETFramework/v4.5/System.Xaml.dll",
379 "build/.NETFramework/v4.5/System.Xaml.xml",
380 "build/.NETFramework/v4.5/System.Xml.Linq.dll",
381 "build/.NETFramework/v4.5/System.Xml.Linq.xml",
382 "build/.NETFramework/v4.5/System.Xml.Serialization.dll",
383 "build/.NETFramework/v4.5/System.Xml.dll",
384 "build/.NETFramework/v4.5/System.Xml.xml",
385 "build/.NETFramework/v4.5/System.dll",
386 "build/.NETFramework/v4.5/System.xml",
387 "build/.NETFramework/v4.5/UIAutomationClient.dll",
388 "build/.NETFramework/v4.5/UIAutomationClient.xml",
389 "build/.NETFramework/v4.5/UIAutomationClientsideProviders.dll",
390 "build/.NETFramework/v4.5/UIAutomationClientsideProviders.xml",
391 "build/.NETFramework/v4.5/UIAutomationProvider.dll",
392 "build/.NETFramework/v4.5/UIAutomationProvider.xml",
393 "build/.NETFramework/v4.5/UIAutomationTypes.dll",
394 "build/.NETFramework/v4.5/UIAutomationTypes.xml",
395 "build/.NETFramework/v4.5/WindowsBase.dll",
396 "build/.NETFramework/v4.5/WindowsBase.xml",
397 "build/.NETFramework/v4.5/WindowsFormsIntegration.dll",
398 "build/.NETFramework/v4.5/WindowsFormsIntegration.xml",
399 "build/.NETFramework/v4.5/XamlBuildTask.dll",
400 "build/.NETFramework/v4.5/XamlBuildTask.xml",
401 "build/.NETFramework/v4.5/mscorlib.dll",
402 "build/.NETFramework/v4.5/mscorlib.xml",
403 "build/.NETFramework/v4.5/sysglobl.dll",
404 "build/.NETFramework/v4.5/sysglobl.xml",
405 "build/Microsoft.NETFramework.ReferenceAssemblies.net45.targets",
406 "microsoft.netframework.referenceassemblies.net45.1.0.0.nupkg.sha512",
407 "microsoft.netframework.referenceassemblies.net45.nuspec"
408 ]
409 },
410 "NETStandard.Library/2.0.3": {
411 "sha512": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
412 "type": "package",
413 "path": "netstandard.library/2.0.3",
414 "files": [
415 ".nupkg.metadata",
416 "LICENSE.TXT",
417 "THIRD-PARTY-NOTICES.TXT",
418 "build/netstandard2.0/NETStandard.Library.targets",
419 "build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll",
420 "build/netstandard2.0/ref/System.AppContext.dll",
421 "build/netstandard2.0/ref/System.Collections.Concurrent.dll",
422 "build/netstandard2.0/ref/System.Collections.NonGeneric.dll",
423 "build/netstandard2.0/ref/System.Collections.Specialized.dll",
424 "build/netstandard2.0/ref/System.Collections.dll",
425 "build/netstandard2.0/ref/System.ComponentModel.Composition.dll",
426 "build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll",
427 "build/netstandard2.0/ref/System.ComponentModel.Primitives.dll",
428 "build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll",
429 "build/netstandard2.0/ref/System.ComponentModel.dll",
430 "build/netstandard2.0/ref/System.Console.dll",
431 "build/netstandard2.0/ref/System.Core.dll",
432 "build/netstandard2.0/ref/System.Data.Common.dll",
433 "build/netstandard2.0/ref/System.Data.dll",
434 "build/netstandard2.0/ref/System.Diagnostics.Contracts.dll",
435 "build/netstandard2.0/ref/System.Diagnostics.Debug.dll",
436 "build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll",
437 "build/netstandard2.0/ref/System.Diagnostics.Process.dll",
438 "build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll",
439 "build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll",
440 "build/netstandard2.0/ref/System.Diagnostics.Tools.dll",
441 "build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll",
442 "build/netstandard2.0/ref/System.Diagnostics.Tracing.dll",
443 "build/netstandard2.0/ref/System.Drawing.Primitives.dll",
444 "build/netstandard2.0/ref/System.Drawing.dll",
445 "build/netstandard2.0/ref/System.Dynamic.Runtime.dll",
446 "build/netstandard2.0/ref/System.Globalization.Calendars.dll",
447 "build/netstandard2.0/ref/System.Globalization.Extensions.dll",
448 "build/netstandard2.0/ref/System.Globalization.dll",
449 "build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll",
450 "build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll",
451 "build/netstandard2.0/ref/System.IO.Compression.dll",
452 "build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll",
453 "build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll",
454 "build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll",
455 "build/netstandard2.0/ref/System.IO.FileSystem.dll",
456 "build/netstandard2.0/ref/System.IO.IsolatedStorage.dll",
457 "build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll",
458 "build/netstandard2.0/ref/System.IO.Pipes.dll",
459 "build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll",
460 "build/netstandard2.0/ref/System.IO.dll",
461 "build/netstandard2.0/ref/System.Linq.Expressions.dll",
462 "build/netstandard2.0/ref/System.Linq.Parallel.dll",
463 "build/netstandard2.0/ref/System.Linq.Queryable.dll",
464 "build/netstandard2.0/ref/System.Linq.dll",
465 "build/netstandard2.0/ref/System.Net.Http.dll",
466 "build/netstandard2.0/ref/System.Net.NameResolution.dll",
467 "build/netstandard2.0/ref/System.Net.NetworkInformation.dll",
468 "build/netstandard2.0/ref/System.Net.Ping.dll",
469 "build/netstandard2.0/ref/System.Net.Primitives.dll",
470 "build/netstandard2.0/ref/System.Net.Requests.dll",
471 "build/netstandard2.0/ref/System.Net.Security.dll",
472 "build/netstandard2.0/ref/System.Net.Sockets.dll",
473 "build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll",
474 "build/netstandard2.0/ref/System.Net.WebSockets.Client.dll",
475 "build/netstandard2.0/ref/System.Net.WebSockets.dll",
476 "build/netstandard2.0/ref/System.Net.dll",
477 "build/netstandard2.0/ref/System.Numerics.dll",
478 "build/netstandard2.0/ref/System.ObjectModel.dll",
479 "build/netstandard2.0/ref/System.Reflection.Extensions.dll",
480 "build/netstandard2.0/ref/System.Reflection.Primitives.dll",
481 "build/netstandard2.0/ref/System.Reflection.dll",
482 "build/netstandard2.0/ref/System.Resources.Reader.dll",
483 "build/netstandard2.0/ref/System.Resources.ResourceManager.dll",
484 "build/netstandard2.0/ref/System.Resources.Writer.dll",
485 "build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll",
486 "build/netstandard2.0/ref/System.Runtime.Extensions.dll",
487 "build/netstandard2.0/ref/System.Runtime.Handles.dll",
488 "build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll",
489 "build/netstandard2.0/ref/System.Runtime.InteropServices.dll",
490 "build/netstandard2.0/ref/System.Runtime.Numerics.dll",
491 "build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll",
492 "build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll",
493 "build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll",
494 "build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll",
495 "build/netstandard2.0/ref/System.Runtime.Serialization.dll",
496 "build/netstandard2.0/ref/System.Runtime.dll",
497 "build/netstandard2.0/ref/System.Security.Claims.dll",
498 "build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll",
499 "build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll",
500 "build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll",
501 "build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll",
502 "build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll",
503 "build/netstandard2.0/ref/System.Security.Principal.dll",
504 "build/netstandard2.0/ref/System.Security.SecureString.dll",
505 "build/netstandard2.0/ref/System.ServiceModel.Web.dll",
506 "build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll",
507 "build/netstandard2.0/ref/System.Text.Encoding.dll",
508 "build/netstandard2.0/ref/System.Text.RegularExpressions.dll",
509 "build/netstandard2.0/ref/System.Threading.Overlapped.dll",
510 "build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll",
511 "build/netstandard2.0/ref/System.Threading.Tasks.dll",
512 "build/netstandard2.0/ref/System.Threading.Thread.dll",
513 "build/netstandard2.0/ref/System.Threading.ThreadPool.dll",
514 "build/netstandard2.0/ref/System.Threading.Timer.dll",
515 "build/netstandard2.0/ref/System.Threading.dll",
516 "build/netstandard2.0/ref/System.Transactions.dll",
517 "build/netstandard2.0/ref/System.ValueTuple.dll",
518 "build/netstandard2.0/ref/System.Web.dll",
519 "build/netstandard2.0/ref/System.Windows.dll",
520 "build/netstandard2.0/ref/System.Xml.Linq.dll",
521 "build/netstandard2.0/ref/System.Xml.ReaderWriter.dll",
522 "build/netstandard2.0/ref/System.Xml.Serialization.dll",
523 "build/netstandard2.0/ref/System.Xml.XDocument.dll",
524 "build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll",
525 "build/netstandard2.0/ref/System.Xml.XPath.dll",
526 "build/netstandard2.0/ref/System.Xml.XmlDocument.dll",
527 "build/netstandard2.0/ref/System.Xml.XmlSerializer.dll",
528 "build/netstandard2.0/ref/System.Xml.dll",
529 "build/netstandard2.0/ref/System.dll",
530 "build/netstandard2.0/ref/mscorlib.dll",
531 "build/netstandard2.0/ref/netstandard.dll",
532 "build/netstandard2.0/ref/netstandard.xml",
533 "lib/netstandard1.0/_._",
534 "netstandard.library.2.0.3.nupkg.sha512",
535 "netstandard.library.nuspec"
536 ]
537 },
66 "FNA/1.0.0": {
538 "FNA/1.0.0": {
67 "type": "project",
539 "type": "project",
68 "path": "../../FNA/FNA.csproj",
540 "path": "../../FNA/FNA.Core.csproj",
69 "msbuildProject": "../../FNA/FNA.csproj"
541 "msbuildProject": "../../FNA/FNA.Core.csproj"
70 }
542 }
71 },
543 },
72 "projectFileDependencyGroups": {
544 "projectFileDependencyGroups": {
73 ".NETFramework,Version=v4.5": [
545 ".NETFramework,Version=v4.5": [
74 "FNA >= 1.0.0"
546 "FNA >= 1.0.0",
547 "Microsoft.NETFramework.ReferenceAssemblies >= 1.0.0"
548 ],
549 ".NETStandard,Version=v2.0": [
550 "FNA >= 1.0.0",
551 "NETStandard.Library >= 2.0.3"
75 ]
552 ]
76 },
553 },
77 "packageFolders": {
554 "packageFolders": {
@@ -87,6 +564,7
87 "packagesPath": "/home/alys/.nuget/packages/",
564 "packagesPath": "/home/alys/.nuget/packages/",
88 "outputPath": "/home/alys/repos/isometric-park-fna/SpriteFontPlus/src/obj/",
565 "outputPath": "/home/alys/repos/isometric-park-fna/SpriteFontPlus/src/obj/",
89 "projectStyle": "PackageReference",
566 "projectStyle": "PackageReference",
567 "crossTargeting": true,
90 "fallbackFolders": [
568 "fallbackFolders": [
91 "/usr/share/dotnet/sdk/NuGetFallbackFolder"
569 "/usr/share/dotnet/sdk/NuGetFallbackFolder"
92 ],
570 ],
@@ -94,13 +572,15
94 "/home/alys/.nuget/NuGet/NuGet.Config"
572 "/home/alys/.nuget/NuGet/NuGet.Config"
95 ],
573 ],
96 "originalTargetFrameworks": [
574 "originalTargetFrameworks": [
97 "net45"
575 "net45",
576 "netstandard2.0"
98 ],
577 ],
99 "sources": {
578 "sources": {
100 "https://api.nuget.org/v3/index.json": {}
579 "https://api.nuget.org/v3/index.json": {}
101 },
580 },
102 "frameworks": {
581 "frameworks": {
103 "net45": {
582 "net45": {
583 "targetAlias": "net45",
104 "projectReferences": {
584 "projectReferences": {
105 "/home/alys/repos/isometric-park-fna/FNA/FNA.Core.csproj": {
585 "/home/alys/repos/isometric-park-fna/FNA/FNA.Core.csproj": {
106 "projectPath": "/home/alys/repos/isometric-park-fna/FNA/FNA.Core.csproj"
586 "projectPath": "/home/alys/repos/isometric-park-fna/FNA/FNA.Core.csproj"
@@ -159,4 +639,4
159 }
639 }
160 }
640 }
161 }
641 }
162 }
642 } No newline at end of file
@@ -10,4 +10,4
10 "/usr/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/netstandard.library.2.0.3.nupkg.sha512"
10 "/usr/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/netstandard.library.2.0.3.nupkg.sha512"
11 ],
11 ],
12 "logs": []
12 "logs": []
13 }
13 } No newline at end of file
@@ -89,6 +89,8
89 private WorldBuilder WorldBuilder = new WorldBuilder();
89 private WorldBuilder WorldBuilder = new WorldBuilder();
90 private World World;
90 private World World;
91
91
92 private NewsWindowBridgeEngine newsWindowBridgeEngine;
93
92 private static void Main(string[] args)
94 private static void Main(string[] args)
93 {
95 {
94 #if NETCOREAPP
96 #if NETCOREAPP
@@ -188,6 +190,8
188 WorldBuilder.AddEngine(new GameBridgeEngine(this));
190 WorldBuilder.AddEngine(new GameBridgeEngine(this));
189 WorldBuilder.AddEngine(new SimulationBridgeEngine(this.simulation));
191 WorldBuilder.AddEngine(new SimulationBridgeEngine(this.simulation));
190 WorldBuilder.AddEngine(new CameraBridgeEngine(this.camera));
192 WorldBuilder.AddEngine(new CameraBridgeEngine(this.camera));
193 this.newsWindowBridgeEngine = new NewsWindowBridgeEngine();
194 WorldBuilder.AddEngine(this.newsWindowBridgeEngine);
191
195
192 // var budgetWindow = WorldBuilder.CreateEntity();
196 // var budgetWindow = WorldBuilder.CreateEntity();
193 // WorldBuilder.SetComponent(budgetWindow, new VisibilityComponent{visible = true});
197 // WorldBuilder.SetComponent(budgetWindow, new VisibilityComponent{visible = true});
@@ -816,7 +820,7
816
820
817 if (this.showNews)
821 if (this.showNews)
818 {
822 {
819 NewsWindow.Render(ref this.showNews, debugWindow.monoFont, this.simulation);
823 NewsWindow.Render(this.showNews, debugWindow.monoFont, this.simulation, this.newsWindowBridgeEngine);
820 }
824 }
821
825
822 bool quit = false;
826 bool quit = false;
@@ -7,6 +7,10
7 using System.IO;
7 using System.IO;
8 using System.Collections.Generic;
8 using System.Collections.Generic;
9 using YamlDotNet.Serialization;
9 using YamlDotNet.Serialization;
10 using Encompass;
11
12 using isometricparkfna.Messages;
13 using isometricparkfna.Engines;
10
14
11 namespace isometricparkfna.UI
15 namespace isometricparkfna.UI
12 {
16 {
@@ -56,11 +60,12
56 }
60 }
57 }
61 }
58
62
59 public static class NewsWindow
63 public static class NewsWindow
60 {
64 {
61
65
62 public static void Render(ref bool show, ImFontPtr font, Simulation sim)
66 public static void Render(bool show, ImFontPtr font, Simulation sim, NewsWindowBridgeEngine engine)
63 {
67 {
68 bool newShow = show;
64 if (show)
69 if (show)
65 {
70 {
66 ImGui.PushFont(font);
71 ImGui.PushFont(font);
@@ -89,7 +94,7
89 ImGui.PushStyleColor(ImGuiCol.Button, new Num.Vector4(0.75f, 0.75f, 0.75f, 1f));
94 ImGui.PushStyleColor(ImGuiCol.Button, new Num.Vector4(0.75f, 0.75f, 0.75f, 1f));
90 ImGui.PushStyleColor(ImGuiCol.Text, new Num.Vector4(0f, 0f, 0f, 1f));
95 ImGui.PushStyleColor(ImGuiCol.Text, new Num.Vector4(0f, 0f, 0f, 1f));
91 ImGui.SetNextWindowSize(new Num.Vector2(400, 400));
96 ImGui.SetNextWindowSize(new Num.Vector2(400, 400));
92 ImGui.Begin("NEWS", ref show, ImGuiWindowFlags.NoResize | ImGuiWindowFlags.NoCollapse | ImGuiWindowFlags.NoSavedSettings);
97 ImGui.Begin("NEWS", ref newShow, ImGuiWindowFlags.NoResize | ImGuiWindowFlags.NoCollapse | ImGuiWindowFlags.NoSavedSettings);
93
98
94 var content = sim.latestNewsItems;
99 var content = sim.latestNewsItems;
95
100
@@ -139,6 +144,12
139 ImGui.PopStyleColor(12);
144 ImGui.PopStyleColor(12);
140 ImGui.PopFont();
145 ImGui.PopFont();
141 }
146 }
147
148 if (show != newShow)
149 {
150 engine.messages.Add(new ToggleWindowMessage {Window = Window.News });
151 // SendMessage(new ToggleWindowMessage {Window = Window.News });
152 }
142 }
153 }
143 }
154 }
144 }
155 }
You need to be logged in to leave comments. Login now