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/player_gui.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/player_gui.h')
-rw-r--r-- | src/player_gui.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/player_gui.h b/src/player_gui.h index a1ed36fcb..93f382789 100644 --- a/src/player_gui.h +++ b/src/player_gui.h @@ -1,20 +1,20 @@ /* $Id$ */ -/** @file player_gui.h GUI Functions related to players. */ +/** @file company_gui.h GUI Functions related to companies. */ -#ifndef PLAYER_GUI_H -#define PLAYER_GUI_H +#ifndef COMPANY_GUI_H +#define COMPANY_GUI_H #include "player_type.h" -uint16 GetDrawStringPlayerColor(PlayerID player); -void DrawPlayerIcon(PlayerID p, int x, int y); +uint16 GetDrawStringCompanyColor(CompanyID company); +void DrawCompanyIcon(CompanyID p, int x, int y); -void ShowPlayerStations(PlayerID player); -void ShowPlayerFinances(PlayerID player); -void ShowPlayerCompany(PlayerID player); +void ShowCompanyStations(CompanyID company); +void ShowCompanyFinances(CompanyID company); +void ShowCompany(CompanyID company); -void InvalidatePlayerWindows(const Player *p); -void DeletePlayerWindows(PlayerID pi); +void InvalidateCompanyWindows(const Company *c); +void DeleteCompanyWindows(CompanyID company); -#endif /* PLAYER_GUI_H */ +#endif /* COMPANY_GUI_H */ |