Description:
Test out a larger map.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -86,7 +86,7 | |||||
|
86 | { |
|
86 | { |
|
87 | SendMessage<TickMessage>(new TickMessage{}); |
|
87 | SendMessage<TickMessage>(new TickMessage{}); |
|
88 | //For now: |
|
88 | //For now: |
|
89 |
SendMessage<SpawnContractMessage>(new SpawnContractMessage{ max_squares = 1 |
|
89 | SendMessage<SpawnContractMessage>(new SpawnContractMessage{ max_squares = 150, |
|
90 | name = string.Format("Test {0}", this.simulation.DateTime.ToShortDateString()) }); |
|
90 | name = string.Format("Test {0}", this.simulation.DateTime.ToShortDateString()) }); |
|
91 |
|
91 | ||
|
92 |
|
92 |
@@ -53,8 +53,8 | |||||
|
53 | private const int height = 640; |
|
53 | private const int height = 640; |
|
54 |
|
54 | ||
|
55 | //new tile stuff |
|
55 | //new tile stuff |
|
56 |
int squaresAcross = |
|
56 | int squaresAcross = 100; |
|
57 |
int squaresDown = |
|
57 | int squaresDown = 100; |
|
58 | // int baseOffsetX = -14; |
|
58 | // int baseOffsetX = -14; |
|
59 | // int baseOffsetY = -14; |
|
59 | // int baseOffsetY = -14; |
|
60 |
|
60 |
@@ -58,6 +58,7 | |||||
|
58 |
|
58 | ||
|
59 | public const int MAX_TREES_TO_PLANT = 25; |
|
59 | public const int MAX_TREES_TO_PLANT = 25; |
|
60 | public const int MAX_TREES_TO_CLEAR = 25; |
|
60 | public const int MAX_TREES_TO_CLEAR = 25; |
|
|
61 | private const int SUBSIDY_AMOUNT = 2000; | ||
|
61 |
|
62 | ||
|
62 | public int Tick |
|
63 | public int Tick |
|
63 | { |
|
64 | { |
@@ -294,7 +295,7 | |||||
|
294 | DateTime = this.DateTime, |
|
295 | DateTime = this.DateTime, |
|
295 | money = this.money, |
|
296 | money = this.money, |
|
296 | trees = this.map.tree_count, |
|
297 | trees = this.map.tree_count, |
|
297 |
subsidy = |
|
298 | subsidy = SUBSIDY_AMOUNT, |
|
298 | contracts = this.contracts, |
|
299 | contracts = this.contracts, |
|
299 | upkeep = this.map.tree_count * 1, |
|
300 | upkeep = this.map.tree_count * 1, |
|
300 | tree_planting = this.tree_planting * Simulation.TREE_PLANT_COST, |
|
301 | tree_planting = this.tree_planting * Simulation.TREE_PLANT_COST, |
You need to be logged in to leave comments.
Login now