Cockatrice/cockatrice/src/game_graphics/board
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
..
abstract_card_drag_item.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
abstract_card_drag_item.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
abstract_card_item.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
abstract_card_item.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
abstract_counter.cpp Wire command zone menu, harden counter command handling, and expand tests 2026-06-30 09:30:29 -04:00
abstract_counter.h Reconcile tax counter visibility ownership and harden tax log formatting 2026-06-30 09:30:28 -04:00
abstract_graphics_item.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
abstract_graphics_item.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
arrow_item.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
arrow_item.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
arrow_target.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
arrow_target.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
card_drag_item.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
card_drag_item.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
card_item.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
card_item.h Split trice_limits.h into dedicated headers (#7025) 2026-06-29 14:37:52 -07:00
commander_tax_counter.cpp Adjust to rebase. 2026-06-30 09:30:23 -04:00
commander_tax_counter.h Adjust to rebase. 2026-06-30 09:30:23 -04:00
counter_general.cpp [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
counter_general.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
graphics_item_type.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
translate_counter_name.cpp [Game] Add Command Zone support with commander tax tracking 2026-06-30 09:30:13 -04:00
translate_counter_name.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00