(svn r16200) -Codechange: Moving news-type description to NewsTypeData array.

This commit is contained in:
alberth
2009-05-02 13:05:00 +00:00
parent d518b3d0ac
commit eab4fb07c6
2 changed files with 35 additions and 35 deletions

View File

@@ -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];
};