S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
JMcKiern
04f659e768
Fix: Some typos found using codespell
2019-09-29 21:27:32 +01:00
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
2019-04-10 23:22:20 +02:00
Charles Pigott
52ed3bcbaa
Remove: A few bits of dead code
2018-10-31 12:41:49 +01:00
frosch
21b43b63f5
(svn r24843) -Codechange: Move news display options into the general settings framework. (based on patch by eagle_rainbow)
2012-12-23 21:07:12 +00:00
frosch
01100053ff
(svn r24285) -Codechange: Add a more explcit NewsFlag to indicate that the first string parameter is a vehicle ID.
2012-05-26 14:16:07 +00:00
frosch
a8c88f43b6
(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead.
2012-05-26 14:16:03 +00:00
frosch
c796801c4d
(svn r24281) -Cleanup: Merge all company news subtypes into a single one; they all behave the same.
2012-05-26 14:15:46 +00:00
truebrain
bcbdc3933c
(svn r23600) -Codechange: link WC+number to a Widget, and the Widget to a Window class
2011-12-19 20:46:17 +00:00
rubidium
df16ebd730
(svn r23595) -Codechange: add comma after last enum to get a more uniform coding style
2011-12-19 17:48:04 +00:00
frosch
2981404793
(svn r22897) -Change: More suitable default news settings instead of everything on 'full'.
2011-09-05 21:55:05 +00:00
rubidium
4d5dbf5170
(svn r22410) -Document: some more bits ;)
2011-05-02 16:14:23 +00:00
smatz
53aaabe6e9
(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET
2010-03-23 22:25:43 +00:00
yexo
7d5cfa5884
(svn r19105) -Fix [FS#3614]: not all news data was properly freed when starting a new game
2010-02-12 16:42:29 +00:00
alberth
5fd5ae125a
(svn r17398) -Codechange: Fill normal news item window with widgets.
2009-09-02 20:59:30 +00:00
alberth
0f9da2d636
(svn r17397) -Codechange: Add new vehicle news window.
2009-09-02 20:55:55 +00:00
alberth
c0b9a6a9bc
(svn r17396) -Codechange: Add company news window.
2009-09-02 20:54:27 +00:00
alberth
96617e804c
(svn r17394) -Codechange: Add news flags for viewport settings.
2009-09-02 20:49:25 +00:00
rubidium
b1d4594fa7
(svn r17343) -Codechange: it's bankruptcy, not bankrupcy, according to my Oxford Dictionary of English and Merriam-Webster.
2009-09-01 12:28:46 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
alberth
3409385e1d
(svn r17199) -Codechange: Remove NF_VIEWPORT since it is implied by the news mode.
2009-08-16 07:31:36 +00:00
frosch
52f9b8ffbd
(svn r17147) -Fix [FS#3048]: Keep vehicle news and viewports following vehicles, when autoreplacing/renewing them.
2009-08-10 20:06:39 +00:00
frosch
a4557c7da4
(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.
2009-05-24 16:52:42 +00:00
rubidium
9c24e2bb8f
(svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant.
2009-05-17 17:17:48 +00:00
rubidium
5f81ba886c
(svn r16297) -Codechange: silence more ICC warnings
2009-05-13 17:39:00 +00:00
alberth
eab4fb07c6
(svn r16200) -Codechange: Moving news-type description to NewsTypeData array.
2009-05-02 13:05:00 +00:00
smatz
c299bac5be
(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
8585aa71ed
(svn r15726) -Codechange: unify coding style for const pointers
2009-03-15 16:04:39 +00:00
rubidium
c0a8d09ca7
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
2009-02-09 02:57:15 +00:00
rubidium
3b798599b6
(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
7564dbd32f
(svn r14059) -Fix(r13872): Wrong comments in enum. Dear old copy/paste...
2008-08-13 01:48:58 +00:00
belugas
d358eff64d
(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
891bec7e23
(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
5176319dd5
(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
92c80dab4c
(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
5a6f6bf067
(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
7f8f5fa52c
(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
a1137fcdfe
(svn r13181) -Codechange: make news callback handling a little simpler. Patch by Cirdan.
2008-05-19 09:18:51 +00:00
rubidium
5ede3da220
(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
d94bef9d5c
(svn r13102) -Codechange: make a class of the NewsWindow.
2008-05-15 13:47:55 +00:00
rubidium
76b8970a33
(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
d0c79e1164
(svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan.
2008-05-13 10:17:04 +00:00
rubidium
2ba05f8987
(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
fccfcd093b
(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
222988603f
(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
668e218600
(svn r12691) -Fix (r12459): all company related news displayed the 'company is in trouble' message
2008-04-13 17:59:43 +00:00
rubidium
eeabab4555
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
2008-03-28 08:53:36 +00:00