diff options
author | rubidium <rubidium@openttd.org> | 2008-09-30 20:39:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-09-30 20:39:50 +0000 |
commit | 3b798599b63067c2e92aa49906ea66a07ae8de44 (patch) | |
tree | 69fb7ae1d9bdadb9e7386cb70b0a26621ad9b57f /src/functions.h | |
parent | cc1e761edab14f8264dba44d09f7272d931bdd93 (diff) | |
download | openttd-3b798599b63067c2e92aa49906ea66a07ae8de44.tar.xz |
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
Diffstat (limited to 'src/functions.h')
-rw-r--r-- | src/functions.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/functions.h b/src/functions.h index f42eb573e..166f7accb 100644 --- a/src/functions.h +++ b/src/functions.h @@ -15,10 +15,10 @@ void DrawClearLandTile(const TileInfo *ti, byte set); void DrawClearLandFence(const TileInfo *ti); void TileLoopClearHelper(TileIndex tile); -/* players.cpp */ -bool CheckPlayerHasMoney(CommandCost cost); -void SubtractMoneyFromPlayer(CommandCost cost); -void SubtractMoneyFromPlayerFract(PlayerID player, CommandCost cost); +/* company_cmd.cpp */ +bool CheckCompanyHasMoney(CommandCost cost); +void SubtractMoneyFromCompany(CommandCost cost); +void SubtractMoneyFromCompanyFract(CompanyID company, CommandCost cost); bool CheckOwnership(Owner owner); bool CheckTileOwnership(TileIndex tile); |