• Michał Janiszewski's avatar
    Sync clang-format with OpenLoco · 5d102fd4
    Michał Janiszewski authored
    - The formatting properties for JavaScript and ObjectiveC have been removed, since "Language: Cpp" is set.
    - Remove CommentPragmas - its value doen't apply to our coding style.
    - ForEachMacros have been replaced with entries for our own foreach loops.
    - Includes age grouped together (unless there's a comment inbetween), with the 'main' include at the top, then local includes "", and finally system includes <>, with an empty line inbetween each group.
    - Disable bin-packing of function arguments
    - NamespaceIndentation set to 'None'.
    - KeepEmptyLinesAtTheStartOfBlocks set to 'false'.
    - IndentWrappedFunctionNames set to 'true'.
    - Never allow short functions to be on a single line, and remove unnecessary rule for tab width since we don't use tabs.
    
    These changes will need to be synced with OpenLoco.
    5d102fd4