Commit Graph

  • e5121e70d0 (svn r1979) Const correctness tron 2005-03-09 21:54:52 +00:00
  • eea2dc6c78 (svn r1979) Const correctness tron 2005-03-09 21:54:52 +00:00
  • 9bd079d425 (svn r1978) - Fix: Plug some memleaks; thanks Valgrind Darkvater 2005-03-09 19:48:20 +00:00
  • 4f2816db05 (svn r1978) - Fix: Plug some memleaks; thanks Valgrind Darkvater 2005-03-09 19:48:20 +00:00
  • 9bc68d209f (svn r1977) Typedef some enums and struct plus some minor style changes tron 2005-03-09 19:42:37 +00:00
  • 0f44f9af60 (svn r1977) Typedef some enums and struct plus some minor style changes tron 2005-03-09 19:42:37 +00:00
  • e6e3e69da4 (svn r1976) Cleanups - mostly indentation and fiddling with loops tron 2005-03-09 19:09:04 +00:00
  • 9d1526e0a4 (svn r1976) Cleanups - mostly indentation and fiddling with loops tron 2005-03-09 19:09:04 +00:00
  • 750a265531 (svn r1975) Minor tweaking of the Czech name generator tables. pasky 2005-03-09 18:19:13 +00:00
  • 5420bd97da (svn r1975) Minor tweaking of the Czech name generator tables. pasky 2005-03-09 18:19:13 +00:00
  • 95fafc7c25 (svn r1974) Cleanups, quite similar to those done to win32.c in r1972 (code duplication, anyone?) tron 2005-03-09 17:45:51 +00:00
  • 821cb2b45f (svn r1974) Cleanups, quite similar to those done to win32.c in r1972 (code duplication, anyone?) tron 2005-03-09 17:45:51 +00:00
  • 0f3bb838d8 (svn r1973) Ignore the Windows binaries tron 2005-03-09 17:03:28 +00:00
  • 6dfef317bf (svn r1973) Ignore the Windows binaries tron 2005-03-09 17:03:28 +00:00
  • 11ba413c4a (svn r1972) Several cleanups and fix some latent bugs tron 2005-03-09 16:56:26 +00:00
  • dec8ac91e3 (svn r1972) Several cleanups and fix some latent bugs tron 2005-03-09 16:56:26 +00:00
  • 6e1e4f1dc2 (svn r1971) -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 celestar 2005-03-09 15:37:36 +00:00
  • 95b12777ff (svn r1971) -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 celestar 2005-03-09 15:37:36 +00:00
  • 34f14e657d (svn r1970) Fix some warnings which Cygwin showed tron 2005-03-09 11:49:34 +00:00
  • 5f1345ac0e (svn r1970) Fix some warnings which Cygwin showed tron 2005-03-09 11:49:34 +00:00
  • a571f31c95 (svn r1969) - GUI: Replace vehicle dropdown menu now looks a bit more comform the ones used throughout the game. Darkvater 2005-03-08 23:20:47 +00:00
  • c0ac4cfe51 (svn r1969) - GUI: Replace vehicle dropdown menu now looks a bit more comform the ones used throughout the game. Darkvater 2005-03-08 23:20:47 +00:00
  • b7747b50ce (svn r1968) - Fix: [NPF] Mixed declarations and statements matthijs 2005-03-08 22:28:59 +00:00
  • 82e55eb591 (svn r1968) - Fix: [NPF] Mixed declarations and statements matthijs 2005-03-08 22:28:59 +00:00
  • 0e367ba541 (svn r1967) Codechange: A mix of mostly indentation-related tidyups. pasky 2005-03-08 22:21:20 +00:00
  • 05455047a1 (svn r1967) Codechange: A mix of mostly indentation-related tidyups. pasky 2005-03-08 22:21:20 +00:00
  • 83d3f85636 (svn r1966) - Fix: [ 1110437 ] Replace Vehicles GUI gets random clicks. Breaks people! Don't forget the breaks in switch() statements!! Darkvater 2005-03-08 21:47:22 +00:00
  • 5c08ac3b93 (svn r1966) - Fix: [ 1110437 ] Replace Vehicles GUI gets random clicks. Breaks people! Don't forget the breaks in switch() statements!! Darkvater 2005-03-08 21:47:22 +00:00
  • 4206d8f955 (svn r1965) - Fix: [NPF] Forgot to update one line where NPFGetFlag() should have been used two commits ago. matthijs 2005-03-08 20:13:21 +00:00
  • e9a1752683 (svn r1965) - Fix: [NPF] Forgot to update one line where NPFGetFlag() should have been used two commits ago. matthijs 2005-03-08 20:13:21 +00:00
  • aea57f2026 (svn r1964) - Add: [NPF] Added a penalty matthijs 2005-03-08 19:59:56 +00:00
  • e7af60594b (svn r1964) - Add: [NPF] Added a penalty matthijs 2005-03-08 19:59:56 +00:00
  • 232e41f2ff (svn r1963) - 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 matthijs 2005-03-08 19:54:10 +00:00
  • 6a5495f83c (svn r1963) - 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 matthijs 2005-03-08 19:54:10 +00:00
  • d781d7ec00 (svn r1962) - SVN: set eol-style property for the last file Darkvater 2005-03-08 17:47:28 +00:00
  • b13879675f (svn r1962) - SVN: set eol-style property for the last file Darkvater 2005-03-08 17:47:28 +00:00
  • 3e51317236 (svn r1961) - Fix: [ 1158618 ] Segmentation fault when loading savegame, out of bounds array check. Darkvater 2005-03-08 17:32:34 +00:00
  • 5ee5ec1770 (svn r1961) - Fix: [ 1158618 ] Segmentation fault when loading savegame, out of bounds array check. Darkvater 2005-03-08 17:32:34 +00:00
  • 9c7d3f7f67 (svn r1960) - SVN: ignore some files created with KDevelop - SVN: set eol-style properly for some of the newly added files Darkvater 2005-03-08 17:28:41 +00:00
  • fb94a0c265 (svn r1960) - SVN: ignore some files created with KDevelop - SVN: set eol-style properly for some of the newly added files Darkvater 2005-03-08 17:28:41 +00:00
  • 7473cef063 (svn r1959) -Fix: Repaired two memleaks I have hacked :( Celestar 2005-03-08 16:27:26 +00:00
  • 79b2a245e6 (svn r1959) -Fix: Repaired two memleaks I have hacked :( Celestar 2005-03-08 16:27:26 +00:00
  • bcc9dcd210 (svn r1958) GenerateStationName() tidyup. pasky 2005-03-08 00:26:30 +00:00
  • 99499094a9 (svn r1958) GenerateStationName() tidyup. pasky 2005-03-08 00:26:30 +00:00
  • f2e45daf54 (svn r1957) Compilation fix. pasky 2005-03-08 00:18:31 +00:00
  • 2002aaead1 (svn r1957) Compilation fix. pasky 2005-03-08 00:18:31 +00:00
  • b43a52128f (svn r1956) -Fix: [NPF] New target tile for heuristic should perform better with larger stations (HackyKid) matthijs 2005-03-07 23:28:27 +00:00
  • 26c4e9e931 (svn r1956) -Fix: [NPF] New target tile for heuristic should perform better with larger stations (HackyKid) matthijs 2005-03-07 23:28:27 +00:00
  • 0e4828e732 (svn r1955) 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.) pasky 2005-03-07 13:20:22 +00:00
  • 5483b77865 (svn r1955) 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.) pasky 2005-03-07 13:20:22 +00:00
  • 771bd349cb (svn r1954) 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. pasky 2005-03-07 11:36:05 +00:00
  • 380d601ca0 (svn r1954) 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. pasky 2005-03-07 11:36:05 +00:00
  • 6c60ff92ff (svn r1953) Codechange: Tidyup, reduced ridiculous indentation levels, some sprintf()s replced by snprintf()s. pasky 2005-03-07 00:39:41 +00:00
  • 1c41c61305 (svn r1953) Codechange: Tidyup, reduced ridiculous indentation levels, some sprintf()s replced by snprintf()s. pasky 2005-03-07 00:39:41 +00:00
  • f1f1783aa8 (svn r1952) Fix: Hopefully fixed the enormous towns growth slowdown in large maps. (Inspired by toholio.) pasky 2005-03-06 23:46:52 +00:00
  • 43fbe3b2da (svn r1952) Fix: Hopefully fixed the enormous towns growth slowdown in large maps. (Inspired by toholio.) pasky 2005-03-06 23:46:52 +00:00
  • 028ef2b5b5 (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 2005-03-06 23:21:57 +00:00
  • 55185ab6aa (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 2005-03-06 23:21:57 +00:00
  • 6902a8b294 (svn r1950) Fix: A slight adjustment in the DoRandom() function which however causes dramatic improvement in the distribution of random numbers. pasky 2005-03-06 22:28:35 +00:00
  • b5b85a6297 (svn r1950) Fix: A slight adjustment in the DoRandom() function which however causes dramatic improvement in the distribution of random numbers. pasky 2005-03-06 22:28:35 +00:00
  • feb907d225 (svn r1949) Fixed the CzechChoose usage in the Czech word tables. Now selecting colours actually works. pasky 2005-03-06 21:20:34 +00:00
  • 274f19a2bf (svn r1949) Fixed the CzechChoose usage in the Czech word tables. Now selecting colours actually works. pasky 2005-03-06 21:20:34 +00:00
  • bb5b89eb26 (svn r1948) Add an explicit copyright notice regarding the Czech town names generator and an offer to help. :-) pasky 2005-03-06 17:09:08 +00:00
  • 18821a1fa3 (svn r1948) Add an explicit copyright notice regarding the Czech town names generator and an offer to help. :-) pasky 2005-03-06 17:09:08 +00:00
  • a0c157eea8 (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 2005-03-06 16:58:42 +00:00
  • 904700fc9f (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 2005-03-06 16:58:42 +00:00
  • 4a6a7028a9 (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 2005-03-06 16:53:00 +00:00
  • 2375414315 (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 2005-03-06 16:53:00 +00:00
  • eb3671b647 (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 darkvater 2005-03-06 16:23:32 +00:00
  • 43f62fb0d8 (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 darkvater 2005-03-06 16:23:32 +00:00
  • 97b2635e7d (svn r1944) Make --help output for -d at least somewhat useful. pasky 2005-03-06 16:08:19 +00:00
  • 00b9d1f09a (svn r1944) Make --help output for -d at least somewhat useful. pasky 2005-03-06 16:08:19 +00:00
  • 39743082b4 (svn r1943) Show the sprite ID in the check_length() error message. Also show the correct sprite ID in the spriteskip notice. pasky 2005-03-06 15:22:28 +00:00
  • 25aa47448d (svn r1943) Show the sprite ID in the check_length() error message. Also show the correct sprite ID in the spriteskip notice. pasky 2005-03-06 15:22:28 +00:00
  • 2e3465cb49 (svn r1942) Fix r1938 tron 2005-03-06 15:15:27 +00:00
  • 83cbb7b1da (svn r1942) Fix r1938 tron 2005-03-06 15:15:27 +00:00
  • 7ee6d0fa62 (svn r1941) Report missing NewGRF file as a fatal error. pasky 2005-03-06 13:57:19 +00:00
  • 92da198d9a (svn r1941) Report missing NewGRF file as a fatal error. pasky 2005-03-06 13:57:19 +00:00
  • 0ae7df4a95 (svn r1940) TODO about usrerror(). pasky 2005-03-06 13:55:40 +00:00
  • a8a0e45554 (svn r1940) TODO about usrerror(). pasky 2005-03-06 13:55:40 +00:00
  • 3e142a6297 (svn r1939) Revert part of r1938 which accidently crept in tron 2005-03-06 12:56:02 +00:00
  • 29521b0a59 (svn r1939) Revert part of r1938 which accidently crept in tron 2005-03-06 12:56:02 +00:00
  • aee2b0c50a (svn r1938) Miscellaneous cleanups: const correctness, kill a goto, ... tron 2005-03-06 12:54:19 +00:00
  • 12b223b3f9 (svn r1938) Miscellaneous cleanups: const correctness, kill a goto, ... tron 2005-03-06 12:54:19 +00:00
  • 9973e97b84 (svn r1937) TILE_FROM_XY() returns a TileIndex, not an int tron 2005-03-06 12:46:29 +00:00
  • cec0261223 (svn r1937) TILE_FROM_XY() returns a TileIndex, not an int tron 2005-03-06 12:46:29 +00:00
  • e748280622 (svn r1936) End some void-pointer-as-int-abuse; this also fixes a latent bug where a TileIndex was only 24bit wide (on 32bit architectures) tron 2005-03-06 12:41:18 +00:00
  • 505ecdc6b4 (svn r1936) End some void-pointer-as-int-abuse; this also fixes a latent bug where a TileIndex was only 24bit wide (on 32bit architectures) tron 2005-03-06 12:41:18 +00:00
  • a4a09e73d5 (svn r1935) Missing braces; while here turn the ifs into a single switch tron 2005-03-06 12:33:33 +00:00
  • 42520c1cc3 (svn r1935) Missing braces; while here turn the ifs into a single switch tron 2005-03-06 12:33:33 +00:00
  • a747e2bb97 (svn r1934) Small cleanup (uint -> TileIndex, (uint)-1 -> INVALID_TILE and similar stuff) tron 2005-03-06 12:31:07 +00:00
  • 3892aece72 (svn r1934) Small cleanup (uint -> TileIndex, (uint)-1 -> INVALID_TILE and similar stuff) tron 2005-03-06 12:31:07 +00:00
  • 4c9b6b44d5 (svn r1933) typedef socklen_t for BeOS tron 2005-03-06 12:26:38 +00:00
  • 7b5a306de3 (svn r1933) typedef socklen_t for BeOS tron 2005-03-06 12:26:38 +00:00
  • 71906d09b7 (svn r1932) Fix: [SDL] On Linux console, the backquote scancode is 41. Let's hope nothing conflicts with it in X. pasky 2005-03-06 00:39:38 +00:00
  • b2b0f8b3f6 (svn r1932) Fix: [SDL] On Linux console, the backquote scancode is 41. Let's hope nothing conflicts with it in X. pasky 2005-03-06 00:39:38 +00:00
  • fb98c932b2 (svn r1931) Added Krystofova, Udoli and Hut. Zdar is s. masc., not s. neut. pasky 2005-03-05 22:21:43 +00:00
  • 0566d80b16 (svn r1931) Added Krystofova, Udoli and Hut. Zdar is s. masc., not s. neut. pasky 2005-03-05 22:21:43 +00:00
  • 2a78d3efa9 (svn r1930) Cleaned up the postfix-ending connecting code and introduced some simple postfix-last-letter transformations when the ending first letter is 'i'. pasky 2005-03-05 22:21:02 +00:00
  • 84e376806e (svn r1930) Cleaned up the postfix-ending connecting code and introduced some simple postfix-last-letter transformations when the ending first letter is 'i'. pasky 2005-03-05 22:21:02 +00:00