summaryrefslogtreecommitdiff
path: root/src/company_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-09 01:06:23 +0000
committerrubidium <rubidium@openttd.org>2009-02-09 01:06:23 +0000
commit66cb1fe1ff78b80f0acebdcadf0818f70090eab1 (patch)
tree3fb8cd8b4041aa509972f5b01531eb874e6c113d /src/company_func.h
parenta7264bd5aa15e2776a180b403d9d00ed180371eb (diff)
downloadopenttd-66cb1fe1ff78b80f0acebdcadf0818f70090eab1.tar.xz
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
Diffstat (limited to 'src/company_func.h')
-rw-r--r--src/company_func.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/company_func.h b/src/company_func.h
index fe19e6439..78dcd9eab 100644
--- a/src/company_func.h
+++ b/src/company_func.h
@@ -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);