mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Document battlefield colors and Continuumorphous font setup
This commit is contained in:
parent
61659a566a
commit
3f779c3bc1
1 changed files with 32 additions and 0 deletions
32
doc/continuumatrice-battlefield.md
Normal file
32
doc/continuumatrice-battlefield.md
Normal file
|
|
@ -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 `<tablerow>` | 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue