summaryrefslogtreecommitdiff
path: root/src/news.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-03-10 03:33:43 +0000
committerbelugas <belugas@openttd.org>2007-03-10 03:33:43 +0000
commitb57ef910f891554b2277b2816e7afb7001cb897e (patch)
tree0c6e993c6ad194d68fb860a3762613f9c52a1e5d /src/news.h
parent8ef56794abb5f01989165a72f20ae05be8c371bc (diff)
downloadopenttd-b57ef910f891554b2277b2816e7afb7001cb897e.tar.xz
(svn r9089) -Codechange: Remove the 32 widgets limit on News Options window.
-Codechange: Use the newly created WWT_TEXT widget. -Cleanup: remove a lot of magic numbers, make the whole window more flexible, with now the possibility to easily add new type of news events. Thanks glx for ideas from an old patch
Diffstat (limited to 'src/news.h')
-rw-r--r--src/news.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/news.h b/src/news.h
index 564ebe4cb..39cab2a4f 100644
--- a/src/news.h
+++ b/src/news.h
@@ -31,16 +31,17 @@ void InitNewsItemStructs();
VARDEF NewsItem _statusbar_news_item;
enum NewsType {
- NT_ARRIVAL_PLAYER = 0,
- NT_ARRIVAL_OTHER = 1,
- NT_ACCIDENT = 2,
- NT_COMPANY_INFO = 3,
- NT_ECONOMY = 4,
- NT_ADVICE = 5,
- NT_NEW_VEHICLES = 6,
- NT_ACCEPTANCE = 7,
- NT_SUBSIDIES = 8,
- NT_GENERAL = 9,
+ NT_ARRIVAL_PLAYER,
+ NT_ARRIVAL_OTHER,
+ NT_ACCIDENT,
+ NT_COMPANY_INFO,
+ NT_ECONOMY,
+ NT_ADVICE,
+ NT_NEW_VEHICLES,
+ NT_ACCEPTANCE,
+ NT_SUBSIDIES,
+ NT_GENERAL,
+ NT_END,
};
enum NewsMode {