summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-06-07(svn r5146) - NewGRF: Support selection of aircraft default cargo type by ↵peter1138
checking its refit mask. If aircraft can be refitted to passengers, no change happens, else the first refittable type is chosen. Also use refit capacity to determine the default capacity.
2006-06-05(svn r5138) Two more like r5136tron
2006-06-05(svn r5136) Fix various style bugs:tron
- Trailing whitespace - Trailing empty lines - Missing newline at EOF - Missing svn:eol-style native
2006-06-05(svn r5135) Forgotten Id tagtron
2006-06-05(svn r5132) s/?/³/tron
2006-06-05(svn r5131) s/STRING[1-5]/STRING/gtron
2006-06-05(svn r5130) WebTranslator2 update to 2006-06-05 17:56:46miham
american - 12 changed by WhiteRabbit (12) galician - 62 fixed, 10 changed by Condex (72) italian - 3 changed by sidew (3)
2006-06-05(svn r5129) Accommodate the default AI for the new railtype: It used hard ↵tron
coded numbers instead of enums to calculate prices
2006-06-05(svn r5128) Remove the global variable _cur_ai_playertron
2006-06-05(svn r5127) Use IsRoadVehInDepotStopped() and IsAircraftInHangarStopped()tron
2006-06-05(svn r5124) Add IsAircraftInHangar{Stopped,}(), which supersedes ↵tron
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
2006-06-05(svn r5121) Add forgotten file in r5120tron
2006-06-05(svn r5120) Add IsShipInDepot{Stopped,}() and remove some redundant checkstron
2006-06-05(svn r5119) -Fix: If a road vehicle is on a road depot tile and stopped ↵tron
doesn't mean it's in the depot. Use the proper test for this
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.