Initialize simulator variables to a sane default. */
| 106 | |
| 107 | /** Initialize simulator variables to a sane default. */ |
| 108 | void Micropolis::init() |
| 109 | { |
| 110 | |
| 111 | |
| 112 | //////////////////////////////////////////////////////////////////////// |
| 113 | // allocate.cpp |
| 114 | |
| 115 | |
| 116 | // short roadTotal; |
| 117 | roadTotal = 0; |
| 118 | |
| 119 | // short railTotal; |
| 120 | railTotal = 0; |
| 121 | |
| 122 | // short firePop; |
| 123 | firePop = 0; |
| 124 | |
| 125 | // short resPop; |
| 126 | resPop = 0; |
| 127 | |
| 128 | // short comPop; |
| 129 | comPop = 0; |
| 130 | |
| 131 | // short indPop; |
| 132 | indPop = 0; |
| 133 | |
| 134 | // short totalPop; |
| 135 | totalPop = 0; |
| 136 | |
| 137 | // short totalPopLast; |
| 138 | totalPopLast = 0; |
| 139 | |
| 140 | // short resZonePop; |
| 141 | resZonePop = 0; |
| 142 | |
| 143 | // short comZonePop; |
| 144 | comZonePop = 0; |
| 145 | |
| 146 | // short indZonePop; |
| 147 | indZonePop = 0; |
| 148 | |
| 149 | // short totalZonePop; |
| 150 | totalZonePop = 0; |
| 151 | |
| 152 | // short hospitalPop; |
| 153 | hospitalPop = 0; |
| 154 | |
| 155 | // short churchPop; |
| 156 | churchPop = 0; |
| 157 | |
| 158 | // short faith; |
| 159 | faith = 0; |
| 160 | |
| 161 | // short stadiumPop; |
| 162 | stadiumPop = 0; |
| 163 | |
| 164 | // short policeStationPop; |
| 165 | policeStationPop = 0; |
no test coverage detected