Age | Commit message (Collapse) | Author |
|
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
|
|
|
|
|
was deleted
|
|
|
|
|
|
|
|
|
|
crashes at several places when the station pool got smaller
|
|
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.
|
|
|
|
'unified' ProcessOrder.
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
station_func.h.
|
|
with an OnNewDay method in the Vehicle class
|
|
needed.
|
|
useless includes.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
nicer/better maintainable code, i.e. virtual methods instead of switches.
|
|
of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable.
|
|
|
|
|
|
|
|
coding style (and rest of the code).
|
|
|
|
|
|
the code to figure out if an aircraft is buildable in the hangar in question
This should help ensuring that the build command and the list are consistent in what aircraft are buildable
|
|
(the @file tag MUST be found before any line of code, that includes preprocessor directives).
|
|
files with the @file tag as well as a few general comments style
|
|
Variable scope, const
|
|
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
|
|
magic numbers and add a function IsNormalAircraft() which tells us whether the aircraft is in fact some flying device or a rotor/shadow.
|
|
from build_vehicle_gui.cpp to aircraft_gui.cpp
|