diff options
Diffstat (limited to 'src/newgrf_industries.cpp')
-rw-r--r-- | src/newgrf_industries.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp index 155bb0bc3..fb40889e1 100644 --- a/src/newgrf_industries.cpp +++ b/src/newgrf_industries.cpp @@ -100,7 +100,8 @@ static uint32 GetClosestIndustry(TileIndex tile, IndustryType type, const Indust return best_dist; } -/** Implementation of both var 67 and 68 +/** + * Implementation of both var 67 and 68 * since the mechanism is almost the same, it is easier to regroup them on the same * function. * @param param_setID parameter given to the callback, which is the set id, or the local id, in our terminology @@ -154,7 +155,8 @@ static uint32 GetCountAndDistanceOfClosestInstance(byte param_setID, byte layout return count << 16 | GB(closest_dist, 0, 16); } -/** This function implements the industries variables that newGRF defines. +/** + * This function implements the industries variables that newGRF defines. * @param object the object that we want to query * @param variable that is queried * @param parameter unused @@ -447,7 +449,8 @@ uint32 IndustryLocationGetVariable(const ResolverObject *object, byte variable, return IndustryGetVariable(object, variable, parameter, available); } -/** Check that the industry callback allows creation of the industry. +/** + * Check that the industry callback allows creation of the industry. * @param tile %Tile to build the industry. * @param type Type of industry to build. * @param layout Layout number. |