^^^ My pleasure.
I found my crashy problem ... Three guesses ...
1. ... No.
2. ... Nope.
3. As usual ... I forgot to make some needed changes in CargoDist.
Anyhoo while that issue is fixed, I have the title screen running for about half an hour now and another reported_bug.sav I could no longer load without crashing loads again, I found two other issues. Who would have guessed ...
1. I do not think it's OpenTTD's fault but gcc 4.4 and 4.5 can no longer build debug builds using the "./configure --enable-debug=3" command. (see codeblock after issue 2)
Lucky me, I still have my Ubuntu 9.04 installation and could test with gcc 4.3 which compiles it correctly and gave me the needed backtrace to get an indication on what was wrong with my code and fix the error.
2. I did not get Ubuntu 9.04 to compile with lzma ... liblzma-dev is not recognised as a package ... and installing lzma-dev did not solve my issue.
Anyone familiar on how to solve this? I would appreciate any help as that would enable me to debug compressed savegames since I do not think that I will be able to build debug builds on 10.10 by tomorrow ...
Here is the output when trying to compile a
clean trunk debug build using gcc4.5:
Code: Select all
[SRC] Compiling pathfinder/yapf/yapf_rail.cpp
In member function ‘bool CYapfRailNodeT<Tkey_>::IterateTiles(const Train*, Tpf&, Tbase&, bool (Tfunc::*)
(TileIndex, Trackdir)) const [with Tbase = CYapfReserveTrack<CYapfRail_TypesT<CYapfRail1, CFollowTrackT
<(TransportType)0u, Train, true, false>, CNodeList_HashTableT<CYapfRailNodeT<CYapfNodeKeyTrackDir>,
12, 16>, CYapfDestinationTileOrStationRailT, CYapfFollowRailT> >, Tfunc = CYapfReserveTrack<CYapfRail_TypesT
<CYapfRail1, CFollowTrackT<(TransportType)0u, Train, true, false>, CNodeList_HashTableT<CYapfRailNodeT
<CYapfNodeKeyTrackDir>, 12, 16>, CYapfDestinationTileOrStationRailT, CYapfFollowRailT> >, Tpf = CYapfRail1,
Tkey_ = CYapfNodeKeyTrackDir]’:
cc1plus: internal compiler error: Segmentatiefout
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make[1]: *** [pathfinder/yapf/yapf_rail.o] Fout 1
Yes, the docs folder points at 4.4 but I do have 4.5 installed.
Can someone on Ubuntu 10.10 comfirm this please before I go pester the peeps who maintain gcc++.
I think 4.4 is installed by default as I installed 4.5 myself to test.
Now where was I before all me trouble started... Oh yeah, trafficlights, towngrowth and updating linkgraps faster.
Faster linkgraphs is already done.

If you want to test yourself before I have posted the next version, open moving_average.cpp and replace DAY_TICKS with ORIG_DAY_TICKS (2 times in the code and 2 times in the comments.)
Linkgraphs are updated much faster as is expected but I do not yet know if that solves all the issues timofp had noticed ... I did not get to test much yet between updating Ubuntu and finding the crashy thinghy ...
I have a newer version of that towngrowth patch ...
After digging a bit deeper in the code I found that in toyland food is fizzy drinks and goods is sweets so I only had to add some strings and the code to display the correct ones depending on climate. I reverted the toys code I had alreay added but I may re-add it later after getting the basics to work correctly. (-> goods and food).
Will post in a bit after having checked the code for obvious errors. (Sorry for the delay, Dwight, but with the issues I had to solve first ...)
Now that I have a hopefully crashfree game again I can try to add the trafficlights patch. Noone reported errors for a few days now so I guess it is pretty stable. (Unless everybody waits to bombard me after I have included it ...

)
Ps:
I have not yet forgotten about your crashreport Muzzly ...