Commit Graph

23 Commits

Author SHA1 Message Date
rubidium
08655368eb (svn r16297) -Codechange: silence more ICC warnings 2009-05-13 17:39:00 +00:00
alberth
5175aa9e9b (svn r16200) -Codechange: Moving news-type description to NewsTypeData array. 2009-05-02 13:05:00 +00:00
smatz
ce4f598cf5 (svn r15830) -Codechange: don't use fixed size of array in news_gui.cpp and news_func.h 2009-03-23 11:48:05 +00:00
smatz
e0fe28fdc9 (svn r15726) -Codechange: unify coding style for const pointers 2009-03-15 16:04:39 +00:00
rubidium
89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 2009-02-09 02:57:15 +00:00
rubidium
f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 2008-09-30 20:39:50 +00:00
belugas
e69de261ad (svn r14059) -Fix(r13872): Wrong comments in enum. Dear old copy/paste... 2008-08-13 01:48:58 +00:00
belugas
7e4b1e2d84 (svn r13872) -Feature: Split the news message announcing opening and closure of industries into two news of their own 2008-07-30 01:53:03 +00:00
rubidium
56ad26a3aa (svn r13730) -Fix: make a copy of the names for news messages about the deletion of companies as the removal of a company could lead to wrong names in the news messages. 2008-07-18 16:26:51 +00:00
rubidium
bb758700a8 (svn r13389) -Codechange: remove NM_CALLBACK because that information could be gathered from the fact that a callback has been specified. Patch by Cirdan. 2008-06-05 16:55:00 +00:00
rubidium
f0f4e9d6ec (svn r13349) -Codechange: remove a pointless flag; the flag is set before calling a function and is then reset in the function without ever reading it. Patch by Cirdan. 2008-06-01 10:11:31 +00:00
rubidium
20228809f0 (svn r13345) -Codechange: only one of all the NewsItem's instance duration variable, so move it so there is only once instance of that variable. Patch by Cirdan. 2008-05-30 20:57:19 +00:00
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).
2008-05-28 21:36:16 +00:00
rubidium
03f1292332 (svn r13181) -Codechange: make news callback handling a little simpler. Patch by Cirdan. 2008-05-19 09:18:51 +00:00
rubidium
483ad8d02a (svn r13123) -Codechange: passing the bankrupt type via data_b is not needed anymore. Patch by Cirdan. 2008-05-16 20:04:17 +00:00
rubidium
ca8d282eff (svn r13102) -Codechange: make a class of the NewsWindow. 2008-05-15 13:47:55 +00:00
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. 2008-05-15 13:39:36 +00:00
rubidium
5d7851e8d6 (svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan. 2008-05-13 10:17:04 +00:00
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. 2008-05-08 22:53:49 +00:00
rubidium
650651064b (svn r12805) -Codechange: remove some bit magic related to the news display states. Patch by cirdan. 2008-04-20 11:40:33 +00:00
rubidium
bfd2cac6e2 (svn r12785) -Codechange: put all news-type related constants in the same array. Patch by cirdan. 2008-04-19 12:50:02 +00:00
glx
5a6014d7e3 (svn r12691) -Fix (r12459): all company related news displayed the 'company is in trouble' message 2008-04-13 17:59:43 +00:00
rubidium
2426f5342f (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. 2008-03-28 08:53:36 +00:00