(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.

This commit is contained in:
rubidium
2009-02-09 01:06:23 +00:00
parent a7264bd5aa
commit 66cb1fe1ff
19 changed files with 229 additions and 181 deletions

View File

@@ -9,6 +9,7 @@
#include "company_type.h"
#include "tile_type.h"
#include "strings_type.h"
#include "gfx_type.h"
void ChangeOwnershipOfCompanyItems(Owner old_owner, Owner new_owner);
void GetNameOfOwner(Owner owner, TileIndex tile);
@@ -17,7 +18,7 @@ void SetLocalCompany(CompanyID new_company);
extern CompanyByte _local_company;
extern CompanyByte _current_company;
extern byte _company_colours[MAX_COMPANIES]; ///< NOSAVE: can be determined from company structs
extern Colours _company_colours[MAX_COMPANIES]; ///< NOSAVE: can be determined from company structs
extern CompanyManagerFace _company_manager_face; ///< for company manager face storage in openttd.cfg
bool IsHumanCompany(CompanyID company);