diff options
author | frosch <frosch@openttd.org> | 2010-08-01 19:22:34 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-08-01 19:22:34 +0000 |
commit | ed4f806f1dcff2e10d2fdfb687e6bcebe9a81af3 (patch) | |
tree | dba65e1ae2fc4538779195db320eccfa441cbbd0 /src/economy.cpp | |
parent | 4871baf44db96137cf4b72c4f9d9595b2c29f61d (diff) | |
download | openttd-ed4f806f1dcff2e10d2fdfb687e6bcebe9a81af3.tar.xz |
(svn r20283) -Codechange: Unify start of doygen comments.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index a48eccb7d..9c24e042c 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -156,7 +156,8 @@ Money CalculateCompanyValue(const Company *c, bool including_loan) return max(value, (Money)1); } -/** if update is set to true, the economy is updated with this score +/** + * if update is set to true, the economy is updated with this score * (also the house is updated, should only be true in the on-tick event) * @param update the economy with calculated score * @param c company been evaluated @@ -1485,7 +1486,8 @@ static void DoAcquireCompany(Company *c) extern int GetAmountOwnedBy(const Company *c, Owner owner); -/** Acquire shares in an opposing company. +/** + * Acquire shares in an opposing company. * @param tile unused * @param flags type of operation * @param p1 company to buy the shares from @@ -1532,7 +1534,8 @@ CommandCost CmdBuyShareInCompany(TileIndex tile, DoCommandFlag flags, uint32 p1, return cost; } -/** Sell shares in an opposing company. +/** + * Sell shares in an opposing company. * @param tile unused * @param flags type of operation * @param p1 company to sell the shares from @@ -1565,7 +1568,8 @@ CommandCost CmdSellShareInCompany(TileIndex tile, DoCommandFlag flags, uint32 p1 return CommandCost(EXPENSES_OTHER, cost); } -/** Buy up another company. +/** + * Buy up another company. * When a competing company is gone bankrupt you get the chance to purchase * that company. * @todo currently this only works for AI companies |