------------------------------------------------------------------------ r2003 | tron | 2005-03-12 09:48:08 +0000 (Sat, 12 Mar 2005) | 1 line Remove some now unused filehandling stuff, this should have been part of r1990 ------------------------------------------------------------------------ r2002 | tron | 2005-03-12 09:46:07 +0000 (Sat, 12 Mar 2005) | 1 line Rename MxActivate to MxActivateChannel, which is more appropriate ------------------------------------------------------------------------ r2001 | tron | 2005-03-12 09:40:29 +0000 (Sat, 12 Mar 2005) | 1 line Resolve a race condition which could lead to dropped a sound and a memory leak ------------------------------------------------------------------------ r2000 | tron | 2005-03-12 09:38:03 +0000 (Sat, 12 Mar 2005) | 1 line Split the sound system into backend (mixer.[ch]) and frontend (sound.[ch]) ------------------------------------------------------------------------ r1999 | tron | 2005-03-12 09:24:27 +0000 (Sat, 12 Mar 2005) | 1 line r1990 broke savegame deletion, fix that [1161729] ------------------------------------------------------------------------ r1998 | pasky | 2005-03-12 08:52:40 +0000 (Sat, 12 Mar 2005) | 1 line Give penalty 100 to the AI for using foundations (buildonslopes). This prevents it from building long road lines on foundations unless really necessary. ------------------------------------------------------------------------ r1997 | pasky | 2005-03-12 01:02:17 +0000 (Sat, 12 Mar 2005) | 1 line Fixed errorneous tab expansion on the indentation side which happenned in r1993. Pointed out by Tron. ------------------------------------------------------------------------ r1996 | pasky | 2005-03-11 22:48:37 +0000 (Fri, 11 Mar 2005) | 1 line makefile.config -> Makefile.config, that's its name. ------------------------------------------------------------------------ r1995 | pasky | 2005-03-11 22:47:33 +0000 (Fri, 11 Mar 2005) | 1 line Makefile: Use the install tool instead of mkdir+cp for installing the system-wide stuff, more secure. Based on Peter Brett's patch 1152428. ------------------------------------------------------------------------ r1994 | pasky | 2005-03-11 22:27:49 +0000 (Fri, 11 Mar 2005) | 1 line Fix: 1159456 - hopefully prevent the new AI to get stuck in an infinite loop forlorny trying to build its haven. Unintentionally bundled with trivial tidyup. ------------------------------------------------------------------------ r1993 | pasky | 2005-03-11 22:07:20 +0000 (Fri, 11 Mar 2005) | 1 line Fixed some devious [lack of] tabs usage. ------------------------------------------------------------------------ r1992 | pasky | 2005-03-11 19:35:50 +0000 (Fri, 11 Mar 2005) | 1 line Show the ./svnup.sh output in $PAGER (less if unset). ------------------------------------------------------------------------ r1991 | Darkvater | 2005-03-11 18:31:56 +0000 (Fri, 11 Mar 2005) | 1 line - Fix: Fix some of the gaping holes in the colouring, and added some additional info ------------------------------------------------------------------------ r1990 | tron | 2005-03-11 14:14:54 +0000 (Fri, 11 Mar 2005) | 1 line Reduce the diff between the OS specific files with respect to file handling and fix some inconsitencies (I hope I didn't break the OS/2 part, couldn't test it, feedback is welcome) ------------------------------------------------------------------------ r1989 | tron | 2005-03-11 13:17:39 +0000 (Fri, 11 Mar 2005) | 1 line -Feature: Resizable vehicle view windows; this is based on a patch by tmesisbob ------------------------------------------------------------------------ r1988 | Darkvater | 2005-03-11 00:32:24 +0000 (Fri, 11 Mar 2005) | 1 line - Docs: Added graphical representation of tile-data to docs section ------------------------------------------------------------------------ r1987 | Darkvater | 2005-03-10 22:03:55 +0000 (Thu, 10 Mar 2005) | 1 line - Cleanup: remove the last remaining dinosaurs of a dead console ------------------------------------------------------------------------ r1986 | Darkvater | 2005-03-10 21:44:17 +0000 (Thu, 10 Mar 2005) | 2 lines - Fix: free _config_file when shutting down openttd. Strange that Valgrind didn't catch this, kudos to TrueLight - Feature (small): new command-line option -c . You can have OpenTTD load alternative config files with this setup, handy for servers, or for saves from other players if you don't want to rename your own config. This will have to do until all game-related settings are saved ingame. Couldn't find the SF patch, so credits to the guy that wrote it. ------------------------------------------------------------------------ r1985 | miham | 2005-03-10 16:09:51 +0000 (Thu, 10 Mar 2005) | 1 line Automatic langfile updates ------------------------------------------------------------------------ r1984 | tron | 2005-03-10 15:41:25 +0000 (Thu, 10 Mar 2005) | 1 line -Fix: [1155762] Don't try to open the non-existent menu, when F10 is pressed ------------------------------------------------------------------------ r1983 | tron | 2005-03-10 15:23:13 +0000 (Thu, 10 Mar 2005) | 1 line Introduce multiple compile time debug levels ------------------------------------------------------------------------ r1982 | truelight | 2005-03-10 10:59:35 +0000 (Thu, 10 Mar 2005) | 2 lines -Fix: also windows has no 'fork' option ------------------------------------------------------------------------ r1981 | tron | 2005-03-10 07:01:43 +0000 (Thu, 10 Mar 2005) | 1 line Typedef some structs and enums ------------------------------------------------------------------------ r1980 | pasky | 2005-03-09 23:59:18 +0000 (Wed, 09 Mar 2005) | 1 line Check $DESTDIR if $DEST_DIR was not set. ------------------------------------------------------------------------ r1979 | tron | 2005-03-09 21:54:52 +0000 (Wed, 09 Mar 2005) | 1 line Const correctness ------------------------------------------------------------------------ r1978 | Darkvater | 2005-03-09 19:48:20 +0000 (Wed, 09 Mar 2005) | 1 line - Fix: Plug some memleaks; thanks Valgrind ------------------------------------------------------------------------ r1977 | tron | 2005-03-09 19:42:37 +0000 (Wed, 09 Mar 2005) | 1 line Typedef some enums and struct plus some minor style changes ------------------------------------------------------------------------ r1976 | tron | 2005-03-09 19:09:04 +0000 (Wed, 09 Mar 2005) | 1 line Cleanups - mostly indentation and fiddling with loops ------------------------------------------------------------------------ r1975 | pasky | 2005-03-09 18:19:13 +0000 (Wed, 09 Mar 2005) | 1 line Minor tweaking of the Czech name generator tables. ------------------------------------------------------------------------ r1974 | tron | 2005-03-09 17:45:51 +0000 (Wed, 09 Mar 2005) | 1 line Cleanups, quite similar to those done to win32.c in r1972 (code duplication, anyone?) ------------------------------------------------------------------------ r1973 | tron | 2005-03-09 17:03:28 +0000 (Wed, 09 Mar 2005) | 1 line Ignore the Windows binaries ------------------------------------------------------------------------ r1972 | tron | 2005-03-09 16:56:26 +0000 (Wed, 09 Mar 2005) | 1 line Several cleanups and fix some latent bugs ------------------------------------------------------------------------ r1971 | celestar | 2005-03-09 15:37:36 +0000 (Wed, 09 Mar 2005) | 1 line -Codechange: Got rid of two ugly gotos and replaced them by one elegant and one ugly non-goto. Credits for 1959 go to Darkvater. Sorry ------------------------------------------------------------------------ r1970 | tron | 2005-03-09 11:49:34 +0000 (Wed, 09 Mar 2005) | 1 line Fix some warnings which Cygwin showed ------------------------------------------------------------------------ r1969 | Darkvater | 2005-03-08 23:20:47 +0000 (Tue, 08 Mar 2005) | 1 line - GUI: Replace vehicle dropdown menu now looks a bit more comform the ones used throughout the game. ------------------------------------------------------------------------ r1968 | matthijs | 2005-03-08 22:28:59 +0000 (Tue, 08 Mar 2005) | 2 lines - Fix: [NPF] Mixed declarations and statements ------------------------------------------------------------------------ r1967 | pasky | 2005-03-08 22:21:20 +0000 (Tue, 08 Mar 2005) | 1 line Codechange: A mix of mostly indentation-related tidyups. ------------------------------------------------------------------------ r1966 | Darkvater | 2005-03-08 21:47:22 +0000 (Tue, 08 Mar 2005) | 1 line - Fix: [ 1110437 ] Replace Vehicles GUI gets random clicks. Breaks people! Don't forget the breaks in switch() statements!! ------------------------------------------------------------------------ r1965 | matthijs | 2005-03-08 20:13:21 +0000 (Tue, 08 Mar 2005) | 5 lines - Fix: [NPF] Forgot to update one line where NPFGetFlag() should have been used two commits ago. Message for last commit should have been: - Add: [NPF] Added penalty for curves, straighter paths are now preferred when the length is the same. (HackyKid) ------------------------------------------------------------------------ r1964 | matthijs | 2005-03-08 19:59:56 +0000 (Tue, 08 Mar 2005) | 2 lines - Add: [NPF] Added a penalty ------------------------------------------------------------------------ r1963 | matthijs | 2005-03-08 19:54:10 +0000 (Tue, 08 Mar 2005) | 3 lines - Add: [NPF] Penalty for a red signal that is the last signal on the path. - Add: [NPF] NPFGetFlag() and NPFSetFlag() to wrap NPF node flag handling ------------------------------------------------------------------------ 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? ------------------------------------------------------------------------