Commit Graph

46 Commits

Author SHA1 Message Date
yexo c42e2a9bfc (svn r19326) -Codechange: store the airport name as property in AirportSpec 2010-03-05 23:21:41 +00:00
yexo dd7c2b2f9d (svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp 2010-02-22 16:09:26 +00:00
yexo 40f6e69ae9 (svn r19191) -Codechange: move AirportTileSpec to newgrf_airporttiles.h 2010-02-22 14:09:30 +00:00
yexo de3c92dd06 (svn r18910) -Codechange: move the enum with airporttile names to table/airporttile_ids.h 2010-01-24 20:17:18 +00:00
yexo 830af8ee77 (svn r18845) -Codechange: introduce AirportTileSpec and use it for animation 2010-01-17 14:22:07 +00:00
yexo 31d1e9c051 (svn r18816) -Fix (r18807): getting the catchment area of oilrigs triggered an assert 2010-01-15 21:00:46 +00:00
yexo d669801f1d (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 2010-01-15 12:08:08 +00:00
rubidium ca167791b6 (svn r18805) -Codechange: move airport_movement.h to table/ 2010-01-15 10:55:43 +00:00
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium c8d13c521a (svn r16620) -Fix (r16619): sometimes one misses the obvious :( 2009-06-21 21:08:20 +00:00
rubidium 7ed618997f (svn r16619) -Cleanup: more coding style in airport stuff. 2009-06-21 21:05:06 +00:00
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
2009-06-21 13:26:30 +00:00
yexo ea03c76bd6 (svn r16569) -Codechange: remove the gaps in the AirportTiles enum 2009-06-12 19:44:47 +00:00
yexo f0e31a36df (svn r16567) -Fix (r16566): some minor corrections 2009-06-12 15:31:38 +00:00
yexo 4b34957987 (svn r16566) -Codechange: enumify all airport tiles 2009-06-12 14:53:57 +00:00
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
rubidium 1983754132 (svn r14625) -Codechange: a bit of coding style. 2008-11-25 18:42:06 +00:00
rubidium 923e21129c (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 2008-05-29 15:13:28 +00:00
rubidium 4625695653 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25 19:17:03 +00:00
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
2008-05-24 02:54:47 +00:00
rubidium d03994098b (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 2008-05-06 15:11:33 +00:00
rubidium dc87b05e8c (svn r11834) -Codechange: only include settings_type.h if needed. 2008-01-13 14:37:30 +00:00
rubidium b9046c97fb (svn r11702) -Codechange: move all date related stuff to date*. 2007-12-26 13:50:40 +00:00
rubidium 2786d789a1 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 2007-12-26 11:45:43 +00:00
rubidium bf98e25e43 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 2007-12-25 09:48:53 +00:00
rubidium 01e20c9140 (svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations. 2007-12-21 19:21:21 +00:00
rubidium b7d8681129 (svn r11560) -Codechange: replace 'custom' version of FindLastBit with the generic. 2007-12-02 19:23:46 +00:00
skidd13 eeaa348f8b (svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style 2007-11-20 13:35:54 +00:00
rubidium 24956ab71b (svn r11354) -Codechange [FS#1379]: one variable wasn't freed whereas all others were. It's not causing any problems as it happens during the shutdown of OpenTTD. So basically it is only for consistency. 2007-10-29 22:30:54 +00:00
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) 2007-03-29 13:52:34 +00:00
rubidium 36bb92ae24 (svn r9050) -Codechange: Foo(void) -> Foo() 2007-03-07 11:47:46 +00:00
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 2007-02-23 01:48:53 +00:00
tron 41d526415c (svn r8822) -Fix
Variable scope, const
2007-02-20 06:39:09 +00:00
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
2007-02-17 07:45:18 +00:00
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 2007-02-16 12:10:19 +00:00
tron 0697701b33 (svn r8748) -Fix
-Codechange: Do not hardcode the airports with a short airstrip anymore, but make it a flag in AirportFTAClass
2007-02-15 20:35:45 +00:00
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
2007-02-15 20:16:33 +00:00
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
2007-02-15 07:43:06 +00:00
tron 356e47f108 (svn r8660) -Fix
-Codechange: Remove _avail_aircraft
Its name is misleading. It is rather _avail_airports, but then only some of them, which leads to inconsistencies when using it.
Further it is unnecessary to store it in savegams.
2007-02-10 08:19:39 +00:00
tron 6b72228df5 (svn r8582) -Fix
Reorder the attributes of some structs to reduce their size
2007-02-04 13:46:21 +00:00
tron 880412c5fd (svn r8570) -Fix
Add a regular constructor and destructor to AirportFTAClass
2007-02-04 10:25:57 +00:00
tron 1a3b4b7394 (svn r8559) -Fix
-Codechange: Put the airport movement data into struct AirportFTAClass
2007-02-03 13:03:11 +00:00
KUDr 33be1ecfb1 (svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter 2007-01-11 17:29:39 +00:00
rubidium f35ed4bbc2 (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 2007-01-10 18:56:51 +00:00
KUDr e373ea7096 (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp) 2007-01-10 18:12:09 +00:00
Renamed from src/airport.c (Browse further)