Cockatrice/cockatrice/src/game_graphics/zones
DawnFire42 bc09a19b50
Wire command zone menu, harden counter command handling, and expand tests
- Connect aMoveToCommandZone to cmMoveToCommandZone; the menu item was
    added, shown, and shortcut-bound but never wired, so it did nothing
  - Extract evaluateModifyCounter() and route cmdIncCounter/cmdSetCounter
    through it, replacing isCommandZoneCounterBlocked; reject inc/set on
    an inactive tax counter so a hidden counter cannot accumulate value
  - Reject reserved tax counter names in cmdCreateCounter to prevent a
    client from spoofing a system tax counter via a user-created counter
  - Route AbstractCounter::valueChanged through the virtual setValue() so
    CommanderTaxCounter clamps and refreshes its tooltip on value changes
  - Deduplicate actPlayAndIncreaseTax/actPlayAndIncreasePartnerTax into a
    single playAndIncreaseTax(counterId) helper
  - Move MINIMUM_STACKING_HEIGHT from CommandZone to the PlayerGraphicsItem
    layout code, its only consumer
  - Remove unused AbstractCounter forward declaration from player_logic.h
  - Add EvaluateModifyCounter tests and PartnerTax cases for
    evaluateSetCounterActive
  - Pin the FirstUserId floor in new_counter_id_test using ids 3 and 5 so
    a naive "highest id + 1" regression fails the test
2026-06-30 09:30:29 -04:00
..
card_zone.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
card_zone.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
command_zone.cpp Sync command zone visibility on construction and reflow stack on height change 2026-06-30 09:30:28 -04:00
command_zone.h Wire command zone menu, harden counter command handling, and expand tests 2026-06-30 09:30:29 -04:00
hand_zone.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
hand_zone.h [Game/Zones] Simple move refactor to differentiate between logic and graphics for zones (#6903) 2026-05-18 06:36:18 +02:00
pile_zone.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
pile_zone.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
select_zone.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
select_zone.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
stack_zone.cpp Code cleanup 2026-06-30 09:30:24 -04:00
stack_zone.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
table_zone.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
table_zone.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
view_zone.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
view_zone.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
view_zone_widget.cpp [Game] Setting to restore old chat autofocus behavior (#6992) 2026-06-15 17:04:30 +02:00
view_zone_widget.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00