Age | Commit message (Collapse) | Author |
|
|
|
the command proc.
When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing.
|
|
This is accomplished by changing it to a single member struct with the
appropriate operator overloads to make it all work with not too much
source modifications.
|
|
|
|
function calls.
|
|
|
|
Division by resize_y is already yielding an unsigned number, so when clicking in the WD_FRAMERECT_TOP you would already get a huge value, so sel would never be negative. So, leave sel an unsigned number and remove the <= check.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
timetables
|
|
private
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
date button in timetable window without any orders
|
|
setting a start date
|
|
of them.
|
|
window to its default size.
|
|
|
|
after construction.
|
|
vehicle-related windows with an enum.
|
|
values for size computations.
|
|
|
|
|
|
|
|
CmdChangeTimetable for indicating what to change.
|
|
|
|
understandable
|
|
|
|
as no real order influencing path finding is added
|
|
|
|
|
|
command-scope.
|
|
invalidations themself (from autoreplace and refitting).
|
|
OnInvalidateData().
|
|
because the Vehicle index changed, use a better eye-catcher-'data' than 0 to identify them.
|
|
and cur_real_order_index to keep track of the current real order in an unambiguous way.
-Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing.
-Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
|
|
|
|
for intermediate stations and remove them when not visiting them anymore. This allows you to see what trains visit a station without actually having to order a vehicle to stop at all stations. Based on patch by fonsinchen
|
|
the language "list"
|
|
to increase the vehicle pool limit
|
|
|
|
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().
|
|
|