(svn r16297) -Codechange: silence more ICC warnings

This commit is contained in:
rubidium
2009-05-13 17:39:00 +00:00
parent d23f616e9f
commit 5f81ba886c
8 changed files with 65 additions and 40 deletions

View File

@@ -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 {