summaryrefslogtreecommitdiff
path: root/src/aircraft.h
AgeCommit message (Collapse)Author
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
2008-01-07(svn r11774) -Change: do not include variables.h in a header when it is not ↵rubidium
needed.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-10-05(svn r11214) -Fix [FS#1296]: planes can't use heliports so refuse these ordersglx
2007-08-29(svn r11001) -Codechange: unify the way to determine whether a vehicle is in ↵rubidium
a depot.
2007-08-29(svn r10999) -Codechange: unify the way the running cost of a vehicle is ↵rubidium
determined. Patch by nycom.
2007-08-28(svn r10995) -Codechange: unify the way to get the displayed maxium speed of ↵rubidium
a vehicle. Patch by nycom.
2007-08-26(svn r10985) -Codechange: unify/remove duplicate ↵rubidium
CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle.
2007-08-26(svn r10984) -Codechange: unify the way one can get the current speed in the ↵rubidium
same forwat so we can display it.
2007-08-05(svn r10798) -Fix [FS#1105]: virtual functions do not work in destructors :(.rubidium
2007-07-24(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> ↵rubidium
type *var.
2007-07-01(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a ↵rubidium
Tick method in the Vehicle class.
2007-07-01(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of ↵rubidium
Get(Aircraft|RoadVeh|Ship|Train)Image.
2007-06-01(svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace ↵maedhros
individual checks depending on the vehicle type.
2007-05-02(svn r9765) -Codechange: constify some class functions.rubidium
2007-05-02(svn r9764) -Codechange: replace some lookup tables by functions.rubidium
2007-05-01(svn r9760) -Codechange: remove the need for saving some vehicle variables.rubidium
2007-04-29(svn r9755) -Codechange: refactor some more of the begin loading stuff.rubidium
2007-04-29(svn r9754) -Codechange: make classes for all vehicle types, so we can make ↵rubidium
nicer/better maintainable code, i.e. virtual methods instead of switches.
2007-04-18(svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing ↵peter1138
of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable.
2007-04-03(svn r9551) -Documentation: Some more doxygen workbelugas
2007-04-02(svn r9546) -Fix (r9545): several typos...rubidium
2007-04-02(svn r9545) -Documentation: Some corrections to previous doxygen workbelugas
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-06(svn r9048) -Fix r9040: non-bool used as boolglx
2007-03-06(svn r9040) -Codechange: the build window and CmdBuildAircraft() now shares ↵bjarni
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
2007-02-23(svn r8857) -Documentation: Added some doxygen @file tags, repaired others ↵celestar
(the @file tag MUST be found before any line of code, that includes preprocessor directives).
2007-02-23(svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp ↵belugas
files with the @file tag as well as a few general comments style