Cockatrice/cockatrice/src/game/board
BruebachL 9601a1fa4e
Player refactor (#6112)
* Player refactor.

Took 1 hour 43 minutes

Took 1 minute


Took 23 seconds

* Tiny lint.

Took 3 minutes

* Hook up tap logic again.

Took 13 minutes

* Fix an include.

Took 3 minutes

* Stuff.

Took 6 minutes

* Fix typo.

Took 7 minutes

* Include.

Took 1 minute

* Reorganize method/variable definitions, remove unused ones.

Took 1 hour 8 minutes


Took 24 seconds

* Clean up some unused imports.

Took 6 minutes

* Player holds the deck, emits deckChanged(), other elements player->getDeck() to respond to changes.

Took 37 minutes

* Connect player->openDeckEditor signal directly in the player constructor

Took 6 minutes

* Emit openDeckEditor signal in player_actions again.

Took 3 minutes

* Do to-do's

Took 3 hours 32 minutes

* Lint.

Took 3 minutes

* Lint again.

Took 2 minutes

* Fix include.

Took 32 minutes

* The stack should ensure card visibility.

Took 21 minutes

* Fine, the game can remember the tab.

Took 10 minutes

Took 21 seconds

Took 9 seconds

* zoneId is a dynamic gameplay property and thus belongs in player.cpp

Took 11 minutes

Took 19 seconds

* Signal view removal, addition.

Took 5 minutes

* Ensure all players are considered local in local game.

Took 10 minutes

* ENSURE they are.

Took 8 minutes

* Bounds check data sent by QAction()

Took 54 minutes

* Move comment.

Took 20 seconds

* Reimplement logging category for game_event_handler.cpp, remove linebreaks.

Took 36 seconds

* PlayerGraphicsItem is responsible for retranslateUi, not Player.


Took 14 seconds

* Set menu for sideboard again, translate some menu titles, reimplement actIncPT action

Took 54 seconds

* Comment spacing.

Took 43 seconds

* Change message_log_widget.cpp slots to take CardZoneLogic parameters as emitted by PlayerEventHandler.

Took 7 minutes

Took 14 seconds

* Remove unused player_logger.cpp

Took 2 minutes

* Query local game state correctly from tab_supervisor again

Took 3 minutes

* Revert Deck legality checker.

Took 3 minutes

* Instantiate menu before graphics item.

Took 1 hour 5 minutes

Took 55 minutes

* Differentiate games and replays.


Took 9 seconds

* Lint.

Took 10 minutes

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-09-10 18:49:33 -04:00
..
abstract_card_drag_item.cpp Fix segfault when multiple cards are dragged from view zone (#5934) 2025-05-11 01:44:32 +02:00
abstract_card_drag_item.h Fix segfault when multiple cards are dragged from view zone (#5934) 2025-05-11 01:44:32 +02:00
abstract_card_item.cpp Refactor: use ExactCard to represent specific printings (#6049) 2025-07-28 21:04:45 -04:00
abstract_card_item.h Player refactor (#6112) 2025-09-10 18:49:33 -04:00
abstract_counter.cpp Player refactor (#6112) 2025-09-10 18:49:33 -04:00
abstract_counter.h Player refactor (#6112) 2025-09-10 18:49:33 -04:00
abstract_graphics_item.cpp Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
abstract_graphics_item.h Player refactor (#6112) 2025-09-10 18:49:33 -04:00
arrow_item.cpp Player refactor (#6112) 2025-09-10 18:49:33 -04:00
arrow_item.h add missing override and explicit specifiers to all classes in src/game (#5511) 2025-01-22 12:57:56 +00:00
arrow_target.cpp game: Automatic update of arrow position (#5729) 2025-03-16 22:58:06 +00:00
arrow_target.h game: Automatic update of arrow position (#5729) 2025-03-16 22:58:06 +00:00
card_drag_item.cpp Player refactor (#6112) 2025-09-10 18:49:33 -04:00
card_drag_item.h Move card_item and related to src/game/board (#5867) 2025-04-20 14:37:52 +00:00
card_item.cpp Player refactor (#6112) 2025-09-10 18:49:33 -04:00
card_item.h Player refactor (#6112) 2025-09-10 18:49:33 -04:00
card_list.cpp Refactor: use ExactCard to represent specific printings (#6049) 2025-07-28 21:04:45 -04:00
card_list.h Move card_item and related to src/game/board (#5867) 2025-04-20 14:37:52 +00:00
counter_general.cpp Player refactor (#6112) 2025-09-10 18:49:33 -04:00
counter_general.h Player refactor (#6112) 2025-09-10 18:49:33 -04:00
graphics_item_type.h Player refactor (#6112) 2025-09-10 18:49:33 -04:00