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 13:49:31 +02:00
committed by GitHub
co-authored by MeirGavish Copilot
parent 43d837571e
commit 291edaf4f2
14 changed files with 2566 additions and 1983 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ struct SelectionGridRow
struct SelectionGrid
{
SelectionGridRow* rows;
const SelectionGridRow* rows;
const int num_rows;
Selection selection;
};
@@ -38,4 +38,4 @@ void selection_grid_process_input(SelectionGrid* selection_grid);
void selection_grid_move_selection_horz(SelectionGrid* selection_grid, int direction_tribool);
void selection_grid_move_selection_vert(SelectionGrid* selection_grid, int direction_tribool);
#endif
#endif