rubidium
c04ab6628b
(svn r14048) -Fix (r14019) [FS#2222]: Redo the check for reserved tracks properly this time. (michi_cc)
2008-08-11 22:58:30 +00:00
smatz
cc3685ffaf
(svn r14024) -Fix (r14019) [YAPP]: YAPF also skips tunnels and bridges. Honor that in penalty calculations. (michi_cc)
2008-08-08 15:02:21 +00:00
smatz
872cefeb27
(svn r14023) -Fix (r13944) [YAPP]: If YAPF encountered a dead-end that had a signal on it, is could be falsely seen as a valid destination. (michi_cc)
2008-08-08 14:58:27 +00:00
rubidium
de629dd62f
(svn r14019) -Fix [FS#2205]: game crash after order skip while waiting for free path (michi_cc).
2008-08-08 09:31:50 +00:00
smatz
dcc10a3b8f
(svn r13985) -Fix (r13944): gcc 2.95 compilation
2008-08-03 20:50:12 +00:00
rubidium
773f19da05
(svn r13945) -Codechange [YAPP]: Extend CFollowTrackT to not require a Vehicle when following rail. (michi_cc)
2008-08-02 22:52:08 +00:00
rubidium
53cc7e8a5c
(svn r13944) -Add [YAPP]: Add YAPF provider to find a safe tile and reserve a path. (michi_cc)
2008-08-02 22:51:53 +00:00
rubidium
2b153abd93
(svn r13943) -Codechange [YAPP]: Reserved station tiles can now be penalized more in YAPF. This should help with spread out stations. (michi_cc)
2008-08-02 22:51:38 +00:00
rubidium
ecc509195a
(svn r13942) -Codechange [YAPP]: Add a penalty for double slips to YAPF. (michi_cc)
2008-08-02 22:51:23 +00:00
rubidium
8c7983727e
(svn r13941) -Codechange [YAPP]: Added YAPP-related penalties to YAPF. (michi_cc)
2008-08-02 22:51:07 +00:00
rubidium
abc46b1e86
(svn r13940) -Add [YAPP]: YAPF is now able to reserve the found path. (michi_cc)
2008-08-02 22:50:52 +00:00
rubidium
c91c12adde
(svn r13939) -Add [YAPP]: Extend YAPF with the possibility to override the railtype info of the vehicle. (michi_cc)
2008-08-02 22:50:38 +00:00
rubidium
5c55922a06
(svn r13934) -Codechange [YAPP]: Handle through signals in the pathfinders. (michi_cc)
2008-08-02 22:49:10 +00:00
rubidium
7f6382badd
(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
2008-06-11 13:54:01 +00:00
rubidium
3efece1284
(svn r13357) -Codechange: add constness to YAPF.
2008-06-02 06:44:06 +00:00
rubidium
923e21129c
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-29 15:13:28 +00:00
rubidium
4625695653
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
...
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25 19:17:03 +00:00
smatz
ec627dedf8
(svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits
2008-05-14 18:31:21 +00:00
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
2008-05-06 15:11:33 +00:00
rubidium
fb1db90cc6
(svn r12969) -Codechange: remove a completely pointless file.
2008-05-06 14:24:33 +00:00
rubidium
02cdf01507
(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-17 19:10:30 +00:00
smatz
059e94e355
(svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used
2008-04-17 18:24:45 +00:00
smatz
9488db56d4
(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()
2008-04-17 00:44:20 +00:00
rubidium
d6623cf654
(svn r12588) -Codechange: do not access the destination of an order directly.
2008-04-06 07:48:51 +00:00
rubidium
5b47f81b0f
(svn r12584) -Codechange: do not access the order type directly.
2008-04-05 23:36:54 +00:00
rubidium
2edd403656
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
2008-03-31 00:06:17 +00:00
rubidium
7f139373aa
(svn r12467) -Codechange: move DepotID to a more logical location.
2008-03-28 16:32:27 +00:00
maedhros
389d89ea49
(svn r12392) -Fix (r12391): Remove yapf/follow_track.cpp again.
2008-03-22 11:29:03 +00:00
maedhros
292cfc56f6
(svn r12391) -Feature: Show whether a town is a "city" in the town description title bar.
2008-03-22 11:27:46 +00:00
frosch
35fd0dfd4e
(svn r12313) -Fix: YAPF and NTP did not apply penalty for uphill tracks on steep slopes.
2008-02-28 17:34:34 +00:00
KUDr
e41df385d7
(svn r12252) -Fix [FS#1801]: Broken FollowTrack_t related functions (thanks michi_cc).
...
-Fixed by removing FollowTrack_t structure and all related functions. Their purpose was to allow to call track followers from C code. They were:
1. never used
2. obsoleted by switching to C++
2008-02-25 15:09:22 +00:00
frosch
b7993793c8
(svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
2008-02-20 17:49:50 +00:00
smatz
2b8d1bcb51
(svn r12190) -Fix [FS#1786](r8080): YAPF always shows 0ms PF time in debug for debug level 2 (patch by IguannaB)
2008-02-20 12:31:28 +00:00
frosch
43c0f7ea8e
(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
2008-02-14 15:59:16 +00:00
belugas
62b3520e51
(svn r12066) -Codechange: Rename GetBridge for the more common GetBridgeSpec
...
-Codechange: Remove direct access to the _bridge table in favor of the above mentioned GetBridgeSpec
-Codechange: Rationalize the use of Bridge type pointer
2008-02-05 05:21:02 +00:00
frosch
2a2aa1d22a
(svn r12056) -Fix [FS#1704]: Enable YAPF to start searching inside a wormhole.
2008-02-04 15:26:35 +00:00
frosch
45b79bc9f1
(svn r12035) -Fix [FS#1702]: Teach YAPF where trams can reverse, and where not.
2008-02-01 17:27:45 +00:00
smatz
5a7c903770
(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
2008-01-23 22:34:04 +00:00
smatz
0b888ccc00
(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions
2008-01-23 14:51:36 +00:00
frosch
b99c83246b
(svn r11946) -Fix: slope detection of bridge ramps.
...
YAPF failed for steep slopes.
Trolly failed for a lot.
2008-01-22 16:08:17 +00:00
rubidium
998d7644f6
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
2008-01-09 21:05:03 +00:00
rubidium
b0ac283aec
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
2008-01-07 00:57:19 +00:00
rubidium
384503e7d3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
2007-12-27 13:35:39 +00:00
rubidium
b9046c97fb
(svn r11702) -Codechange: move all date related stuff to date*.
2007-12-26 13:50:40 +00:00
rubidium
2786d789a1
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
2007-12-26 11:45:43 +00:00
rubidium
6a9e77e079
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
2007-12-21 22:50:51 +00:00
rubidium
5b49e75453
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
2007-12-19 23:26:02 +00:00
smatz
3cee0abdba
(svn r11644) -Codechange: merge some functions from tunnel_map.h and bridge_map.h into tunnelbridge_map.h
2007-12-16 15:38:51 +00:00
skidd13
71c4325c50
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
2007-11-19 21:02:30 +00:00
truelight
4b8aaa994c
(svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to Rubidium and skidd13)
2007-11-04 23:06:39 +00:00