diff options
author | alberth <alberth@openttd.org> | 2009-05-02 13:05:00 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-05-02 13:05:00 +0000 |
commit | eab4fb07c6e3f297fdc1b86b6e722423e87cf926 (patch) | |
tree | 65ea2173747ef42cb2eba9753a752624f6ea3987 /src/news_type.h | |
parent | d518b3d0acf38509813daa0614559d267f196154 (diff) | |
download | openttd-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.h | 3 |
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]; }; |