summaryrefslogtreecommitdiff
path: root/src/news_type.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-08-16 07:31:36 +0000
committeralberth <alberth@openttd.org>2009-08-16 07:31:36 +0000
commit3409385e1d6c3ccd213ccce5f079026b6535cb03 (patch)
treecad2f5c6a26fc6ba2e32e4f42722d7b430fcf603 /src/news_type.h
parent098756b84b264a9213de998d929854f3da3bd98e (diff)
downloadopenttd-3409385e1d6c3ccd213ccce5f079026b6535cb03.tar.xz
(svn r17199) -Codechange: Remove NF_VIEWPORT since it is implied by the news mode.
Diffstat (limited to 'src/news_type.h')
-rw-r--r--src/news_type.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/news_type.h b/src/news_type.h
index 189369e78..996f6d192 100644
--- a/src/news_type.h
+++ b/src/news_type.h
@@ -61,9 +61,9 @@ enum NewsSubtype {
* News mode.
*/
enum NewsMode {
- NM_SMALL = 0, ///< Show only a small popup informing us about vehicle age for example
- NM_NORMAL = 1, ///< Show a simple news message (height 170 pixels)
- NM_THIN = 2, ///< Show a simple news message (height 130 pixels)
+ NM_SMALL = 0, ///< Show only a small popup informing us about vehicle age for example, with a viewport.
+ NM_NORMAL = 1, ///< Show a simple news message without viewport (height 170 pixels).
+ NM_THIN = 2, ///< Show a simple news message with a viewport (height 130 pixels).
};
/**
@@ -87,12 +87,11 @@ enum NewsReferenceType {
/**
* Various OR-able news-item flags.
- * note: NF_INCOLOUR is set automatically if needed
+ * @note #NF_INCOLOUR is set automatically if needed.
*/
enum NewsFlag {
NF_NONE = 0, ///< No flag is set.
- NF_VIEWPORT = 1 << 1, ///< Does the news message have a viewport? (ingame picture of happening)
- NF_INCOLOUR = 1 << 2, ///< Show the newsmessage in colour, otherwise it defaults to black & white
+ NF_INCOLOUR = 1 << 0, ///< Show the newsmessage in colour, otherwise it defaults to black & white.
};
DECLARE_ENUM_AS_BIT_SET(NewsFlag);