Sun, 06 Mar 2005 23:46:52 +0000(svn r1952) Fix: Hopefully fixed the enormous towns growth slowdown in large maps. (Inspired by toholio.)
pasky [Sun, 06 Mar 2005 23:46:52 +0000] rev 1448
(svn r1952) Fix: Hopefully fixed the enormous towns growth slowdown in large maps. (Inspired by toholio.)

Sun, 06 Mar 2005 23:21:57 +0000(svn r1951) Introduced SeedModChance() (which is like SeedChance() but uses simple modulo instead of bitshifting and multiplication), explained why does it work better, used it in MakeCzechTownName() and added a TODO note about possibly using it in the other town name generators too.
pasky [Sun, 06 Mar 2005 23:21:57 +0000] rev 1447
(svn r1951) Introduced SeedModChance() (which is like SeedChance() but uses simple modulo instead of bitshifting and multiplication), explained why does it work better, used it in MakeCzechTownName() and added a TODO note about possibly using it in the other town name generators too.

Sun, 06 Mar 2005 22:28:35 +0000(svn r1950) Fix: A slight adjustment in the DoRandom() function which however causes dramatic improvement in the distribution of random numbers.
pasky [Sun, 06 Mar 2005 22:28:35 +0000] rev 1446
(svn r1950) Fix: A slight adjustment in the DoRandom() function which however causes dramatic improvement in the distribution of random numbers.

With the original generator, e.g. Random()%44 on 100 attempts regularily
generated only 22 different values! With this adjustment, the distribution is
much more uniform, almost approaching the glibc's random() call.

This means the random numbers are actually usable i.e. for the town names
generators which almost never tried a large part of the names while others were
very frequent.

Note that we attempted to test whether the randomness did not degrade in some
other way, and it came clean from the tests we performed. If you spot anything
fishy, try without this patch, though.

Sun, 06 Mar 2005 21:20:34 +0000(svn r1949) Fixed the CzechChoose usage in the Czech word tables. Now selecting colours actually works.
pasky [Sun, 06 Mar 2005 21:20:34 +0000] rev 1445
(svn r1949) Fixed the CzechChoose usage in the Czech word tables. Now selecting colours actually works.

Sun, 06 Mar 2005 17:09:08 +0000(svn r1948) Add an explicit copyright notice regarding the Czech town names generator and an offer to help. :-)
pasky [Sun, 06 Mar 2005 17:09:08 +0000] rev 1444
(svn r1948) Add an explicit copyright notice regarding the Czech town names generator and an offer to help. :-)

Sun, 06 Mar 2005 16:58:42 +0000(svn r1947) As in r1946, permit DC_QUERY_COST even on non-depot tiles - so that it works for the ai_new. It is de iure not a bug yet but let's be safe against future annoying headaches. Signed-Off-By: TrueLight
pasky [Sun, 06 Mar 2005 16:58:42 +0000] rev 1443
(svn r1947) As in r1946, permit DC_QUERY_COST even on non-depot tiles - so that it works for the ai_new. It is de iure not a bug yet but let's be safe against future annoying headaches. Signed-Off-By: TrueLight

Sun, 06 Mar 2005 16:53:00 +0000(svn r1946) Fix: [AInew] Allow DC_QUERY_COST even on tiles with no depot built. This is used by the ai_new for deciding if it can afford the vehicles before actually building the depot. Was broken in r1728. Signed-Off-By: TrueLight ;-)
pasky [Sun, 06 Mar 2005 16:53:00 +0000] rev 1442
(svn r1946) Fix: [AInew] Allow DC_QUERY_COST even on tiles with no depot built. This is used by the ai_new for deciding if it can afford the vehicles before actually building the depot. Was broken in r1728. Signed-Off-By: TrueLight ;-)

Sun, 06 Mar 2005 16:23:32 +0000(svn r1945) - CodeChange: re-commit of rev 1835: "Reduce the visibility of network_core.h (Tron)".
darkvater [Sun, 06 Mar 2005 16:23:32 +0000] rev 1441
(svn r1945) - CodeChange: re-commit of rev 1835: "Reduce the visibility of network_core.h (Tron)".
- VS6/.NET: moved ENABLE_NETWORK to the project file setting (same place as WITH_SDL, WITH_ZLIB) and removed it from network_core.h

Sun, 06 Mar 2005 16:08:19 +0000(svn r1944) Make --help output for -d at least somewhat useful.
pasky [Sun, 06 Mar 2005 16:08:19 +0000] rev 1440
(svn r1944) Make --help output for -d at least somewhat useful.

Sun, 06 Mar 2005 15:22:28 +0000(svn r1943) Show the sprite ID in the check_length() error message. Also show the correct sprite ID in the spriteskip notice.
pasky [Sun, 06 Mar 2005 15:22:28 +0000] rev 1439
(svn r1943) Show the sprite ID in the check_length() error message. Also show the correct sprite ID in the spriteskip notice.