summaryrefslogtreecommitdiff
path: root/src/aircraft.h
AgeCommit message (Collapse)Author
2012-07-07(svn r24384) -Fix [FS#5188-ish]: Make IsInDepot() functions behave ↵frosch
consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked.
2012-05-14(svn r24246) -Add [FS#5052-ish]: [NewGRF] Variable with the current max ↵michi_cc
speed for vehicles.
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-19(svn r23595) -Codechange: add comma after last enum to get a more uniform ↵rubidium
coding style
2011-12-18(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise ↵smatz
out some indirect calls
2011-12-13(svn r23504) -Feature: Aircraft range.michi_cc
2011-11-04(svn r23110) -Codechange: let the flying altitude return ints are wellrubidium
2011-11-01(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to ↵frosch
draw different sprites on the map and in various GUIs.
2011-09-09(svn r22915) -Fix (r22743): TTO savegames with any aircraft not in an hangar ↵yexo
caused crashes during load
2011-01-30(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.alberth
2011-01-21(svn r21876) -Codechange: typedef SpecializedVehicleBase and ↵smatz
GroundVehicleBase to reduce typing
2011-01-18(svn r21844) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [a-c].
2010-11-06(svn r21097) -Codechange: Unify cached max speed for all vehicle types.terkhen
2010-11-06(svn r21096) -Fix: Display the real max speed for aircrafts instead of ↵terkhen
always using the engine value.
2010-11-06(svn r21095) -Codechange: Use a function to convert aircraft speed to old units.terkhen
2010-11-06(svn r21093) -Codechange: Align some functions.terkhen
2010-11-05(svn r21088) -Doc: Additions/corrections of doxygen comments.alberth
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-11(svn r18779) -Codechange: merge the command callbacks of the primary ↵rubidium
vehicles; they are identical
2010-01-09(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal ↵rubidium
wait counter; sometimes they might get into eachother's way
2009-12-04(svn r18402) -Codechange: unify/centralise the code for crashing vehiclesrubidium
2009-10-28(svn r17897) -Fix [FS#3255]: CB15 and CB36 (capacity) were not always called ↵frosch
when they should. -Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
2009-09-09(svn r17483) -Fix (r17405): when an aircraft starts flying in circles make ↵yexo
it turn in the correct direction first before continuing
2009-09-03(svn r17405) -Fix (r100): aircraft shouldn't be allowed to make turns bigger ↵yexo
then 45 degrees while in flight
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-13(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraftsmatz
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-06-02(svn r16505) -Fix [FS#2951] (r16472): since g++ 4.4 the implicit (default) ↵rubidium
constructor will zero the whole class. This caused all vehicle indices to be 0, which causes all kinds of trouble.
2009-05-30(svn r16472) -Codechange: set vehicle type in SpecializedVehicle constructor ↵smatz
instead of constructor of each vehicle type
2009-05-26(svn r16445) -Codechange: update old comments (Yexo)smatz
2009-05-26(svn r16441) -Codechange: new class SpecializedVehicle used as superclass ↵smatz
for all vehicle types
2009-05-23(svn r16394) -Codechange: move (NewGRF) cache variables into a separate ↵rubidium
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
2009-05-22(svn r16388) -Codechange: move u.air to Aircraftrubidium
2009-05-22(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriaterubidium
2009-05-22(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle ↵smatz
was deleted
2009-02-01(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.frosch
2009-01-22(svn r15210) -Fix: Vehicle::GetRunningCost() was wrong for ships and aircraftglx
2009-01-10(svn r14952) -Codechange: unify the "can vehicle go to station" testsrubidium
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2008-09-16(svn r14343) -Fix [FS#2300]: invalid v->u.air.targetairport could cause ↵smatz
crashes at several places when the station pool got smaller
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-29(svn r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-24(svn r12862) -Codechange: reduce code duplication for VehicleType -> ↵smatz
WindowClass lookup
2008-04-21(svn r12824) -Codechange: Standardise routines for drawing vehicle images, ↵peter1138
using correct types and less duplication.
2008-04-11(svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class.rubidium
2008-04-05(svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the ↵rubidium
'unified' ProcessOrder.
2008-03-31(svn r12490) -Codechange: rename engine.h to engine_func.h and remove ↵rubidium
unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-02-01(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) ↵glx
with an OnNewDay method in the Vehicle class