* Initialize evaluation variables */
| 124 | * Initialize evaluation variables |
| 125 | */ |
| 126 | void Micropolis::evalInit() |
| 127 | { |
| 128 | cityYes = 0; |
| 129 | cityPop = 0; |
| 130 | cityPopDelta = 0; |
| 131 | cityAssessedValue = 0; |
| 132 | cityClass = CC_VILLAGE; |
| 133 | cityScore = 500; |
| 134 | cityScoreDelta = 0; |
| 135 | for (int i = 0; i < PROBNUM; i++) { |
| 136 | problemVotes[i] = 0; |
| 137 | } |
| 138 | for (int i = 0; i < CVP_PROBLEM_COMPLAINTS; i++) { |
| 139 | problemOrder[i] = CVP_NUMPROBLEMS; |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | |
| 144 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected