FS#897 - Patch: random town layout
Attached to Project:
OpenTTD
Opened by Benedikt Brüggemeier (skidd13) - Wednesday, 20 June 2007, 10:11 GMT
Opened by Benedikt Brüggemeier (skidd13) - Wednesday, 20 June 2007, 10:11 GMT
|
DetailsThis 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
Wednesday, 02 April 2008, 17:08 GMT
Reason for closing: Implemented
Additional comments about closing: in r12534
I had to change the town layout randomisation, cause it never reached every layout.
Unified the random town road layout generation and placed it in town.h.
Some minor stuff.
- to actual savegame
- changed the random number generator (to Original Tile Randomiser)
- converted the RandomTownLayout to a method of the town object.