forked from mirror/OpenTTD
(svn r12805) -Codechange: remove some bit magic related to the news display states. Patch by cirdan.
This commit is contained in:
@@ -76,6 +76,15 @@ enum NewsBankrupcy {
|
||||
NB_BNEWCOMPANY = (4 << 4), ///< A new company has been started
|
||||
};
|
||||
|
||||
/**
|
||||
* News display options
|
||||
*/
|
||||
enum NewsDisplay {
|
||||
ND_OFF, ///< Only show a reminder in the status bar
|
||||
ND_SUMMARY, ///< Show ticker
|
||||
ND_FULL, ///< Show newspaper
|
||||
};
|
||||
|
||||
/**
|
||||
* Per-NewsType data
|
||||
*/
|
||||
@@ -83,6 +92,7 @@ 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)
|
||||
};
|
||||
|
||||
struct NewsItem {
|
||||
|
Reference in New Issue
Block a user