summaryrefslogtreecommitdiff
path: root/src/news_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-08 22:53:49 +0000
committerrubidium <rubidium@openttd.org>2008-05-08 22:53:49 +0000
commitee0a49c91ada3ab724698f612f13f0d054b5d4ea (patch)
treeb20a6a2b3525e06f4c44ed37151eedb5444c74d4 /src/news_type.h
parent5c9c8fc1996cf099341a10d072bac16f02a8c0a8 (diff)
downloadopenttd-ee0a49c91ada3ab724698f612f13f0d054b5d4ea.tar.xz
(svn r13021) -Codechange: free data_b for other uses when it is not used to store a second tile to skip to (in news messages). Patch by cirdan.
Diffstat (limited to 'src/news_type.h')
-rw-r--r--src/news_type.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/news_type.h b/src/news_type.h
index 8ed7f8335..aa220a83f 100644
--- a/src/news_type.h
+++ b/src/news_type.h
@@ -48,10 +48,11 @@ enum NewsMode {
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_TILE = (1 << 2), ///< When clicked on the news message scroll to a given tile? Tile is in data_a/data_b
+ NF_TILE = (1 << 2), ///< When clicked on the news message scroll to a given tile? Tile is in data_a
NF_VEHICLE = (1 << 3), ///< When clicked on the message scroll to the vehicle? VehicleID is in data_a
NF_FORCE_BIG = (1 << 4), ///< Force the appearance of a news message if it has already been shown (internal)
NF_INCOLOR = (1 << 5), ///< Show the newsmessage in colour, otherwise it defaults to black & white
+ NF_TILE2 = (1 << 6), ///< There is a second tile to scroll to; tile is in data_b
};
DECLARE_ENUM_AS_BIT_SET(NewsFlag);