1
0
Fork 0

Commit Graph

  • 5d02a2c295 (svn r2169) -Fix: Doing the slot clearing also for crashed road vehicles (c.f. previous commit) celestar 2005-04-08 22:50:22 +0000
  • 7ef681eaed (svn r2168) - Fix: Various stages of invisible trains, and wrong v->u.rail.track combinations. When a vehicle was sold its (possibly) assigned road slot for multislot was not cleared, thus resulting in a bug confusion. This should fix [ 1178520 ] Assertion failure in ai.c (invalid v->u.rail.track). With big thanks to TrueLight for the demo-recording patch, BJH for the wonderful savegame, Hackykid for his brilliant suggestions of the problem and Celestar for... ehm, making it all possible ;p Darkvater 2005-04-08 22:44:06 +0000
  • a9c52454c8 (svn r2167) -fix: [autoreplace] trains now get the default cargo type if the engine replaced from did not have cargo capacity (instead of refitting to passengers) bjarni 2005-04-08 15:40:44 +0000
  • 5e4961d902 (svn r2166) Fixed two warnings in the last commit. matthijs 2005-04-07 19:33:32 +0000
  • da3621c180 (svn r2165) - Codechange: [NPF] Properly enummed NPF hash size, it is easily changable now. - Codechange: [NPF] Improved the NPF hash calculation slightly. - Codechange: [NPF] Increased hash size, should speed up somewhat. matthijs 2005-04-07 19:19:16 +0000
  • 9c3813e213 (svn r2164) - Language: [ 1173684 ] fix some wrong french translations (glx) Darkvater 2005-04-07 10:50:55 +0000
  • a3293be124 (svn r2163) - SVN: Set ignore on grfcodec for when you decode/encode grf files there Darkvater 2005-04-07 01:18:50 +0000
  • 68138d6a31 (svn r2162) - Fix: Tooltips of horizontal scrollbars were wrong; they now say left/right instead of up/down Darkvater 2005-04-07 01:02:15 +0000
  • 081ff24282 (svn r2161) - Fix: When resizing a window, the button is also visibly depressed - CodeChange: Use images as arrows in the scenario-date scroller, looks better - Feature: Clicked buttons with images/text now visibly depress their contents when pressed (eg it really seems like the button is moving) - Fix: Fix sprite offsets of the arrow sprites in openttd.grf Darkvater 2005-04-07 00:59:54 +0000
  • 5a78c32a23 (svn r2160) - Fix (Regression): Convert rail failed to work; stupid bitshifts :P (sorry) Darkvater 2005-04-06 21:12:28 +0000
  • 4bd95d756e (svn r2159) - Fix: [NPF] Road vehicles never found their target station or depots (introduced in r2154) - Fix: [NPF] Trains still tried to go through the back of depots. matthijs 2005-04-06 21:03:24 +0000
  • 7f941818a8 (svn r2158) [Translations] Updated translations (72 strs/2 langs) miham 2005-04-06 20:20:31 +0000
  • 5109df6f55 (svn r2157) - Feature (request): [ 1166978 ] Focus keyboard on input-box in Multiplayer Menu - Feature: If the to be started server is using a password, draw a red '*' after the set password button to remind the user. Darkvater 2005-04-06 18:44:34 +0000
  • 93c61b9e8f (svn r2156) -Fix: in revision 2104 someone forgot to add a very important check in GetPrevVehicleInChain; this caused some nasty bugs in depots, like wagons without engines complain about not being stopped, and stuff like that. Hopefully this fixes those problems. With a big tnx to BJH for his perfect demo! truelight 2005-04-06 15:39:18 +0000
  • 13fc3271f4 (svn r2155) - Fix: Company value was $2 when value more than an int32 could handle (use max64 instead of max) Darkvater 2005-04-06 09:34:56 +0000
  • 92fe22382a (svn r2154) - Fix: [NPF] Vehicles should no longer try to drive through the back of depots and road stations. - Add: GetDepotDirection() wrapper function. - Fix: [NPF] Ships can now actually reach buoys. matthijs 2005-04-05 22:06:02 +0000
  • dfe6c34bf1 (svn r2153) - Fix: [ 1173690 ] Path displaying as "C:\\" in saveload window win32-only (glx) darkvater 2005-04-05 21:09:36 +0000
  • 22d36985cd (svn r2152) - Fix: Chatbar in MP games is now on-top of the news window. - CodeChange: Introduction of SendWindowMessage() where a window can send another window a message (ala windows style msg, wparam, lparam). Messages can be sent by windowclass and by windowpointer. - CodeChange: IsVitalWindow() simplifies a lot of checks for window handling that need to know what windows it can close, or be on top of, etc. darkvater 2005-04-05 21:03:30 +0000
  • 4aa7cf8e9f (svn r2151) [Translations] Updated translations (36 strs/2 langs) miham 2005-04-05 20:52:55 +0000
  • 8153a56aa4 (svn r2150) [Translations] Updated translations (14 strs/10 langs) miham 2005-04-04 21:25:15 +0000
  • 42eae13270 (svn r2149) - Fix (Regression): [ 1175877 ] Inputbox of savegamedialog did not have "focus", keyinput went to game. A quick fix for the horrid inputkey-handling. Darkvater 2005-04-04 19:14:40 +0000
  • ead34df653 (svn r2148) - Add: [NPF] Trains can now plan taking into account that they can reverse in depots. This makes forced servicing tracks work with NPF. matthijs 2005-04-04 18:36:08 +0000
  • 6c825df8f7 (svn r2147) - Add: [NPF] Give red presignal exit signals a different (higher) penalty, to discourage trains from waiting at presignal exits. matthijs 2005-04-04 17:53:39 +0000
  • 00c819c0d5 (svn r2146) - Fix: [ 1175973 ] Crash if any key is pressed in startup (pkirchhofer) matthijs 2005-04-04 16:47:03 +0000
  • b2c7543204 (svn r2145) [Translations] Updated translations (174 strs/6 langs) [Translations] Also switched to two spaces instead of tabs (Darkvater requested) miham 2005-04-03 20:44:14 +0000
  • 2ac7077571 (svn r2144) - Fix: AI crash when trying to remove stations with index higher than 256. darkvater 2005-04-03 13:57:39 +0000
  • 31381af8a0 (svn r2143) - Fix: [ 1175748 ] Wrong Button-Images in scenario-editors landscape-tool (thanks chrishuebsch) Darkvater 2005-04-03 13:40:13 +0000
  • fc411d3675 (svn r2142) - Fix: Game no longer crashes when you want to remove a piece of road under a bridge that belongs to the town. TODO: railcrossings store owner somewhere else, put it into _map_owner[]! Darkvater 2005-04-03 13:37:35 +0000
  • f00d0d8ea8 (svn r2141) - Fix: Keys now hopefully only activate the right windows. If console/querybox/chatbox is open, all input goes there, if closed to game itself. Darkvater 2005-04-03 13:35:43 +0000
  • 83d62b1aa2 (svn r2140) - Fix: [ 1175726 ] Allows rails in scenario editor. Moved both 'A' autorail and 'L' Terraform toolbar to their REAL places instead of the global window. Darkvater 2005-04-03 10:21:37 +0000
  • 587106a869 (svn r2139) -fix: "[ 1146215 ] Engine power not updated w/auto replace" autoreplace now forces an update of the cache. It should not affect gameplay as the cache is updated each time the train starts moving, it's just an instant update of the detail window bjarni 2005-04-03 09:38:13 +0000
  • 5d937e4a23 (svn r2138) -Fix: [ 1144154 ] The map has two dimensions, not one celestar 2005-04-03 06:26:31 +0000
  • 64533d53dc (svn r2137) - CodeChange: Remove unnecessary preprocessor magic Darkvater 2005-04-02 23:06:54 +0000
  • f35b59aded (svn r2136) - Fix: [ 1174313 ] terrain hotkeys nonfunctional in scenario editor (D,Q,W,E,R,T,Y,U fltr) - Fix: 'L' no longer opens ingame terraform bar in scenario editor bar, but the land generator one - Feature: [ 1095110 ] Create Lake and draggable Create Desert tools (initial implementation GoneWacko), also added sticky buttons to land generator and town generator - CodeChange: moved around some of the draggable tools, demystifying them - CodeChange: change CmdBuildCanal to allow for XANDY dragging not only X or Y (only scenario editor) - CodeChange: add some more enums to sprites. - TODO: merge most of the ingame and scenario editor land terraform code. This can only be done after OnClickButton function is changed so it also includes the backreference to the widget being clicked, postponed to after 0.4.0 Darkvater 2005-04-02 23:05:09 +0000
  • 3bfda758db (svn r2135) [Translations] Updated translations (142 strings to 4 languages) miham 2005-04-02 22:37:24 +0000
  • 0f830b79e1 (svn r2134) Return the correct error message if rail is already under a bridge, fix for r2131 tron 2005-04-02 22:04:43 +0000
  • edd301d364 (svn r2133) Fix dependency tracking for C++ files tron 2005-04-02 21:05:10 +0000
  • 10e4c9bfab (svn r2132) Fix copy&paste bug in r2131 tron 2005-04-02 19:45:52 +0000
  • ad7f157ac4 (svn r2131) -Fix: Rewrite CmdBuildSingleRail(), this addresses several issues: - Check input parameters for validity - Adhere patch settings - you were able to build foundations under bridges even if foundations where deactivated - Charge for foundations in all cases - foundations under bridges were for free - Make the control flow more clear tron 2005-04-02 18:33:53 +0000
  • 2d0698633d (svn r2130) Various spelling fixes in messages. pasky 2005-04-02 16:46:23 +0000
  • 8d09a1ae87 (svn r2129) Reverted r2125 and depending revisions (map size selector in the intro window). Will be done in a separate dialog. This also fixes showing of various rail/road-related strings. pasky 2005-04-02 16:40:21 +0000
  • bfe31c32c0 (svn r2128) Kill forgotten CmdSetNewMapSize() stub whose existence was kindly pointed out by TrueLight. pasky 2005-04-02 16:16:00 +0000
  • 71b0622cec (svn r2127) Get rid again of the CmdSetNewMapSize(), which was agreed to be just useless clutter. (Perhaps we should get rid of CmdSetNewLandscapeType() too, but I won't take responsibility for that. ;-) pasky 2005-04-02 15:59:07 +0000
  • d35f965c47 (svn r2126) - Fix: #2 Fix compilation with network disabled, and comment out some of the warnings (unused function) (I missed this out the last commit, sorry) Darkvater 2005-04-02 15:08:31 +0000
  • f053bbb4f4 (svn r2125) - Feature: In the intro dialog, show a map size selector below the landscape type selector. pasky 2005-04-02 15:03:48 +0000
  • 65ed56e970 (svn r2124) Final _select_game_widgets[] reordering, even landscape panels in place now. pasky 2005-04-02 12:45:12 +0000
  • 018f6f6f85 (svn r2123) Reordered _select_game_widets[] to follow a sensible order. pasky 2005-04-02 12:19:01 +0000
  • 1379dc298e (svn r2122) Reformatted the widget tables so that they don't look so ugly anymore, especially with different tab widths than 2. pasky 2005-04-02 12:01:25 +0000
  • 5a527daac9 (svn r2121) -Fix: changed the 2nd param of AyStar_EndNodeCheck back to what it should be truelight 2005-04-02 10:38:31 +0000
  • 1d0e0b22e4 (svn r2120) [Translations] Updated translations (166 strings to 6 languages) miham 2005-04-02 07:19:03 +0000
  • 2857b71214 (svn r2119) - Fix: [ 1172878 ] Trains "Go to depot" button: click twice skip to next order (patch by Loic GUILLOUX). I also added short explanation of OF_/OFB_ difference to order.h. pasky 2005-04-02 01:08:01 +0000
  • 35ff9d850c (svn r2118) - Fix: Fix compilation with network disabled, and comment out some of the warnings (unused function) Darkvater 2005-04-02 00:17:16 +0000
  • 043ac73b19 (svn r2117) [Translations] Introduce lithuanian translation as finished miham 2005-04-01 20:10:20 +0000
  • ada6f0be8b (svn r2116) [Translations] Updated translations miham 2005-04-01 20:03:48 +0000
  • 3d6d4b1bfd (svn r2115) Spring cleaning, no functional changes tron 2005-04-01 10:43:20 +0000
  • 725060b353 (svn r2114) -Fix: fix menu with signlist in SE truelight 2005-03-31 17:31:26 +0000
  • c6f56edcff (svn r2113) -Fix: first check if a vehicle is a train, before accessing u.rail truelight 2005-03-31 12:39:18 +0000
  • 66989faab6 (svn r2112) -Fix: ExtMidi no longer halts the game while starting a song -Fix: Redirect stdin/stdout/stderr of the ExtMidi process to /dev/null, to prevent it from writing to the terminal While here give the ExtMidi functions canonical names tron 2005-03-30 19:52:26 +0000
  • 16a64d7000 (svn r2111) So, result is bool therefore no need for this horrible == 0 thing. pasky 2005-03-30 12:30:24 +0000
  • 7ff930af04 (svn r2110) - Fix: Fixed test for various flags (e.g. newtrains in usset). result is bool so !! any non-zero values before assigning them to it - they apparently didn't fit. ;-) pasky 2005-03-30 12:27:50 +0000
  • 95541fa52d (svn r2109) -Fix: use FindVehicleOnTileZ(tile, 0) over FindVehicleBetween(tile, tile, 0) truelight 2005-03-30 09:25:20 +0000
  • d97ff67129 (svn r2108) -Fix: the server now also unpause when a client desyncs or something truelight 2005-03-30 08:50:34 +0000
  • e7937998d6 (svn r2107) - Codechange: Cleanup (well, mostly tidyup) ExtChangeIndustryProduction(). These randoms are strange. pasky 2005-03-29 21:42:51 +0000
  • 508738f836 (svn r2106) -Fix: improved the network-join algoritm, it is now a bit more stable -Add: added 'pause_on_join' and 'max_join_time' for MP games, where you can auto-pause the game when a client wants to join the game. This to avoid connection losses because of big maps (200+ trains). (with tnx to #openttdcoop for the ideas and testing) truelight 2005-03-29 19:10:13 +0000
  • c68cfdeeca (svn r2105) -Codechange: Added a cache for the first vehicle of a chain to increase performance, especially with many long trains celestar 2005-03-29 11:19:10 +0000
  • 3a8665f796 (svn r2104) Simplify implementation of Get{First,Prev}VehicleInChain() and remove a pointless check tron 2005-03-29 08:37:44 +0000
  • eb96f89960 (svn r2103) - Fix: Remove unnused variable from OS2 file Darkvater 2005-03-28 21:14:36 +0000
  • 9d2406729e (svn r2102) Fix bug introduced in r2038, which gave you money for clearing occupied railway tiles ([1171926]) tron 2005-03-28 18:59:33 +0000
  • 6ec727d15c (svn r2101) statvfs() is availible on POSIX.1 conformant systems. Also use a different field, which has a better chance of containing meaningful information, of the returned struct to determine the free space on the filesystem and fix a small bug introduced in r2100 (s/!=/==/) tron 2005-03-28 15:40:05 +0000
  • 6bca4c041a (svn r2100) - Fix: [1024703]: Infinite access for A:\ (win32). Patch [1171208]. Only requery drive(s) if the user changes a directory, also surpress the OS error box that pops up on some windows machines. Tron + glx (and me) darkvater 2005-03-28 13:30:51 +0000
  • 4573a9f872 (svn r2099) -Fix: no longer chat-messages hang when the game wraps around 2090 -Codechange: while trying to find this bug, made texteff.c a bit more readable :) truelight 2005-03-28 12:38:02 +0000
  • e4cb9dbb77 (svn r2098) Make a variable static, move a function declaration to a header and remove unnecessary preprocessor magic tron 2005-03-28 08:48:41 +0000
  • 51eeea477b (svn r2097) -Codechange: [Multistop] Prettified the previous commit celestar 2005-03-28 08:17:35 +0000
  • f42d17c6b3 (svn r2096) -Codechange: [Multistop] Modfied some debug stuff celestar 2005-03-28 08:12:21 +0000
  • bba102e624 (svn r2095) In CheckTrackCombination(): if () cascade -> switch, improve readability tron 2005-03-28 07:25:36 +0000
  • ae359d0d02 (svn r2094) In GetTileDesc_Track(): uint -> TileIndex, use enums, if () cascade -> switch tron 2005-03-28 07:02:51 +0000
  • 9e53b86dca (svn r2093) uint -> TileIndex, remove commented out code and a local variable, which was only used once tron 2005-03-27 18:15:27 +0000
  • a494f96cfe (svn r2092) - Fix: old commands/lines in the console (history) did not show when they used 'special' characters like öä, etc. Diff approved by the code-police. Darkvater 2005-03-27 17:20:27 +0000
  • c4133f2535 (svn r2091) Small cleanup: uint -> TileIndex, const, don't call FindLandscapeHeightByTile() tron 2005-03-27 16:40:01 +0000
  • 31c36d3dd4 (svn r2090) CheckNewIndustry_Oilwell() -> CheckNewIndustry_Oil() since it was concerning oil rigs and oil rafineries, but specifically NOT oil wells. ;-) Documented that. pasky 2005-03-27 16:19:07 +0000
  • aafb136cd0 (svn r2089) - Codechange: Simplify slopes check in CmdBuildBridge(). Inspired by st3wis' patch 1144746. pasky 2005-03-27 15:56:54 +0000
  • 04dc6441aa (svn r2088) - Fix: [ 1155158 ] Make extmidi command a config option in addition to the compile-time MIDI switch. Patch by macbaine. pasky 2005-03-27 15:42:25 +0000
  • 60bb2374d6 (svn r2087) Show also the modified filenames along each change in svn log. Prevents enraging Darkvater, and we show the commit messages along changed files everywhere else too (on IRC and in mail). pasky 2005-03-27 15:13:51 +0000
  • 8acc24f000 (svn r2086) - Codechange: Two indentation fixes coming from Loic Guilloux' patch 1171208. pasky 2005-03-27 15:12:26 +0000
  • 0659f34aa6 (svn r2085) Improve browsing via console: - change directory/load map via filename (number is also possible) - add command "pwd" to Print the current Working Directory - rename "list_files" to "ls" (and add alias "dir") - rename "goto_dir" to "cd" - loading of TTD maps via "load" is now possible - switching of drives via "cd" (only applies to systems which have a drive concept) is now possible - "scan_files" is now obsolete and was removed This is still far from perfect, mostly because the way OTTD handles files is Broken By Design(tm), but should make file navigation via console a bit easier tron 2005-03-27 12:48:25 +0000
  • aba225c88d (svn r2084) Set the name for drive items tron 2005-03-27 10:35:01 +0000
  • e01338fcf5 (svn r2083) Add pasky's and my real name in readme.txt as well. matthijs 2005-03-27 01:23:31 +0000
  • a0f9a7597c (svn r2082) I have a name too! matthijs 2005-03-27 01:10:23 +0000
  • bf1fd0379c (svn r2081) I have a real name, too. pasky 2005-03-27 00:42:57 +0000
  • 0c5d61bd56 (svn r2080) - Fix: [OldAI] p->ai.state_counter was uint16 but could hold a tile index, therefore overflowing - changed that to uint32 and bumped the savegame revision to 32. It *MIGHT* close bug 1151374 - it certainly caused AI to stop building anything sometimes. - While at it, use TileIndex as the tile index type in AiRemovePlayerRailOrRoad() and AiStateRemoveTrack(). - Make the number of tiles scanned 4*MapSizeX() instead of 1000. It *MIGHT* close bug 1116614. pasky 2005-03-27 00:28:14 +0000
  • e416fe8066 (svn r2079) -Add: signlist, shows all signs in the map. Clicking on them, and you go to the sign. Very needed for coop. You can find it under World Map. truelight 2005-03-26 21:22:29 +0000
  • 45425bedca (svn r2078) - VS.NET: oops, I screwed up Release compilation cause of the stupid precompiled headers; fixed now :). minlizo.c does not use any precompiled headers. darkvater 2005-03-26 20:10:59 +0000
  • 8efcba81d7 (svn r2077) - Fix: [ 1170978 ] OS/2 project update: add waypoint.c. (-- Owen Rudge) pasky 2005-03-26 18:12:58 +0000
  • 742513d708 (svn r2076) Set the name for the parent directory to ".." tron 2005-03-26 18:04:42 +0000
  • cef2e24ec4 (svn r2075) -Fix: added missing breaks in switches -Fix: added const for a const variable truelight 2005-03-26 12:08:56 +0000
  • f89984642e (svn r2074) MouseLoop -> InputLoop(), factor out a real mouse-specific MouseLoop from the new InitLoop() (more in the spirit of HandleKeypress()). pasky 2005-03-26 04:16:39 +0000
  • d4b3469e2f (svn r2073) - Fix: Fixed an apparent oversight in AddTextMessage() which is likely to have caused some messages not expiring from the chatterbox after the given time, as reported by dp-. pasky 2005-03-26 04:02:50 +0000
  • 7340aa5b8e (svn r2072) Use lengthof() instead of a home brewed version tron 2005-03-25 20:37:06 +0000
  • 67d2ada020 (svn r2071) - Feature: [ 1168743 ] save command for console: "save <filename>" to save a game (pkirchhofer) Darkvater 2005-03-25 20:20:23 +0000
  • b909a1f775 (svn r2070) - VS.NET: remove all superflouos file compilation directives (inherit setting from project defaults), except for w32dm.c which has to be C++. darkvater 2005-03-25 20:15:00 +0000