summaryrefslogtreecommitdiff
path: root/src/company_type.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2019-02-04 18:06:19 +0100
committerglx22 <glx22@users.noreply.github.com>2019-02-04 21:08:36 +0100
commit8e7fe3973fc03561c828594ce3293c1ab3c15481 (patch)
tree14aece330e30ec3188f1f77f0ba0b138a8a86117 /src/company_type.h
parent33e3f4916173b4129cbbe60f94dae659a70edb83 (diff)
downloadopenttd-8e7fe3973fc03561c828594ce3293c1ab3c15481.tar.xz
Add: CompanyCtrlAction enum for CMD_COMPANY_CTRL actions
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 44a074e10..771e6d8b9 100644
--- a/src/company_type.h
+++ b/src/company_type.h
@@ -64,4 +64,13 @@ enum CompanyRemoveReason {
CRR_END, ///< Sentinel for end.
};
+/** The action to do with CMD_COMPANY_CTRL. */
+enum CompanyCtrlAction {
+ CCA_NEW, ///< Create a new company.
+ CCA_NEW_AI, ///< Create a new AI company.
+ CCA_DELETE, ///< Delete a company.
+
+ CCA_END, ///< Sentinel for end.
+};
+
#endif /* COMPANY_TYPE_H */