------------------------------------------------------------------------ r2289 | Darkvater | 2005-05-10 08:45:55 +0000 (Tue, 10 May 2005) | 2 lines - Fix (regression): check p1 param of road-depot building instead of unused p2 (typo). Thanks peter1138. ------------------------------------------------------------------------ r2288 | Darkvater | 2005-05-09 22:33:00 +0000 (Mon, 09 May 2005) | 5 lines - CodeChange: protected the next batch of commands (41 so far, out of 115). - CodeChange: changed the airport gui airport-type checking. Added function GetValidAirports() that returns bitmasked availibility, is also used for checking. - CodeChange: to check tree-planting, 2 const arrays have been moved to table/tree_land.h (type and count) - CodeChange: added IsTownIndex() in following of IsStationIndex(), etc. - Fix (regression): road tunnels did not work anymore, forgot that their type was 0x200 (documented now) ------------------------------------------------------------------------ r2287 | Darkvater | 2005-05-09 19:56:08 +0000 (Mon, 09 May 2005) | 1 line - Fix (regression): cast stationcount to unsigned instead of p1 to signed when checking valid waypoint types. Thanks for pointing it out Tron ------------------------------------------------------------------------ r2286 | Darkvater | 2005-05-09 16:37:40 +0000 (Mon, 09 May 2005) | 2 lines - CodeChange: paramcheck the next batch of commands. - Fix (regression): fix up terraform land where every player can terraform land (towns, map generation), and player can terraform different corners; used for building tunnels ------------------------------------------------------------------------ r2285 | Darkvater | 2005-05-09 13:26:15 +0000 (Mon, 09 May 2005) | 2 lines - Codechange: Fix up some of the missing things from server-checking; namely bridge-type, bridge-length, dragged end-tile (bridge/station), station_spread - Fix: [ 1197256 ] max station spread patch < 7 does not work. Station spread was not taking into account when not using drag&drop. Fix this up, and add a callback to the settings window to immediately reflect the changes. ------------------------------------------------------------------------ r2284 | Darkvater | 2005-05-08 21:00:56 +0000 (Sun, 08 May 2005) | 1 line - Fix (regression): [ 1197177 ] Scenario editor: desert add/remove tool removes industries. Fixed a bit too agressive desert generator. It still does remove the industry (sand's a bitch on machinery), but at least it does it cleanly :) ------------------------------------------------------------------------ r2283 | Darkvater | 2005-05-08 20:53:02 +0000 (Sun, 08 May 2005) | 1 line - Fix (regression): [ 1197493 ] train_gui.c:1341: failed assertion ..., somehow RebuildVehicleList() got lost during the rewrite :P ------------------------------------------------------------------------ r2282 | miham | 2005-05-08 16:17:01 +0000 (Sun, 08 May 2005) | 1 line [Translations] Updated to 2005-05-08 (58 strs / 3 langs) ------------------------------------------------------------------------ r2281 | matthijs | 2005-05-07 22:00:36 +0000 (Sat, 07 May 2005) | 8 lines - Fix: [ 1115204 ] [NPF] When pressing the goto depot button, trains will now also look behind it if there is no depot in front. If so, the train reverses immediately. This also work anywhere, not just at stations. - Add: [NPF] Reversing inside of depots now has a penalty. It also applies to trains only, other vehicles shouldn't bother reversing. - Fix: [NPF] When checking whether to reverse a train, the trackdir of the first loc was used instead of the last vehicle as a starting node for pathfindig. This might have caused some trains not reversing when they should have (or vice versa). Typo introduced when converting to GetVehicleTrackdir() in r2256. - CodeChange: [NPF] Removed duplicate code by letting NPFRouteTjoStationOrTile() call NPFRouteToStationOrTileTwoWay(). - Add: [NPF] NPFRouteToDepotBreadthFirstTwoWay() to find a depot while also looking backwards. - Add: It is now possibly to specify a path cost for aystar starting nodes. ------------------------------------------------------------------------ r2280 | Darkvater | 2005-05-07 10:26:45 +0000 (Sat, 07 May 2005) | 1 line - Fix: Check if the passed tile to DoCommand is within the current mapsize ------------------------------------------------------------------------ r2279 | Darkvater | 2005-05-07 10:26:12 +0000 (Sat, 07 May 2005) | 1 line - Fix: Check the parameters of the first 10 Commands. While there also add proper comments for the functions and fix up CmdFailed() ------------------------------------------------------------------------ r2278 | tron | 2005-05-07 08:14:06 +0000 (Sat, 07 May 2005) | 1 line When renaming a station, check if the station exists and belongs to the correct player ------------------------------------------------------------------------ r2277 | Darkvater | 2005-05-06 22:06:40 +0000 (Fri, 06 May 2005) | 1 line - Codechange: change sscanf() into stroul() Which Does The Right Thing tm. Thanks tron ------------------------------------------------------------------------ r2276 | Darkvater | 2005-05-06 20:38:18 +0000 (Fri, 06 May 2005) | 1 line - CodeChange: remove DebugProc() and make the ALT+0...4 codes only available in debug mode ------------------------------------------------------------------------ r2275 | Darkvater | 2005-05-06 18:34:28 +0000 (Fri, 06 May 2005) | 1 line - Fix: [ 1196662 ] scrollto doesn't accept hexadecimal numbers ------------------------------------------------------------------------ r2274 | Darkvater | 2005-05-06 16:13:44 +0000 (Fri, 06 May 2005) | 1 line - Codechange: some comments, parentheses and EngineID typedef for engine_type ------------------------------------------------------------------------ r2273 | celestar | 2005-05-06 12:00:25 +0000 (Fri, 06 May 2005) | 1 line -Fix: Road vehicles no longer try to obtain a slot when they have crashed. (peter1138) ------------------------------------------------------------------------ r2272 | tron | 2005-05-06 06:59:24 +0000 (Fri, 06 May 2005) | 1 line Remove unused attribute from struct Station ------------------------------------------------------------------------ r2271 | tron | 2005-05-06 06:56:30 +0000 (Fri, 06 May 2005) | 2 lines CMD_SET_PLAYER_FACE, CMD_SET_PLAYER_COLOR, CMD_INCREASE_LOAN, CMD_DECREASE_LOAN only make sense for the current player, so don't explicitly pass a player number ------------------------------------------------------------------------ r2270 | Darkvater | 2005-05-05 20:46:14 +0000 (Thu, 05 May 2005) | 1 line - Fix/Codechange: fix up selling rail vehicles. Try to be smart about it. When selling dual-headed trains, also sell the rear end; if the now-first wagon is an engine, make it a train. When selling the whole train, try to leave dual-headed setups intact ------------------------------------------------------------------------ r2269 | Darkvater | 2005-05-05 20:44:52 +0000 (Thu, 05 May 2005) | 1 line - CodeChange: no else after return; exchange some magic 0xffff with INVALID_VEHICLE, vehicle index is of type VehicleID ------------------------------------------------------------------------ r2268 | Darkvater | 2005-05-05 15:22:20 +0000 (Thu, 05 May 2005) | 1 line - Fix [ 1195595 ] high resolutions don't work. Clamp all possible inputs of resolutions to the maximum availble ------------------------------------------------------------------------ r2267 | matthijs | 2005-05-04 22:13:07 +0000 (Wed, 04 May 2005) | 2 lines - Codechange: Reverted the typedeffing of VehicleType (r2256), since that interfered with the saveload code. ------------------------------------------------------------------------ r2266 | Darkvater | 2005-05-04 19:09:25 +0000 (Wed, 04 May 2005) | 1 line - Feature: it is now possible to start a dedicated server on Win98/95, for the few sadistic geeks that really want to do this (thanks for testing Hackykid). Also fix up another glitch in console output ------------------------------------------------------------------------ r2265 | Darkvater | 2005-05-04 10:17:00 +0000 (Wed, 04 May 2005) | 1 line - Fix: some more useful help messages and consistent errors for failed console-cmds. Make command 'clients' only available in network mode ------------------------------------------------------------------------ r2264 | matthijs | 2005-05-03 22:18:40 +0000 (Tue, 03 May 2005) | 2 lines - Fix: [ 1060686 1187655 ] Changing the full-load flag on the current order doesn't take effect immediately. (glx) ------------------------------------------------------------------------ r2263 | Darkvater | 2005-05-03 22:05:34 +0000 (Tue, 03 May 2005) | 1 line - Fix: If the seperator string is empty for custom currencies, everything after that is cut off. Fix it by replacing nothing with ' '. Thanks for noticing peter1138 ------------------------------------------------------------------------ r2262 | matthijs | 2005-05-03 20:45:23 +0000 (Tue, 03 May 2005) | 4 lines - Fix: Assertion when vehicle in a depot wants to do pathfinding. GetVehicleTrackdir now tries to get a valid trackdir as much as possibly, by assuming that a vehicle is facing outwards in a depot or road station, for example. - Codechange: [Multistop] Multistop now also tries to find a slot for road vehicles that are in stations, since the pathfinder now properly handles that. ------------------------------------------------------------------------ r2261 | matthijs | 2005-05-03 19:31:33 +0000 (Tue, 03 May 2005) | 3 lines - Fix: When crashed vehicles try to find a depot for servicing, openttd asserts. Crashed vehicles shouldn't find depots anyway... ------------------------------------------------------------------------