summaryrefslogtreecommitdiff
path: root/news.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-22 14:38:37 +0000
committerrubidium <rubidium@openttd.org>2006-08-22 14:38:37 +0000
commit480af9c9171badb7db906d2cc05856f4c2d87b73 (patch)
tree2a3621a92a3d30384ea51e0898d08f035a559915 /news.h
parent5f4dbbd52264b986efc248a6ccb02dbde4ca6c0e (diff)
downloadopenttd-480af9c9171badb7db906d2cc05856f4c2d87b73.tar.xz
(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Diffstat (limited to 'news.h')
-rw-r--r--news.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/news.h b/news.h
index 17f89a2c8..b820fde27 100644
--- a/news.h
+++ b/news.h
@@ -32,39 +32,39 @@ VARDEF NewsItem _statusbar_news_item;
enum {
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_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,
};
enum NewsMode {
- NM_SMALL = 0,
- NM_NORMAL = 1,
- NM_THIN = 2,
+ NM_SMALL = 0,
+ NM_NORMAL = 1,
+ NM_THIN = 2,
NM_CALLBACK = 3,
};
enum NewsFlags {
- NF_VIEWPORT = 1,
- NF_TILE = 4,
- NF_VEHICLE = 8,
+ NF_VIEWPORT = 0x01,
+ NF_TILE = 0x04,
+ NF_VEHICLE = 0x08,
NF_FORCE_BIG = 0x10,
- NF_NOEXPIRE = 0x20,
- NF_INCOLOR = 0x40,
+ NF_NOEXPIRE = 0x20,
+ NF_INCOLOR = 0x40,
};
enum {
- DNC_TRAINAVAIL = 0,
- DNC_ROADAVAIL = 1,
- DNC_SHIPAVAIL = 2,
+ DNC_TRAINAVAIL = 0,
+ DNC_ROADAVAIL = 1,
+ DNC_SHIPAVAIL = 2,
DNC_AIRCRAFTAVAIL = 3,
- DNC_BANKRUPCY = 4,
+ DNC_BANKRUPCY = 4,
};
/**