forked from mirror/OpenTTD
(svn r14528) -Codechange: cache the closest town for all road tiles instead of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus)
This commit is contained in:
@@ -8,5 +8,6 @@
|
||||
#include "direction_type.h"
|
||||
|
||||
void DrawRoadDepotSprite(int x, int y, DiagDirection dir, RoadType rt);
|
||||
void InvalidateTownForRoadTile();
|
||||
|
||||
#endif /* ROAD_CMD_H */
|
||||
|
Reference in New Issue
Block a user