Commit Graph

4182 Commits (b0d5005cadad967b67f65f6f154cf4b8e749f7b6)
 

Author SHA1 Message Date
KUDr c7d1e2eab5 (svn r5169) - CodeChange: [YAPF] RVs now use YAPF_TILE_LENGTH as base unit and 2 configurable settings (slope and crossing penalties) for cost calculation 19 years ago
KUDr 0b3e83a2fb (svn r5164) - CodeChange: [YAPF] settings of platform penalties are now saved only in network savegames (thanks glx) 19 years ago
KUDr 80a36fe5bd (svn r5163) - CodeChange: [YAPF] "treat first red two-way signal as dead 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.
19 years ago
KUDr 4c52f88ed1 (svn r5162) - CodeChange: [YAPF] added flag "choice seen" into YAPF node for trains 19 years ago
tron be88e269b9 (svn r5155) - Remove the bridge branch merge (revision r5070) 19 years ago
KUDr ace071529e (svn r5153) - Fix: [YAPF] RVs can now plan path reversing in depot or end of road 19 years ago
KUDr f2f4ca1dc4 (svn r5148) - Fix: [YAPF] RVs can now find depot they are currently in (thanks Darkvater) 19 years ago
peter1138 36672afd8f (svn r5147) - NewGRF: Use refit capacity callback when refitting an aircraft (mart3p) 19 years ago
peter1138 d286235a6a (svn r5146) - NewGRF: Support selection of aircraft default cargo type by 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. 19 years ago
tron 4a26eb083b (svn r5138) Two more like r5136 19 years ago
tron aada042d57 (svn r5136) Fix various style bugs:
- Trailing whitespace
- Trailing empty lines
- Missing newline at EOF
- Missing svn:eol-style native
19 years ago
tron 30651e8bcb (svn r5135) Forgotten Id tag 19 years ago
tron 790362c342 (svn r5132) s/?/³/ 19 years ago
tron dccfb89766 (svn r5131) s/STRING[1-5]/STRING/g 19 years ago
miham 94a45ffa70 (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)
19 years ago
tron 5fdc69194e (svn r5129) Accommodate the default AI for the new railtype: It used hard coded numbers instead of enums to calculate prices 19 years ago
tron 32bf3c7c1c (svn r5128) Remove the global variable _cur_ai_player 19 years ago
tron 6b37bda997 (svn r5127) Use IsRoadVehInDepotStopped() and IsAircraftInHangarStopped() 19 years ago
tron 00aa407edd (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
19 years ago
tron 3c4a5d6192 (svn r5121) Add forgotten file in r5120 19 years ago
tron cb13a1e43d (svn r5120) Add IsShipInDepot{Stopped,}() and remove some redundant checks 19 years ago
tron b0801e4e63 (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 19 years ago
tron eeeb8172e8 (svn r5118) Add IsRoadVehInDepot{Stopped,}() 19 years ago
tron ddbcd9007c (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 19 years ago
tron 4f5c84e720 (svn r5116) Move the overly generic GetDepotDirection() from a header to its only consumer 19 years ago
peter1138 5e3dd8dd78 (svn r5105) - NewGRF: Move callbackmask from *VehicleInfo to EngineInfo. This simplifies code that works with more than one vehicle type. 19 years ago
peter1138 0a623bc333 (svn r5104) - When refitting a vehicle to its existing cargo type, don't lose the cargo onboard (useful when adding wagons to a train) 19 years ago
peter1138 f00c3e7e25 (svn r5103) - Add cargo subtype parameter to refit commands (mart3p) 19 years ago
tron fa74002356 (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 19 years ago
tron 479317b1eb (svn r5098) Do some manual CSE and replace a few magic numbers to improve the readability of the trolly AI 19 years ago
tron a87004e453 (svn r5097) -Fix: The trolly AI used information from the wrong industry when calculating the amount of to be transported goods 19 years ago
tron 9b89d3b8cd (svn r5096) Avoid unnecessary copying of _cmd_text 19 years ago
KUDr 3e0902ff14 (svn r5095) -CodeChange: {} added around returns 19 years ago
tron a0caafeb50 (svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough. 19 years ago
KUDr 9cf3badfcf (svn r5093) -CodeChange: [YAPF] min. debug level changed from 1 to 3 and 4 for frequent debug messages (performance stats) 19 years ago
tron 877c7e34a5 (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 19 years ago
tron 7dff47b7f0 (svn r5091) Remove duplicate code (same check twice) 19 years ago
KUDr a0b53c1b65 (svn r5090) -Fix: [NPF] broken by me - r4366 (thanks Tron) 19 years ago
peter1138 91de9b7105 (svn r5088) - Add another set of parentheses, missed in r5085, somehow... (thanks ASM) 19 years ago
peter1138 ce90b70a41 (svn r5087) - NewGRF: Fix thinko in returning a calculated callback result 19 years ago
peter1138 4565989d54 (svn r5085) - Fix (FS#198): add parentheses to CHANCE16*() (and GENERAL_SPRITE_COLOR) macro parameters (thanks to ASM) 19 years ago
peter1138 59d5ed821f (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. 19 years ago
celestar d7261da206 (svn r5083) -Fix: Assert when trying to build a lock on a tile with trees. (Thanks anboni for reporting) 19 years ago
celestar 8c01bf711d (svn r5081) -Fix: Could not build bridges over crossings (but crossings under bridges were possible), noticed by WhiteRabbit 19 years ago
KUDr 47bf194723 (svn r5080) -Fix: RVs can enter other player's depot or roadstop (introduced by YAPF related change of GetTileTrackStatus() - r4419) 19 years ago
miham b2eb885ab4 (svn r5078) WebTranslator2 update to 2006-06-02 19:18:56
american   - 15 fixed by WhiteRabbit (15)
19 years ago
KUDr 03f8994114 (svn r5076) CodeChange: [YAPF] Platform selection feature related settings added into regular savegames (breaks savegame compatibility only with r5070 and 5071). 19 years ago
peter1138 fbe7303c3a (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. 19 years ago
celestar 25a63ec7af (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.
19 years ago
KUDr d680fcec77 (svn r5067) -Codechange: [YAPF] Platform selection feature now applies penalty per platform instead of per tile (should give better results) 19 years ago