summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
AgeCommit message (Collapse)Author
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.
2007-01-11(svn r8049) -Regression (r7369): Removing certain news windows could cause a ↵Darkvater
crash due to only one MoveToNextItem() in DeleteVehicleNews (added in r3757). To work correctly do not reset _forced_news to INVALID_NEWS when a new item is added, but leave it. -Codechange: ShowLastNewsMessage has been changed so that it actually works, wraps around correctly (array as FIFO) and shows the previous news item if the current news item is open (previously this was doubly shown).
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)