Age | Commit message (Collapse) | Author |
|
of window.
|
|
not be allocated in the order expected by GRF authors, so sort by 'list position' instead of engine ID for all vehicle types.
|
|
instead of just disabled. It will be only visible when called from the Depot Building Window.
Less confusion, hopefully. Suggested by Eddi.
|
|
train/ship/etc. list instead of the one where you can actually build vehicles by setting the appropriate title for the window.
|
|
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
|
|
|
copy of it.
|
|
(and its headers) to engine_gui.cpp
|
|
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
|
|
|
|
|
window_gui.h only needs to be included in *_gui.cpp.
|
|
the Window class and remove Window from their naming.
|
|
when used instead of when loading, to allow callback values to work properly.
|
|
pointer with the WE_CREATE message because nothing uses it anymore.
|
|
|
|
the need for WE_ON_EDIT_TEXT_CANCEL.
|
|
|
|
Window.
|
|
wrapper for CBlobT
|
|
when it's certain that w != NULL.
|
|
something more than whitespace as description of files that don't have a description.
|
|
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
|
both directions
The code to open this window is also unified for all vehicle types
|
|
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
station_func.h.
|
|
vehicles' running cost, and show running cost of wagons if they have it.
|
|
running_cost, inline with other vehicle types (It is the factor, not the base)
|
|
|
|
correctly in the purchase list. Multiple cargo types can also now been shown.
|
|
|
|
adjust the widgets around it to suit.
|
|
instead of using specific indexes each time.
-Codechange: Minor scope changes in said loops.
|
|
fixed pixel positions
|
|
arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
|
|
vehicle, group vehicle list and station list.
|
|
Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
|
unneeded include from openttd.h.
|
|
|
|
|
|
|
|
|
|
needed.
|
|
running costs and speed to road vehicles and ships build windows
|
|
useless includes.
|
|
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
single file and do not include gfx.h everywhere to get a Point type.
|
|
their respective places.
|