summaryrefslogtreecommitdiff
path: root/airport.c
AgeCommit message (Collapse)Author
2006-12-26(svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate ↵Darkvater
debugging levels to use in debug.h. grfmsg() is now used as a specific debug-function for grf.
2006-10-14(svn r6770) -Codechange: Make the airport checking a bit stricter...fix ↵Darkvater
unnoticed errors: Commuter (20): invalid use of terminal group designator; since all other options goto position 2 and no additional blocks are checked, simplify state Intercontinental (23, 30): no extra states are needed since all options go to position 70 and 31 unconditionally Intercontinental (31): invalid use of more-options-to-follow (255)
2006-10-14(svn r6769) -Codechange: Minor syntax, const correctness, variable ↵Darkvater
localization, coding style changes to airport code, and cleanup of airport.c. Should not change any functionality.
2006-10-13(svn r6768) -Cleanup: For airports change *Airport to *apc (variable naming ↵Darkvater
coding style conformance (AirportFTAClass), *FA to *apFA (to better reflect its type AirportFTAbuildup), and ->next_in_chain into ->next.
2006-08-28(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else ↵rubidium
{' -> '} else {', tabs between code and comment, etc.
2006-08-16(svn r5927) -Cleanup: check against _cur_year instead of _date when ↵rubidium
determining the availability of airports, as they only become available at the beginning of a year.
2006-08-14(svn r5887) -Cleanup: move date related functions, defines and variables to ↵rubidium
date.[ch] -Cleanup: fix whitespace related coding style issues in date.[ch] -Cleanup: make original comments doxygen compatible and remove/change outdated comments
2006-07-26(svn r5609) CodeChange : Apply coding stylebelugas
2006-06-27(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectaculartron
2006-06-23(svn r5346) - Feature: Add 4 new airports. 2 for aircraft, 2 for helicopters.richk
Commuter airport: Small. 5x4. 3 terminals, 2 helipads. Intercontinental: massive. 9x11. 8 terminals, 2 helipads, 4 runways. Helidepot: a small heliport with a depot for helis only. Helistation: a large heliport with 3 helipads and a depot.
2006-05-20(svn r4918) Move the information about the size of airports from an global ↵tron
array into the struct which describes an airport
2006-05-01(svn r4642) - Codechange: reorganise airport.h and airport_movement.h to ↵peter1138
avoid having 8 copies of the airport FTAs, and make the enums used available elsewhere.
2005-12-14(svn r3297) Staticisetron
2005-11-14(svn r3181) -Bracingtron
-Indentation -Whitespace -DeMorgan's Law -Test with NULL or 0 for non-booleans -'\0' instead of 0 for chars -Remove redundantly redundant comments (like DoFoo(); // Do foo) -Join multiple short lines with a single statement -Split single lines with multiple statements -Avoid assignments in if
2005-10-23(svn r3078) Some more stuff, which piled up:tron
- const, whitespace, indentation, bracing, GB/SB, pointless casts - use the trinary operator where appropriate - data types (uint[] -> AcceptedCargo, ...) - if cascade -> switch - if (ptr) -> if (ptr != NULL) - DeMorgan's Law - Fix some comments - 0 -> '\0', change magic numbers to symbolic constants
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-21(svn r2669) Shuffle some more stuff around to reduce dependenciestron
2005-06-02(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.Darkvater
2005-02-05(svn r1803) Move debugging stuff into files of it's owntron
2005-01-22(svn r1594) Convert all undefined parameter lists to (void) and add the ↵tron
appropriate warning flags in the Makefile
2005-01-15(svn r1520) Trim 134 (!) lines with trailing whitespace ):tron
2005-01-09(svn r1440) -Feature: Allows more flexible airport layouts now, as the number ofcelestar
terminals in every group can be freely chosen -Codechange: AT_OILRIG is now 15, so that new airports can be added easily.
2005-01-06(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDifftron
2004-12-18(svn r1149) Fix hack which abuses first TileIndex of airport depot array as ↵tron
number of depots (similar change as in map branch)
2004-12-15(svn r1117) Move map arrays and some related macros into their own files ↵tron
map.c and map.h
2004-09-12(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron ↵darkvater
for your diligent fixing of warnings (and some possibly bugs) (Tron) -CodeLayout: Remove trailing spaces and Windows linebreaks
2004-08-16(svn r70) -Fix: typo in english.txtdarkvater
-Add some debug messages for misc=1
2004-08-16(svn r66) -Fix Station list updated on station deletion/station renamedarkvater
-Changed debug messages to comply with DEBUG(name, level) heuristics
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight