Mon, 09 May 2005 22:33:00 +0000(svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).
Darkvater [Mon, 09 May 2005 22:33:00 +0000] rev 1784
(svn r2288) - 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)

Mon, 09 May 2005 19:56:08 +0000(svn r2287) - Fix (regression): cast stationcount to unsigned instead of p1 to signed when checking valid waypoint types. Thanks for pointing it out Tron
Darkvater [Mon, 09 May 2005 19:56:08 +0000] rev 1783
(svn r2287) - Fix (regression): cast stationcount to unsigned instead of p1 to signed when checking valid waypoint types. Thanks for pointing it out Tron

Mon, 09 May 2005 16:37:40 +0000(svn r2286) - CodeChange: paramcheck the next batch of commands.
Darkvater [Mon, 09 May 2005 16:37:40 +0000] rev 1782
(svn r2286) - 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

Mon, 09 May 2005 13:26:15 +0000(svn r2285) - Codechange: Fix up some of the missing things from server-checking; namely bridge-type, bridge-length, dragged end-tile (bridge/station), station_spread
Darkvater [Mon, 09 May 2005 13:26:15 +0000] rev 1781
(svn r2285) - 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.

Sun, 08 May 2005 21:00:56 +0000(svn r2284) - 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 :)
Darkvater [Sun, 08 May 2005 21:00:56 +0000] rev 1780
(svn r2284) - 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 :)

Sun, 08 May 2005 20:53:02 +0000(svn r2283) - Fix (regression): [ 1197493 ] train_gui.c:1341: failed assertion ..., somehow RebuildVehicleList() got lost during the rewrite :P
Darkvater [Sun, 08 May 2005 20:53:02 +0000] rev 1779
(svn r2283) - Fix (regression): [ 1197493 ] train_gui.c:1341: failed assertion ..., somehow RebuildVehicleList() got lost during the rewrite :P

Sun, 08 May 2005 16:17:01 +0000(svn r2282) [Translations] Updated to 2005-05-08 (58 strs / 3 langs)
miham [Sun, 08 May 2005 16:17:01 +0000] rev 1778
(svn r2282) [Translations] Updated to 2005-05-08 (58 strs / 3 langs)

Sat, 07 May 2005 22:00:36 +0000(svn r2281) - 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.
matthijs [Sat, 07 May 2005 22:00:36 +0000] rev 1777
(svn r2281) - 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.

Sat, 07 May 2005 10:26:45 +0000(svn r2280) - Fix: Check if the passed tile to DoCommand is within the current mapsize
Darkvater [Sat, 07 May 2005 10:26:45 +0000] rev 1776
(svn r2280) - Fix: Check if the passed tile to DoCommand is within the current mapsize

Sat, 07 May 2005 10:26:12 +0000(svn r2279) - Fix: Check the parameters of the first 10 Commands. While there also add proper comments for the functions and fix up CmdFailed()
Darkvater [Sat, 07 May 2005 10:26:12 +0000] rev 1775
(svn r2279) - Fix: Check the parameters of the first 10 Commands. While there also add proper comments for the functions and fix up CmdFailed()