Age | Commit message (Collapse) | Author |
|
some headers
|
|
|
|
255 constants are used all over the place, no need for trivial wrapper functions.
|
|
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
|
|
and vscroll2.
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
|
|
scrollbar explicitly using a NWidgetPart via SetScrollbar().
|
|
converting it to 64 bits
|
|
industry chain window.
|
|
industry chain window.
|
|
IndustryCargoesWindow::OnClick.
|
|
chain window.
|
|
non-fundable industries, and disallow for the 'many random industries'.
|
|
|
|
window to a method.
|
|
|
|
|
|
|
|
|
|
GetScrolledRowFromWidget().
|
|
enlarge height slightly so small chains fit by default.
|
|
|
|
industry window.
|
|
industry view window.
|
|
|
|
|
|
missed :)
|
|
|
|
|
|
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
|
|
of _current_company to ensure proper restoration.
|
|
callbacks and values of variables
|
|
and cancel object placement when selecting not available industries.
|
|
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
|