Age | Commit message (Collapse) | Author |
|
news guis
-Fix: a few misalignements
|
|
of industries into two news of their own
|
|
|
|
deletion of companies as the removal of a company could lead to wrong names in the news messages.
|
|
into their own parameter.
|
|
|
|
be gathered from the fact that a callback has been specified. Patch by Cirdan.
|
|
calling a function and is then reset in the function without ever reading it. Patch by Cirdan.
|
|
variable, so move it so there is only once instance of that variable. Patch by Cirdan.
|
|
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
|
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).
|
|
more logically.
|
|
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
|
from lots
of windows causing 'two stage' opening effect.
|
|
|
|
Patch by Cirdan.
|
|
window.
|
|
OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
|
|
|
|
the Window class and remove Window from their naming.
|
|
|
|
to modify the state of the statusbar from outside the statusbar.
|
|
reflect reality. Patch by Cirdan.
|
|
|
|
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
|
|
Patch by Cirdan.
|
|
|
|
|
|
same thing.
|
|
store a second tile to skip to (in news messages). Patch by cirdan.
|
|
a Window constructor.
|
|
when it's certain that w != NULL.
|
|
|
|
something more than whitespace as description of files that don't have a description.
|
|
'Location' button, a town/station/industry list, or some news items.
|
|
|
|
|
|
states. Patch by cirdan.
|
|
InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
|
|
array. Patch by cirdan.
|
|
okay (or lines starting with a space and then tabs).
|
|
properly.
|
|
|
|
|
|
|
|
lobby/setup and news settings windows
|
|
Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
|
|
|
|
|
unneeded include from openttd.h.
|