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