From 35fec79700a961ccd9f3d13bc068edccc63dc6a5 Mon Sep 17 00:00:00 2001 From: alberth Date: Sun, 15 Aug 2010 14:06:43 +0000 Subject: (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. --- src/roadveh_cmd.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/roadveh_cmd.cpp') diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index 5df63c9e5..b9296a866 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -146,6 +146,15 @@ SpriteID RoadVehicle::GetImage(Direction direction) const return sprite; } +/** + * Draw a road vehicle engine. + * @param left Left edge to draw within. + * @param right Right edge to draw within. + * @param preferred_x Preferred position of the engine. + * @param y Vertical position of the engine. + * @param engine Engine to draw + * @param pal Palette to use. + */ void DrawRoadVehEngine(int left, int right, int preferred_x, int y, EngineID engine, PaletteID pal) { SpriteID sprite = GetRoadVehIcon(engine); @@ -1122,7 +1131,7 @@ static Trackdir FollowPreviousRoadVehicle(const RoadVehicle *v, const RoadVehicl if (already_reversed && prev->tile != tile) { /* * The vehicle has reversed, but did not go straight back. - * It immediatelly turn onto another tile. This means that + * It immediately turn onto another tile. This means that * the roadstate of the previous vehicle cannot be used * as the direction we have to go with this vehicle. * -- cgit v1.2.3-54-g00ecf