Age | Commit message (Collapse) | Author |
|
ShowQueryString()
|
|
Provided by ln
I've added a little fix on currency.cpp too, why not :)
|
|
Note that some WWT_TEXT widgets have received a COLOUR_x value.
It is not a valid colour a per say. THe strings been displayed there do have their own colours encoded.
IT is currently just for the sake of ease of writing, as TextColour and Colours are not really related.
|
|
configurable.
|
|
were printed, otherwise the text could change due to the few number of slots that could be used to bind.
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
|
|
equivalent constant
|
|
|
|
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.
|