diff options
author | rubidium <rubidium@openttd.org> | 2008-04-20 11:40:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-20 11:40:33 +0000 |
commit | 650651064b5f585a876170f0ba9e4b613f0d5fd6 (patch) | |
tree | 27579cb47236c22150f5e4f424fdeef6366666b1 /src/news_type.h | |
parent | 8186344628fb4d1c76c7e6d9994d1f18277a2412 (diff) | |
download | openttd-650651064b5f585a876170f0ba9e4b613f0d5fd6.tar.xz |
(svn r12805) -Codechange: remove some bit magic related to the news display states. Patch by cirdan.
Diffstat (limited to 'src/news_type.h')
-rw-r--r-- | src/news_type.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/news_type.h b/src/news_type.h index d96e2171a..8ed7f8335 100644 --- a/src/news_type.h +++ b/src/news_type.h @@ -77,12 +77,22 @@ enum NewsBankrupcy { }; /** + * News display options + */ +enum NewsDisplay { + ND_OFF, ///< Only show a reminder in the status bar + ND_SUMMARY, ///< Show ticker + ND_FULL, ///< Show newspaper +}; + +/** * Per-NewsType data */ struct NewsTypeData { const char *const name; ///< Name const byte age; ///< Maximum age of news items (in days) const SoundFx sound; ///< Sound + NewsDisplay display; ///< Display mode (off, summary, full) }; struct NewsItem { |