Commit Graph

306 Commits (253080ad6433b415010195664d5b2ad7132708d4)

Author SHA1 Message Date
rubidium 253080ad64 (svn r20531) -Codechange: unify quite a bit of the vehicle building commands 14 years ago
yexo 41482c60e1 (svn r20529) -Codechange: simplify UpdateAirplanesOnNewStation by removing code for situations that don't happen 14 years ago
yexo 5a0a1b3e6c (svn r20525) -Codechange: make Aircraft::UpdateDeltaXY more readable by removing the MKIT macro 14 years ago
yexo 8668f30020 (svn r20478) -Codechange: remove support for 'helipad groups' because there are no airports with more than 1 helipad group 14 years ago
yexo f1d3b66156 (svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation 14 years ago
yexo b27ab21895 (svn r20476) -Codechange: simplify a check in aircraft_cmd.cpp by using the existing CanVehicleUseStation 14 years ago
yexo b4ec144af2 (svn r20474) -Cleanup: remove some unused code 14 years ago
rubidium b5d5a4e159 (svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well 14 years ago
yexo 5d5ddf780a (svn r20368) -Codechange: automatically rotate all nodes for airport movement if the airport is rotated 14 years ago
yexo 518241bc1b (svn r20367) -Codechange; don't use a pointer to access the AirportMovingData of the current position 14 years ago
yexo 2743532ae5 (svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium 1b507dcf66 (svn r20164) -Fix [FS#3870]: inconsistencies w.r.t. to km/h vs km-ish/h as "base" unit for aircraft speeds 14 years ago
frosch 35f4b4155e (svn r20079) -Codechange [FS#3922]: Add helper functions to deal with the 192-256-magic of vehicle movement. 14 years ago
terkhen b3d347f6c9 (svn r19961) -Codechange: Unify "vehicle is destroyed" errors. 14 years ago
frosch a5bea603ea (svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation. 14 years ago
frosch ee53807e51 (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 14 years ago
frosch a4413f4cf6 (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. 14 years ago
frosch 0d6a432b4c (svn r19621) -Codechange: Remove direct usage of magic 'p1's in build vehicle commands. 14 years ago
alberth 72d62fd6fc (svn r19494) -Codechange: Remove _error_message. 14 years ago
yexo 79909cedee (svn r19463) -Codechange: add helper function to determine if an airport has at least one hangar 14 years ago
yexo 22a27d3b62 (svn r19455) -Codechange: split all airport information in Station to a seperate class 14 years ago
yexo c6c48d874f (svn r19453) -Codechange: split getting the initial aircraft position to a new function 14 years ago
alberth d5fe3f96c7 (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 15 years ago
peter1138 cca91d7e75 (svn r19364) -Fix [FS#3668]: Implement custom sound effect for helicopter take-off. 15 years ago
yexo 80982cc91b (svn r19198) -Codechange: store the size of stations in savegames 15 years ago
alberth e3b24801e2 (svn r19132) -Codechange: No need to end a line with ;;. 15 years ago
rubidium b0a1ecf160 (svn r19091) -Cleanup: remove some unneeded zeroing 15 years ago
rubidium 1c494c6f71 (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel 15 years ago
yexo 0c6e77cd50 (svn r18949) -Fix (r18942): 'reduced plane crashes' were actually 'more plane crashes' 15 years ago
yexo 06d4f3a0f2 (svn r18942) -Feature [FS#2678]: add a setting to reduce/disable aircraft crashes 15 years ago
yexo af2c417ee1 (svn r18940) -Feature: make the crash position of aircraft a bit random by 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
15 years ago
yexo 71ac04e685 (svn r18880) -Fix: aircraft can be send to an hangar when the target airport has one and when it can land, not only when it has a plane terminal 15 years ago
rubidium 7127338414 (svn r18872) -Codechange: introduce PaletteID and use it 15 years ago
rubidium f618acfb7d (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 15 years ago
yexo 409266f847 (svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a station 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
yexo 84cd40a483 (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 15 years ago
rubidium ad8d6e8dd2 (svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way 15 years ago
rubidium dfb55862f9 (svn r18616) -Fix [FS#3413]: crash when the current order is a conditional order when a plane is checking whether it needs servicing 15 years ago
rubidium fe1c72f7f1 (svn r18553) -Fix: make aircraft behave the same on autoreplace/autorenew as other vehicles 15 years ago
rubidium 6600610e47 (svn r18402) -Codechange: unify/centralise the code for crashing vehicles 15 years ago
yexo 9092708359 (svn r18395) -Fix (r17415): helicopters can turn freely even while in the air 15 years ago
frosch f60a437d36 (svn r18268) -Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself. 15 years ago
frosch fe65c7f833 (svn r18266) -Codechange: Add a function to compute prices from price base and cost factor and use it consistently for vehicle purchase, running cost, and refit cost. 15 years ago
rubidium d4774a2ce9 (svn r18123) -Codechange: try our best to keep the vehicles within the build vehicle list/autoreplace lists instead of overflowing. 15 years ago
rubidium ddafe77904 (svn r18121) -Codechange: pass the maximum left/right location to the Draw*Engine functions 15 years ago
frosch 040404c5d3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 15 years ago