Changeset - r3910:b144c53f5e2a
[Not reviewed]
master
0 2 0
KUDr - 18 years ago 2006-05-28 19:01:29
kudr@openttd.org
(svn r5006) Added comments where doxygen generated warnings to test if it can help.
2 files changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
yapf/yapf_common.cpp
Show inline comments
 
@@ -5,12 +5,13 @@
 
#include "yapf.hpp"
 
#include "follow_track.hpp"
 
#include "yapf_node_rail.hpp"
 
#include "yapf_costbase.hpp"
 
#include "yapf_costcache.hpp"
 

	
 
/** translate tileh to the bitset of up-hill trackdirs */
 
const TrackdirBits CYapfCostBase::c_upwards_slopes[] = {
 
	TRACKDIR_BIT_NONE                    , // no tileh
 
	TRACKDIR_BIT_X_SW | TRACKDIR_BIT_Y_NW, // 1
 
	TRACKDIR_BIT_X_SW | TRACKDIR_BIT_Y_SE, // 2
 
	TRACKDIR_BIT_X_SW                    , // 3
 
	TRACKDIR_BIT_X_NE | TRACKDIR_BIT_Y_SE, // 4
yapf/yapf_rail.cpp
Show inline comments
 
@@ -257,9 +257,10 @@ bool YapfFindNearestRailDepotTwoWay(Vehi
 
		pfnFindNearestDepotTwoWay = &CYapfAnyDepotRail1::stFindNearestDepotTwoWay; // Trackdir, allow 90-deg
 

	
 
	bool ret = pfnFindNearestDepotTwoWay(v, tile, td, last_tile, td_rev, max_distance, reverse_penalty, depot_tile, reversed);
 
	return ret;
 
}
 

	
 
/** if any track changes, this counter is incremented - that will invalidate segment cost cache */
 
int CSegmentCostCacheBase::s_rail_change_counter = 0;
 

	
 
void YapfNotifyTrackLayoutChange(TileIndex tile, Track track) {CSegmentCostCacheBase::NotifyTrackLayoutChange(tile, track);}
0 comments (0 inline, 0 general)