Commit Graph

54 Commits (e4117dbfb7c940180eb8aab7f9d0a726364078ab)

Author SHA1 Message Date
yexo e4117dbfb7 (svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation 14 years ago
yexo 7e4bdbbc9d (svn r20368) -Codechange: automatically rotate all nodes for airport movement if the airport is rotated 14 years ago
yexo 689d4bef04 (svn r20331) -Doc: some more airport-related code 14 years ago
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium 398418b8fa (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 14 years ago
yexo 38f4cb6469 (svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found 14 years ago
yexo a99a7e7a37 (svn r19456) -Codechange; increase the maximum number of airports 14 years ago
yexo c4a88ce022 (svn r19455) -Codechange: split all airport information in Station to a seperate class 14 years ago
yexo 89a069629e (svn r19453) -Codechange: split getting the initial aircraft position to a new function 14 years ago
yexo e037512a6f (svn r19451) -Cleanup: remove some unused code 14 years ago
yexo 20e05f878c (svn r19353) -Codechange: use static objects for the airport statemachines instead of new/delete at the start/end of the game
-Codechange: store the fta in AirportSpec
15 years ago
yexo 585b036c90 (svn r19327) -Codechange: make the oilrig a part of the original airports array so some special cases can be removed 15 years ago
yexo 308781664b (svn r19322) -Codechange: change the id of the oilrig airport from 15 to 9 15 years ago
yexo dd7c2b2f9d (svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp 15 years ago
yexo 683ad53d21 (svn r19193) -Codechange: increase the maximum number of airport tiles to 256 and introduce AirportTileOverrideManager 15 years ago
yexo 40f6e69ae9 (svn r19191) -Codechange: move AirportTileSpec to newgrf_airporttiles.h 15 years ago
yexo 388c713f08 (svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame 15 years ago
yexo 830af8ee77 (svn r18845) -Codechange: introduce AirportTileSpec and use it for animation 15 years ago
yexo 31d1e9c051 (svn r18816) -Fix (r18807): getting the catchment area of oilrigs triggered an assert 15 years ago
rubidium 82fc28f77f (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 d669801f1d (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 7ed618997f (svn r16619) -Cleanup: more coding style in airport stuff. 15 years ago
rubidium acff607624 (svn r16617) -Cleanup: some incorrect indenting 15 years ago
yexo c7bd6c8d34 (svn r16614) -Codechange: Make the airport min/max available year a property of the Airport class.
-Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
15 years ago
yexo 4b34957987 (svn r16566) -Codechange: enumify all airport tiles 15 years ago
smatz 1ad410dc00 (svn r16458) -Codechange: use one enum instead of four 15 years ago
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 15 years ago
smatz 690859bf57 (svn r13758) -Fix (r13226): always use st->airport_tile, st->xy is different in many cases 16 years ago
belugas fc35ad9ee9 (svn r13226) -Feature: Allow to have more than only two airports per town. The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is.
Initial concept : TTDPatch (moreairpots),  Initial code : Pasky
Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
16 years ago
belugas 02a907f306 (svn r12662) -Codechange: Comment-code style application 16 years ago
rubidium 2786d789a1 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium aac835171e (svn r11700) -Codechange: reduce the amount of unnecessary includes. 17 years ago
rubidium f56a354d31 (svn r11661) -Codechange: some header reworks in order to try to reduce the compile time of OpenTTD by reduce the amount of circular-ish dependencies. 17 years ago
KUDr 232cfb0fc1 (svn r10422) -Fix: VC8 Code Analyzer warning C6297: Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value 17 years ago
celestar a1ab0d29fe (svn r9524) -Fix(FS#640,r8755): Implemented a "dummy" State Machine for stations who got their airport removed while there were still aircraft within the State Machine (and thus caused asserts) 17 years ago
rubidium 24c4d5b06d (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 18 years ago
rubidium 36bb92ae24 (svn r9050) -Codechange: Foo(void) -> Foo() 18 years ago
celestar f621608f7d (svn r8973) -Feature/Codechange: Changed the internal unit for aircraft velocities to from 8mph to 1km/h (peter1138), also give aircraft realsitic velocities (so that 1km/h is 1km/h independent of vehicle type) (peter1138). Introduce a flag to reduce aircraft speed in holding patterns to some realistic velocity. Use this flag for the city airport for the time being and make use of the different entry points for this airport type. 18 years ago
belugas a723770836 (svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style 18 years ago
tron 8aacd2585d (svn r8767) -Fix
-Codechange: Do not hardcode the catchment radius of airports, but hold the information in AirportFTAClass
-Fix (r979): The default AI tested possible airport locations with a fixed catchment radius instead of the radius of the to be built airport
18 years ago
celestar a8e88ae7cc (svn r8759) -Feature: Allow airports to have up to 4 entry points depending on approach direction. Note: they're not yet used, but will be soon 18 years ago
KUDr 72cdfb6352 (svn r8750) -Fix (r8747): PLANES defined in wingdi.h caused compilation error under Win32. Changed to AIRPLANES 18 years ago
tron 0697701b33 (svn r8748) -Fix
-Codechange: Do not hardcode the airports with a short airstrip anymore, but make it a flag in AirportFTAClass
18 years ago
tron 5231f5669d (svn r8747) -Fix
-Codechange: Make the encoding of accepted aircraft types of airports a bit more sensible and move the enum into struct AirportFTAClass
18 years ago
tron f6b917f609 (svn r8743) -Fix
-Codechange: Add a Z adjustment attribute for helicopter pads to AirportFTAClass to get rid of some special cases for oilrigs and heliports
18 years ago
celestar 39b73119ca (svn r8733) -Fix(r8705): Forgot to change some more places where airport blocks are stored 18 years ago
celestar 6f68ac46b8 (svn r8705) -Codechange: Increased the number of airport blocks to 64. This involves changing the enum of airport blocks to a static const uint64 as SOME platforms do not support 64-bit enums 18 years ago
tron 6b72228df5 (svn r8582) -Fix
Reorder the attributes of some structs to reduce their size
18 years ago
tron 880412c5fd (svn r8570) -Fix
Add a regular constructor and destructor to AirportFTAClass
18 years ago