You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenTTD-patches/ai
tron 47137cefb7 (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
..
default (svn r3073) int/byte -> EngineID/PlayerID/VehicleID 19 years ago
trolly (svn r3078) Some more stuff, which piled up: 19 years ago
ai.c (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes 19 years ago
ai.h (svn r2921) -Codechange: moved all AI-code to 1 central place (ai/ai.c) 19 years ago