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

r591:6e02ad095141 -

@@ -174,7 +174,8
174
174
175 Performance:
175 Performance:
176 Issues:
176 Issues:
177 - Seeing up to 32 ms in update on framework-release?
177 - Seeing up to 32 ms in update on framework-release? @done(2022-05-16)
178 - Drawing very large areas is very slow.
178 Structural improvements:
179 Structural improvements:
179 - Button to clear/thin debug buffers?
180 - Button to clear/thin debug buffers?
180 Take every nth to reduce counters to past 100 measurements
181 Take every nth to reduce counters to past 100 measurements
@@ -183,8 +184,8
183 - Avoid redrawing tiles every time?
184 - Avoid redrawing tiles every time?
184 Draw tiles once
185 Draw tiles once
185 Instrumentation:
186 Instrumentation:
186 - Time individual sections of update loop
187 - Time individual sections of update loop @done(2022-05-16)
187 - Time simulation
188 - Time simulation @done(2022-05-16)
188 - Time each engine?
189 - Time each engine?
189 Other features:
190 Other features:
190 Accessibility:
191 Accessibility:
@@ -32,25 +32,25
32 // var SelectedComponent = GetComponent<SelectedComponent>(entity);
32 // var SelectedComponent = GetComponent<SelectedComponent>(entity);
33 var selected = GetComponent<SelectedComponent>(entity).selected;
33 var selected = GetComponent<SelectedComponent>(entity).selected;
34
34
35 if (HasComponent<PreserveComponent>(entity) || areaComponent.Tool == Tool.Preserve)
35 if (HasComponent<PreserveComponent>(entity) || areaComponent.Tool == Tool.Preserve)
36 {
36 {
37 Quad.FillSquares(batch, areaComponent.squares, Color.Blue, 0.5f, 0.79f);
37 Quad.FillSquares(batch, areaComponent.squares, Color.Blue, 0.5f, 0.79f);
38 Tile.DrawOutlinedSquares(batch, areaComponent.squares, Color.Blue);
38 Tile.DrawOutlinedSquares(batch, areaComponent.squares, Color.Blue);
39 }
39 }
40 else if (!HasComponent<ContractStatusComponent>(entity))
40 else if (!HasComponent<ContractStatusComponent>(entity))
41 {
41 {
42 Quad.FillSquares(batch, areaComponent.squares, Color.Red, 0.5f, 0.79f);
42 Quad.FillSquares(batch, areaComponent.squares, Color.Red, 0.5f, 0.79f);
43 Tile.DrawOutlinedSquares(batch, areaComponent.squares, Color.Red);
43 Tile.DrawOutlinedSquares(batch, areaComponent.squares, Color.Red);
44 }
44 }
45 else if ((!HasComponent<ContractStatusComponent>(entity)
45 else if ((!HasComponent<ContractStatusComponent>(entity)
46 || GetComponent<ContractStatusComponent>(entity).status == ContractStatus.Accepted)
46 || GetComponent<ContractStatusComponent>(entity).status == ContractStatus.Accepted)
47 && !selected)
47 && !selected)
48 {
48 {
49 Tile.DrawOutlinedSquares(batch, areaComponent.squares, Color.Teal);
49 Tile.DrawOutlinedSquares(batch, areaComponent.squares, Color.Teal);
50 Quad.FillSquares(batch, areaComponent.squares, Color.Teal, 0.5f, 0.78f);
50 Quad.FillSquares(batch, areaComponent.squares, Color.Teal, 0.5f, 0.78f);
51 }
51 }
52 else if (HasComponent<ContractStatusComponent>(entity)
52 else if (HasComponent<ContractStatusComponent>(entity)
53 && selected)
53 && selected)
54 {
54 {
55 Tile.DrawOutlinedSquares(batch, areaComponent.squares, Color.Teal);
55 Tile.DrawOutlinedSquares(batch, areaComponent.squares, Color.Teal);
56 Quad.FillSquares(batch, areaComponent.squares, Color.Gray, 0.5f, 0.78f);
56 Quad.FillSquares(batch, areaComponent.squares, Color.Gray, 0.5f, 0.78f);
You need to be logged in to leave comments. Login now