mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-24 08:01:33 +00:00
(svn r5006) Added comments where doxygen generated warnings to test if it can help.
This commit is contained in:
parent
ee2af6ad3e
commit
e1f6f4c13e
@ -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
|
||||
|
@ -260,6 +260,7 @@ bool YapfFindNearestRailDepotTwoWay(Vehicle *v, int max_distance, int reverse_pe
|
||||
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);}
|
||||
|
Loading…
Reference in New Issue
Block a user