Commit Graph

11 Commits (026afc097a1cf098b2b62a6f91a384bf3ae17c91)

Author SHA1 Message Date
rubidium d3d0432314 (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).
16 years ago
rubidium 03f1292332 (svn r13181) -Codechange: make news callback handling a little simpler. Patch by Cirdan. 16 years ago
rubidium 483ad8d02a (svn r13123) -Codechange: passing the bankrupt type via data_b is not needed anymore. Patch by Cirdan. 16 years ago
rubidium ca8d282eff (svn r13102) -Codechange: make a class of the NewsWindow. 16 years ago
rubidium 373343cef6 (svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls. 16 years ago
rubidium 5d7851e8d6 (svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan. 16 years ago
rubidium ee0a49c91a (svn r13021) -Codechange: free data_b for other uses when it is not used to store a second tile to skip to (in news messages). Patch by cirdan. 16 years ago
rubidium 650651064b (svn r12805) -Codechange: remove some bit magic related to the news display states. Patch by cirdan. 16 years ago
rubidium bfd2cac6e2 (svn r12785) -Codechange: put all news-type related constants in the same array. Patch by cirdan. 16 years ago
glx 5a6014d7e3 (svn r12691) -Fix (r12459): all company related news displayed the 'company is in trouble' message 16 years ago
rubidium 2426f5342f (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. 16 years ago