------------------------------------------------------------------------ r1962 | Darkvater | 2005-03-08 17:47:28 +0000 (Tue, 08 Mar 2005) | 1 line - SVN: set eol-style property for the last file ------------------------------------------------------------------------ r1961 | Darkvater | 2005-03-08 17:32:34 +0000 (Tue, 08 Mar 2005) | 1 line - Fix: [ 1158618 ] Segmentation fault when loading savegame, out of bounds array check. ------------------------------------------------------------------------ r1960 | Darkvater | 2005-03-08 17:28:41 +0000 (Tue, 08 Mar 2005) | 24 lines - SVN: ignore some files created with KDevelop - SVN: set eol-style properly for some of the newly added files _M . _M npf.c _M debug.c _M npf.h _M debug.h _M lang/unfinished/frisian.txt _M lang/unfinished/lithuanian.txt _M lang/unfinished/estonian.txt _M pool.c _M depot.c _M pool.h _M depot.h _M string.c _M string.h _M strings.h _M table/sprites.h _M table/currency.h _M table/files.h _M namegen.h ------------------------------------------------------------------------ r1959 | Celestar | 2005-03-08 16:27:26 +0000 (Tue, 08 Mar 2005) | 1 line -Fix: Repaired two memleaks I have hacked :( ------------------------------------------------------------------------ r1958 | pasky | 2005-03-08 00:26:30 +0000 (Tue, 08 Mar 2005) | 1 line GenerateStationName() tidyup. ------------------------------------------------------------------------ r1957 | pasky | 2005-03-08 00:18:31 +0000 (Tue, 08 Mar 2005) | 1 line Compilation fix. ------------------------------------------------------------------------ r1956 | matthijs | 2005-03-07 23:28:27 +0000 (Mon, 07 Mar 2005) | 2 lines -Fix: [NPF] New target tile for heuristic should perform better with larger stations (HackyKid) ------------------------------------------------------------------------ r1955 | pasky | 2005-03-07 13:20:22 +0000 (Mon, 07 Mar 2005) | 1 line Fix: Make the town growth frequency scale properly both up and down. The scaling is now also based on the number of towns instead of the map size. (In cooperation with HackyKid.) ------------------------------------------------------------------------ r1954 | pasky | 2005-03-07 11:36:05 +0000 (Mon, 07 Mar 2005) | 1 line Fix: The new AI now does not think it can connect to the road by building its piece of road above the end of a tunnel anymore. ------------------------------------------------------------------------ r1953 | pasky | 2005-03-07 00:39:41 +0000 (Mon, 07 Mar 2005) | 1 line Codechange: Tidyup, reduced ridiculous indentation levels, some sprintf()s replced by snprintf()s. ------------------------------------------------------------------------ r1952 | pasky | 2005-03-06 23:46:52 +0000 (Sun, 06 Mar 2005) | 1 line Fix: Hopefully fixed the enormous towns growth slowdown in large maps. (Inspired by toholio.) ------------------------------------------------------------------------ r1951 | pasky | 2005-03-06 23:21:57 +0000 (Sun, 06 Mar 2005) | 1 line 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. ------------------------------------------------------------------------ r1950 | pasky | 2005-03-06 22:28:35 +0000 (Sun, 06 Mar 2005) | 15 lines 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. ------------------------------------------------------------------------ r1949 | pasky | 2005-03-06 21:20:34 +0000 (Sun, 06 Mar 2005) | 1 line Fixed the CzechChoose usage in the Czech word tables. Now selecting colours actually works. ------------------------------------------------------------------------ r1948 | pasky | 2005-03-06 17:09:08 +0000 (Sun, 06 Mar 2005) | 1 line Add an explicit copyright notice regarding the Czech town names generator and an offer to help. :-) ------------------------------------------------------------------------ r1947 | pasky | 2005-03-06 16:58:42 +0000 (Sun, 06 Mar 2005) | 1 line 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 ------------------------------------------------------------------------ r1946 | pasky | 2005-03-06 16:53:00 +0000 (Sun, 06 Mar 2005) | 1 line 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 ;-) ------------------------------------------------------------------------ r1945 | darkvater | 2005-03-06 16:23:32 +0000 (Sun, 06 Mar 2005) | 2 lines - 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 ------------------------------------------------------------------------ r1944 | pasky | 2005-03-06 16:08:19 +0000 (Sun, 06 Mar 2005) | 1 line Make --help output for -d at least somewhat useful. ------------------------------------------------------------------------ r1943 | pasky | 2005-03-06 15:22:28 +0000 (Sun, 06 Mar 2005) | 1 line Show the sprite ID in the check_length() error message. Also show the correct sprite ID in the spriteskip notice. ------------------------------------------------------------------------ r1942 | tron | 2005-03-06 15:15:27 +0000 (Sun, 06 Mar 2005) | 1 line Fix r1938 ------------------------------------------------------------------------ r1941 | pasky | 2005-03-06 13:57:19 +0000 (Sun, 06 Mar 2005) | 1 line Report missing NewGRF file as a fatal error. ------------------------------------------------------------------------ r1940 | pasky | 2005-03-06 13:55:40 +0000 (Sun, 06 Mar 2005) | 1 line TODO about usrerror(). ------------------------------------------------------------------------ r1939 | tron | 2005-03-06 12:56:02 +0000 (Sun, 06 Mar 2005) | 1 line Revert part of r1938 which accidently crept in ------------------------------------------------------------------------ r1938 | tron | 2005-03-06 12:54:19 +0000 (Sun, 06 Mar 2005) | 1 line Miscellaneous cleanups: const correctness, kill a goto, ... ------------------------------------------------------------------------ r1937 | tron | 2005-03-06 12:46:29 +0000 (Sun, 06 Mar 2005) | 1 line TILE_FROM_XY() returns a TileIndex, not an int ------------------------------------------------------------------------ r1936 | tron | 2005-03-06 12:41:18 +0000 (Sun, 06 Mar 2005) | 1 line End some void-pointer-as-int-abuse; this also fixes a latent bug where a TileIndex was only 24bit wide (on 32bit architectures) ------------------------------------------------------------------------ r1935 | tron | 2005-03-06 12:33:33 +0000 (Sun, 06 Mar 2005) | 1 line Missing braces; while here turn the ifs into a single switch ------------------------------------------------------------------------ r1934 | tron | 2005-03-06 12:31:07 +0000 (Sun, 06 Mar 2005) | 1 line Small cleanup (uint -> TileIndex, (uint)-1 -> INVALID_TILE and similar stuff) ------------------------------------------------------------------------ r1933 | tron | 2005-03-06 12:26:38 +0000 (Sun, 06 Mar 2005) | 1 line typedef socklen_t for BeOS ------------------------------------------------------------------------ r1932 | pasky | 2005-03-06 00:39:38 +0000 (Sun, 06 Mar 2005) | 1 line Fix: [SDL] On Linux console, the backquote scancode is 41. Let's hope nothing conflicts with it in X. ------------------------------------------------------------------------ r1931 | pasky | 2005-03-05 22:21:43 +0000 (Sat, 05 Mar 2005) | 1 line Added Krystofova, Udoli and Hut. Zdar is s. masc., not s. neut. ------------------------------------------------------------------------ r1930 | pasky | 2005-03-05 22:21:02 +0000 (Sat, 05 Mar 2005) | 1 line Cleaned up the postfix-ending connecting code and introduced some simple postfix-last-letter transformations when the ending first letter is 'i'. ------------------------------------------------------------------------ r1929 | pasky | 2005-03-05 21:00:13 +0000 (Sat, 05 Mar 2005) | 10 lines Feature: [namegen] Support for dynamic generation of the Czech town names. The static names are still used in 1/4 of cases. I think the tables for dynamic generation must look pretty spectacular. :-) New stems are still needed and there can be occasional glitches, please let me know. I guess that this method of dynamic generation could be used for at least Slovak town names, too. And possibly other Slavic languages? ------------------------------------------------------------------------ r1928 | tron | 2005-03-05 18:44:26 +0000 (Sat, 05 Mar 2005) | 1 line Miscellaneous cleanups (data types, whitespace, const correctness) ------------------------------------------------------------------------ r1927 | tron | 2005-03-05 17:41:51 +0000 (Sat, 05 Mar 2005) | 1 line Replace implementation of UpdateStationAcceptance(). The new one doesn't malloc() and calculates the station area in one pass instead of 3 ------------------------------------------------------------------------ r1926 | pasky | 2005-03-05 14:54:11 +0000 (Sat, 05 Mar 2005) | 9 lines Codechange: Renamed some of the predefined town names arrays for consistent naming. - name_spanish_1, name_french_1, name_czech_1, name_romanian_1, name_finnish_1 and name_german_hardcoded were renamed to *_real. - name_slovakish_1 was renamed to name_slovak_real. - name_finnish_2[ab] was renamed to name_finnish[12]. - Added comment near the town_names setting definition about the "Slovakish" pigginess. ------------------------------------------------------------------------ r1925 | pasky | 2005-03-05 13:49:43 +0000 (Sat, 05 Mar 2005) | 1 line Fixed an infinite loop if the town generator runs out of town names. The number of generated towns is then limited by the number of available names. ------------------------------------------------------------------------ r1924 | tron | 2005-03-04 10:34:44 +0000 (Fri, 04 Mar 2005) | 1 line Use same type names in declaration and implementation ------------------------------------------------------------------------ r1923 | Darkvater | 2005-03-04 00:14:28 +0000 (Fri, 04 Mar 2005) | 2 lines - Fix: [ 1155696 ] Crash with german umlauts in station names. The width was not calculated using unsigned values, so all characters above 128 were "negative" - Codechange: a more proper check for a null pointer in tunnelbridge_cmd.c should have gone in with the previous commit ------------------------------------------------------------------------ r1922 | Darkvater | 2005-03-03 23:26:35 +0000 (Thu, 03 Mar 2005) | 1 line - Fix: Disappearing of crashed trains inside tunnels were not checked properly. ------------------------------------------------------------------------ r1921 | tron | 2005-03-03 19:54:46 +0000 (Thu, 03 Mar 2005) | 1 line -Fix: Out of bounds array access which caused oil rigs to accept other cargo types besides passengers and mail ------------------------------------------------------------------------ r1920 | truelight | 2005-03-03 14:56:28 +0000 (Thu, 03 Mar 2005) | 2 lines -Fix: no longer a station where you only unload is bad for your town-rating ------------------------------------------------------------------------ r1919 | truelight | 2005-03-01 19:32:55 +0000 (Tue, 01 Mar 2005) | 2 lines -Fix: Minimum profit of vehicles was calculated wrong for Performance Rating ------------------------------------------------------------------------