Age | Commit message (Collapse) | Author |
|
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)
|
|
localization, coding
style changes to airport code, and cleanup of airport.c. Should not change
any functionality.
|
|
coding style
conformance (AirportFTAClass), *FA to *apFA (to better reflect its type
AirportFTAbuildup), and ->next_in_chain into ->next.
|
|
{' -> '} else {', tabs between code and comment, etc.
|
|
determining the availability of airports, as they only become available at the beginning of a year.
|
|
date.[ch]
-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments
|
|
|
|
|
|
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.
|
|
array into the struct which describes an airport
|
|
avoid having 8 copies of the airport FTAs, and make the enums used available elsewhere.
|
|
|
|
-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
|
|
- 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
|
|
|
|
|
|
|
|
|
|
appropriate warning flags in the Makefile
|
|
|
|
terminals in every group can be freely chosen
-Codechange: AT_OILRIG is now 15, so that new airports can be added
easily.
|
|
|
|
number of depots (similar change as in map branch)
|
|
map.c and map.h
|
|
for your diligent fixing of warnings (and some possibly bugs) (Tron)
-CodeLayout: Remove trailing spaces and Windows linebreaks
|
|
-Add some debug messages for misc=1
|
|
-Changed debug messages to comply with DEBUG(name, level) heuristics
|
|
|