Age | Commit message (Collapse) | Author |
|
account.
|
|
|
|
|
|
GroundVehicleBase to reduce typing
|
|
instead of recalculating it every time.
|
|
|
|
SpecializedVehicle in order to improve performance
|
|
if a header require a header make it include that header
|
|
vehicles; they are identical
|
|
|
|
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
|
|
|
|
was deleted
|
|
|
|
|
|
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.
|
|
|
|
WindowClass lookup
|
|
using correct types and less duplication.
|
|
|
|
road vehicles.
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
with an OnNewDay method in the Vehicle class
|
|
needed.
|
|
useless includes.
|
|
their respective places.
|
|
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.
|
|
individual checks depending on the vehicle type.
|
|
and leaves the station.
|
|
|
|
|
|
|
|
|
|
nicer/better maintainable code, i.e. virtual methods instead of switches.
|
|
The end of the preliminary work is near
|
|
coding style (and rest of the code).
|
|
a sprite is too big to fit (ships and aircraft only)
-Codechange: depot windows default now makes a 1x1 matrix and resize the window by block size*number of blocks
This will make less vehicle type specific code and easier to read resizing based on sprite sizes
|