summaryrefslogtreecommitdiff
path: root/src/news_func.h
AgeCommit message (Collapse)Author
2021-07-01Codechange: create a type for the "free_data" of NewsItems and (de)allocate ↵rubidium42
it with new and delete
2021-01-05Fix #7611: keeps news about accidents around after vehicle is cleaned up (#8497)Patric Stout
When a vehicle is cleaned up, all news that points to the news is also removed. This was a bit evil, as it would also remove any news related to crashed, acting like the crash never happened. This left players a bit in the dark what was going on exactly.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2012-12-23(svn r24845) -Add: News ticker sound setting to adv. settings window.frosch
2012-12-23(svn r24843) -Codechange: Move news display options into the general ↵frosch
settings framework. (based on patch by eagle_rainbow)
2012-05-26(svn r24285) -Codechange: Add a more explcit NewsFlag to indicate that the ↵frosch
first string parameter is a vehicle ID.
2012-05-26(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and ↵frosch
NewsFlag instead.
2012-05-26(svn r24283) -Codechange: Add AddTileNewsItem function to preemptively ↵frosch
deduplicate code.
2012-05-26(svn r24282) -Codechange: Add AddVehicleAdviceNewsItem function to ↵frosch
preemptively deduplicate code.
2012-05-26(svn r24281) -Cleanup: Merge all company news subtypes into a single one; ↵frosch
they all behave the same.
2011-02-05(svn r21987) -Fix: Make news items, engine previews and AI preview events ↵frosch
deal with no longer existing Engine items after resetting the pool.
2011-01-22(svn r21886) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [n].
2009-12-21(svn r18597) -Fix (r17147)[FS#3395, FS#3396]: ChangeVehicleNews() did not ↵frosch
update the news ticker.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-10(svn r17147) -Fix [FS#3048]: Keep vehicle news and viewports following ↵frosch
vehicles, when autoreplacing/renewing them.
2009-05-24(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced ↵frosch
vehicles/stations/industries are deleted.
2009-03-23(svn r15830) -Codechange: don't use fixed size of array in news_gui.cpp and ↵smatz
news_func.h
2008-09-13(svn r14307) -Fix: when deleting a station, remove news items regarding itsmatz
2008-07-18(svn r13730) -Fix: make a copy of the names for news messages about the ↵rubidium
deletion of companies as the removal of a company could lead to wrong names in the news messages.
2008-05-15(svn r13102) -Codechange: make a class of the NewsWindow.rubidium
2008-05-15(svn r13100) -Codechange: reduce the amount of parameters passed via ↵rubidium
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
2008-04-20(svn r12805) -Codechange: remove some bit magic related to the news display ↵rubidium
states. Patch by cirdan.
2008-04-19(svn r12785) -Codechange: put all news-type related constants in the same ↵rubidium
array. Patch by cirdan.
2008-03-28(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.rubidium