Clang format and refactor game.h/c + update Bracket Alignment to BlockIndent (#259)

* Refactor and clang-format game.h/c

* Updated clang-format AlignAfterOpenBracket: BlockIndent and ColumnLimit: 100 and refactored all files accordingly

---------

Co-authored-by: MeirGavish <meir.gavish@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Rickey
2025-12-03 03:49:31 -08:00
committed by GitHub
parent 43d837571e
commit 291edaf4f2
14 changed files with 2566 additions and 1983 deletions
+3 -2
View File
@@ -13,7 +13,7 @@ AllowShortLoopsOnASingleLine: false
PointerAlignment: Left
# Column limit
ColumnLimit: 120
ColumnLimit: 100
# Case labels
IndentCaseLabels: true
@@ -42,7 +42,8 @@ BinPackParameters: false
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AlignAfterOpenBracket: Align
AlignAfterOpenBracket: BlockIndent
PenaltyBreakBeforeFirstCallParameter: 0
ReflowComments: true
SpacesInLineCommentPrefix: