Mon, 05 Jun 2006 15:56:59 +0000(svn r5130) WebTranslator2 update to 2006-06-05 17:56:46
miham [Mon, 05 Jun 2006 15:56:59 +0000] rev 3967
(svn r5130) WebTranslator2 update to 2006-06-05 17:56:46
american - 12 changed by WhiteRabbit (12)
galician - 62 fixed, 10 changed by Condex (72)
italian - 3 changed by sidew (3)

Mon, 05 Jun 2006 15:47:08 +0000(svn r5129) Accommodate the default AI for the new railtype: It used hard coded numbers instead of enums to calculate prices
tron [Mon, 05 Jun 2006 15:47:08 +0000] rev 3966
(svn r5129) Accommodate the default AI for the new railtype: It used hard coded numbers instead of enums to calculate prices

Mon, 05 Jun 2006 15:29:47 +0000(svn r5128) Remove the global variable _cur_ai_player
tron [Mon, 05 Jun 2006 15:29:47 +0000] rev 3965
(svn r5128) Remove the global variable _cur_ai_player

Mon, 05 Jun 2006 14:54:23 +0000(svn r5127) Use IsRoadVehInDepotStopped() and IsAircraftInHangarStopped()
tron [Mon, 05 Jun 2006 14:54:23 +0000] rev 3964
(svn r5127) Use IsRoadVehInDepotStopped() and IsAircraftInHangarStopped()

Mon, 05 Jun 2006 12:43:41 +0000(svn r5124) Add IsAircraftInHangar{Stopped,}(), which supersedes CheckStoppedInHangar()
tron [Mon, 05 Jun 2006 12:43:41 +0000] rev 3963
(svn r5124) Add IsAircraftInHangar{Stopped,}(), which supersedes CheckStoppedInHangar()
-Fix: Be more strict what it means for an aircraft to be in a hangar: It's not just being stopped on a hangar tile

Mon, 05 Jun 2006 11:28:31 +0000(svn r5121) Add forgotten file in r5120
tron [Mon, 05 Jun 2006 11:28:31 +0000] rev 3962
(svn r5121) Add forgotten file in r5120

Mon, 05 Jun 2006 11:28:00 +0000(svn r5120) Add IsShipInDepot{Stopped,}() and remove some redundant checks
tron [Mon, 05 Jun 2006 11:28:00 +0000] rev 3961
(svn r5120) Add IsShipInDepot{Stopped,}() and remove some redundant checks

Mon, 05 Jun 2006 10:26:38 +0000(svn r5119) -Fix: If a road vehicle is on a road depot tile and stopped doesn't mean it's in the depot. Use the proper test for this
tron [Mon, 05 Jun 2006 10:26:38 +0000] rev 3960
(svn r5119) -Fix: If a road vehicle is on a road depot tile and stopped doesn't mean it's in the depot. Use the proper test for this

Mon, 05 Jun 2006 10:23:18 +0000(svn r5118) Add IsRoadVehInDepot{Stopped,}()
tron [Mon, 05 Jun 2006 10:23:18 +0000] rev 3959
(svn r5118) Add IsRoadVehInDepot{Stopped,}()

Mon, 05 Jun 2006 09:54:58 +0000(svn r5117) Remove a redundant check: If a road vehicle is in the state 'in depot', don't test if it's a road depot
tron [Mon, 05 Jun 2006 09:54:58 +0000] rev 3958
(svn r5117) Remove a redundant check: If a road vehicle is in the state 'in depot', don't test if it's a road depot

Mon, 05 Jun 2006 08:34:39 +0000(svn r5116) Move the overly generic GetDepotDirection() from a header to its only consumer
tron [Mon, 05 Jun 2006 08:34:39 +0000] rev 3957
(svn r5116) Move the overly generic GetDepotDirection() from a header to its only consumer

Sun, 04 Jun 2006 18:22:32 +0000(svn r5105) - NewGRF: Move callbackmask from *VehicleInfo to EngineInfo. This simplifies code that works with more than one vehicle type.
peter1138 [Sun, 04 Jun 2006 18:22:32 +0000] rev 3956
(svn r5105) - NewGRF: Move callbackmask from *VehicleInfo to EngineInfo. This simplifies code that works with more than one vehicle type.

Sun, 04 Jun 2006 17:49:16 +0000(svn r5104) - When refitting a vehicle to its existing cargo type, don't lose the cargo onboard (useful when adding wagons to a train)
peter1138 [Sun, 04 Jun 2006 17:49:16 +0000] rev 3955
(svn r5104) - When refitting a vehicle to its existing cargo type, don't lose the cargo onboard (useful when adding wagons to a train)

Sun, 04 Jun 2006 17:38:48 +0000(svn r5103) - Add cargo subtype parameter to refit commands (mart3p)
peter1138 [Sun, 04 Jun 2006 17:38:48 +0000] rev 3954
(svn r5103) - Add cargo subtype parameter to refit commands (mart3p)

Sun, 04 Jun 2006 16:04:15 +0000(svn r5101) Add a function to convert an axis and a flag for north/south into a DiagDirection. Use it for bridge ramps and ship depots
tron [Sun, 04 Jun 2006 16:04:15 +0000] rev 3953
(svn r5101) Add a function to convert an axis and a flag for north/south into a DiagDirection. Use it for bridge ramps and ship depots

Sun, 04 Jun 2006 13:39:38 +0000(svn r5098) Do some manual CSE and replace a few magic numbers to improve the readability of the trolly AI
tron [Sun, 04 Jun 2006 13:39:38 +0000] rev 3952
(svn r5098) Do some manual CSE and replace a few magic numbers to improve the readability of the trolly AI

Sun, 04 Jun 2006 13:22:18 +0000(svn r5097) -Fix: The trolly AI used information from the wrong industry when calculating the amount of to be transported goods
tron [Sun, 04 Jun 2006 13:22:18 +0000] rev 3951
(svn r5097) -Fix: The trolly AI used information from the wrong industry when calculating the amount of to be transported goods

Sun, 04 Jun 2006 13:03:48 +0000(svn r5096) Avoid unnecessary copying of _cmd_text
tron [Sun, 04 Jun 2006 13:03:48 +0000] rev 3950
(svn r5096) Avoid unnecessary copying of _cmd_text

Sun, 04 Jun 2006 09:31:20 +0000(svn r5095) -CodeChange: {} added around returns
KUDr [Sun, 04 Jun 2006 09:31:20 +0000] rev 3949
(svn r5095) -CodeChange: {} added around returns

Sun, 04 Jun 2006 09:28:33 +0000(svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough.
tron [Sun, 04 Jun 2006 09:28:33 +0000] rev 3948
(svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough.

Sun, 04 Jun 2006 09:13:59 +0000(svn r5093) -CodeChange: [YAPF] min. debug level changed from 1 to 3 and 4 for frequent debug messages (performance stats)
KUDr [Sun, 04 Jun 2006 09:13:59 +0000] rev 3947
(svn r5093) -CodeChange: [YAPF] min. debug level changed from 1 to 3 and 4 for frequent debug messages (performance stats)

Sun, 04 Jun 2006 09:10:24 +0000(svn r5092) -Fix: There was a gross race condition in the AI code which made it pretty random if the AI could give a new vehicle its orders
tron [Sun, 04 Jun 2006 09:10:24 +0000] rev 3946
(svn r5092) -Fix: There was a gross race condition in the AI code which made it pretty random if the AI could give a new vehicle its orders

Sun, 04 Jun 2006 09:04:40 +0000(svn r5091) Remove duplicate code (same check twice)
tron [Sun, 04 Jun 2006 09:04:40 +0000] rev 3945
(svn r5091) Remove duplicate code (same check twice)

Sun, 04 Jun 2006 00:28:24 +0000(svn r5090) -Fix: [NPF] broken by me - r4366 (thanks Tron)
KUDr [Sun, 04 Jun 2006 00:28:24 +0000] rev 3944
(svn r5090) -Fix: [NPF] broken by me - r4366 (thanks Tron)

Sat, 03 Jun 2006 19:23:14 +0000(svn r5088) - Add another set of parentheses, missed in r5085, somehow... (thanks ASM)
peter1138 [Sat, 03 Jun 2006 19:23:14 +0000] rev 3943
(svn r5088) - Add another set of parentheses, missed in r5085, somehow... (thanks ASM)

Sat, 03 Jun 2006 19:17:34 +0000(svn r5087) - NewGRF: Fix thinko in returning a calculated callback result
peter1138 [Sat, 03 Jun 2006 19:17:34 +0000] rev 3942
(svn r5087) - NewGRF: Fix thinko in returning a calculated callback result

Sat, 03 Jun 2006 15:14:41 +0000(svn r5085) - Fix (FS#198): add parentheses to CHANCE16*() (and GENERAL_SPRITE_COLOR) macro parameters (thanks to ASM)
peter1138 [Sat, 03 Jun 2006 15:14:41 +0000] rev 3941
(svn r5085) - Fix (FS#198): add parentheses to CHANCE16*() (and GENERAL_SPRITE_COLOR) macro parameters (thanks to ASM)

Sat, 03 Jun 2006 15:10:39 +0000(svn r5084) - Add owner attribute to canals and locks. This makes them more useful in multiplayer games, as before, anyone could delete any canal or lock tile. This doesn't affect whose ships can use whose canals or locks.
peter1138 [Sat, 03 Jun 2006 15:10:39 +0000] rev 3940
(svn r5084) - Add owner attribute to canals and locks. This makes them more useful in multiplayer games, as before, anyone could delete any canal or lock tile. This doesn't affect whose ships can use whose canals or locks.

Sat, 03 Jun 2006 12:53:29 +0000(svn r5083) -Fix: Assert when trying to build a lock on a tile with trees. (Thanks anboni for reporting)
celestar [Sat, 03 Jun 2006 12:53:29 +0000] rev 3939
(svn r5083) -Fix: Assert when trying to build a lock on a tile with trees. (Thanks anboni for reporting)

Fri, 02 Jun 2006 21:03:59 +0000(svn r5081) -Fix: Could not build bridges over crossings (but crossings under bridges were possible), noticed by WhiteRabbit
celestar [Fri, 02 Jun 2006 21:03:59 +0000] rev 3938
(svn r5081) -Fix: Could not build bridges over crossings (but crossings under bridges were possible), noticed by WhiteRabbit

Fri, 02 Jun 2006 19:29:11 +0000(svn r5080) -Fix: RVs can enter other player's depot or roadstop (introduced by YAPF related change of GetTileTrackStatus() - r4419)
KUDr [Fri, 02 Jun 2006 19:29:11 +0000] rev 3937
(svn r5080) -Fix: RVs can enter other player's depot or roadstop (introduced by YAPF related change of GetTileTrackStatus() - r4419)

Fri, 02 Jun 2006 17:19:05 +0000(svn r5078) WebTranslator2 update to 2006-06-02 19:18:56
miham [Fri, 02 Jun 2006 17:19:05 +0000] rev 3936
(svn r5078) WebTranslator2 update to 2006-06-02 19:18:56
american - 15 fixed by WhiteRabbit (15)

Fri, 02 Jun 2006 16:31:35 +0000(svn r5076) CodeChange: [YAPF] Platform selection feature related settings added into regular savegames (breaks savegame compatibility only with r5070 and 5071).
KUDr [Fri, 02 Jun 2006 16:31:35 +0000] rev 3935
(svn r5076) CodeChange: [YAPF] Platform selection feature related settings added into regular savegames (breaks savegame compatibility only with r5070 and 5071).

Fri, 02 Jun 2006 13:15:50 +0000(svn r5071) - Fix (FS#184): "Erroneous train reversal on waypoints". When processing the next train order, do not even consider reversing the train if the last order was to a waypoint.
peter1138 [Fri, 02 Jun 2006 13:15:50 +0000] rev 3934
(svn r5071) - Fix (FS#184): "Erroneous train reversal on waypoints". When processing the next train order, do not even consider reversing the train if the last order was to a waypoint.

Fri, 02 Jun 2006 13:05:41 +0000(svn r5070) Merged the bridge branch
celestar [Fri, 02 Jun 2006 13:05:41 +0000] rev 3933
(svn r5070) Merged the bridge branch
-Feature: Bridges can now be placed above:
Any railway track combination (excluding depots and waypoints)
Any road combination (excluding depots)
Clear tiles (duh), including fields
Tunnel entrances
Bridge heads

Thanks to Tron for idea and implementation, KUDr for the yapf synchronization and many others for hours of testing

There are still a number of visual problems remaining, especially when electric railways are on or under the bridge.
DO NOT REPORT THOSE BUGS FOR THE TIME BEING please.

Thu, 01 Jun 2006 22:20:40 +0000(svn r5067) -Codechange: [YAPF] Platform selection feature now applies penalty per platform instead of per tile (should give better results)
KUDr [Thu, 01 Jun 2006 22:20:40 +0000] rev 3932
(svn r5067) -Codechange: [YAPF] Platform selection feature now applies penalty per platform instead of per tile (should give better results)

Thu, 01 Jun 2006 21:39:35 +0000(svn r5066) -Feature: [YAPF] Train selects the best station platform by length
KUDr [Thu, 01 Jun 2006 21:39:35 +0000] rev 3931
(svn r5066) -Feature: [YAPF] Train selects the best station platform by length

Thu, 01 Jun 2006 21:00:59 +0000(svn r5065) -CodeChange: [YAPF] Added PfDetectDestination(tile, trackdir) for trains (to be used by platform selection feature)
KUDr [Thu, 01 Jun 2006 21:00:59 +0000] rev 3930
(svn r5065) -CodeChange: [YAPF] Added PfDetectDestination(tile, trackdir) for trains (to be used by platform selection feature)

Thu, 01 Jun 2006 09:43:39 +0000(svn r5064) -Fix: Remove stay debug stuff from lat commit. (thanks peter1138)
celestar [Thu, 01 Jun 2006 09:43:39 +0000] rev 3929
(svn r5064) -Fix: Remove stay debug stuff from lat commit. (thanks peter1138)

Thu, 01 Jun 2006 09:41:35 +0000(svn r5063) -Codechange: Add a function to determine the length of a platform (request by KUDr)
celestar [Thu, 01 Jun 2006 09:41:35 +0000] rev 3928
(svn r5063) -Codechange: Add a function to determine the length of a platform (request by KUDr)

Wed, 31 May 2006 20:08:55 +0000(svn r5062) -Fix: town extends road beyond depot or roadstop (introduced by YAPF related change of GetTileTrackStatus() - r4419)
KUDr [Wed, 31 May 2006 20:08:55 +0000] rev 3927
(svn r5062) -Fix: town extends road beyond depot or roadstop (introduced by YAPF related change of GetTileTrackStatus() - r4419)

Wed, 31 May 2006 18:00:08 +0000(svn r5061) - NewGRF: always use visual effect callback if it is defined, not just for powered wagons.
peter1138 [Wed, 31 May 2006 18:00:08 +0000] rev 3926
(svn r5061) - NewGRF: always use visual effect callback if it is defined, not just for powered wagons.

Wed, 31 May 2006 17:40:48 +0000(svn r5060) - NewGRF: add support for variable 7F (retrieve GRF parameter) for vehicles
peter1138 [Wed, 31 May 2006 17:40:48 +0000] rev 3925
(svn r5060) - NewGRF: add support for variable 7F (retrieve GRF parameter) for vehicles

Wed, 31 May 2006 17:31:08 +0000(svn r5059) - NewGRF: store a GRFFile pointer reference for each pointer, instead of just the GRF ID.
peter1138 [Wed, 31 May 2006 17:31:08 +0000] rev 3924
(svn r5059) - NewGRF: store a GRFFile pointer reference for each pointer, instead of just the GRF ID.

Wed, 31 May 2006 06:51:56 +0000(svn r5057) -Fix: [YAPF] trains can't find depot for servicing (thanks Smoky555)
KUDr [Wed, 31 May 2006 06:51:56 +0000] rev 3923
(svn r5057) -Fix: [YAPF] trains can't find depot for servicing (thanks Smoky555)

Wed, 31 May 2006 06:43:05 +0000(svn r5055) -Fix: Correct some errors in the bridge sprite numbers
celestar [Wed, 31 May 2006 06:43:05 +0000] rev 3922
(svn r5055) -Fix: Correct some errors in the bridge sprite numbers

Tue, 30 May 2006 21:27:51 +0000(svn r5048) - NewStations: Set up clipping areas to draw the station preview graphics in. This prevents larger station graphics from overflowing onto the list.
peter1138 [Tue, 30 May 2006 21:27:51 +0000] rev 3921
(svn r5048) - NewStations: Set up clipping areas to draw the station preview graphics in. This prevents larger station graphics from overflowing onto the list.

Tue, 30 May 2006 21:23:01 +0000(svn r5047) - NewGRF: fix typo of AIRPORT in enum
peter1138 [Tue, 30 May 2006 21:23:01 +0000] rev 3920
(svn r5047) - NewGRF: fix typo of AIRPORT in enum

Tue, 30 May 2006 21:19:46 +0000(svn r5046) - Implement smooth horizontal depot scrolling by setting up a clipping area to draw the train image. This fixes a couple of usability issues when shorter wagons are used in the depot; shorter wagons scrolled at a different speed, and not all wagons were visible sometimes.
peter1138 [Tue, 30 May 2006 21:19:46 +0000] rev 3919
(svn r5046) - Implement smooth horizontal depot scrolling by setting up a clipping area to draw the train image. This fixes a couple of usability issues when shorter wagons are used in the depot; shorter wagons scrolled at a different speed, and not all wagons were visible sometimes.

Tue, 30 May 2006 15:04:59 +0000(svn r5037) -Fix: assert when GetVehicleTrackdir() returns wrong trackdir - introduced by r5033 (thanks yanek)
KUDr [Tue, 30 May 2006 15:04:59 +0000] rev 3918
(svn r5037) -Fix: assert when GetVehicleTrackdir() returns wrong trackdir - introduced by r5033 (thanks yanek)

Tue, 30 May 2006 13:45:53 +0000(svn r5036) WebTranslator2 update to 2006-05-30 15:45:43
miham [Tue, 30 May 2006 13:45:53 +0000] rev 3917
(svn r5036) WebTranslator2 update to 2006-05-30 15:45:43
american - 129 changed by WhiteRabbit (129)
czech - 3 changed by Hadez (3)

Tue, 30 May 2006 13:32:19 +0000(svn r5035) WebTranslator2 update to 2006-05-30 15:32:01
miham [Tue, 30 May 2006 13:32:19 +0000] rev 3916
(svn r5035) WebTranslator2 update to 2006-05-30 15:32:01
american - 44 fixed, 167 changed by WhiteRabbit (211)
czech - 3 fixed, 1 changed by Hadez (4)
estonian - 3 fixed by vermon (3)
finnish - 7 changed by lauri.kajan (7)
french - 3 fixed by glx (3)

Tue, 30 May 2006 10:53:27 +0000(svn r5033) -CodeChange: [YAPF] RoadFindPathToStop() can now use YAPF for multistop handling.
KUDr [Tue, 30 May 2006 10:53:27 +0000] rev 3915
(svn r5033) -CodeChange: [YAPF] RoadFindPathToStop() can now use YAPF for multistop handling.

Mon, 29 May 2006 18:39:42 +0000(svn r5018) [YAPF] Added some comments to YAPF implementation.
KUDr [Mon, 29 May 2006 18:39:42 +0000] rev 3914
(svn r5018) [YAPF] Added some comments to YAPF implementation.

Mon, 29 May 2006 17:33:39 +0000(svn r5017) WebTranslator2 update to 2006-05-29 19:33:27
miham [Mon, 29 May 2006 17:33:39 +0000] rev 3913
(svn r5017) WebTranslator2 update to 2006-05-29 19:33:27
dutch - 3 fixed by webfreakz (3)
italian - 3 fixed by sidew (3)
turkish - 4 fixed by jnmbk (4)

Mon, 29 May 2006 15:04:42 +0000(svn r5013) -Fix: [YAPF] RVs trying to plan route through railway.
KUDr [Mon, 29 May 2006 15:04:42 +0000] rev 3912
(svn r5013) -Fix: [YAPF] RVs trying to plan route through railway.
Should fix assert("(GetTileTrackStatus(m_old_tile, TT()) & TrackdirToTrackdirBits(m_old_td)) != 0")
Thanks Celestar for the reproducible case.

Mon, 29 May 2006 11:37:39 +0000(svn r5007) WebTranslator2 update to 2006-05-29 13:37:28
miham [Mon, 29 May 2006 11:37:39 +0000] rev 3911
(svn r5007) WebTranslator2 update to 2006-05-29 13:37:28
german - 3 fixed by Neonox (3)
hungarian - 3 fixed by miham (3)
ukrainian - 3 fixed by znikoz (3)

Sun, 28 May 2006 19:01:29 +0000(svn r5006) Added comments where doxygen generated warnings to test if it can help.
KUDr [Sun, 28 May 2006 19:01:29 +0000] rev 3910
(svn r5006) Added comments where doxygen generated warnings to test if it can help.

Sun, 28 May 2006 17:45:26 +0000(svn r5004) WebTranslator2 update to 2006-05-28 19:45:13
miham [Sun, 28 May 2006 17:45:26 +0000] rev 3909
(svn r5004) WebTranslator2 update to 2006-05-28 19:45:13
finnish - 6 fixed, 41 changed by lauri.kajan (47)
french - 3 fixed by glx (3)
polish - 3 fixed by meush (3)

Sun, 28 May 2006 17:19:34 +0000(svn r5003) [Translations] Several languages fixed by Tron
miham [Sun, 28 May 2006 17:19:34 +0000] rev 3908
(svn r5003) [Translations] Several languages fixed by Tron