From b0537d271f364486246bdab3be8a2bd44d43022f Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 19 Oct 2008 15:39:12 +0000 Subject: (svn r14491) -Documentation: updates/additions of doxygen docs (Alberth) --- src/vehicle_func.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/vehicle_func.h') diff --git a/src/vehicle_func.h b/src/vehicle_func.h index 6b0c36930..e17b0f39d 100644 --- a/src/vehicle_func.h +++ b/src/vehicle_func.h @@ -75,14 +75,13 @@ bool CanBuildVehicleInfrastructure(VehicleType type); void CcCloneVehicle(bool success, TileIndex tile, uint32 p1, uint32 p2); - +/** Position information of a vehicle after it moved */ struct GetNewVehiclePosResult { - int x, y; - TileIndex old_tile; - TileIndex new_tile; + int x, y; ///< x and y position of the vehicle after moving + TileIndex old_tile; ///< Current tile of the vehicle + TileIndex new_tile; ///< Tile of the vehicle after moving }; -/* returns true if staying in the same tile */ GetNewVehiclePosResult GetNewVehiclePos(const Vehicle *v); Direction GetDirectionTowards(const Vehicle *v, int x, int y); -- cgit v1.2.3-54-g00ecf