 |
|  |
 |
|  |
 |
|
Immortal Wombat
|
 |
in perpetuity
Dec 2000 time: 05:18
|
|
quote: Originally posted by Dale
- Should "radius = GetCityRadius(HowBig);" be "radius = GetCityRadius(GrowingCity);" on line 20 of AddSuburb?
[quote]
No, it does use the population, not the city.
[quote]
- Line 52 of AddSuburb: tmp2Loc not set to anything (new variable). Should it be tmpLoc?
|
Yup 
quote:
- Line 58: Check who owns the cell.
|
That should be checked previously, in the while() loop.
quote:
- When checking under radius = 1, why do you need to go to 9? There's only 8 + city squares available to use. |
It only looks for 8. It actually looks for any tiles, up to a maximum of 8 ( < 9). Its not a direction, just a counter.
quote:
If a city needs the second radius to add a suburb, then shouldn't we add an overcrowding event till it expands to radius 2? |
This should work, also, right at the end:
code:
if(done == 0){
AddPops(tmpCity, -1);
}
|
|
|  |
 |
|  |
 |
|  |
 |
|  |
 |
|  |
All times are GMT. The time now is 05:18. Apolyton Time is 00:18. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|