summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-06-09(svn r5196) - Codechange: replace two incorrect uses of TILE_HEIGHT with ↵peter1138
TILE_SIZE / 2
2006-06-09(svn r5195) WebTranslator2 update to 2006-06-09 11:31:37miham
hungarian - 4 fixed by miham (4) italian - 1 changed by sidew (1)
2006-06-09(svn r5192) - Stylechange: fix bjarni's tabs-instead-of-spaces alignmentpeter1138
2006-06-09(svn r5191) - NewGRF: add cargo refit support for road vehiclespeter1138
2006-06-09(svn r5188) - NewGRF: check refit capacity callback when refitting a shippeter1138
2006-06-09(svn r5187) - NewGRF: temporarily change a vehicle's cargo subtype when ↵peter1138
calling the refit capacity callback.
2006-06-09(svn r5186) - NewGRF: show default aircraft cargo type and the purchase list ↵peter1138
(mart3p)
2006-06-08(svn r5176) fixing the typo, that should have been fixed in last commitbjarni
2006-06-08(svn r5175) -Fix: [autoreplace] FS#186 autoreplaced trains can leave all ↵bjarni
wagons in depot also fixed a serious typo in peter1138's comments
2006-06-08(svn r5173) Use map manipulation functions instead of SB()tron
2006-06-08(svn r5171) Get rid of an ungly hack in the load routine, which temporarily ↵tron
turned house and road tiles into void tiles to calculate the closest town
2006-06-08(svn r5170) - CodeChange: corrected name for "road_crossing_penalty" ↵KUDr
(mistake in previous commit)
2006-06-08(svn r5169) - CodeChange: [YAPF] RVs now use YAPF_TILE_LENGTH as base unit ↵KUDr
and 2 configurable settings (slope and crossing penalties) for cost calculation
2006-06-07(svn r5164) - CodeChange: [YAPF] settings of platform penalties are now ↵KUDr
saved only in network savegames (thanks glx)
2006-06-07(svn r5163) - CodeChange: [YAPF] "treat first red two-way signal as dead ↵KUDr
end" is not applied if train didn't pass choice. It allows pathfinder to plan route through first red two-way signal if the train has no other choice than to pass it.
2006-06-07(svn r5162) - CodeChange: [YAPF] added flag "choice seen" into YAPF node for ↵KUDr
trains
2006-06-07(svn r5155) - Remove the bridge branch merge (revision r5070)tron
2006-06-07(svn r5153) - Fix: [YAPF] RVs can now plan path reversing in depot or end of ↵KUDr
road
2006-06-07(svn r5148) - Fix: [YAPF] RVs can now find depot they are currently in ↵KUDr
(thanks Darkvater)
2006-06-07(svn r5147) - NewGRF: Use refit capacity callback when refitting an aircraft ↵peter1138
(mart3p)
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