(svn r13317) -Codechange: make news messages use a linked list instead of a moving circular buffer. This makes it possible to store more news messages in the history. Based on a patch by Cirdan.
-Codechange: the number of news messages is reduced by removing every news message that is a configurable amount older than when it would not be shown in the newspaper popup/ticker, which is e.g. a month for industry production changes and half a year for subsidy offers. As a result the more important messages will stay longer in the message history (if longer than 30 messages).
This commit is contained in:
@@ -79,6 +79,7 @@ struct GUISettings {
|
||||
int32 autorenew_money; ///< how much money before autorenewing for new companies?
|
||||
byte currency; ///< currency we currently use
|
||||
byte units; ///< unit system we show everything
|
||||
byte news_message_timeout; ///< how much longer than the news message "age" should we keep the message in the history
|
||||
};
|
||||
|
||||
/** Settings related to the creation of games. */
|
||||
|
Reference in New Issue
Block a user