(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.

This commit is contained in:
alberth
2010-08-15 14:06:43 +00:00
parent e5420d89d5
commit a51d34c048
12 changed files with 50 additions and 41 deletions

View File

@@ -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.
*