summaryrefslogtreecommitdiff
path: root/src/road_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-18 23:09:43 +0000
committerrubidium <rubidium@openttd.org>2011-01-18 23:09:43 +0000
commit9ca4b629cd91c2749d9efafd752fc5175ebce5fd (patch)
tree24da99d42f3e33eb7f4109462dcced5adc6eab15 /src/road_func.h
parent7efd7e19ed046a4a0c03077f27930291ba5b9725 (diff)
downloadopenttd-9ca4b629cd91c2749d9efafd752fc5175ebce5fd.tar.xz
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
Diffstat (limited to 'src/road_func.h')
-rw-r--r--src/road_func.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/road_func.h b/src/road_func.h
index 4a49d4601..2f286730f 100644
--- a/src/road_func.h
+++ b/src/road_func.h
@@ -148,26 +148,8 @@ static inline RoadBits AxisToRoadBits(Axis a)
return a == AXIS_X ? ROAD_X : ROAD_Y;
}
-/**
- * Finds out, whether given company has all given RoadTypes available
- * @param company ID of company
- * @param rts RoadTypes to test
- * @return true if company has all requested RoadTypes available
- */
bool HasRoadTypesAvail(const CompanyID company, const RoadTypes rts);
-
-/**
- * Validate functions for rail building.
- * @param rt road type to check.
- * @return true if the current company may build the road.
- */
bool ValParamRoadType(const RoadType rt);
-
-/**
- * Get the road types the given company can build.
- * @param company the company to get the roadtypes for.
- * @return the road types.
- */
RoadTypes GetCompanyRoadtypes(const CompanyID company);
void UpdateLevelCrossing(TileIndex tile, bool sound = true);