Age | Commit message (Collapse) | Author |
|
a Engine * is already present.
|
|
|
|
set before first callback/sprite-resolving. For RV fronts it was missing at all, causing livery selection to fail.
|
|
|
|
DrawRoadVehImage.
|
|
functions
|
|
Is/Set/HasArticulatedPart member of RoadVehicle.
|
|
constructor will zero the whole class. This caused all vehicle indices to be 0, which causes all kinds of trouble.
|
|
instead of constructor of each vehicle type
|
|
|
|
for all vehicle types
|
|
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
|
|
|
|
|
|
|
was deleted
|
|
|
|
|
|
show the clone/refit button when the vehicle was not completely stopped in the depot.
|
|
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
|
WindowClass lookup
|
|
using correct types and less duplication.
|
|
|
|
road vehicles.
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
vehicles' running cost, and show running cost of wagons if they have it.
|
|
with an OnNewDay method in the Vehicle class
|
|
needed.
|
|
useless includes.
|
|
their respective places.
|
|
Vehicle::first pointer correctly set.
|
|
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
|
|
a depot.
|
|
determined. Patch by nycom.
|
|
a vehicle. Patch by nycom.
|
|
CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle.
|
|
same forwat so we can display it.
|
|
|
|
type *var.
|
|
Tick method in the Vehicle class.
|
|
Get(Aircraft|RoadVeh|Ship|Train)Image.
|
|
callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
|
|
individual checks depending on the vehicle type.
|
|
|
|
|
|
|
|
|
|
nicer/better maintainable code, i.e. virtual methods instead of switches.
|
|
|
|
|