Age | Commit message (Collapse) | Author |
|
|
|
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
|
the NewGRF settings window.
|
|
-Codechange: split the diff_custom variable.
-Feature: allow changing some of the diff_custom variables via the console in network games.
|
|
|
|
-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.
|
|
|
|
OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
|
|
the Window class and remove Window from their naming.
|
|
|
|
pointer with the WE_CREATE message because nothing uses it anymore.
|
|
GenerateLandscapeWindow, NetworkChatWindow, NetworkCompanyPasswordWindow, NetworkGameWindow, NetworkStartServerWindow, QueryStringWindow, SaveLoadWindow. All these classes depended on the 'querystr_d' object which is now put into QueryStringBaseWindow. As a side effect this removes quite a lot of WP macro usages and a few global variables.
|
|
the need for WE_ON_EDIT_TEXT_CANCEL.
|
|
Window.
|
|
from openttd.h to their own headers.
|
|
when it's certain that w != NULL.
|
|
|
|
something more than whitespace as description of files that don't have a description.
|
|
|
|
someone without a keyboard can enter text too. Patch by Dominik.
|
|
places.
|
|
aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
|
|
|
|
widgets to avoid separate DrawString()s, and do the same for the scenario flat-land window.
|
|
separate DrawString() calls with widgets, use dropdown widgets, and use consistent positioning/sizing.
|
|
unneeded strings
|
|
Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
|
|
|
unneeded include from openttd.h.
|
|
|
|
|
|
when it's not necessary.
|
|
|
|
functions.
|
|
logical disposition
|
|
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
single file and do not include gfx.h everywhere to get a Point type.
|
|
their respective places.
|
|
|
|
|
|
and making it more logic where function definitions can be found.
|
|
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
|
|
its now useless counterpart function
|
|
|
|
correctly.
A better solution will be deviced, but not now. Let's not cause a ton of bug reports
|
|
which specifies that the window holding it is actually one that enables an edit box.
Use this flag when dispatching a key event instead of using some hard coded window IDs.
This should ease a little bit the creation of new edit aware windows.
|
|
|