Make Sho Shogi use ASCII figurine theme, and use ASCII names for rows.
[tagua/yd.git] / data / themes / figurines / AsciiShogiTTF / theme.lua
blobd1fe4126b0641a1fc89b1a9b40558a2da9b2c545
1 import("piece_theme.lua")
2 import("shogi_themelib.lua")
4 function Fig(char)
5 return Glyph("../ShogiTTF/mikachan.ttf", char, 2)
6 end
8 function Plain(str)
9 return Glyph(nil, str, 2)
10 end
12 theme.num_9 = Plain("i")
13 theme.num_8 = Plain("h")
14 theme.num_7 = Plain("g")
15 theme.num_6 = Plain("f")
16 theme.num_5 = Plain("e")
17 theme.num_4 = Plain("d")
18 theme.num_3 = Plain("c")
19 theme.num_2 = Plain("b")
20 theme.num_1 = Plain("a")
22 theme.phoenix = Plain("Ph")
23 theme.crane = Plain("Cr")
24 theme.pheasant = Plain("Pt")
25 theme.right_quail = Plain("RQ")
26 theme.left_quail = Plain("LQ")
27 theme.falcon = Plain("Fa")
28 theme.swallow = Plain("Sw")
30 theme.king1 = Plain("K")
31 theme.king2 = Plain("K")
32 theme.rook = Plain("R")
33 theme.bishop = Plain("B")
34 theme.gold = Plain("G")
35 theme.silver = Plain("S")
36 theme.knight = Plain("N")
37 theme.lance = Plain("L")
38 theme.pawn = Plain("P")
39 theme.drunken_elephant = Plain("DE")