forked from mirror/OpenTTD
(svn r16297) -Codechange: silence more ICC warnings
This commit is contained in:
@@ -94,11 +94,20 @@ enum NewsDisplay {
|
||||
* Per-NewsType data
|
||||
*/
|
||||
struct NewsTypeData {
|
||||
const char * const name; ///< Name
|
||||
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
|
||||
const char * const name; ///< Name
|
||||
const byte age; ///< Maximum age of news items (in days)
|
||||
const SoundFx sound; ///< Sound
|
||||
NewsDisplay display; ///< Display mode (off, summary, full)
|
||||
const StringID description; ///< Description of the news type in news settings window
|
||||
|
||||
NewsTypeData(const char *name, byte age, SoundFx sound, StringID description) :
|
||||
name(name),
|
||||
age(age),
|
||||
sound(sound),
|
||||
display(ND_FULL),
|
||||
description(description)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
struct NewsItem {
|
||||
|
Reference in New Issue
Block a user