From 3f779c3bc17d8ea3215eaec483b215af6531ed0c Mon Sep 17 00:00:00 2001 From: Christian Daniel Jensen Date: Sun, 1 Nov 2026 23:52:50 -0700 Subject: [PATCH] Document battlefield colors and Continuumorphous font setup --- doc/continuumatrice-battlefield.md | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 doc/continuumatrice-battlefield.md diff --git a/doc/continuumatrice-battlefield.md b/doc/continuumatrice-battlefield.md new file mode 100644 index 000000000..130dc1f2d --- /dev/null +++ b/doc/continuumatrice-battlefield.md @@ -0,0 +1,32 @@ +# Continuumatrice battlefield style + +Cockatrice's three visual table rows are reused as **Front**, **Support**, and **Command**. This is purely a display change: the server still sees a single `table` zone. + +| Card XML `` | Position | +| --- | --- | +| `0` | Front | +| `1` | Support | +| `2` | Command | + +## Optional color customization + +Create `battlefield.ini` in the active Cockatrice theme directory: + +```ini +[Zones] +Front = #A08E343D +Support = #A0286981 +Command = #A05E428C +``` + +The Qt color notation is `#AARRGGBB`, including transparency. Without this file, built-in red, teal, and purple shades are used. Reload the theme to apply changes. The row order follows the player's mirrored/inverted layout, so Front always faces the battlefield center. + +## Font + +To render labels using your own **Continuumorphous Regular**, copy either `Continuumorphous-Regular.ttf` or `Continuumorphous-Regular.otf` into `fonts/` inside the current theme directory, or into a `fonts/` directory beside the Continuumatrice executable. + +The font is also detected if already installed as "Continuumorphous Regular" or "Continuumorphous". If not found, a Qt default font is used. The font asset is not included in this change; no resource entry was added that would break builds when the file is missing. + +## Compatibility + +The existing drag/drop, row mapping, stacking, card counters, playmats, and multiplayer protocols are preserved. This does **not** enforce gameplay placement restrictions.