Age | Commit message (Collapse) | Author |
|
|
|
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
window to its default size.
|
|
|
|
after construction.
|
|
Eagle_rainbow)
|
|
|
|
understandable
|
|
include the files they need to compile
|
|
|
|
OnInvalidateData().
|
|
OnPaint().
|
|
so use a bool when calling the function
|
|
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().
|
|
GetScrolledRowFromWidget().
|
|
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.
|
|
|
|
capacity.
|
|
same twice.
|
|
and sticky boxes and for window captions
|
|
|
|
Window::UpdateWidgetSize().
|
|
WindowDesc; it's determined from the (nested) widgets
|
|
capacity/matrix initialisation
|
|
|
|
used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
|
|
wrong 'size') upon reiniting windows
|
|
|
|
nested widgets through the nested_array.
|
|
scrollbar wrappers
|
|
|
|
of 'just' showing a scroll bar.
|
|
based on (some) of the content
|
|
|
|
|
|
subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
|
|
the Subsidy struct instead of determining it every time it's needed
|
|
relatives
|
|
subsidy's age
|
|
|
|
|
|
all subsidies
|
|
|
|
|
|
DrawString.
|