Chill's Patchpack v14:
---------------------

About: A glimpse on what OpenTTD could look like in the future,
       minus the bugs ofcourse ;)

Why:   ChillCore having fun and giving something back to
       a very generous community while learning C++ ...

Big thank you goes to:
       - OpenTTD Developers and patchwriters
           Thank you for writing and maintaining all this great stuff,
           also for the many assistance you have given me.
       - Playtesters, bugreporters
           Thank you for the many feedback and bugreports.
       - Chris Saywer, Simon Foster and John Broomhall
           Thank you for having made one of the greatest games ever.


=========================================================================
=     ¿BUGS?      http://www.tt-forums.net/viewtopic.php?f=33&t=47622   =
=                 http://dev.openttdcoop.org/projects/chillpp/issues    =
=========================================================================


Included patches:
 ---------------
          tags:     - Patch included (in some form) currently.
          ----   T  - Made it to TRUNK. !!! Congrats to you !!!
                 W  - not in the patchpack currently, needs work
                      -> read: needs bumping to trunk and or fixing. 

    - More height levels:                  http://www.tt-forums.net/viewtopic.php?f=33&t=40844&start=0  (By ic111, CommanderZ, Terkhen, ChillCore)
    - Cargo distribution:                  http://www.tt-forums.net/viewtopic.php?f=33&t=41992&start=0  (By fonso)
    - Automated timetable and seperation:  http://www.tt-forums.net/viewtopic.php?f=33&t=46391&start=0  (By Gathers)
(T) - Improved Build Station GUI:          http://www.tt-forums.net/viewtopic.php?f=33&t=41222&start=0  (By Scoz) (Removed -> trunk in r21755)
    - Larger maps :                        http://www.tt-forums.net/viewtopic.php?f=33&t=33137&start=0  (By Bilbo)
    - Town rating colours:                 http://www.tt-forums.net/viewtopic.php?f=33&t=42598&start=0  (By Terkhen)
    - Signals in tunnels and on bridges:   http://www.tt-forums.net/viewtopic.php?f=33&t=41260&start=0  (By hackalittlebit)
    - Chunnel:                             http://www.tt-forums.net/viewtopic.php?f=33&t=41775&start=0  (By hackalittlebit)
(T) - Diesel smoke:                        http://www.tt-forums.net/viewtopic.php?f=33&t=19896&start=0  (By Sirkoz)(Removed -> Trunk in r20376)
    - Stuck trains:                        http://www.tt-forums.net/viewtopic.php?f=33&t=47095&start=0  (By Eddi)
    - Sprinkles -> variable daylenght,
          town cargo factor, misc, ...:    http://www.tt-forums.net/viewtopic.php?f=33&t=46399&start=0  (By SpComb)
    - Programmable Signals:                http://www.tt-forums.net/viewtopic.php?f=33&t=47690&start=0  (By Owen)
(T) - Build while paused in editor:        http://www.tt-forums.net/viewtopic.php?f=33&t=42790&start=0  (By Bilbo)(Removed -> Trunk in r21430)
    - Show system time window:             http://www.tt-forums.net/viewtopic.php?f=33&t=46580&start=0  (By Panther)
    - Copy_paste:                          http://www.tt-forums.net/viewtopic.php?f=33&t=41259&start=0  (By Frostregen)
(W) - Split cargo and cargo subtypes
          in refit window:                 http://www.tt-forums.net/viewtopic.php?f=33&t=48220&start=0  (By Terkhen) (Broken, removed removed in v9_9)
(W) - Buy bigger area:                     http://www.tt-forums.net/viewtopic.php?f=33&t=29495&start=0  (By rfalke) (Broken, removed in v9)
    - View and click vehicles in tunnels:  http://dev.openttdcoop.org/projects/clientpatches/repository (By SmatZ)
    - Close adjacent level crossing:       http://www.tt-forums.net/viewtopic.php?f=33&t=46091&start=0  (By Eddi)
(T) - Panorama screenshot:                 http://www.tt-forums.net/viewtopic.php?f=33&t=49362&start=0  (By Eddi) (Removed -> Trunk in r20508)
    - Measurement tool:                    http://www.tt-forums.net/viewtopic.php?f=33&t=49212&start=0  (By Wolf01)
    - Tree line height:                    http://www.tt-forums.net/viewtopic.php?f=33&t=46786&start=0  (By Loclahost)
    - Watch other company's gui:           http://www.tt-forums.net/viewtopic.php?f=33&t=45221&start=0  (By Muxy)
    - Reduced tree growth patch:           http://www.tt-forums.net/viewtopic.php?f=33&t=45502&start=0  (By Gedemon)
(W) - Vehicle leasing patch:               http://www.tt-forums.net/viewtopic.php?f=33&t=49389&start=0  (By jemmyw) (Broken, removed in v9_9_4)
    - Max_grf:                             http://www.tt-forums.net/viewtopic.php?f=31&t=37435&start=0  (By muzzy)
    - Company_profile:                     http://www.tt-forums.net/viewtopic.php?f=33&t=40457&start=0  (By Antuvo)
    - Departure boards + 24h clock:        http://www.tt-forums.net/viewtopic.php?f=33&t=49956&start=0  (By hthhs)
    - Timetables_change_all_stations:      http://www.tt-forums.net/viewtopic.php?f=32&t=50274&start=0  (By sph)
    - Departure_vehicletimetableskip1:     http://www.tt-forums.net/viewtopic.php?f=33&t=49956&start=0  (By hthhs)
(T) - Natural sorting of strings:          http://bugs.openttd.org/task/4214                            (by MagicBuzz) (Removed -> Trunk in 21344)
    - Group_info:                          http://www.tt-forums.net/viewtopic.php?f=33&t=33148&start=0  (By MagicBuzz)
(T) - Partial refit:                       http://www.tt-forums.net/viewtopic.php?f=33&t=51211&start=0  (By Terkhen Removed -> Trunk in r21567)
    - Cmd_all_ai:                          http://www.tt-forums.net/viewtopic.php?f=33&t=51180&start=0  (By MagicBuzz)
    - Infrastucture Sharing:               http://www.tt-forums.net/viewtopic.php?f=33&t=42254&start=0  (By Hirundo)
    - CTRL-cloning does not open new guis: http://bugs.openttd.org/task/4458                            (Idea by DJ Nekkid. Code ChillCore)
    - Improved breakdowns:                 http://www.tt-forums.net/viewtopic.php?f=33&t=39518&start=0  (by Hirundu)
    - Trafficlights:                       http://www.tt-forums.net/viewtopic.php?f=33&t=36261&start=0  (by Roujin)
    - Towngrowth_needs_goods:              Modified patch. See added patches zip.                       (by ChillCore (original by ?))
    - Configurable amount of desert tiles: See added patches zip                                        (by ChillCore)
    - Configurable speed signals:          See added patches zip                                        (by hthhs. (extension to the progsig patch))
    - CD_no oveload patch:                 See added patches zip                                        (by hthhs. (extension to the CargoDist Patch))
    - Infrastructure Maintenance:          http://www.tt-forums.net/viewtopic.php?f=33&t=57293          (by Michi_cc)


Note: In the patchpack many of these patches have been retuned, extended and/or
      have altered syntax, in some cases I do not use the latest version of
      a patch. Keep this in mind when reporting bugs to one of the original
      authors. See first post of my patchpack.

Other features: (without separate patches)
--------------
- New seed only when clicking the random button or CTRL-NewGame.
- Option to disable trains considering the back of a one-way signal as a safe
  waiting point.
- Easy difficulty setting replaced by Kidscorner.
- Option to show the linkgraphs for all companies or only the own company.
- Configurable tree build drag limit (20-128)
- Option to display the townpopulation always in white instead of rating coloured 
- Cheat option to not devide vehicle income bt daylength factor.
-
-
-
- ... there are more tweaks I have done that could be listed here.


GRFs needed in the data folder: (! The patchpack will not run without them !)
------------------------------
- flat_blacktiles.grf http://www.tt-forums.net/viewtopic.php?f=33&t=47622
- copy_paste.grf      http://www.tt-forums.net/viewtopic.php?f=33&t=p440743
- trafficlights.grf   http://www.tt-forums.net/viewtopic.php?f=33&t=36261
- speedsignals.grf    see needed grfs zip
- progsignals.grf     see needed grfs zip


New files:
----------
(As in the latest version, if compiling an older version check source.list)

- In the src folder:
    command_queue.h
    command_queue.cpp
    copy_paste.h
    copy_paste.cpp
    copy_paste_gui.cpp
    departures.cpp
    departures_func.h
    departures_type.h
    departures_gui.cpp
    departures_gui.h
    infrastructure.cpp
    infrastructure_func.h
    moving_average.h
    moving_average.cpp
    programmable_signals.cpp
    programmable_signals.h
    programmable_signals_gui.cpp
    trafficlight.h
    trafficlight.cpp
    trafficlight_func.h
    trafficlight_type.h
    watch gui.h
    watch_gui.cpp

- In the src/core folder:
    multimap.hpp

- In the src/table folder:
    settings.h

- In the src/saveload folder:
    linkgraph_sl.cpp
    signal_sl.cpp

-In the docs folder:
    copy_paste_array.txt
    linkgraph.txt

- Create a new folder in the src folder: linkgraph
- Inside this new folder:
    demands.cpp
    flowmapper.cpp
    linkgraph.cpp
    mcf.cpp
    demands.h
    flowmapper.h
    linkgraph.h
    linkgraph_type.h
    mcf.h

In the main folder:
    chipp_changelog.txt
    chipp_todo.txt



Changelog per version:
---------------------

v14:
===
Added:
- YAIM (Yet Another Maintenance patch) (Michi_cc).

Updated:
- Adjecent level Crossings to v3.
  Road vehicles already present on crossing continue to clear the crossing.
  ! make sure that the last signal before the crossing is far enough else
    roadvehicles may run into trains themselves. !

v13_7_4
=======
- CF: Fix Update Makefile.mscv to current trunk.

v13_7_3:
=======
Updated:
- Chunnel patch to v19
- Signaltunnel to v2.04

Fixed:
- A few corrections in the german language strings

v13_7_2:
=======
- CF: Fix Update Makefile.mscv to current trunk.

v13_7_1:
=======
- German translations of the ingame strings. (Yoshi)

v13_7:
=====
Updated:
- Chunnel patch to v18.
  Also I have removed the ability to terraform above tunnels. It could
  could problems that I was not aware of before.

New files:
- chipp_changelog.txt
- chipp_todo.txt

v13_6_7:
=======
Added:
- Russian translation of the ingame strings. (Kraks)

v13_6_6:
=======
Fixed:
- Graphical glitches when updating to OpenGFX 0.3.7.

v13_6_5:
=======
fixed:
- Town gui did not resize when the towngrowth patch kicks in while the town gui
  is open.
- Cargodist -> poolsize of stations can shrink too.

v13_6_4:
=======
Fixed:
- Hotfix for CargoDist (fonso).

v13_6_3:
=======
Added:
-  <)- Town ratings patch: Option to select white strings only for population
       numbers.

v13_6_2:
=======
Added:
- Configurable Tree drag limit form 20 to 128 in singleplayer.

v13_6_1:
=======
Reverted:
- Adjecent Level Crossing patch to previous version.
  Roadvehicles were running into trains themselves.

  edit before posting v13_6_7:
  I will try it again and might re-add it, I did not really test properly
  (read: I kept my signals to close to the roqd crossing most likely).

v13_6:
=====
Updated:
- Adjecent level crossings to v3.

Fixed:
- Sometimes the cheat for not deviding vehicle income by daylenght facor would
  be enabled even if the player did not enable it (Most likely caused by
  the code being confused with previous use of another cheat).

v13_5
=====
Updated:
- Watch gui patch to v110_2 (compiler warning fixed).

New GRFs needed:
- speedsignals.grf
- progsignals.grf

Fixed:
- Silly mistake (in the patchpack) while updating the departureboards patch:
  it was no longer possible no to set timetable start dates. (hthhs fixed it)
- Wrong background colour was shown in the smallmap owner view when showing
  heightlevels was disabled.

New feature:
- Allow to show the flood warning colour or not in the advanced options.
- Cheat: Option to not devide vehicle income by daylenght factor.

v13_1:
=====
Fixed:
- The semaphore versions of the speed- and programmable signals had swapped
  places in the gui. 

v13:
===
Updated:
- Trafficlights patch to extended version 06.

New file:
- trafficlight.h

New feature:
- Option to select distance between trafficlights for synchronysing them.

Fixed:
- Required GRFs decompiled and recompiled with DOS sprites. 
- A few more strings in dutch.txt.
- Removing rail with exit signals on them is no longer allowed in one go to
  prevent crashes with the programmable signals patch.
  Todo: allow removing if there is no progsig dependancy on them, or if it is a
  progsig does not depend on another signal.
- Display the cargos correctly in the town gui if newgrf change the "goods" with
  towngrowth effect (FIRS, ECS).

v12_29:
======
Updated:
- Chunnel patch to v16.
- DepartureBoards patch to v19.

Added:
- Speedsignals (hthhs)
- CD_no_overload (hthhs)
  Prevents/reduces the linkgraph overloading when distributing cargo
  (extension to CargoDist.)
 
Added feature:
- The heightlevel below which we allow the extra logic for industry placement
  (level more than 1 heightlevel) is now configurable in
  Advanced Settings->Economy->Industries.

Changed:
- Towns and cities have different demands
  (number of "goods" required, not number of requirements).
- Towns and cities can have different populations before having demands.
- Towns and cities can have different dificulty settings in regards of amount
  of demands for towngrowth.

New known bug:
- Some sprites of the Trafficlights and the Copypaste patch introduced are shown
  in the Dos-pallete (the blacktiles that the moreheightlevels patch introduced
  are forced to the windows pallete).

v12_27:
======
Updated:
- Departureboards patch to v18.
- Chunnel patch to v15.

Added feature:
- Switch for displaying linkgraphs for all companies or only own company in the
  smallmap (Still need to integrate Cargodist's ingame overlay where you can
  choose per company).

Fixed:
- It was possible to set the trafficlights consist (synchronised trafficlights)
  to off, setting it to this value effectively meant that there was no limit to
  the size of the consist (even 32 is already too much as it will slow down the
  game extremely).
- Advanced setting for linkgraph recalculation graphic interval still showed the
  value in days. Changed to "* 74 ticks" so that the line is always correct, even
  with higher daylengh factors.
- When loading old savegames/scenarios sometimes trafficlights were placed on
  roadtiles (also on non-crossings). Added some code in afterload.cpp that iterates
  over the map and removes all trafficlights (only for savegames that were created
  before the trafficlights patch was included.).
- The growthrate of towns was not multiplied by the transported ratio of all
  requirements in the correct place.
- Temporary fix for the crahsing in the train info tab when an Improved breakdown
  occurs (some info will not be available in the train information tab untill
  fixed properly).

Changed:
- Growth rate percent is now hidden in the town gui if the town is too small to
  have demands. 
- Max station classes (slots) extended to 96 (Max number of GRFs is still 255.)

v12_17:
======
Updated:
- Town growth patch to v020.

Fixed:
- Typo in towngrowth (growth rate would be two times too big for larger towns).
- Displayed time in minutes was trunctated in timetable gui with larger fonts. (hthhs)
- Mean value of required percentages for transported ratio (towngrowth).

Changed:
- Measurements hotkey default is now "SHIFT + R".
- Default for townsize before needing goods set to 9000, max setting is 20000.
- Demand for passengers and mail for towngrowth are now also adjusted according
  to the town cargo generation factor.

Extended:
- More difficulty options for the towngrowth patch.

v12:
===
New file:
table/settings.h

Added patches:
- Town_growth based on transported goods (Has option to be turned off and select
  difficulty).
- Configurable amount of desert tiles/line. Now you can have as much desert/tropical
  forests as you want.

Fixed:
- On mapgeneration trees were generated everywhere instead of only below the
  treeline height used for mapgeneration.
- Cargodist linkgraph recalculation ignores the daylenght factor now.
- Missing message and resulting crash when resizing a heightmap too much (FS#4457).
- Crash: Buttons for invalid companies were drawn in the watch_gui. When clicking
  one the game crashed (Adjusted OnInvalidateData()).
- Fix: Programmable signals gui was not updated when inserting programming
  (Adjusted OnInvalidateData()).
- Crash: Programmable signals crashed when removing an instruction (Same fix as above).

Changed:
- When deactivating the automated timetables times are preserved unless you hold
  Ctrl while doing so.

Extended:
- Trafficlights now can look three tiles away for synchronising the green/red phase.
  Also consists can have 32 signal now.

v11_9_9_4:
=========
Updated:
- CargoDist (partially ... again).

Added patches:
- Improved breakdowns.
- Trafficlights.

New files:
- trafficlight.cpp
- trafficlight_func.h
- trafficlight_type.h

Newgrf needed:
- trafficlights.grf

v11_9_9:
=======
Fixed:
- Removed last remains of station_gui patch (I thought it was still needed for
  waypoints but I was wrong).

New files removed:
- station_type_matrix.cpp
- station_type_matrix.h

v11_9_7:
========
Updated:
- Departureboardswallclock to v16.

Fixed:
- Saving and loading company profile patch had two bugs in it (patch for fix by Lollipop).
- Ticks per minute is now saved in the savegame.

New feature:
- CTRL cloning does not open new guis FS#4458... (While CTRL-cloning: if you 
  release CTRL before the vehicle appears in the depot the gui will open but the
  vehicle is still cloned with shared orders correctly).

New files:
- docs/linkgraph.txt (CargoDist)

v11_9_6:
=======
Updated:
- Departureboardswalclock to v15.

Fixed:
- Assert when building trees above game creation treeline (instead we check the
  ingame treeline now when adding trees ingame).
- Setting snowline and treeline higher then the old max values was not possible
  but in the scenario editor (Now it does not respect the maximum when the
  moreheightlevels patch is off ...).

v11_9_5:
=======
Fixed:
- Removed copypaste from scenario editor (Does not work correctly there anyway).
- Adjusted maximum scrolling north of the map to
  max_possible_tileheight + toolbar + 150 pixels for tall building (instead of 200).
- Put back an assert in tree_cmd.cpp (after fixing conditions in CanPlantTreesOnTile()).
- Company owner view in smallmap_gui.

v11_8_3:
=======
- Bump to trunk.
- Added lots of TODOs, not all are bugs though.
- Includes r18802 (breaks trunk compatibility even more but will be restored
  after I break compatibility with previous versions).
- Displaying vehicles in tunnels is now automatically disabled in the main menu
  (can not be enabled).
- Disabled experimental, not correct, cargo payment code and re-enabled pay 1 in
  case of less than 1. (OwenP)

v11_8_2: (testversion posted)
=======
- Bumped to r21816. (I was not yet done ... obviously.)
- Includes an update for the departureboards patch -> to v13.
- Includes the "three lines" change for the terraforming limit.
- Includes outcommented code, testing and WIP -> fractional income (Do not bother
  checking, it does not yet work, for the moment 1 is still returned in case of
  income smaller than 1).
- Has not yet all known todos marked as TODO.
- Includes another code revert -> r21802 as savegame compatibility was broken
  with previous versions of the patchpack. I first needed to find which codechange
  had broken it before knowing what to fix. -> not yet re-reverted but marked as
  todo (soon or when I break savegame compatibility with previous versions).
- Broken terraforming is fixed? (Terraform limit does not yet work as it should.)

v11_8:
=====
Updated:
- Improved station build gui partially removed (Station part in trunk r21755).

Fixed
- Disable setting the start date in the vehicle timetable gui when autoseparation is on.

v11_7:
=====
Updated:
- Departureboards to r21699.
- CargoDist to r21666.

Fixed:
- CopyPaste patch tilehighlighting caused crashes. (Thank you, Alberth)

v11_6:
=====
Updated:
- Cargodist to r21642.
- Partial refit reduced to the all button (Trunk in r21567).

Changed:
- When vehicle income is too low to display due to the daylength factor pay 1. 
    Todo:  Use fractional revenue.
- Adjusted CopyPaste to trunk.
- Adjusted Wallclock (departures gui patch) to trunk (strgen_tables.h, strings.cpp).
- Adjusted measurements tools to trunk.

v11_5:
=====
Update:
- Partial refit patch.
- Departure boards wallclock patch to v10 (departure and arrival times can now
  be on the same line in the gui).
- CargoDist updated to r21511.

Fixed:
- Windows failed to compile. (MagicBuzz)
- Fixed a bugsie with the refit selection box. (Terkhen)
- Infrastructure sharing, acc_cache -> gcache (in infrastructure.cpp).
- Compiler warnings in viewport.cpp. (oberhümer)

Todo:
- Adjust copy paste patch to TILE_AREA_LOOP and remove (re-introduced) TILE_LOOP.
  (I had too because it was broken more than it was already, both template preview
  and pasting, and did not feel much at fiddling much more at the time.)

v11_4:
=====
Updated:
- Updated the partial_refit patch to current version. No more crashes
  when refitting aircraft.

Fixed:
- Bump to trunk. (Waypoint gui might need some more adjustment to use the new code
  provided by trunk -> still need to check as I have kept the code as was before
  to test first and get a new diff against trunk for easier comparing).
    False alarm, the gui did not resize because I had no additional depots loaded.
- Adjusted vehicle income according to daylength.
- Infrastructure sharing income was shown incorrectly.
- Fixed the departureboards showing canceled.

v11_3:
=====
Removed:
- Build_while_paused_in_scenario_editor patch (Trunk in r21430).

v11_2:
=====
Added:
- Infrastructure sharing (updated by MagicBuzz).

Removed:
- Natural sorting. In trunk in 21344.

Updated:
- Cargodist to r21370.
- Partial refit to curent version.

New files in the src folder:
- infrastructure.cpp
- infrastructure_func.h

New files removed:
- strnatcmp.cpp
- strnatcmp.h

Fixed:
- Town shrinkage adjusted to daylength factor (Nickel_plate).
- Exclusive rights counter adjusted to daylength.

v11_1:
=====
Updated:
- Natural sorting of strings (New files removed and code moved elsewhere).
- Group_info_21293 (profit buttons in front of vehicles and a fix).

Added:
- Start/stop all AIs console commands r21218 (by MagicBuzz).

v11:
===
Updated:
- Departureboardswallclock8.
- Moreheightlevels_v32_9_1 + changes (changes will be exported to v33 ...).
- CargoDist_r21293.
- Station-build-gui_v7.

Added:
- Departure_vehicletimetableskip1.
- Option in advanced settings to change treeline ingame so older savegames can
  be fixed easily (Independant from mapgeneration.)(reported by NekoMaster).
- Natural sorting of strings (Moved the new files to core folder).
- Group_info_r21289.
- Partial refit (Made the patchqueue 1 svn patch for easier inclusion/removal
  if/when moved to trunk).

New files in the widgets folder:
- station_type_matrix.cpp.
- station_type_matrix.h.

New files in the core folder: (removed in v11_1)
- strnatcmp.cpp
- strnatcmp.h

Fixed:
- Partial fix for copypaste preview. Rails now show again (Thank you Yexo).
- Do the same fix for treeline as was done for snowline in r21078.
- Aircraft entering the map at too low altitude (reported by Kogut).
- Sometimes when selecting the treeline on new game generation, the up arrow
  enabled/disabled state was not properly updated.
- A few typos in dutch.txt.
- 1 missing line added in programmable signals patch -> yapf_costrail.hpp.

v10_7:
=====
Updated:
- More Height Levels to v32_5_r21043 (lots of coding style, removed some debugging code).
- Departuresboardwallclock v8b3_r21039.

Fixed:
- It was not possible to disable the automated timetable for vehicles that already
  had automated timetables enabled,
  when the setting was disabled in the Advanced Settings during playtime afterwards.
- The advanced setting is removed but automated timetables can still be enabled
  in the timetable gui.
   Note: For vehicles that have automated timetables the following settings are
   disabled while automation is enabled.
   - Autofill the timetable.
   - Change time (both travel time and waiting time at stations).
   - Clear time (both travel time and waiting time at stations).
   Extra note:
   I could have left the above settings enabled but they would have been overwriten anyway.

v10_6:
=====
Updated:
- More height levels to v32_3.
- Departureboardswallclock2-r20920.

Semi updated:
- CargoDist to r20925 (linkgraphs is still at 20851).

Fixed:
- When saving the company profile the button was not visually pressed down.

Added:
- Timetables_change_all_stations: Change all waiting times for all stations at once.
  Hold ctrl to activate.

v10_2: (not posted)
======
updated:
- Cargodist to r20851.
- Departureboardswallclock1-r20851.

v10_1:
======
updated:
- Bigger maps patch to r20829 (Bugfix when clicking very large maps with
  debugging tools on).
- Cargodist to r20839 (Smallmap positioning bugfix).
- More height levels to v31_2 (Land is already levelled bugfix,
  new terrafoming code->closer to trunk).
- Departures-clock to 0.83 (Departures board did not always work correctly).

v10:
====
Updated:
- Cargodist to r20802 (mostly coding style).
- More height levels to v30_1 (minus smallmap positioning fix and missing
  "is already levelled" message fix).

Added:
Departure boards- 24h clock patch.

v9_9_9:
=======
Updated:
- More height levels to v30_r20761.
- CargoDist updated to r20762.

Changed:
- New mapgeneration seed only when you click the random button
  (yes, CTRL + new Game still uses random seed too ;) ).

v9_9_6:
=======
- Syntax change in copypaste patch.

v9_9_5:
=======
- Cargodist updated. I made a misstake while bumping it myself.

v9_9_4:
=======
- Cargodist updated to r20500.
- More height levels updated to trunk (No functional changes).
- Leasing removed.

v9_9_1:
=======
- Last version that had leasing patch.

v9_9:
=====
- Bump to 20505.
- Fixed the station build gui problem. It should work as before now.
- Removed split refit temporarily. I will try to get it back in but I'd rather
  fix one thing at a time ...

v9_8:
=====
Updated:
- Leasing patch updated to v3_r20424.
- Moreheightlevels updated to 27_10_r20481.
- Cargodist updated to r20479.

Added:
- Max_grf_v0.2.
- Company_profile_20363_v02.

Changed:
max station grfs = 64.

v9_3:
====
Updated:
- Signals in tunnels and on bridges to r20363. No more crashing while
  drag-removing signals from bridges and tunnels.

Removed:
Diesel smoke as it is in trunk now.

v9:
===
Updated:
- Diesel smoke is back, updated to v3_1.
- Panorama screenshot updated to v3 (Extended with console command).
- Cargodist to r20274.

Added:
- Watch other company's gui patch.
- Reduced tree growth patch.
- Vehicle leasing.

Changed:
- r19896 breaks many of my savegames and interferes with my playingstyle.
  IMHO the back of a one way signal is not a safe waiting place.
  Sorry Devs but that is how I feel about it.
  I have made it a switch in Advanced Settings->Vehicles->Routing so everybody is happy ...
  Default is on. <- As trunk is now.

Fixed:
- Sometimes the refit options can not be selected until the gui is resized. (Kogut)
- Crash when removing the wagons from an engine in the depot while the refit window
  was open.
- Right click on a station tile in the improved build station gui to show the
  tooltips did not work properly. (Muzzy)

v8:
===
Updated:
- Moreheightlevels to r20202
- Cargodist to r20211

Added:
- Close adjacent level crossing.
- Panorama screenshot.
- Measurement tool (Extended to scenario editor).
- Configurable Treeline height (Extended to all climates and adapted to fit the
  moreheightlevels patch).

Removed:
The extra hotkey for opening the cheat gui is gone. We have hotkeys.cfg now.

Disabled for the moment:
- Diesel smoke patch.
  It causes a segmentation fault after loading some savegames (eg. Coop's PublicServerGame_188).
  If you want, you can enable it by following instructions in train_cmd.cpp.
  (Search for "diesel smoke disabled for now ..." 1/4 to 4/4 and do as suggested
  in TODO:, below each there is another TODO)
  The segmentation fault does not seem to happen with new games nor does it happen
  with all loaded savegames. A good reason for disabling it is that it also
  crashed my long lasting savegame ... :(
  Once I can figure out what causes the crash I might enable it again.

v7:
===
Updated:
- Cargodist updated to r20016.
- More height levels updated to v27_4_r20026.

v6_3:
=====
Updated:
- Cargodist to r19884.
- More height levels to v26_4_r19876.

Bugfixes:
- Forgot to include a line in smallmap_gui (patchpack against r19815).
- Litle bugfix in the smallmap aircraft position drawing (@see Cargodist thread).
- Vehicle would dissappear from the smallmap when zooming in (@see Cargodist thread).
- Aircraft would crash into mountains instead of increasing altitude causing the
  game to crash (@see More height levels thread).

v6_2:
=====
Added:
- Split refit r19699.
- Buy bigger area r18518.
- Vehicles in tunnels viewable and clickable. Patch by SmatZ that I have found
  on the coopserver.

Updated:
- Progsigs to r19677.
- Moreheightlevels to v25_06_r19815.
- Cargodist to r19815.

New shortcut
- CTRL + SHIFT + C opens the cheat gui.
  CTRL + ALT + C was not working on my pc and CTRL + ALT + WINDOWS + C neither.
  I have not removed the old shortcut, only added another one.

Retuned:
- Larger map patch:
  By request maximum mapsize is now 8192 * 8192 tiles. This means that if one side
  is 32768 the other can be maximal 2048. (Until the previous version it was 32768 * 128 )
  Be warned though. I have 1024 MB memory and when I try to generate a map of
  size 8192 * 8192 my game crashes because of not having sufficient memory. Also
  big maps cause a serious performance hit on the system,
  even before you have build your first vehicle.

v6:
===
Added:
- Copy_paste.

Updated:
- Progsigs to r19677.
- Moreheightlevels to v25_2_r19692.
- Cargodist to r19733.

Needed grf
- copypaste.grf in the data folder NOT in the newgrf folder.
  Get it here: viewtopic.php?p=440743#p440743 .

v5:
===
Added and changed:
- Sprinkles: variable daylenght, town cargo factor, more autosave options,
  longer vehicle names, and more.
- I have changed the running_ticks from byte to int16 to avoid them overflowing
  when using higher daylenght settings then 3.

Added:
- Programmable Signals r19642. Thank you Cadde, for taking the time to merge the
  programmable signals patch with the signal in tunnels and on bridges patch.
- Build while pause in editor r19627.
- Show system time window.

Updated:
- Cargodist to r19639.

v4_2:
====
Updated:
- Cargodist updated to r19596.
- More Height Levels to r19599.

Retuned:
- More Height Levels: While generating a map, IND_LEVELLING_MAX_HEIGHT is limited
  to level 60 instead of level 20.
- Signals in tunnels and bridges: Signal gap is 4 tiles instead of 6.

v4:
===
Updated:
- Cargodist to r19561 (demands_settings.h does no longer exist).
- Station build gui to v6.2_r19525.

Added and changed:
- Diesel smoke.
- Stuck trains.

v3:
===
- Bumbedybump to r19477.
- Added larger maps patch: Retuned! Maximum map size remains 2048 * 2048.
  Maximum map side size is 32768.
- Added town rating colours.
- Added signals in tunnels and on bridges.
- Added chunnel.
- Updated automatic timetable and vehicle seperation.

v2:
===
Added:
- Improved Build Station GUI.

Updated:
- Cargodist: small bug fixed in smallmap , update in economy.cpp.
- Moreheightlevels: smallmap heightlevelcolours updated.

v1:
===
Added:
- More height level.
- Cargo distribution.
- Automated timetable and seperation.

v0:
