summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
AgeCommit message (Collapse)Author
2020-09-24Feature: Make news and errors close hotkeys configurabledP
2020-07-27Codechange: Spell 'Viewport' consistentlyTechGeekNZ
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'. This patch makes everything consistent.
2020-06-27Fix #8129: Crash if a news message expires while viewing the endgame screenCharles Pigott
2020-06-09Cleanup: Give `SetDirtyBlocks` a more descriptive name.TechGeekNZ
2020-03-06Change: Keep News Window usable by only storing the 1024 latest news messagesCharles Pigott
2019-12-23Feature: Add a button to the vehicle advisory news window to open the group ↵stormcone
window.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-09-14Fix #7737, afbf6a5: missing returnJohannes E. Krause
2019-08-03Feature: Allow showing Newspaper and Ticker messages in parallelJohannes E. Krause
2019-04-29Fix #7255: Prevent crashlog corruption by only printing the 32 most recent ↵Charles Pigott
news messages
2019-04-24Fix: Manager name in company news was being clippedNiels Martin Hansen
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-01-11Change: Use GUITimer class instead of bare int/uints.Peter Nelson
2019-01-11Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵Peter Nelson
timers to work with milliseconds instead of ticks.
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-04-13Add: List recent news messages in crashlog outputCharles Pigott
2017-03-31(svn r27838) -Fix: Small news window's fake caption (r19943) was not sized ↵peter1138
to fit its text.
2014-10-05(svn r26965) -Codechange: Add palette bit to indicate that palette is ↵peter1138
actually a text colour remap, and draw closebox as a sprite, using said bit. Change news popup to use closebox widget for its closebox.
2014-10-04(svn r26953) -Codechange: GUI-scale for company manager face on news popup.peter1138
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-08-05(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of ↵michi_cc
just UCS-2 to the window key press handlers.
2013-06-30(svn r25533) -Codechange: Use SetCapacityFromWidget more often.frosch
2013-05-26(svn r25294) -Feature: Add another button to window title bars to resize the ↵frosch
window to its default size.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-03-17(svn r25093) -Fix [FS#5486]: Clicking the statusbar crashed, when news were ↵frosch
pending but no news were shown yet. (3298)
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-23(svn r24846) -Add: Advanced settings to disable certain sound effects.frosch
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-12-23(svn r24842) -Remove: News settings window.frosch
2012-12-08(svn r24802) -Fix [FS#4224]: When displaying the previous news message, ↵frosch
don't consider news which are turned off.
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
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 r24281) -Cleanup: Merge all company news subtypes into a single one; ↵frosch
they all behave the same.
2012-05-26(svn r24280) -Cleanup: Remove uselessly duplicated code to set string ↵frosch
parameters in company news.
2012-02-11(svn r23924) -Fix [FS#5054]: [NoGo] "Some" news messages would cause an ↵rubidium
assertion to be triggered due to a missing proper location for the viewport of the news message, so only allow building when valid data for the viewport is provided or no viewport is used
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-20(svn r23643) -Fix [FS#4896]: dates cut off in the message historyrubidium
2011-12-19(svn r23627) -Add: ScriptNews::Create, to create custom news messages ↵truebrain
(GameScript only)
2011-12-19(svn r23601) -Fix: fix the conflict in window numbertruebrain
2011-12-16(svn r23552) -Codechange: unify naming of the news widgetstruebrain
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-12-15(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, ↵truebrain
with only values known in WindowFlags (and move out 2 timers to their own variable) -Codechange: rename Window::flags4 to Window::flags -Codechange: move some non-inline functions from .hpp to .cpp
2011-12-13(svn r23509) -Fix [FS#4884]: Drawing of newspaper headlines used different ↵frosch
padding than the initial sizing of the window.
2011-11-01(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to ↵frosch
draw different sprites on the map and in various GUIs.