Commit Graph

4044 Commits

Author SHA1 Message Date
peter1138
01aec41f69 (svn r5196) - Codechange: replace two incorrect uses of TILE_HEIGHT with TILE_SIZE / 2 2006-06-09 14:37:28 +00:00
miham
0717a527eb (svn r5195) WebTranslator2 update to 2006-06-09 11:31:37
hungarian  - 4 fixed by miham (4)
italian    - 1 changed by sidew (1)
2006-06-09 09:31:48 +00:00
peter1138
62dcad4e65 (svn r5192) - Stylechange: fix bjarni's tabs-instead-of-spaces alignment 2006-06-09 08:26:22 +00:00
peter1138
e679cfe802 (svn r5191) - NewGRF: add cargo refit support for road vehicles 2006-06-09 07:45:26 +00:00
peter1138
19d14b474e (svn r5188) - NewGRF: check refit capacity callback when refitting a ship 2006-06-09 07:09:48 +00:00
peter1138
d6ebfb8338 (svn r5187) - NewGRF: temporarily change a vehicle's cargo subtype when calling the refit capacity callback. 2006-06-09 07:03:53 +00:00
peter1138
a7fbd158a0 (svn r5186) - NewGRF: show default aircraft cargo type and the purchase list (mart3p) 2006-06-09 06:34:28 +00:00
bjarni
ffeb87763f (svn r5176) fixing the typo, that should have been fixed in last commit 2006-06-08 20:17:19 +00:00
bjarni
bbe4285a03 (svn r5175) -Fix: [autoreplace] FS#186 autoreplaced trains can leave all wagons in depot
also fixed a serious typo in peter1138's comments
2006-06-08 20:12:07 +00:00
tron
5ab592667f (svn r5173) Use map manipulation functions instead of SB() 2006-06-08 19:27:20 +00:00
tron
7c1f1d823f (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 2006-06-08 18:31:54 +00:00
KUDr
b690e85604 (svn r5170) - CodeChange: corrected name for "road_crossing_penalty" (mistake in previous commit) 2006-06-08 17:36:06 +00:00
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 2006-06-08 17:31:03 +00:00
KUDr
0b3e83a2fb (svn r5164) - CodeChange: [YAPF] settings of platform penalties are now saved only in network savegames (thanks glx) 2006-06-07 21:26:57 +00:00
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.
2006-06-07 21:18:08 +00:00
KUDr
4c52f88ed1 (svn r5162) - CodeChange: [YAPF] added flag "choice seen" into YAPF node for trains 2006-06-07 21:16:43 +00:00
tron
be88e269b9 (svn r5155) - Remove the bridge branch merge (revision r5070) 2006-06-07 19:35:21 +00:00
KUDr
ace071529e (svn r5153) - Fix: [YAPF] RVs can now plan path reversing in depot or end of road 2006-06-07 18:41:58 +00:00
KUDr
f2f4ca1dc4 (svn r5148) - Fix: [YAPF] RVs can now find depot they are currently in (thanks Darkvater) 2006-06-07 17:04:22 +00:00
peter1138
36672afd8f (svn r5147) - NewGRF: Use refit capacity callback when refitting an aircraft (mart3p) 2006-06-07 07:33:56 +00:00
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. 2006-06-07 07:20:28 +00:00
tron
4a26eb083b (svn r5138) Two more like r5136 2006-06-05 18:16:41 +00:00
tron
aada042d57 (svn r5136) Fix various style bugs:
- Trailing whitespace
- Trailing empty lines
- Missing newline at EOF
- Missing svn:eol-style native
2006-06-05 18:10:43 +00:00
tron
30651e8bcb (svn r5135) Forgotten Id tag 2006-06-05 18:00:37 +00:00
tron
790362c342 (svn r5132) s/?/³/ 2006-06-05 16:31:29 +00:00
tron
dccfb89766 (svn r5131) s/STRING[1-5]/STRING/g 2006-06-05 16:08:06 +00:00
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)
2006-06-05 15:56:59 +00:00
tron
5fdc69194e (svn r5129) Accommodate the default AI for the new railtype: It used hard coded numbers instead of enums to calculate prices 2006-06-05 15:47:08 +00:00
tron
32bf3c7c1c (svn r5128) Remove the global variable _cur_ai_player 2006-06-05 15:29:47 +00:00
tron
6b37bda997 (svn r5127) Use IsRoadVehInDepotStopped() and IsAircraftInHangarStopped() 2006-06-05 14:54:23 +00:00
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
2006-06-05 12:43:41 +00:00
tron
3c4a5d6192 (svn r5121) Add forgotten file in r5120 2006-06-05 11:28:31 +00:00
tron
cb13a1e43d (svn r5120) Add IsShipInDepot{Stopped,}() and remove some redundant checks 2006-06-05 11:28:00 +00:00
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 2006-06-05 10:26:38 +00:00
tron
eeeb8172e8 (svn r5118) Add IsRoadVehInDepot{Stopped,}() 2006-06-05 10:23:18 +00:00
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 2006-06-05 09:54:58 +00:00
tron
4f5c84e720 (svn r5116) Move the overly generic GetDepotDirection() from a header to its only consumer 2006-06-05 08:34:39 +00:00
peter1138
5e3dd8dd78 (svn r5105) - NewGRF: Move callbackmask from *VehicleInfo to EngineInfo. This simplifies code that works with more than one vehicle type. 2006-06-04 18:22:32 +00:00
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) 2006-06-04 17:49:16 +00:00
peter1138
f00c3e7e25 (svn r5103) - Add cargo subtype parameter to refit commands (mart3p) 2006-06-04 17:38:48 +00:00
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 2006-06-04 16:04:15 +00:00
tron
479317b1eb (svn r5098) Do some manual CSE and replace a few magic numbers to improve the readability of the trolly AI 2006-06-04 13:39:38 +00:00
tron
a87004e453 (svn r5097) -Fix: The trolly AI used information from the wrong industry when calculating the amount of to be transported goods 2006-06-04 13:22:18 +00:00
tron
9b89d3b8cd (svn r5096) Avoid unnecessary copying of _cmd_text 2006-06-04 13:03:48 +00:00
KUDr
3e0902ff14 (svn r5095) -CodeChange: {} added around returns 2006-06-04 09:31:20 +00:00
tron
a0caafeb50 (svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough. 2006-06-04 09:28:33 +00:00
KUDr
9cf3badfcf (svn r5093) -CodeChange: [YAPF] min. debug level changed from 1 to 3 and 4 for frequent debug messages (performance stats) 2006-06-04 09:13:59 +00:00
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 2006-06-04 09:10:24 +00:00
tron
7dff47b7f0 (svn r5091) Remove duplicate code (same check twice) 2006-06-04 09:04:40 +00:00
KUDr
a0b53c1b65 (svn r5090) -Fix: [NPF] broken by me - r4366 (thanks Tron) 2006-06-04 00:28:24 +00:00