summaryrefslogtreecommitdiff
path: root/src/news_type.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-07-30 01:53:03 +0000
committerbelugas <belugas@openttd.org>2008-07-30 01:53:03 +0000
commitd358eff64d287f70e78bb42cb87cdc87aaadea34 (patch)
tree838afc33ec43c74b514ae837ca900ddf06617ecd /src/news_type.h
parentb90dc6cc347800e5894736fd83fd8f8467ec968e (diff)
downloadopenttd-d358eff64d287f70e78bb42cb87cdc87aaadea34.tar.xz
(svn r13872) -Feature: Split the news message announcing opening and closure of industries into two news of their own
Diffstat (limited to 'src/news_type.h')
-rw-r--r--src/news_type.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/news_type.h b/src/news_type.h
index b83603ab6..edc3930da 100644
--- a/src/news_type.h
+++ b/src/news_type.h
@@ -17,7 +17,8 @@ enum NewsType {
NT_ARRIVAL_OTHER, ///< Cargo arrived for competitor
NT_ACCIDENT, ///< An accident or disaster has occurred
NT_COMPANY_INFO, ///< Company info (new companies, bankrupcy messages)
- NT_OPENCLOSE, ///< Opening and closing of industries
+ NT_INDUSTRY_OPEN, ///< Opening of industries
+ NT_INDUSTRY_CLOSE, ///< Closing of industries
NT_ECONOMY, ///< Economic changes (recession, industry up/dowm)
NT_INDUSTRY_PLAYER, ///< Production changes of industry serviced by local player
NT_INDUSTRY_OTHER, ///< Production changes of industry serviced by competitor(s)
@@ -42,7 +43,8 @@ enum NewsSubtype {
NS_COMPANY_MERGER, ///< NT_COMPANY_INFO (merger)
NS_COMPANY_BANKRUPT, ///< NT_COMPANY_INFO (bankrupt)
NS_COMPANY_NEW, ///< NT_COMPANY_INFO (new company)
- NS_OPENCLOSE, ///< NT_OPENCLOSE
+ NS_INDUSTRY_OPEN, ///< NS_INDUSTRY_OPEN
+ NS_INDUSTRY_CLOSE, ///< NS_INDUSTRY_CLOSE
NS_ECONOMY, ///< NT_ECONOMY
NS_INDUSTRY_PLAYER, ///< NT_INDUSTRY_PLAYER
NS_INDUSTRY_OTHER, ///< NT_INDUSTRY_OTHER