summaryrefslogtreecommitdiff
path: root/src/aircraft_cmd.cpp
AgeCommit message (Collapse)Author
2010-04-18(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer ↵frosch
divisions with rounding.
2010-04-13(svn r19621) -Codechange: Remove direct usage of magic 'p1's in build ↵frosch
vehicle commands.
2010-03-20(svn r19494) -Codechange: Remove _error_message.alberth
2010-03-19(svn r19463) -Codechange: add helper function to determine if an airport has ↵yexo
at least one hangar
2010-03-18(svn r19455) -Codechange: split all airport information in Station to a ↵yexo
seperate class
2010-03-18(svn r19453) -Codechange: split getting the initial aircraft position to a ↵yexo
new function
2010-03-13(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.alberth
2010-03-07(svn r19364) -Fix [FS#3668]: Implement custom sound effect for helicopter ↵peter1138
take-off.
2010-02-22(svn r19198) -Codechange: store the size of stations in savegamesyexo
2010-02-14(svn r19132) -Codechange: No need to end a line with ;;.alberth
2010-02-10(svn r19091) -Cleanup: remove some unneeded zeroingrubidium
2010-02-10(svn r19081) -Codechange: make it possible to disable compilation of the ↵rubidium
AI+Squirrel
2010-01-29(svn r18949) -Fix (r18942): 'reduced plane crashes' were actually 'more ↵yexo
plane crashes'
2010-01-28(svn r18942) -Feature [FS#2678]: add a setting to reduce/disable aircraft ↵yexo
crashes
2010-01-28(svn r18940) -Feature: make the crash position of aircraft a bit random by ↵yexo
giving aircraft a chance to crash every tick they're breaking. Slow aircraft will crash a bit less, fast aircraft might crash a bit more
2010-01-21(svn r18880) -Fix: aircraft can be send to an hangar when the target airport ↵yexo
has one and when it can land, not only when it has a plane terminal
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-18(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) ↵rubidium
wrapper functions
2010-01-18(svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a ↵yexo
station
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-15(svn r18807) -Codechange: introduce AirportSpec and move several ↵yexo
non-statemachine-related variables to there
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-23(svn r18616) -Fix [FS#3413]: crash when the current order is a conditional ↵rubidium
order when a plane is checking whether it needs servicing
2009-12-19(svn r18553) -Fix: make aircraft behave the same on autoreplace/autorenew as ↵rubidium
other vehicles
2009-12-04(svn r18402) -Codechange: unify/centralise the code for crashing vehiclesrubidium
2009-12-04(svn r18395) -Fix (r17415): helicopters can turn freely even while in the airyexo
2009-11-24(svn r18268) -Feature: [NewGRF] Make price base multipliers related to ↵frosch
vehicles only apply to the GRF locally, if it defines engines of that type itself.
2009-11-24(svn r18266) -Codechange: Add a function to compute prices from price base ↵frosch
and cost factor and use it consistently for vehicle purchase, running cost, and refit cost.
2009-11-16(svn r18123) -Codechange: try our best to keep the vehicles within the build ↵rubidium
vehicle list/autoreplace lists instead of overflowing.
2009-11-16(svn r18121) -Codechange: pass the maximum left/right location to the ↵rubidium
Draw*Engine functions
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