summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
AgeCommit message (Collapse)Author
2008-05-05(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a ↵peter1138
'Location' button, a town/station/industry list, or some news items.
2008-05-05(svn r12952) -Cleanup: Indenting and codestylepeter1138
2008-04-22(svn r12842) -Codechange [FS#1604]: scale message history by map sizeglx
2008-04-20(svn r12805) -Codechange: remove some bit magic related to the news display ↵rubidium
states. Patch by cirdan.
2008-04-19(svn r12789) -Codechange: rename AssignWindowViewport to ↵rubidium
InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
2008-04-19(svn r12785) -Codechange: put all news-type related constants in the same ↵rubidium
array. Patch by cirdan.
2008-04-18(svn r12762) -Fix: tabs after the first non-tab character are generally not ↵rubidium
okay (or lines starting with a space and then tabs).
2008-04-17(svn r12750) -Fix (r12749): viewport for industry new messages was not shown ↵rubidium
properly.
2008-04-13(svn r12683) -Fix [FS#1906]: in some cases a news messages would not be shown.rubidium
2008-03-28(svn r12475) -Codechange: cleanup coding style in news_gui.cpp.rubidium
2008-03-28(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.rubidium
2008-01-17(svn r11909) -Codechange: use dropdown widget for player livery, network ↵peter1138
lobby/setup and news settings windows
2008-01-14(svn r11848) -Codechange: New class-based drop down list functionality. ↵peter1138
Lists are now dynamically generated, and can include parameters, or be extended however needed.
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11832) -Codechange: get rid of (quite) some VARDEFs.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11668) -Codechange: more refactoring aimed at reducing compile time ↵rubidium
and making it more logic where function definitions can be found.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-07(svn r11588) -Codechange: use the new member introduced in r11551glx
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-11-26(svn r11526) -Codechange: Rename the function delta fitting to the naming styleskidd13
2007-11-15(svn r11442) -Feature: make news messages related to the industry ↵rubidium
(production) changes better configurable; you can now disable news messages popping up for industries you are not servicing. Patch by Alberth.
2007-11-11(svn r11404) -Codechange: remove 2 magical numbersbelugas
2007-11-10(svn r11399) -Feature(ette): transparency settings can now be saved and thus ↵belugas
remembered. -Codechange: Wrap all transparency settings in accessors, hiding the implementation -Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui. Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
2007-11-04(svn r11374) -Codechange: Give meaning to the magical number that specifies ↵belugas
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383)
2007-09-17(svn r11125) -Documentation: add/update the documentation of news*. Based on ↵rubidium
a patch by Progman.
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-05-15(svn r9844) -Codechange: replace zoomlevel with an enumtruelight
-Codechange: use predefined enums for viewport zoomlevels
2007-04-28(svn r9731) -Fix [FS#677]: in news history, newlines weren't replaced with ↵truelight
spaces, making it look ugly from time to time
2007-04-17(svn r9662) -Documentation: Doxygen corrections and @file omissionsbelugas
2007-04-05(svn r9563) -Feature: Add more finer control to transparency options, ↵peter1138
including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01.
2007-03-21(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.belugas
2007-03-13(svn r9137) -Fix: if all news-setting buttons show 'full', make the ↵truelight
ALL-button show 'full' too
2007-03-10(svn r9097) -Fix [FS#525]: open and close messages now have their own ↵truelight
setting, so you can hide economy changes, but do show open/close of industries -Change: store news_display_opt in his own section, so it is no longer stored as uint in openttd.cfg (allows adding news-types easier)
2007-03-10(svn r9089) -Codechange: Remove the 32 widgets limit on News Options window.belugas
-Codechange: Use the newly created WWT_TEXT widget. -Cleanup: remove a lot of magic numbers, make the whole window more flexible, with now the possibility to easily add new type of news events. Thanks glx for ideas from an old patch
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-03(svn r9001) -Codechange: remove duplication of functions and strings with ↵rubidium
respect to the news of new vehicles.
2007-03-02(svn r8977) -Codechange: Remove the hardcoded maximum width for some ↵Darkvater
drawstrings and replace them with a portion of w->width. Only visible improvement is QueryWndProc which will not write exactly to the edge of the window anymore.
2007-02-01(svn r8511) -Codechange: make WindowClass an enumerated value.rubidium
2007-01-26(svn r8409) -Regression (r8049): When the latest news was deleted, the news ↵Darkvater
queue wrapped back to the oldest item, showing all news again. -Regression [FS#573] (r8049): ShowLastNewsMessage could show an out-of-bounds news item because it did not checked if a previous item actually existed the first time it is called (forced news is INVALID_NEWS).
2007-01-14(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit ↵peter1138
values. This lets us increase the sprite width from 14 to up to 29 bits, effectively nulling the old sprite limit. Table changes in next commit.