Cockatrice/cockatrice/src
DawnFire42 eefdb6a6f0
Harden command zone tax counter handling and more clean up
- Initialize commandZoneGraphicsItem to nullptr so the pervasive null
    checks have defined behavior before initializeZones() runs
  - Remove unused getTaxCounterWidgets()
  - Enforce the "reset tax to 0 before deactivating" invariant server-side
    in cmdSetCounterActive, not just in the UI
  - Hide tax increment/decrement menu actions at their bounds (0 and
    MAX_COUNTER_VALUE) to avoid sending no-op commands
  - Drop redundant/inconsistent toggle labels from CommandZoneMenu::
    retranslateUi(); updateTaxCounterActionStates() owns them
  - Add default=-1 to Event_SetCounterActive.counter_id for parity with
    Command_SetCounterActive
2026-06-30 09:30:26 -04:00
..
client [Game] Add Command Zone support with commander tax tracking 2026-06-30 09:30:13 -04:00
database/interface [Fix-Warnings] Remove more redundant empty declarations. (extra semicolons) (#6374) 2025-11-29 14:19:11 +01:00
filters Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
game Code cleanup 2026-06-30 09:30:24 -04:00
game_graphics Harden command zone tax counter handling and more clean up 2026-06-30 09:30:26 -04:00
interface Code cleanup 2026-06-30 09:30:24 -04:00
main.cpp style: Add braces to all control flow statements (#6887) 2026-05-16 19:19:53 +02:00
main.h Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00