Description:
Make bulldozer have a red cursor.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -41,6 +41,9 | |||||
|
41 | case Tool.Dezone: |
|
41 | case Tool.Dezone: |
|
42 | Tile.OutlineSquare(batch, cursorComponent.position.X, cursorComponent.position.Y, Color.Red); |
|
42 | Tile.OutlineSquare(batch, cursorComponent.position.X, cursorComponent.position.Y, Color.Red); |
|
43 | break; |
|
43 | break; |
|
|
44 | case Tool.Bulldozer: | ||
|
|
45 | Tile.OutlineSquare(batch, cursorComponent.position.X, cursorComponent.position.Y, Color.Red); | ||
|
|
46 | break; | ||
|
44 | case Tool.Preserve: |
|
47 | case Tool.Preserve: |
|
45 | Tile.OutlineSquare(batch, cursorComponent.position.X, cursorComponent.position.Y, Color.Blue); |
|
48 | Tile.OutlineSquare(batch, cursorComponent.position.X, cursorComponent.position.Y, Color.Blue); |
|
46 | break; |
|
49 | break; |
@@ -134,17 +134,16 | |||||
|
134 | } |
|
134 | } |
|
135 | if (ImGui.BeginPopup("BulldozerChildren")) |
|
135 | if (ImGui.BeginPopup("BulldozerChildren")) |
|
136 | { |
|
136 | { |
|
137 | Logging.Debug("Opened popup."); |
|
137 | if (Menu.activeButton("\ue058 Dezone", bridgeEngine.toolStatuses[Tool.Dezone], StyleSets.selected, StyleSets.white)) |
|
138 | if (Menu.activeButton("\ue058 Dezone", bridgeEngine.toolStatuses[Tool.Dezone], StyleSets.selected, StyleSets.white)) |
|
138 | { |
|
139 | { |
|
||
|
140 | bridgeEngine.toggleToolMessages.Add(new ToggleToolMessage {Tool = Tool.Dezone}); |
|
139 | bridgeEngine.toggleToolMessages.Add(new ToggleToolMessage {Tool = Tool.Dezone}); |
|
141 | ImGui.CloseCurrentPopup(); |
|
140 | ImGui.CloseCurrentPopup(); |
|
142 |
|
|
141 | } |
|
143 |
|
|
142 | if (ImGui.Button("Cancel")) |
|
144 |
|
|
143 | { |
|
145 |
|
|
144 | ImGui.CloseCurrentPopup(); |
|
146 |
|
|
145 | } |
|
147 |
|
|
146 | ImGui.EndPopup(); |
|
148 | } |
|
147 | } |
|
149 | ImGui.Text("|"); |
|
148 | ImGui.Text("|"); |
|
150 |
|
149 |
You need to be logged in to leave comments.
Login now