* Get the population value for the given industrial tile. * @param tile Center tile value of the industrial zone. * @return Population value. */
| 985 | * @return Population value. |
| 986 | */ |
| 987 | short Micropolis::getIndZonePop(MapTile tile) |
| 988 | { |
| 989 | if (tile == INDCLR) { |
| 990 | return 0; |
| 991 | } |
| 992 | |
| 993 | short CzDen = (((tile - IZB) / 9) % 4) + 1; |
| 994 | return CzDen; |
| 995 | } |
| 996 | |
| 997 | /** |
| 998 | * Place an industrial zone around center tile \a pos. |
nothing calls this directly
no outgoing calls
no test coverage detected