Darkvater
0da1dc314b
(svn r6770) -Codechange: Make the airport checking a bit stricter...fix 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)
18 years ago
Darkvater
8044c4aff7
(svn r6769) -Codechange: Minor syntax, const correctness, variable localization, coding
...
style changes to airport code, and cleanup of airport.c. Should not change
any functionality.
18 years ago
Darkvater
4765127db8
(svn r6768) -Cleanup: For airports change *Airport to *apc (variable naming coding style
...
conformance (AirportFTAClass), *FA to *apFA (to better reflect its type
AirportFTAbuildup), and ->next_in_chain into ->next.
18 years ago
rubidium
86dc219b4b
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
18 years ago
rubidium
ff53d07637
(svn r5927) -Cleanup: check against _cur_year instead of _date when determining the availability of airports, as they only become available at the beginning of a year.
18 years ago
rubidium
9fc837ad85
(svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
...
-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments
18 years ago
belugas
40a8964911
(svn r5609) CodeChange : Apply coding style
19 years ago
tron
772fbda3e3
(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
19 years ago
richk
5d2bff0b78
(svn r5346) - Feature: Add 4 new airports. 2 for aircraft, 2 for helicopters.
...
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.
19 years ago
tron
b5f433bf4c
(svn r4918) Move the information about the size of airports from an global array into the struct which describes an airport
19 years ago
peter1138
c6d48f9235
(svn r4642) - Codechange: reorganise airport.h and airport_movement.h to avoid having 8 copies of the airport FTAs, and make the enums used available elsewhere.
19 years ago
tron
9822b4d755
(svn r3297) Staticise
19 years ago
tron
9d0e7b6458
(svn r3181) -Bracing
...
-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
19 years ago
tron
181d586a7c
(svn r3078) Some more stuff, which piled up:
...
- 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
19 years ago
tron
647cbd6bdd
(svn r2701) Insert Id tags into all source files
20 years ago
tron
71140a5768
(svn r2669) Shuffle some more stuff around to reduce dependencies
20 years ago
Darkvater
ba8c649fac
(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
20 years ago
tron
36c9758c94
(svn r1803) Move debugging stuff into files of it's own
20 years ago
tron
94d5aeabb2
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
20 years ago
tron
dd6db73069
(svn r1520) Trim 134 (!) lines with trailing whitespace ):
20 years ago
celestar
5bc8829167
(svn r1440) -Feature: Allows more flexible airport layouts now, as the number of
...
terminals in every group can be freely chosen
-Codechange: AT_OILRIG is now 15, so that new airports can be added
easily.
20 years ago
tron
d3c6855320
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
20 years ago
tron
91d23f426e
(svn r1149) Fix hack which abuses first TileIndex of airport depot array as number of depots (similar change as in map branch)
20 years ago
tron
a148ff4e0d
(svn r1117) Move map arrays and some related macros into their own files map.c and map.h
20 years ago
darkvater
e295e46e3e
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
...
-CodeLayout: Remove trailing spaces and Windows linebreaks
20 years ago
darkvater
345e2c38ad
(svn r70) -Fix: typo in english.txt
...
-Add some debug messages for misc=1
20 years ago
darkvater
68c9b7c3ad
(svn r66) -Fix Station list updated on station deletion/station rename
...
-Changed debug messages to comply with DEBUG(name, level) heuristics
20 years ago
truelight
efaeb275f7
(svn r1) Import of revision 975 of old (crashed) SVN
20 years ago