mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-29 16:40:25 +01:00
- Don't treat non-booleans as booleans - Reduce variable scope - Bracing - Use DeMorgan's law to make conditionals easier to read - if cascade -> switch - Replace some magic numbers by symbolic names - Avoid assignments within other statements |
||
---|---|---|
.. | ||
default | ||
trolly | ||
ai.c | ||
ai.h |