Description:
Add area size to Contract Window.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -88,7 +88,7 | |||
|
88 | 88 | { |
|
89 | 89 | SendMessage<TickMessage>(new TickMessage{}); |
|
90 | 90 | //For now: |
|
91 | SendMessage<SpawnContractMessage>(new SpawnContractMessage{ max_squares = 100, | |
|
91 | SendMessage<SpawnContractMessage>(new SpawnContractMessage{ //max_squares = 100, | |
|
92 | 92 | name = string.Format("#logging_company.capitalizeAll# {0}", this.simulation.DateTime.ToShortDateString()) }); |
|
93 | 93 | |
|
94 | 94 |
@@ -33,7 +33,7 | |||
|
33 | 33 | } |
|
34 | 34 | |
|
35 | 35 | |
|
36 | public static void Render(ImFontPtr font, ImFontPtr italicFont, ImGuiWindowBridgeEngine engine, Entity entity, string name, string description, ContractStatus status, decimal amount, string delta_trees, int imageIndex) | |
|
36 | public static void Render(ImFontPtr font, ImFontPtr italicFont, ImGuiWindowBridgeEngine engine, Entity entity, string name, string description, ContractStatus status, decimal amount, string delta_trees, int area_size, int imageIndex) | |
|
37 | 37 | |
|
38 | 38 | { |
|
39 | 39 | bool newShow = true; |
@@ -84,6 +84,7 | |||
|
84 | 84 | break; |
|
85 | 85 | } |
|
86 | 86 | ImGui.Text(string.Format("Amount: ${0}/mo.", amount)); |
|
87 | ImGui.Text(string.Format("Size {0} m^2", area_size)); | |
|
87 | 88 | |
|
88 | 89 | if (delta_trees != null) |
|
89 | 90 | { |
You need to be logged in to leave comments.
Login now