(svn r21088) -Doc: Additions/corrections of doxygen comments.

This commit is contained in:
alberth
2010-11-05 16:34:22 +00:00
parent 576f77b5b8
commit e5b817e99a
13 changed files with 258 additions and 121 deletions

View File

@@ -841,6 +841,10 @@ void CallVehicleTicks()
cur_company.Restore();
}
/**
* Add vehicle sprite for drawing to the screen.
* @param v Vehicle to draw.
*/
static void DoDrawVehicle(const Vehicle *v)
{
SpriteID image = v->cur_image;
@@ -1046,6 +1050,10 @@ bool Vehicle::HandleBreakdown()
}
}
/**
* Update age of a vehicle.
* @param v Vehicle to update.
*/
void AgeVehicle(Vehicle *v)
{
if (v->age < MAX_DAY) v->age++;