Cockatrice/cockatrice/src/game
DawnFire42 aadee34238
style: Add braces to all control flow statements (#6887)
* style: Add braces to all control flow statements

  Standardize code style by adding explicit braces to all single-statement
  control flow blocks (if, else, for, while) across the entire codebase.

  Also documents the InsertBraces clang-format option (requires v15+) for
  future automated enforcement.

* InsertBraces-check-enabled
2026-05-16 19:19:53 +02:00
..
board style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
deckview style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
dialogs style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
log Fix #6659: Correct logging for bottom-of-library card moves (#6764) 2026-04-21 19:05:31 +02:00
player style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
zones style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
abstract_game.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
abstract_game.h Turn Card, Deck_List, Protocol, RNG, Network (Client, Server), Settings and Utility into libraries and remove cockatrice_common. (#6212) 2025-10-09 07:36:12 +02:00
card_dimensions.h refactor: extract CARD_HEIGHT to shared CardDimensions header (#6668) 2026-03-05 19:13:58 -08:00
game.cpp [Move refactor] Move tabs to interface/widgets (#6235) 2025-10-09 14:51:47 +02:00
game.h [Documentation] Sort *every* file into a doxygen group. (#6198) 2025-09-30 12:13:32 +02:00
game_event_handler.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
game_event_handler.h Fix names in qtlogging.ini (#6265) 2025-11-03 18:55:32 +01:00
game_meta_info.cpp Removed unused fields in GameMetaInfo and GameState (#6142) 2025-09-15 10:22:11 +02:00
game_meta_info.h style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
game_scene.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
game_scene.h Refactor vertical card stacking with clip containers for variable zone sizes (#6774) 2026-05-10 19:10:14 -07:00
game_state.cpp [Game] Fix game timer starting twice, not stopping and not resetting correctly. (#6177) 2025-09-26 19:28:07 +02:00
game_state.h [Cleanup] Unused #includes (#6367) 2025-11-29 18:53:11 +01:00
game_view.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
game_view.h Add card selection counter (#6685) 2026-03-16 23:44:29 +01:00
hand_counter.cpp Player refactor (#6112) 2025-09-10 18:49:33 -04:00
hand_counter.h [Refactor] Move AbstractGraphicsItem and GraphicsItemType to game_graphics/board (#6342) 2025-11-20 12:52:14 +01:00
phase.cpp add phase to delete arrows in to protocol (#6159) 2025-11-26 09:16:10 -05:00
phase.h add phase to delete arrows in to protocol (#6159) 2025-11-26 09:16:10 -05:00
phases_toolbar.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
phases_toolbar.h [Refactor] Move AbstractGraphicsItem and GraphicsItemType to game_graphics/board (#6342) 2025-11-20 12:52:14 +01:00
replay.cpp [Move refactor] Move tabs to interface/widgets (#6235) 2025-10-09 14:51:47 +02:00
replay.h [Documentation] Sort *every* file into a doxygen group. (#6198) 2025-09-30 12:13:32 +02:00
z_value_layer_manager.h refactor: extract CARD_HEIGHT to shared CardDimensions header (#6668) 2026-03-05 19:13:58 -08:00
z_values.h refactor: extract CARD_HEIGHT to shared CardDimensions header (#6668) 2026-03-05 19:13:58 -08:00