summaryrefslogtreecommitdiff
path: root/src/news_type.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-05-02 13:05:00 +0000
committeralberth <alberth@openttd.org>2009-05-02 13:05:00 +0000
commiteab4fb07c6e3f297fdc1b86b6e722423e87cf926 (patch)
tree65ea2173747ef42cb2eba9753a752624f6ea3987 /src/news_type.h
parentd518b3d0acf38509813daa0614559d267f196154 (diff)
downloadopenttd-eab4fb07c6e3f297fdc1b86b6e722423e87cf926.tar.xz
(svn r16200) -Codechange: Moving news-type description to NewsTypeData array.
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 3697a66e9..2b76ecd5d 100644
--- a/src/news_type.h
+++ b/src/news_type.h
@@ -98,6 +98,7 @@ struct NewsTypeData {
const byte age; ///< Maximum age of news items (in days)
const SoundFx sound; ///< Sound
NewsDisplay display; ///< Display mode (off, summary, full)
+ StringID description; ///< Description of the news type in news settings window
};
struct NewsItem {
@@ -111,7 +112,7 @@ struct NewsItem {
uint data_a; ///< Custom data 1 (usually tile or vehicle)
uint data_b; ///< Custom data 2
- void *free_data; ///< Data to be freed when the news item has reached it's end.
+ void *free_data; ///< Data to be freed when the news item has reached its end.
uint64 params[10];
};