summaryrefslogtreecommitdiff
path: root/src/aircraft_cmd.cpp
AgeCommit message (Collapse)Author
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-07-16(svn r20164) -Fix [FS#3870]: inconsistencies w.r.t. to km/h vs km-ish/h as ↵rubidium
"base" unit for aircraft speeds
2010-07-04(svn r20079) -Codechange [FS#3922]: Add helper functions to deal with the ↵frosch
192-256-magic of vehicle movement.
2010-06-11(svn r19961) -Codechange: Unify "vehicle is destroyed" errors.terkhen
2010-06-05(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into ↵frosch
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-05-31(svn r19914) -Codechange: Wrap a helper class around temporary assignments ↵frosch
of _current_company to ensure proper restoration.
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