summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-06-05(svn r5118) Add IsRoadVehInDepot{Stopped,}()tron
2006-06-05(svn r5117) Remove a redundant check: If a road vehicle is in the state 'in ↵tron
depot', don't test if it's a road depot
2006-06-05(svn r5116) Move the overly generic GetDepotDirection() from a header to its ↵tron
only consumer
2006-06-04(svn r5105) - NewGRF: Move callbackmask from *VehicleInfo to EngineInfo. ↵peter1138
This simplifies code that works with more than one vehicle type.
2006-06-04(svn r5104) - When refitting a vehicle to its existing cargo type, don't ↵peter1138
lose the cargo onboard (useful when adding wagons to a train)
2006-06-04(svn r5103) - Add cargo subtype parameter to refit commands (mart3p)peter1138
2006-06-04(svn r5101) Add a function to convert an axis and a flag for north/south ↵tron
into a DiagDirection. Use it for bridge ramps and ship depots
2006-06-04(svn r5098) Do some manual CSE and replace a few magic numbers to improve ↵tron
the readability of the trolly AI
2006-06-04(svn r5097) -Fix: The trolly AI used information from the wrong industry ↵tron
when calculating the amount of to be transported goods
2006-06-04(svn r5096) Avoid unnecessary copying of _cmd_texttron
2006-06-04(svn r5095) -CodeChange: {} added around returnsKUDr
2006-06-04(svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. ↵tron
_new_vehicle_id is enough.
2006-06-04(svn r5093) -CodeChange: [YAPF] min. debug level changed from 1 to 3 and 4 ↵KUDr
for frequent debug messages (performance stats)
2006-06-04(svn r5092) -Fix: There was a gross race condition in the AI code which made ↵tron
it pretty random if the AI could give a new vehicle its orders
2006-06-04(svn r5091) Remove duplicate code (same check twice)tron
2006-06-04(svn r5090) -Fix: [NPF] broken by me - r4366 (thanks Tron)KUDr
2006-06-03(svn r5088) - Add another set of parentheses, missed in r5085, somehow... ↵peter1138
(thanks ASM)
2006-06-03(svn r5087) - NewGRF: Fix thinko in returning a calculated callback resultpeter1138
2006-06-03(svn r5085) - Fix (FS#198): add parentheses to CHANCE16*() (and ↵peter1138
GENERAL_SPRITE_COLOR) macro parameters (thanks to ASM)
2006-06-03(svn r5084) - Add owner attribute to canals and locks. This makes them more ↵peter1138
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.
2006-06-03(svn r5083) -Fix: Assert when trying to build a lock on a tile with trees. ↵celestar
(Thanks anboni for reporting)
2006-06-02(svn r5081) -Fix: Could not build bridges over crossings (but crossings ↵celestar
under bridges were possible), noticed by WhiteRabbit
2006-06-02(svn r5080) -Fix: RVs can enter other player's depot or roadstop (introduced ↵KUDr
by YAPF related change of GetTileTrackStatus() - r4419)
2006-06-02(svn r5078) WebTranslator2 update to 2006-06-02 19:18:56miham
american - 15 fixed by WhiteRabbit (15)
2006-06-02(svn r5076) CodeChange: [YAPF] Platform selection feature related settings ↵KUDr
added into regular savegames (breaks savegame compatibility only with r5070 and 5071).
2006-06-02(svn r5071) - Fix (FS#184): "Erroneous train reversal on waypoints". When ↵peter1138
processing the next train order, do not even consider reversing the train if the last order was to a waypoint.
2006-06-02(svn r5070) Merged the bridge branchcelestar
-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.
2006-06-01(svn r5067) -Codechange: [YAPF] Platform selection feature now applies ↵KUDr
penalty per platform instead of per tile (should give better results)
2006-06-01(svn r5066) -Feature: [YAPF] Train selects the best station platform by lengthKUDr
2006-06-01(svn r5065) -CodeChange: [YAPF] Added PfDetectDestination(tile, trackdir) ↵KUDr
for trains (to be used by platform selection feature)
2006-06-01(svn r5064) -Fix: Remove stay debug stuff from lat commit. (thanks peter1138)celestar
2006-06-01(svn r5063) -Codechange: Add a function to determine the length of a ↵celestar
platform (request by KUDr)
2006-05-31(svn r5062) -Fix: town extends road beyond depot or roadstop (introduced by ↵KUDr
YAPF related change of GetTileTrackStatus() - r4419)
2006-05-31(svn r5061) - NewGRF: always use visual effect callback if it is defined, ↵peter1138
not just for powered wagons.
2006-05-31(svn r5060) - NewGRF: add support for variable 7F (retrieve GRF parameter) ↵peter1138
for vehicles
2006-05-31(svn r5059) - NewGRF: store a GRFFile pointer reference for each pointer, ↵peter1138
instead of just the GRF ID.
2006-05-31(svn r5057) -Fix: [YAPF] trains can't find depot for servicing (thanks Smoky555)KUDr
2006-05-31(svn r5055) -Fix: Correct some errors in the bridge sprite numberscelestar
2006-05-30(svn r5048) - NewStations: Set up clipping areas to draw the station preview ↵peter1138
graphics in. This prevents larger station graphics from overflowing onto the list.
2006-05-30(svn r5047) - NewGRF: fix typo of AIRPORT in enumpeter1138
2006-05-30(svn r5046) - Implement smooth horizontal depot scrolling by setting up a ↵peter1138
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.
2006-05-30(svn r5037) -Fix: assert when GetVehicleTrackdir() returns wrong trackdir - ↵KUDr
introduced by r5033 (thanks yanek)
2006-05-30(svn r5036) WebTranslator2 update to 2006-05-30 15:45:43miham
american - 129 changed by WhiteRabbit (129) czech - 3 changed by Hadez (3)
2006-05-30(svn r5035) WebTranslator2 update to 2006-05-30 15:32:01miham
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)
2006-05-30(svn r5033) -CodeChange: [YAPF] RoadFindPathToStop() can now use YAPF for ↵KUDr
multistop handling.
2006-05-29(svn r5018) [YAPF] Added some comments to YAPF implementation.KUDr
2006-05-29(svn r5017) WebTranslator2 update to 2006-05-29 19:33:27miham
dutch - 3 fixed by webfreakz (3) italian - 3 fixed by sidew (3) turkish - 4 fixed by jnmbk (4)
2006-05-29(svn r5013) -Fix: [YAPF] RVs trying to plan route through railway.KUDr
Should fix assert("(GetTileTrackStatus(m_old_tile, TT()) & TrackdirToTrackdirBits(m_old_td)) != 0") Thanks Celestar for the reproducible case.
2006-05-29(svn r5007) WebTranslator2 update to 2006-05-29 13:37:28miham
german - 3 fixed by Neonox (3) hungarian - 3 fixed by miham (3) ukrainian - 3 fixed by znikoz (3)
2006-05-28(svn r5006) Added comments where doxygen generated warnings to test if it ↵KUDr
can help.