summaryrefslogtreecommitdiff
path: root/src/company_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-02-14 17:08:56 +0000
committerrubidium <rubidium@openttd.org>2013-02-14 17:08:56 +0000
commitef8d491d8f86287249d5d2fa2c955e7c900d5570 (patch)
tree1d96135245bd8eef7c079d99e201de7469412a99 /src/company_func.h
parent369a6f9d1b6856eee47df08b1aae8049eaf4b2fa (diff)
downloadopenttd-ef8d491d8f86287249d5d2fa2c955e7c900d5570.tar.xz
(svn r24996) -Change: Apply default service interval changes to vehicles without custom interval (peter1138)
Diffstat (limited to 'src/company_func.h')
-rw-r--r--src/company_func.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/company_func.h b/src/company_func.h
index 394bf44a3..29650d78c 100644
--- a/src/company_func.h
+++ b/src/company_func.h
@@ -15,6 +15,7 @@
#include "command_type.h"
#include "company_type.h"
#include "gfx_type.h"
+#include "vehicle_type.h"
bool MayCompanyTakeOver(CompanyID cbig, CompanyID small);
void ChangeOwnershipOfCompanyItems(Owner old_owner, Owner new_owner);
@@ -56,4 +57,6 @@ static inline bool IsInteractiveCompany(CompanyID company)
return company == _local_company;
}
+int CompanyServiceInterval(const Company *c, VehicleType type);
+
#endif /* COMPANY_FUNC_H */