From 52cb859a46f0c4bd61c217029b35f46ce634bfb7 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Mon, 9 Jul 2012 03:13:33 +0200 Subject: Adding a few more icons, and getting ready to translate cards. --- cards.tex | 36 +++++++++++++++++++----------------- icons.tex | 28 ++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 17 deletions(-) diff --git a/cards.tex b/cards.tex index 76e15ce..30df134 100644 --- a/cards.tex +++ b/cards.tex @@ -1,29 +1,31 @@ -\card{Rule}{ -This is a test of card rule. This is supposed to contain lots of lines, and -possibly icons. For example, this is a Mixed (Black or White) King \iMK which is blended with -the rest of the rule. Note it bumps line heights.\\ -\iWK\iWQ\iWB\iWN\iWR\iWP\\ -\iBK\iBQ\iBB\iBN\iBR\iBP\\ -\iMK\iMQ\iMB\iMN\iMR\iMP\\ -\inoK\iBoard\\ -}{...}{...} +%\card{Rule}{ +%This is a test of card rule. This is supposed to contain lots of lines, and +%possibly icons. For example, this is a Mixed (Black or White) King \iMK which is blended with +%the rest of the rule. Note it bumps line heights.\\ +%\iWK\iWQ\iWB\iWN\iWR\iWP\\ +%\iBK\iBQ\iBB\iBN\iBR\iBP\\ +%\iMK\iMQ\iMB\iMN\iMR\iMP\\ +%\inoK\iBoard\iWA\iBA\iMA\\ +%}{...}{...} + +\newcommand{\ET}{Play this card at the end of your turn.} \card{Hopper}{ One of your Rooks can, at the end of its move, continue on its line for two more squares by hopping over one piece, be it yours or your opponent's. This move can only happen if it takes a piece. -}{Play this card at the end of your turn.}{\iWR} +}{\ET}{\iWR} \card{Regency}{ You are making your King disappear from the board for the next turn. Before your next turn, you will have to place him back, by putting it on any square on the side of the board. -}{Play this card at the end of your turn.}{\iWK} +}{\ET}{\iWK} -%\card{Tango}{ -%Move any of your pieces by doing the same exact move you just did (same -%direction, same distance), as long as the move is valid. For example, no -%other piece should be in the path, except when reproducing knight moves. -%This move can take another piece. -%}{Play this card at the end of your turn.}{\iBB\iWB\iBK\iWK} +\card{Tango}{ +Move any of your pieces by doing the same exact move you just did (same +direction, same distance), as long as the move is valid. For example, no +other piece should be in the path, except when reproducing knight moves. +This move can take another piece. +}{\ET}{\iWA} diff --git a/icons.tex b/icons.tex index a856ce5..61a1214 100644 --- a/icons.tex +++ b/icons.tex @@ -152,3 +152,31 @@ (10, 14) -- (20, 9) -- (30, 14) -- (20, 20) -- cycle; \end{tikzpicture} } + +\newcommand{\iWA}{ + \begin{tikzpicture}[y=6pt, x=6pt, yscale=-1, inner sep=0pt, outer sep=0pt] + \path[draw, line width=0.6pt, line cap=round, line join=round, miter limit=4.00] + (0.5, -0.866025) -- (1, 0) -- (0.5, 0.866025) -- (-0.5, 0.866025) -- (-1, 0) -- (-0.5, -0.866025) -- cycle; + \path[draw, fill] (0, 0) circle (0.3); + \end{tikzpicture} +} + +\newcommand{\iBA}{ + \begin{tikzpicture}[y=6pt, x=6pt, yscale=-1, inner sep=0pt, outer sep=0pt] + \path[draw, fill, line width=0.6pt, line cap=round, line join=round, miter limit=4.00] + (0.5, -0.866025) -- (1, 0) -- (0.5, 0.866025) -- (-0.5, 0.866025) -- (-1, 0) -- (-0.5, -0.866025) -- cycle; + \path[draw=white, fill=white] (0, 0) circle (0.3); + \end{tikzpicture} +} + +\newcommand{\iMA}{ + \begin{tikzpicture}[y=6pt, x=6pt, yscale=-1, inner sep=0pt, outer sep=0pt] + \path[draw, line width=0.6pt, line cap=round, line join=round, miter limit=4.00] + (0.5, -0.866025) -- (1, 0) -- (0.5, 0.866025) -- (-0.5, 0.866025) -- (-1, 0) -- (-0.5, -0.866025) -- cycle; + \path[draw, fill] (0, 0) circle (0.3); + \clip (-1, 1) -- (1, -1) -- (1, 1); + \path[draw, fill, line width=0.6pt, line cap=round, line join=round, miter limit=4.00] + (0.5, -0.866025) -- (1, 0) -- (0.5, 0.866025) -- (-0.5, 0.866025) -- (-1, 0) -- (-0.5, -0.866025) -- cycle; + \path[draw=white, fill=white] (0, 0) circle (0.3); + \end{tikzpicture} +} -- cgit v1.2.3