Commit Graph

  • a1143a53f0 (svn r2229) - Fix: [ 1188777 ] Non-existing sprite #5125 (presignal). The DOS grf file trgi.grf has 6 less sprites than the windows one. This results in some segfaults for certain sprites. Fixed it by added a dummy grf file consisting ofr 6 sprites and loaded when using DOS gfx at the appropiate place. Darkvater 2005-04-24 21:44:45 +00:00
  • e9f8449d55 (svn r2229) - Fix: [ 1188777 ] Non-existing sprite #5125 (presignal). The DOS grf file trgi.grf has 6 less sprites than the windows one. This results in some segfaults for certain sprites. Fixed it by added a dummy grf file consisting ofr 6 sprites and loaded when using DOS gfx at the appropiate place. Darkvater 2005-04-24 21:44:45 +00:00
  • 11dc0e1777 (svn r2228) - Fix: [ 1188986 ] Song in main menu screen should loop when it ends. Darkvater 2005-04-24 19:04:56 +00:00
  • adaf7832d4 (svn r2228) - Fix: [ 1188986 ] Song in main menu screen should loop when it ends. Darkvater 2005-04-24 19:04:56 +00:00
  • 762b5f7a75 (svn r2227) - Fix (regression): [ 1188408 ] Fix news settings load check. When updating old news-message-types to new ones, certain combinations of new were wrongly recognized as old (glx) Darkvater 2005-04-24 18:24:29 +00:00
  • 9e1520b268 (svn r2227) - Fix (regression): [ 1188408 ] Fix news settings load check. When updating old news-message-types to new ones, certain combinations of new were wrongly recognized as old (glx) Darkvater 2005-04-24 18:24:29 +00:00
  • 5d192d7150 (svn r2226) -Fix: 2 other capital problems for the OSX part of the Makefile truelight 2005-04-24 16:01:36 +00:00
  • e58773e6ce (svn r2226) -Fix: 2 other capital problems for the OSX part of the Makefile truelight 2005-04-24 16:01:36 +00:00
  • facd3d1af1 (svn r2225) -Fix: split the endian-detection to target/host. Now cross-compiling on i386-linux for MacOSX should also work for the language-files (strgen issues) truelight 2005-04-24 15:41:01 +00:00
  • 27f80e09e3 (svn r2225) -Fix: split the endian-detection to target/host. Now cross-compiling on i386-linux for MacOSX should also work for the language-files (strgen issues) truelight 2005-04-24 15:41:01 +00:00
  • 176c155193 (svn r2224) -Fix: capital-correctness for OSX-dir-names truelight 2005-04-24 12:47:09 +00:00
  • b195b77906 (svn r2224) -Fix: capital-correctness for OSX-dir-names truelight 2005-04-24 12:47:09 +00:00
  • 566df8dc65 (svn r2223) When adding tracks to a railway tile reset the ground to bare land, fix for a glitch in r2131 tron 2005-04-24 07:56:18 +00:00
  • 738ea43ce1 (svn r2223) When adding tracks to a railway tile reset the ground to bare land, fix for a glitch in r2131 tron 2005-04-24 07:56:18 +00:00
  • 6ceeedfd3c (svn r2222) Check the parameters of Cmd{Insert,Delete,Modify,Skip}Order() and CmdRestoreOrderIndex(): - Check if the vehicle exists - Check if the vehicle belongs to the correct player - Check if the new order is valid (type, destination, flags) (CmdInsertOrder) tron 2005-04-22 05:41:09 +00:00
  • cadc38eb49 (svn r2222) Check the parameters of Cmd{Insert,Delete,Modify,Skip}Order() and CmdRestoreOrderIndex(): - Check if the vehicle exists - Check if the vehicle belongs to the correct player - Check if the new order is valid (type, destination, flags) (CmdInsertOrder) tron 2005-04-22 05:41:09 +00:00
  • 591217da4a (svn r2221) - Fix: "Map size" is two words. Also draw the string right-aligned in the intro gui so it doesn't matter how long it is in other languages. Darkvater 2005-04-21 16:20:38 +00:00
  • 9bda9327e1 (svn r2221) - Fix: "Map size" is two words. Also draw the string right-aligned in the intro gui so it doesn't matter how long it is in other languages. Darkvater 2005-04-21 16:20:38 +00:00
  • 403845c9ca (svn r2220) Put two TileIndices into temporary variables to improve readability tron 2005-04-21 16:13:52 +00:00
  • 6572b48cc5 (svn r2220) Put two TileIndices into temporary variables to improve readability tron 2005-04-21 16:13:52 +00:00
  • 1265478a98 (svn r2219) [Translations] Updated to 2005-04-21_2 (40 strs / 5 langs) miham 2005-04-21 06:56:16 +00:00
  • feda65a88b (svn r2219) [Translations] Updated to 2005-04-21_2 (40 strs / 5 langs) miham 2005-04-21 06:56:16 +00:00
  • c731091941 (svn r2218) Indentation tron 2005-04-21 05:51:47 +00:00
  • 156aabea2d (svn r2218) Indentation tron 2005-04-21 05:51:47 +00:00
  • c8f07a2dd9 (svn r2217) - Fix: [ 1184201 ] AI orders its vehicles to a competitor's truck stop. Added a CmdFailed() check to all command returns of the AI instead of the simple == / != CMD_ERROR check. This should fix the problem. Darkvater 2005-04-20 22:30:40 +00:00
  • b12c73b050 (svn r2217) - Fix: [ 1184201 ] AI orders its vehicles to a competitor's truck stop. Added a CmdFailed() check to all command returns of the AI instead of the simple == / != CMD_ERROR check. This should fix the problem. Darkvater 2005-04-20 22:30:40 +00:00
  • 1b312083fc (svn r2216) [Translations] Updated to 2005-04-21 (67 strs / 6 langs) miham 2005-04-20 22:24:39 +00:00
  • 6e4f1b5a4b (svn r2216) [Translations] Updated to 2005-04-21 (67 strs / 6 langs) miham 2005-04-20 22:24:39 +00:00
  • 29347840c2 (svn r2215) - Feature: Add a temporary mapsize selector to the intro gui. This is sufficient until the real window is designed & coded. Darkvater 2005-04-20 12:52:02 +00:00
  • 53135e91ba (svn r2215) - Feature: Add a temporary mapsize selector to the intro gui. This is sufficient until the real window is designed & coded. Darkvater 2005-04-20 12:52:02 +00:00
  • cc65bd1702 (svn r2214) - Fix: Dragging the desert tool over half-desert turns it into full-desert; dragging the tool while pressing ctrl, will remove the desert area. Darkvater 2005-04-19 18:30:31 +00:00
  • dc415a9624 (svn r2214) - Fix: Dragging the desert tool over half-desert turns it into full-desert; dragging the tool while pressing ctrl, will remove the desert area. Darkvater 2005-04-19 18:30:31 +00:00
  • 0f08e83553 (svn r2213) -Fix/Feature/Codechange: [ Multistop ] Changed the algo so that it uses NPF. This fixes the problem of RVs attempting to go to unreachable stops [ 1161610 ], and should greatly reduce the wrong stop problem. Cleaned parts of the code celestar 2005-04-18 05:42:59 +00:00
  • 2d26058dce (svn r2213) -Fix/Feature/Codechange: [ Multistop ] Changed the algo so that it uses NPF. This fixes the problem of RVs attempting to go to unreachable stops [ 1161610 ], and should greatly reduce the wrong stop problem. Cleaned parts of the code celestar 2005-04-18 05:42:59 +00:00
  • 51c56287f0 (svn r2212) [Translations] Updated to 2005-04-17 (139 strs / 3 langs) miham 2005-04-17 19:44:05 +00:00
  • 62089b8f2f (svn r2212) [Translations] Updated to 2005-04-17 (139 strs / 3 langs) miham 2005-04-17 19:44:05 +00:00
  • 972448d5ae (svn r2211) - Fix(ish): When eternally looping in 2090 don't go increasing the inflation anymore because it will just rise to insanely high values beyond all imagination. Darkvater 2005-04-16 20:37:17 +00:00
  • b73df26236 (svn r2211) - Fix(ish): When eternally looping in 2090 don't go increasing the inflation anymore because it will just rise to insanely high values beyond all imagination. Darkvater 2005-04-16 20:37:17 +00:00
  • 878cebaa70 (svn r2210) - Fix: When a road-station is deleted, also delete the assigned slots of all vehicles headed to that station. This fixes an assertion, thanks go to Tron for finding the cause. Darkvater 2005-04-16 20:10:24 +00:00
  • 4e580d2ade (svn r2210) - Fix: When a road-station is deleted, also delete the assigned slots of all vehicles headed to that station. This fixes an assertion, thanks go to Tron for finding the cause. Darkvater 2005-04-16 20:10:24 +00:00
  • 0fa9c23225 (svn r2209) - CodeChange: [ 1184348 ] Remove unused _newspaper_flag that was supposed to be some ugly hack for chatting (gonewacko) Darkvater 2005-04-16 18:09:24 +00:00
  • dc193d2f00 (svn r2209) - CodeChange: [ 1184348 ] Remove unused _newspaper_flag that was supposed to be some ugly hack for chatting (gonewacko) Darkvater 2005-04-16 18:09:24 +00:00
  • 6edd6a850a (svn r2208) - Fix: [ 1174237 ] Max loan always in euros, use _opt_ptr instead of _opt (glx) Darkvater 2005-04-16 16:16:54 +00:00
  • b3d7216848 (svn r2208) - Fix: [ 1174237 ] Max loan always in euros, use _opt_ptr instead of _opt (glx) Darkvater 2005-04-16 16:16:54 +00:00
  • 7a787a672d (svn r2207) - Update readme.txt about some windows compilation and troubleshooting running openttd without a soundcard. Darkvater 2005-04-16 15:56:58 +00:00
  • 31915cd8d7 (svn r2207) - Update readme.txt about some windows compilation and troubleshooting running openttd without a soundcard. Darkvater 2005-04-16 15:56:58 +00:00
  • 31dfae8aa2 (svn r2206) - Regression Fix: slight typo of res2 into res, this also fixes recent bug "[ 1183396 ] Train can't find depot, it gives money in Multiplayer" Darkvater 2005-04-15 21:37:56 +00:00
  • c13223a2bf (svn r2206) - Regression Fix: slight typo of res2 into res, this also fixes recent bug "[ 1183396 ] Train can't find depot, it gives money in Multiplayer" Darkvater 2005-04-15 21:37:56 +00:00
  • 19dc0a8561 (svn r2205) - Fixup of revision 2200, not twice CMD_REMOVE_LONG_ROAD :p. Thanks TrueLight. Darkvater 2005-04-15 20:23:54 +00:00
  • 4a7bc0de2a (svn r2205) - Fixup of revision 2200, not twice CMD_REMOVE_LONG_ROAD :p. Thanks TrueLight. Darkvater 2005-04-15 20:23:54 +00:00
  • bb22f72ad9 (svn r2204) - Add: [NPF] NPF now has a maximum number of nodes it will search. The default value is 5000 for now, which is an educated guess. Probably needs some finetuning. Hopefully this "feature" can be removed later on, when more sophisticated means of limiting the pathfinder have been implemented. This should make ships and larger networks playable for now, though. matthijs 2005-04-15 15:28:01 +00:00
  • c6f40b4696 (svn r2204) - Add: [NPF] NPF now has a maximum number of nodes it will search. The default value is 5000 for now, which is an educated guess. Probably needs some finetuning. Hopefully this "feature" can be removed later on, when more sophisticated means of limiting the pathfinder have been implemented. This should make ships and larger networks playable for now, though. matthijs 2005-04-15 15:28:01 +00:00
  • 3c3507c822 (svn r2203) [Translations] Updated to 2005-04-15 (25 strs / 5 langs) miham 2005-04-15 13:50:08 +00:00
  • 7b673ec0cb (svn r2203) [Translations] Updated to 2005-04-15 (25 strs / 5 langs) miham 2005-04-15 13:50:08 +00:00
  • 4eeac3ea75 (svn r2202) - Fix: [NPF] When a vehicle could not reach its target, it would choose a random direction. It will now try to get as close as possible. matthijs 2005-04-15 13:48:08 +00:00
  • c08314a43a (svn r2202) - Fix: [NPF] When a vehicle could not reach its target, it would choose a random direction. It will now try to get as close as possible. matthijs 2005-04-15 13:48:08 +00:00
  • 174030a15f (svn r2201) - Fix: Crash in scenario-editor with terraforming out-of-map bounds. Darkvater 2005-04-14 22:59:49 +00:00
  • 1e13bf3d27 (svn r2201) - Fix: Crash in scenario-editor with terraforming out-of-map bounds. Darkvater 2005-04-14 22:59:49 +00:00
  • 2e58ce2fd9 (svn r2200) - Fix [ 1179892 ] click & drag removal of road assertion fail. Add CMD_REMOVE_LONG_ROAD to the 'notest' section as it might have difficulties with town ratings, etc. Read the comment for more info (mgasterix) Darkvater 2005-04-14 22:07:39 +00:00
  • 371d8f8386 (svn r2200) - Fix [ 1179892 ] click & drag removal of road assertion fail. Add CMD_REMOVE_LONG_ROAD to the 'notest' section as it might have difficulties with town ratings, etc. Read the comment for more info (mgasterix) Darkvater 2005-04-14 22:07:39 +00:00
  • d5bcf62e5c (svn r2199) [Translations] Updated to 2005-04-14 (188 strs / 13 langs) miham 2005-04-14 21:34:15 +00:00
  • 166e1fa992 (svn r2199) [Translations] Updated to 2005-04-14 (188 strs / 13 langs) miham 2005-04-14 21:34:15 +00:00
  • 3e470708a6 (svn r2198) renamed MacOS to MacOSX where it was written wrong. Made myself MacOSX porter as well as coder bjarni 2005-04-14 20:42:30 +00:00
  • 9bd93a1148 (svn r2198) renamed MacOS to MacOSX where it was written wrong. Made myself MacOSX porter as well as coder bjarni 2005-04-14 20:42:30 +00:00
  • 5572a92c58 (svn r2197) -fix [Makefile]: SDL_CONFIG from makefile.config is now not always overwritten -fix [OSX]: fixed issue where OSX could not compile the java MIDI app if SHOW_WARNINGS was on (introduced in r1917) -fix [OSX]: the midi class file is now also deleted with make clear bjarni 2005-04-14 13:46:40 +00:00
  • dadec920a0 (svn r2197) -fix [Makefile]: SDL_CONFIG from makefile.config is now not always overwritten -fix [OSX]: fixed issue where OSX could not compile the java MIDI app if SHOW_WARNINGS was on (introduced in r1917) -fix [OSX]: the midi class file is now also deleted with make clear bjarni 2005-04-14 13:46:40 +00:00
  • ecc0cd37f4 (svn r2196) -Change: updated the Makefile, now it works for crossplatform compiling (and distcc compiling via Makefile.config). Wiki is coming up soon! Big tnx to Bjarni and Lucaspiller. TrueLight 2005-04-14 12:57:21 +00:00
  • 6ff14a99cb (svn r2196) -Change: updated the Makefile, now it works for crossplatform compiling (and distcc compiling via Makefile.config). Wiki is coming up soon! Big tnx to Bjarni and Lucaspiller. TrueLight 2005-04-14 12:57:21 +00:00
  • cada1e24b5 (svn r2195) Add CmdFailed() as the One True Way(tm) to check if a command failed. tron 2005-04-14 11:17:36 +00:00
  • 1f5a66404f (svn r2195) Add CmdFailed() as the One True Way(tm) to check if a command failed. tron 2005-04-14 11:17:36 +00:00
  • 3b9931fcba (svn r2194) [Translations] Updated to 2005-04-14 (12 strs / 5 langs) miham 2005-04-14 09:58:04 +00:00
  • b44019b5b3 (svn r2194) [Translations] Updated to 2005-04-14 (12 strs / 5 langs) miham 2005-04-14 09:58:04 +00:00
  • 3a4c1ce351 (svn r2193) - SVN: Set ignore on the last couple of annoying files Darkvater 2005-04-13 23:07:13 +00:00
  • 200b81ee6e (svn r2193) - SVN: Set ignore on the last couple of annoying files Darkvater 2005-04-13 23:07:13 +00:00
  • febae668fe (svn r2192) - Add greater control to the 'message options' window. Now you can turn off the telegraphc ticker sound for summarized messages, or turn off news-messages altogether (you get a red blot to notify you though). The [<][>] set the settings in one way, while clicking on the option itself, cycles it. This commit also 'fixes' bugs [1166973], [1121484] and patch [1169930]. - I also changed an order of strings from On, Off to Off, On, so this can be used ingame with the WWT_4 widget type. - Since the newssettings now take 2 bits per setting (off/summary/on) _news_display_opt is widened to 32 bits and the settings code changed slightly to accomodate for a maximum of 16 message-types. Darkvater 2005-04-13 23:03:31 +00:00
  • e25dfa6e7e (svn r2192) - Add greater control to the 'message options' window. Now you can turn off the telegraphc ticker sound for summarized messages, or turn off news-messages altogether (you get a red blot to notify you though). The [<][>] set the settings in one way, while clicking on the option itself, cycles it. This commit also 'fixes' bugs [1166973], [1121484] and patch [1169930]. - I also changed an order of strings from On, Off to Off, On, so this can be used ingame with the WWT_4 widget type. - Since the newssettings now take 2 bits per setting (off/summary/on) _news_display_opt is widened to 32 bits and the settings code changed slightly to accomodate for a maximum of 16 message-types. Darkvater 2005-04-13 23:03:31 +00:00
  • 7f4b636559 (svn r2191) -Add: OpenTTD now compiles with dietlibc (Aard) truelight 2005-04-13 18:36:29 +00:00
  • f36354a70f (svn r2191) -Add: OpenTTD now compiles with dietlibc (Aard) truelight 2005-04-13 18:36:29 +00:00
  • 860242b811 (svn r2190) - Fix: [1179424] '.. (Parent directory)' does not show up in the root-directory anymore; win32 only (mgasterix) darkvater 2005-04-13 13:09:25 +00:00
  • 5960857d9d (svn r2190) - Fix: [1179424] '.. (Parent directory)' does not show up in the root-directory anymore; win32 only (mgasterix) darkvater 2005-04-13 13:09:25 +00:00
  • 02f5818912 (svn r2189) Introduce and use IsCompatibleTrainStationTile() This should prevent trains, which are longer than the station, to turn around without stopping under certain circumstances and fix speed limit for trains entering a station, when realistic accerlation is used tron 2005-04-12 10:31:26 +00:00
  • 53d30138b2 (svn r2189) Introduce and use IsCompatibleTrainStationTile() This should prevent trains, which are longer than the station, to turn around without stopping under certain circumstances and fix speed limit for trains entering a station, when realistic accerlation is used tron 2005-04-12 10:31:26 +00:00
  • 277d9d237b (svn r2188) Revert r2185, because trains always accerlated (Requested by Celestar) tron 2005-04-12 09:21:04 +00:00
  • beb185248b (svn r2188) Revert r2185, because trains always accerlated (Requested by Celestar) tron 2005-04-12 09:21:04 +00:00
  • e00785a855 (svn r2187) Implement a slightly better workaround than r1588 did. (Joint effort with Celestar) tron 2005-04-12 09:17:51 +00:00
  • 2b0c6b6acc (svn r2187) Implement a slightly better workaround than r1588 did. (Joint effort with Celestar) tron 2005-04-12 09:17:51 +00:00
  • 8724ba8e01 (svn r2186) [Translations] Refreshed translations (20 strs/3 langs) miham 2005-04-12 07:29:37 +00:00
  • 35e5844be3 (svn r2186) [Translations] Refreshed translations (20 strs/3 langs) miham 2005-04-12 07:29:37 +00:00
  • 4601cd1366 (svn r2185) -Fix: Made sure that the realistic acceleration does not freeze trains anymore celestar 2005-04-11 21:10:47 +00:00
  • cc53b11637 (svn r2185) -Fix: Made sure that the realistic acceleration does not freeze trains anymore celestar 2005-04-11 21:10:47 +00:00
  • 2397ff86e6 (svn r2184) - CodeChange: remove the copy of ClearSlot(), which is now also called for CmdSkipOrder(). This also fixes the involuntary crash introduced 2 revisions ago Darkvater 2005-04-11 20:54:25 +00:00
  • 4719c452e8 (svn r2184) - CodeChange: remove the copy of ClearSlot(), which is now also called for CmdSkipOrder(). This also fixes the involuntary crash introduced 2 revisions ago Darkvater 2005-04-11 20:54:25 +00:00
  • 90cc36f7e2 (svn r2183) - Fix: Removed brackets from around STRAIGHT_TRACK_LENGTH, they caused preliminary rounding... matthijs 2005-04-11 20:19:41 +00:00
  • 78eeb84d6b (svn r2183) - Fix: Removed brackets from around STRAIGHT_TRACK_LENGTH, they caused preliminary rounding... matthijs 2005-04-11 20:19:41 +00:00
  • f5d9cb58eb (svn r2182) - Add: [NPF] There is now a debug class for NPF. Use -d npf<level> to enable debugging printouts from npf. - Codechange: [NPF] Removed NPF_MARKROUTE macro, to mark routes just specify a npf debugging level >= 1 on the commandline. matthijs 2005-04-11 19:53:44 +00:00
  • 1858c37346 (svn r2182) - Add: [NPF] There is now a debug class for NPF. Use -d npf<level> to enable debugging printouts from npf. - Codechange: [NPF] Removed NPF_MARKROUTE macro, to mark routes just specify a npf debugging level >= 1 on the commandline. matthijs 2005-04-11 19:53:44 +00:00
  • b02dde1982 (svn r2181) - Add: DistanceTrack() to calculate the distance over optimally laid out tracks. - Codechange: [NPF] Removed unused heuristic function NPFCalcTileHeuristic(). - Codechange: [NPF] Use DistanceTrack() instead of DistanceManhattan() for ship and train heuristic. - Codechange: Renamed variables x and y to dx and dy in some of the distance calculation functions. matthijs 2005-04-11 19:14:48 +00:00
  • 81fd47ac28 (svn r2181) - Add: DistanceTrack() to calculate the distance over optimally laid out tracks. - Codechange: [NPF] Removed unused heuristic function NPFCalcTileHeuristic(). - Codechange: [NPF] Use DistanceTrack() instead of DistanceManhattan() for ship and train heuristic. - Codechange: Renamed variables x and y to dx and dy in some of the distance calculation functions. matthijs 2005-04-11 19:14:48 +00:00
  • a714444a8e (svn r2180) -Fix: Deceleration code now only takes into account rail station tiles for computing the remaining distance celestar 2005-04-11 14:59:06 +00:00
  • ec0358f850 (svn r2180) -Fix: Deceleration code now only takes into account rail station tiles for computing the remaining distance celestar 2005-04-11 14:59:06 +00:00