(svn r20318) -Doc: Doxygen additions.

This commit is contained in:
alberth
2010-08-02 20:32:39 +00:00
parent 6c01a5833c
commit ccbacfc298
6 changed files with 46 additions and 11 deletions

View File

@@ -481,6 +481,10 @@ void ChangeOwnershipOfCompanyItems(Owner old_owner, Owner new_owner)
MarkWholeScreenDirty();
}
/**
* Check for bankruptcy of a company. Called every three months.
* @param c Company to check.
*/
static void CompanyCheckBankrupt(Company *c)
{
/* If the company has money again, it does not go bankrupt */
@@ -552,6 +556,10 @@ static void CompanyCheckBankrupt(Company *c)
}
}
/**
* Update the finances of all companies.
* Pay for the stations, update the history graph, update ratings and company values, and deal with bankruptcy.
*/
static void CompaniesGenStatistics()
{
Station *st;