OpenTTD/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
2005-10-23 13:04:44 +00:00
..
default (svn r3073) int/byte -> EngineID/PlayerID/VehicleID 2005-10-20 17:43:13 +00:00
trolly (svn r3078) Some more stuff, which piled up: 2005-10-23 13:04:44 +00:00
ai.c (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes 2005-10-22 06:39:32 +00:00
ai.h (svn r2921) -Codechange: moved all AI-code to 1 central place (ai/ai.c) 2005-09-07 15:10:11 +00:00