(svn r5006) Added comments where doxygen generated warnings to test if it can help.
authorKUDr
Sun, 28 May 2006 19:01:29 +0000
changeset 3910 7cb4295b8f61
parent 3909 221e215b9c3d
child 3911 ac03139db7cf
(svn r5006) Added comments where doxygen generated warnings to test if it can help.
yapf/yapf_common.cpp
yapf/yapf_rail.cpp
--- a/yapf/yapf_common.cpp	Sun May 28 17:45:26 2006 +0000
+++ b/yapf/yapf_common.cpp	Sun May 28 19:01:29 2006 +0000
@@ -8,6 +8,7 @@
 #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
--- a/yapf/yapf_rail.cpp	Sun May 28 17:45:26 2006 +0000
+++ b/yapf/yapf_rail.cpp	Sun May 28 19:01:29 2006 +0000
@@ -260,6 +260,7 @@
 	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);}