summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_company.hpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-14 21:06:58 +0000
committeryexo <yexo@openttd.org>2009-02-14 21:06:58 +0000
commit58359b8d6e411eb43fa362ce364d89bb2a0d71c0 (patch)
tree1c17d9fb86448ec029114e32754f565696680841 /src/ai/api/ai_company.hpp
parent7fdde2fec0f3038ef0c85218ba55ed83f082a8c1 (diff)
downloadopenttd-58359b8d6e411eb43fa362ce364d89bb2a0d71c0.tar.xz
(svn r15484) -Change [API CHANGE]: Remove AICompany::GetCompanyName and SetCompanyName. They've been replaced with GetName and SetName.
Diffstat (limited to 'src/ai/api/ai_company.hpp')
-rw-r--r--src/ai/api/ai_company.hpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/ai/api/ai_company.hpp b/src/ai/api/ai_company.hpp
index b08415dd7..18b0bc0d8 100644
--- a/src/ai/api/ai_company.hpp
+++ b/src/ai/api/ai_company.hpp
@@ -44,11 +44,6 @@ public:
static bool IsMine(CompanyID company);
/**
- * Obsolete, use AICompany::SetName instead.
- */
- static bool SetCompanyName(const char *name);
-
- /**
* Set the name of your company.
* @param name The new name of the company.
* @pre 'name' must have at least one character.
@@ -59,11 +54,6 @@ public:
static bool SetName(const char *name);
/**
- * Obsolete, use AICompany::GetName instead.
- */
- static char *GetCompanyName(CompanyID company);
-
- /**
* Get the name of the given company.
* @param company The company to get the name for.
* @pre ResolveCompanyID(company) != COMPANY_INVALID