%D \module
%D   [       file=games-chess-symbols,
%D        version=2008.01.11,
%D          title=\CONTEXT\ User Module,
%D       subtitle=Chess Symbols,
%D         author=Wolfgang Schuster,
%D           date=\currentdate,
%D      copyright=Wolfgang Schuster,
%D          email=schuster.wolfgang@googlemail.com,
%D        license=Public Domain]

\writestatus{loading}{Context User Module / Games - Chess Symbols}

\unprotect

\definefontsynonym[skaknew]   [file:SkakNew-Diagram]
\definefontsynonym[alpha]     [file:ChessAlphaDiagram]
\definefontsynonym[adventurer][file:AVENFONT]
\definefontsynonym[cheq]      [file:CHEQ_TT]

\startsymbolset [skaknew]

\definesymbol [\v!field:\v!black:\v!king  ] [\ChessSymbol{"6A}]
\definesymbol [\v!field:\v!black:\v!queen ] [\ChessSymbol{"6C}]
\definesymbol [\v!field:\v!black:\v!rook  ] [\ChessSymbol{"73}]
\definesymbol [\v!field:\v!black:\v!bishop] [\ChessSymbol{"61}]
\definesymbol [\v!field:\v!black:\v!knight] [\ChessSymbol{"6D}]
\definesymbol [\v!field:\v!black:\v!pawn  ] [\ChessSymbol{"6F}]

\definesymbol [\v!piece:\v!black:\v!king  ] [\ChessSymbol{"6B}]
\definesymbol [\v!piece:\v!black:\v!queen ] [\ChessSymbol{"71}]
\definesymbol [\v!piece:\v!black:\v!rook  ] [\ChessSymbol{"72}]
\definesymbol [\v!piece:\v!black:\v!bishop] [\ChessSymbol{"62}]
\definesymbol [\v!piece:\v!black:\v!knight] [\ChessSymbol{"6E}]
\definesymbol [\v!piece:\v!black:\v!pawn  ] [\ChessSymbol{"70}]

\definesymbol [\v!field:\v!white:\v!king  ] [\ChessSymbol{"4A}]
\definesymbol [\v!field:\v!white:\v!queen ] [\ChessSymbol{"4C}]
\definesymbol [\v!field:\v!white:\v!rook  ] [\ChessSymbol{"53}]
\definesymbol [\v!field:\v!white:\v!bishop] [\ChessSymbol{"41}]
\definesymbol [\v!field:\v!white:\v!knight] [\ChessSymbol{"4D}]
\definesymbol [\v!field:\v!white:\v!pawn  ] [\ChessSymbol{"4F}]

\definesymbol [\v!piece:\v!white:\v!king  ] [\ChessSymbol{"4B}]
\definesymbol [\v!piece:\v!white:\v!queen ] [\ChessSymbol{"51}]
\definesymbol [\v!piece:\v!white:\v!rook  ] [\ChessSymbol{"52}]
\definesymbol [\v!piece:\v!white:\v!bishop] [\ChessSymbol{"42}]
\definesymbol [\v!piece:\v!white:\v!knight] [\ChessSymbol{"4E}]
\definesymbol [\v!piece:\v!white:\v!pawn  ] [\ChessSymbol{"50}]

\definesymbol [\v!field\v!mask:\v!king    ] [\ChessSymbol{"31}]
\definesymbol [\v!field\v!mask:\v!queen   ] [\ChessSymbol{"35}]
\definesymbol [\v!field\v!mask:\v!rook    ] [\ChessSymbol{"33}]
\definesymbol [\v!field\v!mask:\v!bishop  ] [\ChessSymbol{"34}]
\definesymbol [\v!field\v!mask:\v!knight  ] [\ChessSymbol{"32}]
\definesymbol [\v!field\v!mask:\v!pawn    ] [\ChessSymbol{"36}]

\definesymbol [\v!piece\v!mask:\v!king    ] [\ChessSymbol{"54}]
\definesymbol [\v!piece\v!mask:\v!queen   ] [\ChessSymbol{"58}]
\definesymbol [\v!piece\v!mask:\v!rook    ] [\ChessSymbol{"56}]
\definesymbol [\v!piece\v!mask:\v!bishop  ] [\ChessSymbol{"57}]
\definesymbol [\v!piece\v!mask:\v!knight  ] [\ChessSymbol{"55}]
\definesymbol [\v!piece\v!mask:\v!pawn    ] [\ChessSymbol{"59}]

\definesymbol [\v!field\v!mask:\v!empty   ] [\ChessSymbol{"7A}]

\definesymbol [\v!field:\v!black:\v!empty ] [\ChessSymbol{"5A}]
\definesymbol [\v!field:\v!white:\v!empty ] [\ChessSymbol{"30}]

\stopsymbolset

\startsymbolset [alpha]

\definesymbol [\v!field:\v!black:\v!king  ] [\ChessSymbol{"6A}]
\definesymbol [\v!field:\v!black:\v!queen ] [\ChessSymbol{"6C}]
\definesymbol [\v!field:\v!black:\v!rook  ] [\ChessSymbol{"73}]
\definesymbol [\v!field:\v!black:\v!bishop] [\ChessSymbol{"61}]
\definesymbol [\v!field:\v!black:\v!knight] [\ChessSymbol{"6D}]
\definesymbol [\v!field:\v!black:\v!pawn  ] [\ChessSymbol{"6F}]

\definesymbol [\v!piece:\v!black:\v!king  ] [\ChessSymbol{"6B}]
\definesymbol [\v!piece:\v!black:\v!queen ] [\ChessSymbol{"71}]
\definesymbol [\v!piece:\v!black:\v!rook  ] [\ChessSymbol{"72}]
\definesymbol [\v!piece:\v!black:\v!bishop] [\ChessSymbol{"62}]
\definesymbol [\v!piece:\v!black:\v!knight] [\ChessSymbol{"6E}]
\definesymbol [\v!piece:\v!black:\v!pawn  ] [\ChessSymbol{"70}]

\definesymbol [\v!field:\v!white:\v!king  ] [\ChessSymbol{"4A}]
\definesymbol [\v!field:\v!white:\v!queen ] [\ChessSymbol{"4C}]
\definesymbol [\v!field:\v!white:\v!rook  ] [\ChessSymbol{"53}]
\definesymbol [\v!field:\v!white:\v!bishop] [\ChessSymbol{"41}]
\definesymbol [\v!field:\v!white:\v!knight] [\ChessSymbol{"4D}]
\definesymbol [\v!field:\v!white:\v!pawn  ] [\ChessSymbol{"4F}]

\definesymbol [\v!piece:\v!white:\v!king  ] [\ChessSymbol{"4B}]
\definesymbol [\v!piece:\v!white:\v!queen ] [\ChessSymbol{"51}]
\definesymbol [\v!piece:\v!white:\v!rook  ] [\ChessSymbol{"52}]
\definesymbol [\v!piece:\v!white:\v!bishop] [\ChessSymbol{"42}]
\definesymbol [\v!piece:\v!white:\v!knight] [\ChessSymbol{"4E}]
\definesymbol [\v!piece:\v!white:\v!pawn  ] [\ChessSymbol{"50}]

\definesymbol [\v!field\v!mask:\v!king    ] [\ChessSymbol{"31}]
\definesymbol [\v!field\v!mask:\v!queen   ] [\ChessSymbol{"35}]
\definesymbol [\v!field\v!mask:\v!rook    ] [\ChessSymbol{"33}]
\definesymbol [\v!field\v!mask:\v!bishop  ] [\ChessSymbol{"34}]
\definesymbol [\v!field\v!mask:\v!knight  ] [\ChessSymbol{"32}]
\definesymbol [\v!field\v!mask:\v!pawn    ] [\ChessSymbol{"36}]

\definesymbol [\v!piece\v!mask:\v!king    ] [\ChessSymbol{"54}]
\definesymbol [\v!piece\v!mask:\v!queen   ] [\ChessSymbol{"58}]
\definesymbol [\v!piece\v!mask:\v!rook    ] [\ChessSymbol{"56}]
\definesymbol [\v!piece\v!mask:\v!bishop  ] [\ChessSymbol{"57}]
\definesymbol [\v!piece\v!mask:\v!knight  ] [\ChessSymbol{"55}]
\definesymbol [\v!piece\v!mask:\v!pawn    ] [\ChessSymbol{"59}]

\definesymbol [\v!field\v!mask:\v!empty   ] [\ChessSymbol{"7A}]

\definesymbol [\v!field:\v!black:\v!empty ] [\ChessSymbol{"5A}]
\definesymbol [\v!field:\v!white:\v!empty ] [\ChessSymbol{"30}]

\stopsymbolset

\startsymbolset [adventurer]

\definesymbol [\v!field:\v!black:\v!king  ] [\ChessSymbol{"4C}]
\definesymbol [\v!field:\v!black:\v!queen ] [\ChessSymbol{"57}]
\definesymbol [\v!field:\v!black:\v!rook  ] [\ChessSymbol{"54}]
\definesymbol [\v!field:\v!black:\v!bishop] [\ChessSymbol{"56}]
\definesymbol [\v!field:\v!black:\v!knight] [\ChessSymbol{"4D}]
\definesymbol [\v!field:\v!black:\v!pawn  ] [\ChessSymbol{"4F}]

\definesymbol [\v!piece:\v!black:\v!king  ] [\ChessSymbol{"6C}]
\definesymbol [\v!piece:\v!black:\v!queen ] [\ChessSymbol{"77}]
\definesymbol [\v!piece:\v!black:\v!rook  ] [\ChessSymbol{"74}]
\definesymbol [\v!piece:\v!black:\v!bishop] [\ChessSymbol{"76}]
\definesymbol [\v!piece:\v!black:\v!knight] [\ChessSymbol{"6D}]
\definesymbol [\v!piece:\v!black:\v!pawn  ] [\ChessSymbol{"6F}]

\definesymbol [\v!field:\v!white:\v!king  ] [\ChessSymbol{"4B}]
\definesymbol [\v!field:\v!white:\v!queen ] [\ChessSymbol{"51}]
\definesymbol [\v!field:\v!white:\v!rook  ] [\ChessSymbol{"52}]
\definesymbol [\v!field:\v!white:\v!bishop] [\ChessSymbol{"42}]
\definesymbol [\v!field:\v!white:\v!knight] [\ChessSymbol{"4E}]
\definesymbol [\v!field:\v!white:\v!pawn  ] [\ChessSymbol{"50}]

\definesymbol [\v!piece:\v!white:\v!king  ] [\ChessSymbol{"6B}]
\definesymbol [\v!piece:\v!white:\v!queen ] [\ChessSymbol{"71}]
\definesymbol [\v!piece:\v!white:\v!rook  ] [\ChessSymbol{"72}]
\definesymbol [\v!piece:\v!white:\v!bishop] [\ChessSymbol{"62}]
\definesymbol [\v!piece:\v!white:\v!knight] [\ChessSymbol{"6E}]
\definesymbol [\v!piece:\v!white:\v!pawn  ] [\ChessSymbol{"70}]

\definesymbol [\v!field\v!mask:\v!king    ] [\ChessSymbol{"60}]
\definesymbol [\v!field\v!mask:\v!queen   ] [\ChessSymbol{"5F}]
\definesymbol [\v!field\v!mask:\v!rook    ] [\ChessSymbol{"5E}]
\definesymbol [\v!field\v!mask:\v!bishop  ] [\ChessSymbol{"5D}]
\definesymbol [\v!field\v!mask:\v!knight  ] [\ChessSymbol{"5C}]
\definesymbol [\v!field\v!mask:\v!pawn    ] [\ChessSymbol{"5B}]

\definesymbol [\v!field\v!mask:\v!empty   ] [\ChessSymbol{"3E}]

\definesymbol [\v!field:\v!black:\v!empty ] [\ChessSymbol{"2B}]
\definesymbol [\v!field:\v!white:\v!empty ] [\ChessSymbol{"2A}]

\stopsymbolset

\startsymbolset [cheq]

\definesymbol [\v!field:\v!black:\v!king  ] [\ChessSymbol{"4C}]
\definesymbol [\v!field:\v!black:\v!queen ] [\ChessSymbol{"57}]
\definesymbol [\v!field:\v!black:\v!rook  ] [\ChessSymbol{"54}]
\definesymbol [\v!field:\v!black:\v!bishop] [\ChessSymbol{"4E}]
\definesymbol [\v!field:\v!black:\v!knight] [\ChessSymbol{"4A}]
\definesymbol [\v!field:\v!black:\v!pawn  ] [\ChessSymbol{"4F}]

\definesymbol [\v!piece:\v!black:\v!king  ] [\ChessSymbol{"6C}]
\definesymbol [\v!piece:\v!black:\v!queen ] [\ChessSymbol{"77}]
\definesymbol [\v!piece:\v!black:\v!rook  ] [\ChessSymbol{"74}]
\definesymbol [\v!piece:\v!black:\v!bishop] [\ChessSymbol{"6E}]
\definesymbol [\v!piece:\v!black:\v!knight] [\ChessSymbol{"6A}]
\definesymbol [\v!piece:\v!black:\v!pawn  ] [\ChessSymbol{"6F}]

\definesymbol [\v!field:\v!white:\v!king  ] [\ChessSymbol{"4B}]
\definesymbol [\v!field:\v!white:\v!queen ] [\ChessSymbol{"51}]
\definesymbol [\v!field:\v!white:\v!rook  ] [\ChessSymbol{"52}]
\definesymbol [\v!field:\v!white:\v!bishop] [\ChessSymbol{"42}]
\definesymbol [\v!field:\v!white:\v!knight] [\ChessSymbol{"48}]
\definesymbol [\v!field:\v!white:\v!pawn  ] [\ChessSymbol{"50}]

\definesymbol [\v!piece:\v!white:\v!king  ] [\ChessSymbol{"6B}]
\definesymbol [\v!piece:\v!white:\v!queen ] [\ChessSymbol{"71}]
\definesymbol [\v!piece:\v!white:\v!rook  ] [\ChessSymbol{"72}]
\definesymbol [\v!piece:\v!white:\v!bishop] [\ChessSymbol{"62}]
\definesymbol [\v!piece:\v!white:\v!knight] [\ChessSymbol{"68}]
\definesymbol [\v!piece:\v!white:\v!pawn  ] [\ChessSymbol{"70}]

\definesymbol [\v!field:\v!black:\v!empty ] [\ChessSymbol{"2B}]
\definesymbol [\v!field:\v!white:\v!empty ] [\ChessSymbol{"2A}]

\stopsymbolset

\protect \endinput
