Age | Commit message (Collapse) | Author |
|
industries
|
|
industry window.
|
|
name instead of a LegendAndColour array.
|
|
SE to a callback.
|
|
|
|
in the scenario editor the "build" button wasn't enabled
|
|
|
|
parameter for OnClick().
|
|
if a header require a header make it include that header
|
|
variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
|
|
function returns
|
|
|
|
capacity.
|
|
button in the scenario editor
|
|
stickyable
|
|
|
|
same twice.
|
|
custom drawing/handling input
|
|
and sticky boxes and for window captions
|
|
|
|
Window::UpdateWidgetSize().
|
|
|
|
|
|
and tooltip for scrollbars
|
|
WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
|
|
WindowDesc; it's determined from the (nested) widgets
|
|
|
|
capacity/matrix initialisation
|
|
|
|
with gcc3.3 and removes the need of assert_tcompile()
|
|
before the details string.
Gentlemen, swap your string parameters.
|
|
|
|
used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
|
|
typo-ish fixes.
|
|
OTTD's traditional assert_compile() does not work inside templates for gcc compilers, static_assert() does though.
The new assert_tcompile() resolves into static_assert() if present, or into a runtime assert() else.
|
|
|
|
|
|
amount of space between text.
|
|
constants for hardcoded numbers.
|
|
|
|
wrong 'size') upon reiniting windows
|
|
|
|
|
|
nested widgets through the nested_array.
|
|
|
|
for more consistency and distinguishability.
|
|
industry list window
|
|
list, and use that text in the size computation as well.
|
|
actually useful when building industries
|
|
scrollbar wrappers
|