Age | Commit message (Collapse) | Author |
|
with NewGRF defined railtypes.
|
|
is iteration.
|
|
context data between cases.
|
|
|
|
|
|
|
|
parts.
|
|
|
|
AutoDeleteSmallVector obsolete.
DropDownListItem are strongly managed using std::unique_ptr to ensure leak-free handling. Appropriate use
of move-semantics make intent a lot clearer than parameter comments and allows the compiler to generate
copy-free code for most situations.
|
|
In the autoreplace window, the rail type drop down is for choosing engines
of the given time. Many rail types do not have engines specifically designed for them,
and are merely compatible with other rail types. This list is thus unwieldy and many
options have no engines available.
As this drop down is for choosing _engine_ rail type rather than compatible rail types,
we can list just the rail types explicitly listed by engines.
|
|
std::vector::[push|emplace]_back()
|
|
|
|
|
|
|
|
timers to work with milliseconds instead of ticks.
|
|
|
|
SetDefaultRailGui
The array is rail type sized in terms of number of elements.
Each element should be a unsigned integer, not a rail type itself.
This fixes runtime warnings reported by UndefinedBehaviorSanitizer.
|
|
when dragging. (adf88)
|
|
filter it by railtype by default.
|
|
a sound effect.
|
|
(andythenorth)
|
|
infrastructure window.
|
|
max-vehicles settings. (adf88)
|
|
ScaleGUITrad().
|
|
level.
|
|
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
effect. Rename the enum items to properly reflect their purpose.
|
|
|
|
|
|
dropdowns
|
|
multiplayer (adf88)
|
|
signal GUI, that is: Center sprites horizontally, and align the vertical reference point at some baseline which centers the tallest sprite.
|
|
density. (adf88)
|
|
signal GUI. (based on patch by adf88)
|
|
bridge that was clicked and not the other end, which could be outside of the screen in some cases (cirdan, LordAro)
|
|
rows and columns from the resize step size.
|
|
so their capacity is set via OnResize.
|
|
depend on their number of rows, since that changes when resizing the window.
|
|
widgets.
|
|
picker since it is not resizeable anyway.
|
|
|
|
|
|
HotkeyList member.
|
|
|
|
declared in the cpp file.
|
|
oscillate when resizing the window moved the mouse into the window.
|
|
window to its default size.
|
|
|
|
after construction.
|