Cockatrice/cockatrice
Basile Clément 3cdc44322d
client: Support arbitrary game zones
Currently, the client ignores cards in unknown zones, as there is an
implicit assumption that the set of zones known by the server and the
client are the same.

This patch makes it so that the client accept "custom zones" from the
server (zones outside the builtin deck, graveyard, exile, sideboard,
table, stack and hand zones) using the information from the
ServerInfo_CardZone. Moving cards from/into these zones happens
through a "View custom zone" action in the Game > Player menu and
properly appears in the chat.

Note that this patch intentionally does not introduce any support for
having the server actually create such zones. Instead, this patch aims
to improve backwards compatibility for when we do get to adding this
capability in the future, by making sure that current clients will be
able to interact with future new zones (even if suboptimally).
2025-04-23 21:00:22 +02:00
..
resources Add logging to LocalClient (#5827) 2025-04-15 01:25:17 +00:00
sounds Add cmake format (#4618) 2022-05-08 21:22:43 +02:00
src client: Support arbitrary game zones 2025-04-23 21:00:22 +02:00
themes Add cmake format (#4618) 2022-05-08 21:22:43 +02:00
translations Update translation files (#5828) 2025-04-15 22:08:52 +00:00
.qdevelop icon_draw and icon_untap added, icon_general and icon_messages modified 2009-07-31 13:37:16 +02:00
CMakeLists.txt Move card_item and related to src/game/board (#5867) 2025-04-20 14:37:52 +00:00
cockatrice.desktop Updated Spanish translation 2011-07-16 11:38:57 +02:00
cockatrice.qrc Generic mana symbols. (#5685) 2025-03-03 13:12:09 -05:00
cockatrice.rc Included uninstaller for Windows version 2010-09-17 15:26:07 +02:00
cockatrice_en@source.ts Update translation source strings (#5781) 2025-04-03 00:17:25 -04:00