summaryrefslogtreecommitdiff
path: root/src/aircraft_cmd.cpp
AgeCommit message (Collapse)Author
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h
2009-10-31(svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail ↵frosch
consistent. Now always the cargo class decides.
2009-10-28(svn r17899) -Codechange: Deduplicate code for refitting vehicles.frosch
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-10-27(svn r17894) -Fix: Invalidate cache of vehicle vars 40-43 after testruns of ↵frosch
certain commands, that change them temporarily.
2009-10-11(svn r17762) -Fix [FS#3259]: don't let aircraft drive a while over the grass ↵rubidium
when landing at high altitude airports
2009-10-06(svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when ↵frosch
a Engine * is already present.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-22(svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback ↵frosch
0x36. Based on Terkhen's work.
2009-09-20(svn r17594) -Fix: Vehicle image was not always updated when needed.frosch
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-09-15(svn r17552) -Codechange: rename load_unload_time_rem to something more ↵rubidium
generic as it's used for more than just load/unload. Also add some documentation about where it is used.
2009-09-14(svn r17534) -Codechange: unify the naming of callback masks/flagsrubidium
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
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-08(svn r17480) -Fix (r17405): fast aircraft could get stuck flyin gin circles ↵yexo
trying to reach a certain point
2009-09-04(svn r17415) -Change: make sure aircraft don't move while turning as long as ↵yexo
they are on the ground. This prevents a lot of unnecesary turns when leaving terminals
2009-09-03(svn r17405) -Fix (r100): aircraft shouldn't be allowed to make turns bigger ↵yexo
then 45 degrees while in flight
2009-09-02(svn r17382) -Cleanup: don't set load_unload_time_rem when an aircraft turns ↵yexo
in the air as it's not used
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-08(svn r17121) -Fix [FS#3060]: Update vehicle position cache when the vehicle ↵frosch
sprite changes.
2009-08-06(svn r17085) -Codechange: unify the place where vehicle's cargo agessmatz
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-04(svn r17062) -Change: unify the naming of some 125 stringsrubidium
2009-07-31(svn r17001) -Codechange: replace some more assert(0)s to NOT_REACHED() and ↵rubidium
document why they (assert(0)) have to stay for the remaining cases.
2009-07-16(svn r16842) -Cleanup: add some spaces around a few operatorsrubidium
2009-07-13(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraftsmatz
2009-06-24(svn r16648) -Codechange: move some more includes aroundyexo
2009-06-24(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to ↵yexo
prevent unnecessary inclusion newgrf.h anyway
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-06-23(svn r16633) -Codechange: remove checks for consistency of newpoolsmatz
2009-06-16(svn r16581) -Codechange: unify the access to Engine::lifelength.rubidium
2009-06-16(svn r16580) -Codechange: rename Engine::image_index to original_image_index ↵rubidium
to not confuse it with image_index from *VehInfo.
2009-06-01(svn r16498) -Codechange: Remove hardly used HASBITS.frosch
2009-06-01(svn r16491) -Codechange: Added parentheses around bitwise operators for ↵alberth
code style.
2009-05-31(svn r16480) -Fix (r15617): Invalidate newgrf variable caches of more ↵frosch
vehicles in more places. Esp. they were only invalidated for trains.
2009-05-31(svn r16479) -Fix (r5146): Call callbacks after initialisation of vehicle ↵frosch
variables.
2009-05-26(svn r16442) -Codechange: use new Vehicle accessors at more placessmatz
2009-05-26(svn r16441) -Codechange: new class SpecializedVehicle used as superclass ↵smatz
for all vehicle types
2009-05-26(svn r16439) -Change: Make the default vehicle servicing settings ↵yexo
company-based settings, so in a multiplayer game everyone can change them.
2009-05-26(svn r16427) -Codechange: replace a few magic numbers with an existing ↵rubidium
constant and unduplicate a few lines.
2009-05-24(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced ↵frosch
vehicles/stations/industries are deleted.
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 r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-22(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle ↵smatz
was deleted
2009-05-18(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of ↵smatz
PoolItem::IsValidID() and PoolItem::Get()
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)