FS#897 - Patch: random town layout

Attached to Project: OpenTTD
Opened by Benedikt Brüggemeier (skidd13) - Wednesday, 20 June 2007, 10:11 GMT
Type Patch
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This patch adds the ability for random town layouts. Allways the same layout looks boring. ;)
This task depends upon

Closed by  Benedikt Brüggemeier (skidd13)
Wednesday, 02 April 2008, 17:08 GMT
Reason for closing:  Implemented
Additional comments about closing:  in r12534
Comment by Benedikt Brüggemeier (skidd13) - Friday, 22 June 2007, 17:21 GMT
Updated the patch according to the requests of peter1138.

I had to change the town layout randomisation, cause it never reached every layout.
Comment by Benedikt Brüggemeier (skidd13) - Sunday, 24 June 2007, 22:25 GMT
Update cause there is already a check for savegame version 69 in openttd.cpp (it has been added a few minutes after the post).
Comment by Benedikt Brüggemeier (skidd13) - Monday, 25 June 2007, 18:12 GMT
Update cause of recent savegame bump.
Unified the random town road layout generation and placed it in town.h.
Comment by Benedikt Brüggemeier (skidd13) - Friday, 03 August 2007, 10:31 GMT
Update cause of recent savegame bumps.
Some minor stuff.
Comment by Benedikt Brüggemeier (skidd13) - Tuesday, 16 October 2007, 16:11 GMT
- to actual savegame
- changed the random number generator (to Original Tile Randomiser)
- converted the RandomTownLayout to a method of the town object.