27.03.2008, 04:44
I agree with Lowfighter. For the 1st Edition of the programme it would not be a problem to have to edit around the edges of towns, but this may not be necessary.
I made an image to show what we are dealing with. The map extract shows each pixel (200x200) indicated by the white grid lines. The lower left corner shows a single town pixel at coords 0,0 surrounded by Lowland0. Above this is a two pixel pattern. at pixel 800,800 and 1000,800
If map_T has a single pixel with town texture this produces a full 200x200 block on the map centred on the lower left corner of the pixel. So this can be allowed for in setting the initial coords of the basic inBuildings.txt. A final process can crop out any objects with -ve coord values.
I made an image to show what we are dealing with. The map extract shows each pixel (200x200) indicated by the white grid lines. The lower left corner shows a single town pixel at coords 0,0 surrounded by Lowland0. Above this is a two pixel pattern. at pixel 800,800 and 1000,800
If map_T has a single pixel with town texture this produces a full 200x200 block on the map centred on the lower left corner of the pixel. So this can be allowed for in setting the initial coords of the basic inBuildings.txt. A final process can crop out any objects with -ve coord values.