summaryrefslogtreecommitdiff
path: root/src/news_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-20 11:40:33 +0000
committerrubidium <rubidium@openttd.org>2008-04-20 11:40:33 +0000
commitfccfcd093b2b4e38ac08d9acb0930e9d57f36c82 (patch)
tree27579cb47236c22150f5e4f424fdeef6366666b1 /src/news_type.h
parentb139756e2ba70431364b21a5b49950fc991dbdef (diff)
downloadopenttd-fccfcd093b2b4e38ac08d9acb0930e9d57f36c82.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.h10
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 {