Commit Graph

3989 Commits (9b043436d82eab08ce05fb717b84f49a1ca3a0f4)
 

Author SHA1 Message Date
peter1138 9b043436d8 (svn r5187) - NewGRF: temporarily change a vehicle's cargo subtype when calling the refit capacity callback. 18 years ago
peter1138 1b48a2bd9d (svn r5186) - NewGRF: show default aircraft cargo type and the purchase list (mart3p) 18 years ago
bjarni 0372cceb2f (svn r5176) fixing the typo, that should have been fixed in last commit 18 years ago
bjarni c4fe960ebf (svn r5175) -Fix: [autoreplace] FS#186 autoreplaced trains can leave all wagons in depot
also fixed a serious typo in peter1138's comments
18 years ago
tron ef501eb6a6 (svn r5173) Use map manipulation functions instead of SB() 18 years ago
tron 047ee8a601 (svn r5171) Get rid of an ungly hack in the load routine, which temporarily turned house and road tiles into void tiles to calculate the closest town 18 years ago
KUDr f2da689343 (svn r5170) - CodeChange: corrected name for "road_crossing_penalty" (mistake in previous commit) 18 years ago
KUDr 7b4c46e388 (svn r5169) - CodeChange: [YAPF] RVs now use YAPF_TILE_LENGTH as base unit and 2 configurable settings (slope and crossing penalties) for cost calculation 18 years ago
KUDr ba86269c65 (svn r5164) - CodeChange: [YAPF] settings of platform penalties are now saved only in network savegames (thanks glx) 18 years ago
KUDr e811c6a868 (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.
18 years ago
KUDr 68372f4c16 (svn r5162) - CodeChange: [YAPF] added flag "choice seen" into YAPF node for trains 18 years ago
tron 7fd88e5798 (svn r5155) - Remove the bridge branch merge (revision r5070) 18 years ago
KUDr 8992f9cb2b (svn r5153) - Fix: [YAPF] RVs can now plan path reversing in depot or end of road 18 years ago
KUDr b1ef3b117e (svn r5148) - Fix: [YAPF] RVs can now find depot they are currently in (thanks Darkvater) 18 years ago
peter1138 eade3d07b5 (svn r5147) - NewGRF: Use refit capacity callback when refitting an aircraft (mart3p) 18 years ago
peter1138 8c9de5e593 (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. 18 years ago
tron d47e02fcfe (svn r5138) Two more like r5136 18 years ago
tron 020721565a (svn r5136) Fix various style bugs:
- Trailing whitespace
- Trailing empty lines
- Missing newline at EOF
- Missing svn:eol-style native
18 years ago
tron f764f9a5b0 (svn r5135) Forgotten Id tag 18 years ago
tron a441e615e2 (svn r5132) s/?/³/ 18 years ago
tron 918a806063 (svn r5131) s/STRING[1-5]/STRING/g 18 years ago
miham d5f147d48a (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)
18 years ago
tron 3e696786bb (svn r5129) Accommodate the default AI for the new railtype: It used hard coded numbers instead of enums to calculate prices 18 years ago
tron edfd4e63e1 (svn r5128) Remove the global variable _cur_ai_player 18 years ago
tron 028e5ad512 (svn r5127) Use IsRoadVehInDepotStopped() and IsAircraftInHangarStopped() 18 years ago
tron 098e54f7d9 (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
18 years ago
tron 6d135c1100 (svn r5121) Add forgotten file in r5120 18 years ago
tron ce9639c6bc (svn r5120) Add IsShipInDepot{Stopped,}() and remove some redundant checks 18 years ago
tron a458faa37e (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 18 years ago
tron d26e40ca7e (svn r5118) Add IsRoadVehInDepot{Stopped,}() 18 years ago
tron 5dd68173c8 (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 18 years ago
tron cfdbb53a82 (svn r5116) Move the overly generic GetDepotDirection() from a header to its only consumer 18 years ago
peter1138 20cdd71c9f (svn r5105) - NewGRF: Move callbackmask from *VehicleInfo to EngineInfo. This simplifies code that works with more than one vehicle type. 18 years ago
peter1138 18b0ea5473 (svn r5104) - When refitting a vehicle to its existing cargo type, don't lose the cargo onboard (useful when adding wagons to a train) 18 years ago
peter1138 2802c4b9c6 (svn r5103) - Add cargo subtype parameter to refit commands (mart3p) 18 years ago
tron 3cb526d0d9 (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 18 years ago
tron f1be69c47b (svn r5098) Do some manual CSE and replace a few magic numbers to improve the readability of the trolly AI 18 years ago
tron 864b0ede8b (svn r5097) -Fix: The trolly AI used information from the wrong industry when calculating the amount of to be transported goods 18 years ago
tron 354dc83459 (svn r5096) Avoid unnecessary copying of _cmd_text 18 years ago
KUDr eb975d6fda (svn r5095) -CodeChange: {} added around returns 18 years ago
tron 9ee944cabb (svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough. 18 years ago
KUDr 6b1f0d610c (svn r5093) -CodeChange: [YAPF] min. debug level changed from 1 to 3 and 4 for frequent debug messages (performance stats) 18 years ago
tron 36e31fa41f (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 18 years ago
tron 3e5ef7319e (svn r5091) Remove duplicate code (same check twice) 18 years ago
KUDr 42c7bc6507 (svn r5090) -Fix: [NPF] broken by me - r4366 (thanks Tron) 18 years ago
peter1138 40197e244c (svn r5088) - Add another set of parentheses, missed in r5085, somehow... (thanks ASM) 18 years ago
peter1138 70c6a0e4c4 (svn r5087) - NewGRF: Fix thinko in returning a calculated callback result 18 years ago
peter1138 8c17ef7afa (svn r5085) - Fix (FS#198): add parentheses to CHANCE16*() (and GENERAL_SPRITE_COLOR) macro parameters (thanks to ASM) 18 years ago
peter1138 ec1117869c (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. 18 years ago
celestar f84edec772 (svn r5083) -Fix: Assert when trying to build a lock on a tile with trees. (Thanks anboni for reporting) 18 years ago