summaryrefslogtreecommitdiff
path: root/src/company_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/company_type.h')
-rw-r--r--src/company_type.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/company_type.h b/src/company_type.h
index aa73abe63..249cce7d1 100644
--- a/src/company_type.h
+++ b/src/company_type.h
@@ -54,4 +54,13 @@ typedef uint16 CompanyMask;
struct Company;
typedef uint32 CompanyManagerFace; ///< Company manager face bits, info see in company_manager_face.h
+/** The reason why the company was removed. */
+enum CompanyRemoveReason {
+ CRR_MANUAL, ///< The company is manually removed.
+ CRR_AUTOCLEAN, ///< The company is removed due to autoclean.
+ CRR_BANKRUPT, ///< The company went belly-up.
+
+ CRR_END ///< Sentinel for end.
+};
+
#endif /* COMPANY_TYPE_H */