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

r53:c0bc60847586 -

@@ -1,8 +1,11
1
1
2 Gameplay:
2 Gameplay:
3 Money:
3 Money:
4 - Add basic subsidy @milestone(1: Basic Money)
4 - Add basic subsidy @milestone(1: Basic Money) @done(2021-01-27)
5 - Balance sheet @milestone(1: Basic Money)
5 - Basic Balance sheet @milestone(1: Basic Money)
6 - Basic display @done(2021-01-27)
7 - Movement @done(2021-01-27)
8 - Close button
6 -
9 -
7 Logging:
10 Logging:
8 - Add contract struct @milestone(3: Contracts)
11 - Add contract struct @milestone(3: Contracts)
@@ -11,7 +14,7
11 - Outline reserved areas @milestone(3: Contracts)
14 - Outline reserved areas @milestone(3: Contracts)
12 -
15 -
13 Trees:
16 Trees:
14 - Add basic maintenance cost @milestone(1: Basic Money)
17 - Add basic maintenance cost @milestone(1: Basic Money) @done(2021-01-27)
15 - Add basic age simulation
18 - Add basic age simulation
16 - Biodiversity @maybe
19 - Biodiversity @maybe
17 - Research agreements @maybe
20 - Research agreements @maybe
@@ -66,6 +66,9
66 int bar_height = 25;
66 int bar_height = 25;
67 int height = 500;
67 int height = 500;
68
68
69 FilledRectangle.drawFilledRectangle(batch, new Rectangle(x - 20, y+bar_height, 20, height), Color.White);
70 FilledRectangle.drawFilledRectangle(batch, new Rectangle(x + 700, y+bar_height, 20, height), Color.White);
71
69 for (int i = 1; i < (height / bar_height); i++)
72 for (int i = 1; i < (height / bar_height); i++)
70 {
73 {
71 Rectangle position = new Rectangle(this.x, bar_height * i + this.y,
74 Rectangle position = new Rectangle(this.x, bar_height * i + this.y,
@@ -81,15 +84,18
81 }
84 }
82 }
85 }
83
86
84 batch.DrawString(font, String.Format("Starting Funds.........${0:}", this.budget.money), new Vector2(x, bar_height * 1 + y), Color.Black);
87 batch.DrawString(font, String.Format("BUDGET REPORT FOR {0:MMMMM yyyy}", this.budget.DateTime), new Vector2(x, bar_height * 1 + y), Color.Black);
85
88
86 batch.DrawString(font, String.Format("REVENUE", this.budget.upkeep), new Vector2(x, bar_height * 3 + y), Color.Black);
89
87 batch.DrawString(font, String.Format("Subsidy................${0:}", this.budget.upkeep), new Vector2(x, bar_height * 4 + y), Color.Black);
90 batch.DrawString(font, String.Format("Starting Funds.........${0:}", this.budget.money), new Vector2(x, bar_height * 2 + y), Color.Black);
88
91
89 batch.DrawString(font, String.Format("EXPENSES", this.budget.upkeep), new Vector2(x, bar_height * 6 + y), Color.Black);
92 batch.DrawString(font, String.Format("REVENUE", this.budget.upkeep), new Vector2(x, bar_height * 4 + y), Color.Black);
90 batch.DrawString(font, String.Format("Upkeep.................${0:}", this.budget.upkeep), new Vector2(x, bar_height * 7 + y), Color.Black);
93 batch.DrawString(font, String.Format("Subsidy................${0:}", this.budget.upkeep), new Vector2(x, bar_height * 5 + y), Color.Black);
91
94
92 batch.DrawString(font, String.Format("Ending Funds.........${0:}", this.budget.final_money), new Vector2(x, bar_height * 10 + y), Color.Black);
95 batch.DrawString(font, String.Format("EXPENSES", this.budget.upkeep), new Vector2(x, bar_height * 7 + y), Color.Black);
96 batch.DrawString(font, String.Format("Upkeep.................${0:}", this.budget.upkeep), new Vector2(x, bar_height * 8 + y), Color.Black);
97
98 batch.DrawString(font, String.Format("Ending Funds.........${0:}", this.budget.final_money), new Vector2(x, bar_height * 11 + y), Color.Black);
93
99
94 }
100 }
95 }
101 }
You need to be logged in to leave comments. Login now