From 3956164d1ed1580d5fe022ac6712ed1711ad10f1 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 2 May 2024 22:15:39 +0200 Subject: seats --- data.js | 30 -------- images/raw_seat_lancaster_buckingham.png | Bin 0 -> 8181 bytes images/raw_seat_lancaster_clarence.png | Bin 0 -> 6710 bytes images/raw_seat_lancaster_exeter.png | Bin 0 -> 6632 bytes images/raw_seat_lancaster_henry_tudor.png | Bin 0 -> 8513 bytes images/raw_seat_lancaster_henry_vi.png | Bin 0 -> 6941 bytes images/raw_seat_lancaster_jasper_tudor.png | Bin 0 -> 7632 bytes images/raw_seat_lancaster_margaret.png | Bin 0 -> 6996 bytes images/raw_seat_lancaster_northumberland.png | Bin 0 -> 7152 bytes images/raw_seat_lancaster_oxford.png | Bin 0 -> 7094 bytes images/raw_seat_lancaster_somerset.png | Bin 0 -> 8581 bytes images/raw_seat_lancaster_warwick.png | Bin 0 -> 7243 bytes images/raw_seat_york_devon.png | Bin 0 -> 6825 bytes images/raw_seat_york_edward_iv.png | Bin 0 -> 8303 bytes images/raw_seat_york_gloucester.png | Bin 0 -> 6959 bytes images/raw_seat_york_march.png | Bin 0 -> 7854 bytes images/raw_seat_york_norfolk.png | Bin 0 -> 7172 bytes images/raw_seat_york_northumberland.png | Bin 0 -> 7008 bytes images/raw_seat_york_pembroke.png | Bin 0 -> 7948 bytes images/raw_seat_york_rutland.png | Bin 0 -> 6227 bytes images/raw_seat_york_salisbury.png | Bin 0 -> 7019 bytes images/raw_seat_york_warwick.png | Bin 0 -> 7169 bytes images/raw_seat_york_york.png | Bin 0 -> 7415 bytes images/seat_lancaster_buckingham.png | Bin 7851 -> 10125 bytes images/seat_lancaster_buckingham.svg | 11 +++ images/seat_lancaster_clarence.png | Bin 6033 -> 8556 bytes images/seat_lancaster_clarence.svg | 11 +++ images/seat_lancaster_exeter.png | Bin 6242 -> 8544 bytes images/seat_lancaster_exeter.svg | 11 +++ images/seat_lancaster_henry_tudor.png | Bin 7785 -> 10565 bytes images/seat_lancaster_henry_tudor.svg | 11 +++ images/seat_lancaster_henry_vi.png | Bin 6413 -> 8825 bytes images/seat_lancaster_henry_vi.svg | 11 +++ images/seat_lancaster_jasper_tudor.png | Bin 6857 -> 9523 bytes images/seat_lancaster_jasper_tudor.svg | 11 +++ images/seat_lancaster_margaret.png | Bin 6423 -> 8847 bytes images/seat_lancaster_margaret.svg | 11 +++ images/seat_lancaster_northumberland.png | Bin 6811 -> 8962 bytes images/seat_lancaster_northumberland.svg | 11 +++ images/seat_lancaster_oxford.png | Bin 6473 -> 8870 bytes images/seat_lancaster_oxford.svg | 11 +++ images/seat_lancaster_somerset.png | Bin 7942 -> 10622 bytes images/seat_lancaster_somerset.svg | 11 +++ images/seat_lancaster_warwick.png | Bin 6748 -> 9064 bytes images/seat_lancaster_warwick.svg | 11 +++ images/seat_york_devon.png | Bin 6368 -> 8487 bytes images/seat_york_devon.svg | 11 +++ images/seat_york_edward_iv.png | Bin 7778 -> 10096 bytes images/seat_york_edward_iv.svg | 11 +++ images/seat_york_gloucester.png | Bin 6486 -> 8597 bytes images/seat_york_gloucester.svg | 11 +++ images/seat_york_march.png | Bin 7317 -> 9544 bytes images/seat_york_march.svg | 11 +++ images/seat_york_norfolk.png | Bin 6528 -> 8743 bytes images/seat_york_norfolk.svg | 11 +++ images/seat_york_northumberland.png | Bin 6494 -> 8651 bytes images/seat_york_northumberland.svg | 11 +++ images/seat_york_pembroke.png | Bin 7337 -> 9715 bytes images/seat_york_pembroke.svg | 11 +++ images/seat_york_rutland.png | Bin 5765 -> 7862 bytes images/seat_york_rutland.svg | 11 +++ images/seat_york_salisbury.png | Bin 6552 -> 8691 bytes images/seat_york_salisbury.svg | 11 +++ images/seat_york_warwick.png | Bin 6639 -> 8780 bytes images/seat_york_warwick.svg | 11 +++ images/seat_york_york.png | Bin 6728 -> 9024 bytes images/seat_york_york.svg | 11 +++ images/vassal_beaumont_b.png | Bin 10005 -> 0 bytes images/vassal_bonville_b.png | Bin 6495 -> 0 bytes images/vassal_devon_b.png | Bin 7246 -> 0 bytes images/vassal_dudley_b.png | Bin 8417 -> 0 bytes images/vassal_essex_b.png | Bin 8970 -> 0 bytes images/vassal_fauconberg_b.png | Bin 7008 -> 0 bytes images/vassal_norfolk_b.png | Bin 9600 -> 0 bytes images/vassal_oxford_b.png | Bin 7601 -> 0 bytes images/vassal_shrewsbury_b.png | Bin 9676 -> 0 bytes images/vassal_stanley_b.png | Bin 5990 -> 0 bytes images/vassal_suffolk_b.png | Bin 8957 -> 0 bytes images/vassal_westmoreland_b.png | Bin 5027 -> 0 bytes images/vassal_westmorld_b.png | Bin 5027 -> 0 bytes images/vassal_worcester_b.png | Bin 8976 -> 0 bytes play.css | 18 ++--- play.js | 64 ++++++++++------ tools/gendata.js | 91 ----------------------- tools/genseat.js | 57 ++++++++++++++ tools/markers3.sh | 107 +++++++++++++-------------- tools/seats.sh | 8 ++ 87 files changed, 409 insertions(+), 208 deletions(-) create mode 100644 images/raw_seat_lancaster_buckingham.png create mode 100644 images/raw_seat_lancaster_clarence.png create mode 100644 images/raw_seat_lancaster_exeter.png create mode 100644 images/raw_seat_lancaster_henry_tudor.png create mode 100644 images/raw_seat_lancaster_henry_vi.png create mode 100644 images/raw_seat_lancaster_jasper_tudor.png create mode 100644 images/raw_seat_lancaster_margaret.png create mode 100644 images/raw_seat_lancaster_northumberland.png create mode 100644 images/raw_seat_lancaster_oxford.png create mode 100644 images/raw_seat_lancaster_somerset.png create mode 100644 images/raw_seat_lancaster_warwick.png create mode 100644 images/raw_seat_york_devon.png create mode 100644 images/raw_seat_york_edward_iv.png create mode 100644 images/raw_seat_york_gloucester.png create mode 100644 images/raw_seat_york_march.png create mode 100644 images/raw_seat_york_norfolk.png create mode 100644 images/raw_seat_york_northumberland.png create mode 100644 images/raw_seat_york_pembroke.png create mode 100644 images/raw_seat_york_rutland.png create mode 100644 images/raw_seat_york_salisbury.png create mode 100644 images/raw_seat_york_warwick.png create mode 100644 images/raw_seat_york_york.png create mode 100644 images/seat_lancaster_buckingham.svg create mode 100644 images/seat_lancaster_clarence.svg create mode 100644 images/seat_lancaster_exeter.svg create mode 100644 images/seat_lancaster_henry_tudor.svg create mode 100644 images/seat_lancaster_henry_vi.svg create mode 100644 images/seat_lancaster_jasper_tudor.svg create mode 100644 images/seat_lancaster_margaret.svg create mode 100644 images/seat_lancaster_northumberland.svg create mode 100644 images/seat_lancaster_oxford.svg create mode 100644 images/seat_lancaster_somerset.svg create mode 100644 images/seat_lancaster_warwick.svg create mode 100644 images/seat_york_devon.svg create mode 100644 images/seat_york_edward_iv.svg create mode 100644 images/seat_york_gloucester.svg create mode 100644 images/seat_york_march.svg create mode 100644 images/seat_york_norfolk.svg create mode 100644 images/seat_york_northumberland.svg create mode 100644 images/seat_york_pembroke.svg create mode 100644 images/seat_york_rutland.svg create mode 100644 images/seat_york_salisbury.svg create mode 100644 images/seat_york_warwick.svg create mode 100644 images/seat_york_york.svg delete mode 100644 images/vassal_beaumont_b.png delete mode 100644 images/vassal_bonville_b.png delete mode 100644 images/vassal_devon_b.png delete mode 100644 images/vassal_dudley_b.png delete mode 100644 images/vassal_essex_b.png delete mode 100644 images/vassal_fauconberg_b.png delete mode 100644 images/vassal_norfolk_b.png delete mode 100644 images/vassal_oxford_b.png delete mode 100644 images/vassal_shrewsbury_b.png delete mode 100644 images/vassal_stanley_b.png delete mode 100644 images/vassal_suffolk_b.png delete mode 100644 images/vassal_westmoreland_b.png delete mode 100644 images/vassal_westmorld_b.png delete mode 100644 images/vassal_worcester_b.png create mode 100644 tools/genseat.js create mode 100644 tools/seats.sh diff --git a/data.js b/data.js index ef9f00d..2ee9047 100644 --- a/data.js +++ b/data.js @@ -273,35 +273,5 @@ cards:[ {"name":"L36","event":"Talbot to the Rescue","roses":3,"when":"hold","capability":"Chevaliers","lords":[23,24,25,26]}, {"name":"L37","event":"The Earl of Richmond","roses":3,"when":"this_levy","capability":"Madame La Grande","lords":[23,24,25,26]}, ], -seat:[ -{"name":"seat york lord_york","box":{"x":906,"y":937,"w":50,"h":50}}, -{"name":"seat york lord_march","box":{"x":427,"y":969,"w":50,"h":50}}, -{"name":"seat york lord_edward_iv","box":{"x":952,"y":1148,"w":50,"h":50}}, -{"name":"seat york lord_salisbury","box":{"x":770,"y":636,"w":50,"h":50}}, -{"name":"seat york lord_rutland","box":{"x":1125,"y":1214,"w":50,"h":50}}, -{"name":"seat york lord_pembroke","box":{"x":184,"y":1067,"w":50,"h":50}}, -{"name":"seat york lord_devon","box":{"x":359,"y":1318,"w":50,"h":50}}, -{"name":"seat york lord_northumberland_y1","box":{"x":391,"y":431,"w":50,"h":50}}, -{"name":"seat york lord_northumberland_y2","box":{"x":391,"y":431,"w":50,"h":50}}, -{"name":"seat york lord_gloucester_1","box":{"x":609,"y":1074,"w":50,"h":50}}, -{"name":"seat york lord_gloucester_2","box":{"x":953,"y":1148,"w":50,"h":50}}, -{"name":"seat york lord_richard_iii","box":{"x":953,"y":1149,"w":50,"h":50}}, -{"name":"seat york lord_norfolk","box":{"x":795,"y":1398,"w":50,"h":50}}, -{"name":"seat york lord_warwick_y","box":{"x":1150,"y":1349,"w":50,"h":50}}, -{"name":"seat lancaster lord_henry_vi","box":{"x":834,"y":1169,"w":50,"h":50}}, -{"name":"seat lancaster lord_margaret","box":{"x":833,"y":1170,"w":50,"h":50}}, -{"name":"seat lancaster lord_somerset_1","box":{"x":453,"y":1277,"w":50,"h":50}}, -{"name":"seat lancaster lord_somerset_2","box":{"x":452,"y":1276,"w":50,"h":50}}, -{"name":"seat lancaster lord_exeter_1","box":{"x":300,"y":1333,"w":50,"h":50}}, -{"name":"seat lancaster lord_exeter_2","box":{"x":300,"y":1333,"w":50,"h":50}}, -{"name":"seat lancaster lord_buckingham","box":{"x":714,"y":975,"w":50,"h":50}}, -{"name":"seat lancaster lord_northumberland_l","box":{"x":392,"y":430,"w":50,"h":50}}, -{"name":"seat lancaster lord_clarence","box":{"x":650,"y":637,"w":50,"h":50}}, -{"name":"seat lancaster lord_jasper_tudor_1","box":{"x":127,"y":1104,"w":50,"h":50}}, -{"name":"seat lancaster lord_jasper_tudor_2","box":{"x":346,"y":921,"w":50,"h":50}}, -{"name":"seat lancaster lord_henry_tudor","box":{"x":834,"y":1170,"w":50,"h":50}}, -{"name":"seat lancaster lord_oxford","box":{"x":678,"y":1078,"w":50,"h":50}}, -{"name":"seat lancaster lord_warwick_l","box":{"x":1150,"y":1350,"w":50,"h":50}}, -], } if (typeof module !== 'undefined') module.exports = data diff --git a/images/raw_seat_lancaster_buckingham.png b/images/raw_seat_lancaster_buckingham.png new file mode 100644 index 0000000..59054b4 Binary files /dev/null and b/images/raw_seat_lancaster_buckingham.png differ diff --git a/images/raw_seat_lancaster_clarence.png b/images/raw_seat_lancaster_clarence.png new file mode 100644 index 0000000..94c8bda Binary files /dev/null and b/images/raw_seat_lancaster_clarence.png differ diff --git a/images/raw_seat_lancaster_exeter.png b/images/raw_seat_lancaster_exeter.png new file mode 100644 index 0000000..82c1154 Binary files /dev/null and b/images/raw_seat_lancaster_exeter.png differ diff --git a/images/raw_seat_lancaster_henry_tudor.png b/images/raw_seat_lancaster_henry_tudor.png new file mode 100644 index 0000000..cd340f1 Binary files /dev/null and b/images/raw_seat_lancaster_henry_tudor.png differ diff --git a/images/raw_seat_lancaster_henry_vi.png b/images/raw_seat_lancaster_henry_vi.png new file mode 100644 index 0000000..6e53e2e Binary files /dev/null and b/images/raw_seat_lancaster_henry_vi.png differ diff --git a/images/raw_seat_lancaster_jasper_tudor.png b/images/raw_seat_lancaster_jasper_tudor.png new file mode 100644 index 0000000..80b11ac Binary files /dev/null and b/images/raw_seat_lancaster_jasper_tudor.png differ diff --git a/images/raw_seat_lancaster_margaret.png b/images/raw_seat_lancaster_margaret.png new file mode 100644 index 0000000..c25c6e5 Binary files /dev/null and b/images/raw_seat_lancaster_margaret.png differ diff --git a/images/raw_seat_lancaster_northumberland.png b/images/raw_seat_lancaster_northumberland.png new file mode 100644 index 0000000..3de841a Binary files /dev/null and b/images/raw_seat_lancaster_northumberland.png differ diff --git a/images/raw_seat_lancaster_oxford.png b/images/raw_seat_lancaster_oxford.png new file mode 100644 index 0000000..e7f8676 Binary files /dev/null and b/images/raw_seat_lancaster_oxford.png differ diff --git a/images/raw_seat_lancaster_somerset.png b/images/raw_seat_lancaster_somerset.png new file mode 100644 index 0000000..379edee Binary files /dev/null and b/images/raw_seat_lancaster_somerset.png differ diff --git a/images/raw_seat_lancaster_warwick.png b/images/raw_seat_lancaster_warwick.png new file mode 100644 index 0000000..e321082 Binary files /dev/null and b/images/raw_seat_lancaster_warwick.png differ diff --git a/images/raw_seat_york_devon.png b/images/raw_seat_york_devon.png new file mode 100644 index 0000000..04b2fc7 Binary files /dev/null and b/images/raw_seat_york_devon.png differ diff --git a/images/raw_seat_york_edward_iv.png b/images/raw_seat_york_edward_iv.png new file mode 100644 index 0000000..b93dd56 Binary files /dev/null and b/images/raw_seat_york_edward_iv.png differ diff --git a/images/raw_seat_york_gloucester.png b/images/raw_seat_york_gloucester.png new file mode 100644 index 0000000..d0fe2b8 Binary files /dev/null and b/images/raw_seat_york_gloucester.png differ diff --git a/images/raw_seat_york_march.png b/images/raw_seat_york_march.png new file mode 100644 index 0000000..75671c4 Binary files /dev/null and b/images/raw_seat_york_march.png differ diff --git a/images/raw_seat_york_norfolk.png b/images/raw_seat_york_norfolk.png new file mode 100644 index 0000000..9a02c1d Binary files /dev/null and b/images/raw_seat_york_norfolk.png differ diff --git a/images/raw_seat_york_northumberland.png b/images/raw_seat_york_northumberland.png new file mode 100644 index 0000000..fedbd9a Binary files /dev/null and b/images/raw_seat_york_northumberland.png differ diff --git a/images/raw_seat_york_pembroke.png b/images/raw_seat_york_pembroke.png new file mode 100644 index 0000000..ed4da0b Binary files /dev/null and b/images/raw_seat_york_pembroke.png differ diff --git a/images/raw_seat_york_rutland.png b/images/raw_seat_york_rutland.png new file mode 100644 index 0000000..86dcc2e Binary files /dev/null and b/images/raw_seat_york_rutland.png differ diff --git a/images/raw_seat_york_salisbury.png b/images/raw_seat_york_salisbury.png new file mode 100644 index 0000000..e4a519e Binary files /dev/null and b/images/raw_seat_york_salisbury.png differ diff --git a/images/raw_seat_york_warwick.png b/images/raw_seat_york_warwick.png new file mode 100644 index 0000000..78cf070 Binary files /dev/null and b/images/raw_seat_york_warwick.png differ diff --git a/images/raw_seat_york_york.png b/images/raw_seat_york_york.png new file mode 100644 index 0000000..cc0ed70 Binary files /dev/null and b/images/raw_seat_york_york.png differ diff --git a/images/seat_lancaster_buckingham.png b/images/seat_lancaster_buckingham.png index bd96b73..16facd8 100644 Binary files a/images/seat_lancaster_buckingham.png and b/images/seat_lancaster_buckingham.png differ diff --git a/images/seat_lancaster_buckingham.svg b/images/seat_lancaster_buckingham.svg new file mode 100644 index 0000000..f495c2e --- /dev/null +++ b/images/seat_lancaster_buckingham.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_lancaster_clarence.png b/images/seat_lancaster_clarence.png index af2ad58..d230931 100644 Binary files a/images/seat_lancaster_clarence.png and b/images/seat_lancaster_clarence.png differ diff --git a/images/seat_lancaster_clarence.svg b/images/seat_lancaster_clarence.svg new file mode 100644 index 0000000..e3430a7 --- /dev/null +++ b/images/seat_lancaster_clarence.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_lancaster_exeter.png b/images/seat_lancaster_exeter.png index 2bf8e2f..d546e8d 100644 Binary files a/images/seat_lancaster_exeter.png and b/images/seat_lancaster_exeter.png differ diff --git a/images/seat_lancaster_exeter.svg b/images/seat_lancaster_exeter.svg new file mode 100644 index 0000000..8fbbfcd --- /dev/null +++ b/images/seat_lancaster_exeter.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_lancaster_henry_tudor.png b/images/seat_lancaster_henry_tudor.png index bcb90d5..7065762 100644 Binary files a/images/seat_lancaster_henry_tudor.png and b/images/seat_lancaster_henry_tudor.png differ diff --git a/images/seat_lancaster_henry_tudor.svg b/images/seat_lancaster_henry_tudor.svg new file mode 100644 index 0000000..eb30970 --- /dev/null +++ b/images/seat_lancaster_henry_tudor.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_lancaster_henry_vi.png b/images/seat_lancaster_henry_vi.png index fc9c4bd..90b7eb4 100644 Binary files a/images/seat_lancaster_henry_vi.png and b/images/seat_lancaster_henry_vi.png differ diff --git a/images/seat_lancaster_henry_vi.svg b/images/seat_lancaster_henry_vi.svg new file mode 100644 index 0000000..53f1cc5 --- /dev/null +++ b/images/seat_lancaster_henry_vi.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_lancaster_jasper_tudor.png b/images/seat_lancaster_jasper_tudor.png index 8102b30..6b9b58a 100644 Binary files a/images/seat_lancaster_jasper_tudor.png and b/images/seat_lancaster_jasper_tudor.png differ diff --git a/images/seat_lancaster_jasper_tudor.svg b/images/seat_lancaster_jasper_tudor.svg new file mode 100644 index 0000000..bb47eb4 --- /dev/null +++ b/images/seat_lancaster_jasper_tudor.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_lancaster_margaret.png b/images/seat_lancaster_margaret.png index 7de25ca..94035f0 100644 Binary files a/images/seat_lancaster_margaret.png and b/images/seat_lancaster_margaret.png differ diff --git a/images/seat_lancaster_margaret.svg b/images/seat_lancaster_margaret.svg new file mode 100644 index 0000000..9932b7d --- /dev/null +++ b/images/seat_lancaster_margaret.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_lancaster_northumberland.png b/images/seat_lancaster_northumberland.png index fa277b6..f311d2e 100644 Binary files a/images/seat_lancaster_northumberland.png and b/images/seat_lancaster_northumberland.png differ diff --git a/images/seat_lancaster_northumberland.svg b/images/seat_lancaster_northumberland.svg new file mode 100644 index 0000000..475042c --- /dev/null +++ b/images/seat_lancaster_northumberland.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_lancaster_oxford.png b/images/seat_lancaster_oxford.png index 46fa2bb..de9de86 100644 Binary files a/images/seat_lancaster_oxford.png and b/images/seat_lancaster_oxford.png differ diff --git a/images/seat_lancaster_oxford.svg b/images/seat_lancaster_oxford.svg new file mode 100644 index 0000000..dfe5545 --- /dev/null +++ b/images/seat_lancaster_oxford.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_lancaster_somerset.png b/images/seat_lancaster_somerset.png index aad0a8b..842f97c 100644 Binary files a/images/seat_lancaster_somerset.png and b/images/seat_lancaster_somerset.png differ diff --git a/images/seat_lancaster_somerset.svg b/images/seat_lancaster_somerset.svg new file mode 100644 index 0000000..09df768 --- /dev/null +++ b/images/seat_lancaster_somerset.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_lancaster_warwick.png b/images/seat_lancaster_warwick.png index 596fbd0..7719706 100644 Binary files a/images/seat_lancaster_warwick.png and b/images/seat_lancaster_warwick.png differ diff --git a/images/seat_lancaster_warwick.svg b/images/seat_lancaster_warwick.svg new file mode 100644 index 0000000..1bc3191 --- /dev/null +++ b/images/seat_lancaster_warwick.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_york_devon.png b/images/seat_york_devon.png index 52c3df7..7168234 100644 Binary files a/images/seat_york_devon.png and b/images/seat_york_devon.png differ diff --git a/images/seat_york_devon.svg b/images/seat_york_devon.svg new file mode 100644 index 0000000..bb02694 --- /dev/null +++ b/images/seat_york_devon.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_york_edward_iv.png b/images/seat_york_edward_iv.png index 0ffe3c7..a7f31d9 100644 Binary files a/images/seat_york_edward_iv.png and b/images/seat_york_edward_iv.png differ diff --git a/images/seat_york_edward_iv.svg b/images/seat_york_edward_iv.svg new file mode 100644 index 0000000..65319b6 --- /dev/null +++ b/images/seat_york_edward_iv.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_york_gloucester.png b/images/seat_york_gloucester.png index 14841bb..dd03398 100644 Binary files a/images/seat_york_gloucester.png and b/images/seat_york_gloucester.png differ diff --git a/images/seat_york_gloucester.svg b/images/seat_york_gloucester.svg new file mode 100644 index 0000000..0fd8895 --- /dev/null +++ b/images/seat_york_gloucester.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_york_march.png b/images/seat_york_march.png index 03cc1a4..a75ec37 100644 Binary files a/images/seat_york_march.png and b/images/seat_york_march.png differ diff --git a/images/seat_york_march.svg b/images/seat_york_march.svg new file mode 100644 index 0000000..344c33a --- /dev/null +++ b/images/seat_york_march.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_york_norfolk.png b/images/seat_york_norfolk.png index 1f3002e..e74cb1f 100644 Binary files a/images/seat_york_norfolk.png and b/images/seat_york_norfolk.png differ diff --git a/images/seat_york_norfolk.svg b/images/seat_york_norfolk.svg new file mode 100644 index 0000000..b49ddbe --- /dev/null +++ b/images/seat_york_norfolk.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_york_northumberland.png b/images/seat_york_northumberland.png index 6585a1c..9eb5491 100644 Binary files a/images/seat_york_northumberland.png and b/images/seat_york_northumberland.png differ diff --git a/images/seat_york_northumberland.svg b/images/seat_york_northumberland.svg new file mode 100644 index 0000000..bafa8be --- /dev/null +++ b/images/seat_york_northumberland.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_york_pembroke.png b/images/seat_york_pembroke.png index 33d17a9..4c67ede 100644 Binary files a/images/seat_york_pembroke.png and b/images/seat_york_pembroke.png differ diff --git a/images/seat_york_pembroke.svg b/images/seat_york_pembroke.svg new file mode 100644 index 0000000..db86b94 --- /dev/null +++ b/images/seat_york_pembroke.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_york_rutland.png b/images/seat_york_rutland.png index 3a678dc..0f172a1 100644 Binary files a/images/seat_york_rutland.png and b/images/seat_york_rutland.png differ diff --git a/images/seat_york_rutland.svg b/images/seat_york_rutland.svg new file mode 100644 index 0000000..c0116e6 --- /dev/null +++ b/images/seat_york_rutland.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_york_salisbury.png b/images/seat_york_salisbury.png index 06feb68..9b1d821 100644 Binary files a/images/seat_york_salisbury.png and b/images/seat_york_salisbury.png differ diff --git a/images/seat_york_salisbury.svg b/images/seat_york_salisbury.svg new file mode 100644 index 0000000..b038beb --- /dev/null +++ b/images/seat_york_salisbury.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_york_warwick.png b/images/seat_york_warwick.png index e49bff4..fd8f270 100644 Binary files a/images/seat_york_warwick.png and b/images/seat_york_warwick.png differ diff --git a/images/seat_york_warwick.svg b/images/seat_york_warwick.svg new file mode 100644 index 0000000..7fc47f6 --- /dev/null +++ b/images/seat_york_warwick.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/seat_york_york.png b/images/seat_york_york.png index cc172bf..af5563b 100644 Binary files a/images/seat_york_york.png and b/images/seat_york_york.png differ diff --git a/images/seat_york_york.svg b/images/seat_york_york.svg new file mode 100644 index 0000000..d59f64d --- /dev/null +++ b/images/seat_york_york.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/images/vassal_beaumont_b.png b/images/vassal_beaumont_b.png deleted file mode 100644 index e279cc8..0000000 Binary files a/images/vassal_beaumont_b.png and /dev/null differ diff --git a/images/vassal_bonville_b.png b/images/vassal_bonville_b.png deleted file mode 100644 index 9b5381b..0000000 Binary files a/images/vassal_bonville_b.png and /dev/null differ diff --git a/images/vassal_devon_b.png b/images/vassal_devon_b.png deleted file mode 100644 index 6c2574d..0000000 Binary files a/images/vassal_devon_b.png and /dev/null differ diff --git a/images/vassal_dudley_b.png b/images/vassal_dudley_b.png deleted file mode 100644 index fe149c9..0000000 Binary files a/images/vassal_dudley_b.png and /dev/null differ diff --git a/images/vassal_essex_b.png b/images/vassal_essex_b.png deleted file mode 100644 index 4b18255..0000000 Binary files a/images/vassal_essex_b.png and /dev/null differ diff --git a/images/vassal_fauconberg_b.png b/images/vassal_fauconberg_b.png deleted file mode 100644 index e42d501..0000000 Binary files a/images/vassal_fauconberg_b.png and /dev/null differ diff --git a/images/vassal_norfolk_b.png b/images/vassal_norfolk_b.png deleted file mode 100644 index 9297d85..0000000 Binary files a/images/vassal_norfolk_b.png and /dev/null differ diff --git a/images/vassal_oxford_b.png b/images/vassal_oxford_b.png deleted file mode 100644 index 7a4a436..0000000 Binary files a/images/vassal_oxford_b.png and /dev/null differ diff --git a/images/vassal_shrewsbury_b.png b/images/vassal_shrewsbury_b.png deleted file mode 100644 index 6b84908..0000000 Binary files a/images/vassal_shrewsbury_b.png and /dev/null differ diff --git a/images/vassal_stanley_b.png b/images/vassal_stanley_b.png deleted file mode 100644 index af1b34c..0000000 Binary files a/images/vassal_stanley_b.png and /dev/null differ diff --git a/images/vassal_suffolk_b.png b/images/vassal_suffolk_b.png deleted file mode 100644 index ba6a5a6..0000000 Binary files a/images/vassal_suffolk_b.png and /dev/null differ diff --git a/images/vassal_westmoreland_b.png b/images/vassal_westmoreland_b.png deleted file mode 100644 index dc4d641..0000000 Binary files a/images/vassal_westmoreland_b.png and /dev/null differ diff --git a/images/vassal_westmorld_b.png b/images/vassal_westmorld_b.png deleted file mode 100644 index dc4d641..0000000 Binary files a/images/vassal_westmorld_b.png and /dev/null differ diff --git a/images/vassal_worcester_b.png b/images/vassal_worcester_b.png deleted file mode 100644 index 5105eeb..0000000 Binary files a/images/vassal_worcester_b.png and /dev/null differ diff --git a/play.css b/play.css index f63868a..51c0fd2 100644 --- a/play.css +++ b/play.css @@ -211,6 +211,14 @@ body.Lancaster #plan_actions .york { display: none } /* MARKERS */ +.seat { + position: absolute; + background-size: 74px 74px; + border-radius: 50%; + width: 74px; + height: 74px; +} + .marker { border: 2px solid transparent; background-size: cover; @@ -378,12 +386,6 @@ body.Lancaster #plan_actions .york { display: none } /* transform: rotate(45deg); */ } -.marker.seat { - border-radius: 8px; - /* transform: rotate(315deg); */ -} - - /* ASSETS */ .asset { @@ -493,8 +495,8 @@ body.Lancaster #plan_actions .york { display: none } .mat .board { background-image: url(images/lord_mat_150.jpg); } } -.mat.command .board { box-shadow: 0 0 0 1px #333, 0 0 0 4px gold; } .mat.selected .board { box-shadow: 0 0 0 1px #333, 0 0 0 4px yellow; } +.mat.command .board { box-shadow: 0 0 0 1px #333, 0 0 0 4px gold; } .mat.engaged .board { box-shadow: 0 0 0 1px #333, 0 0 0 4px indianred; } #court1 .mat.hidden .board, @@ -950,8 +952,6 @@ body.shift .mat .capabilities { .marker.moved_fought { background-color: hsl(204,100%,37%); border-color: hsl(204,100%,47%) hsl(204,100%,27%) hsl(204,100%,27%) hsl(204,100%,47%); } .marker.number.lancaster { background-color: hsl(358,83%,91%); border-color: hsl(358,83%,100%) hsl(358,83%,81%) hsl(358,83%,81%) hsl(358,83%,100%); } .marker.number.york { background-color: hsl(0,0%,100%); border-color: hsl(0,0%,100%) hsl(0,0%,90%) hsl(0,0%,90%) hsl(0,0%,100%); } -.marker.seat.lancaster { background-color: hsl(358,76%,50%); border-color: hsl(358,76%,60%) hsl(358,76%,40%) hsl(358,76%,40%) hsl(358,76%,60%); } -.marker.seat.york { background-color: hsl(0,0%,96%); border-color: hsl(0,0%,100%) hsl(0,0%,86%) hsl(0,0%,86%) hsl(0,0%,100%); } .marker.vassal { background-color: hsl(58,34%,73%); border-color: hsl(58,34%,83%) hsl(58,34%,63%) hsl(58,34%,63%) hsl(58,34%,83%); } .marker.vassal.back { background-color: hsl(57,48%,75%); border-color: hsl(57,48%,85%) hsl(57,48%,65%) hsl(57,48%,65%) hsl(57,48%,85%); } .marker.vassal.vassal_hastings { background-color: hsl(217,53%,88%); border-color: hsl(217,53%,98%) hsl(217,53%,78%) hsl(217,53%,78%) hsl(217,53%,98%); } diff --git a/play.js b/play.js index 2f1f71e..dfab692 100644 --- a/play.js +++ b/play.js @@ -586,25 +586,12 @@ function build_map() { }) - // Lord seats - data.seat.forEach((seat, ix) => { - let e = ui.seat[ix] = document.createElement("div") - let { x, y, w, h } = seat.box - let xc = Math.round(x + w / 2) - let yc = Math.round(y + h / 2) - let small = 46 - e.className = "hide marker " + seat.name - e.style.position = "absolute" - e.style.top = y + "px" - e.style.left = x + "px" - e.style.width = 46 + "px" - e.style.height = 46 + "px" - e.style.backgroundSize = small + "px" - //e.style.transform = "rotate(315deg)" - e.style.zIndex = "-50" - register_tooltip(e, data.lords[ix].short_name) - document.getElementById("seats").appendChild(e) - }) + let layout_seat_york = [] + let layout_seat_lanc = [] + for (let loc = first_locale; loc <= last_locale; ++loc) { + layout_seat_york[loc] = [] + layout_seat_lanc[loc] = [] + } data.lords.forEach((lord, ix) => { let e = ui.lord_cylinder[ix] = document.createElement("div") @@ -620,8 +607,44 @@ function build_map() { document.getElementById("pieces").appendChild(exile) build_lord_mat(lord, ix, side, lord.id) + + let loc = data.lords[ix].seat + e = ui.seat[ix] = document.createElement("div") + register_tooltip(e, data.lords[ix].short_name) + document.getElementById("seats").appendChild(e) + if (is_york_lord(ix)) { + e.className = "hide seat york " + lord.id + layout_seat_york[loc].push(e) + } else { + e.className = "hide seat lancaster " + lord.id + layout_seat_lanc[loc].push(e) + } }) + function layout_seat_markers(loc, dx, dy, list) { + let [ x, y ] = locale_xy[loc] + y -= (list.length - 1) * 15 + x += dx + y += dy + for (let e of list) { + e.style.top = y - 37 + "px" + e.style.left = x - 37 + "px" + y += 30 + } + } + + for (let loc = first_locale; loc <= last_locale; ++loc) { + if (layout_seat_lanc[loc].length + layout_seat_york[loc].length === 1) { + layout_seat_markers(loc, 0, -22, layout_seat_lanc[loc]) + layout_seat_markers(loc, 0, -22, layout_seat_york[loc]) + } else if (data.locales[loc].name === "Calais" || data.locales[loc].name === "Carlisle") { + layout_seat_markers(loc, -44, 0, layout_seat_york[loc].concat(layout_seat_lanc[loc])) + } else { + layout_seat_markers(loc, -44, 0, layout_seat_lanc[loc]) + layout_seat_markers(loc, 44, 0, layout_seat_york[loc]) + } + } + ui.captured_king = document.createElement("div") ui.captured_king.className = "cylinder lancaster " + data.lords[LORD_HENRY_VI].id ui.captured_king.style.position = "static" @@ -1027,8 +1050,6 @@ function update_lord(ix) { ui.lord_cylinder[ix].classList.toggle("command", is_lord_command(ix)) ui.mat[ix].classList.toggle("command", is_lord_command(ix)) - - ui.seat[ix].classList.toggle("hide", !is_lord_in_game(ix)) } function update_locale(loc) { @@ -1321,6 +1342,7 @@ function on_update() { track_offset.fill(0) for (let ix = 0; ix < data.lords.length; ++ix) { + ui.seat[ix].classList.toggle("hide", !is_lord_in_game(ix)) if (get_lord_locale(ix) < 0) { ui.lord_cylinder[ix].classList.add("hide") } else { diff --git a/tools/gendata.js b/tools/gendata.js index 7f2d41a..71c3855 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -113,34 +113,6 @@ const boxes = { "vassal vassal_devon": [406,1400,27,30], "vassal vassal_bonville": [174,1377,27,30], "vassal vassal_beaumont": [753,787,27,30], - "seat lancaster lord_henry_vi": [834,1169,50,50], - "seat lancaster lord_margaret": [833,1170,50,50], - "seat lancaster lord_henry_tudor": [834,1170,50,50], - "seat lancaster lord_clarence": [650,637,50,50], - "seat lancaster lord_northumberland_l": [392,430,50,50], - "seat lancaster lord_buckingham": [714,975,50,50], - "seat lancaster lord_jasper_tudor_2": [346,921,50,50], - "seat lancaster lord_jasper_tudor_1": [127,1104,50,50], - "seat lancaster lord_oxford": [678,1078,50,50], - "seat lancaster lord_warwick_l": [1150,1350,50,50], - "seat lancaster lord_exeter_1": [300,1333,50,50], - "seat lancaster lord_somerset_1": [453,1277,50,50], - "seat york lord_edward_iv": [952,1148,50,50], - "seat york lord_gloucester_2": [953,1148,50,50], - "seat york lord_gloucester_1": [609,1074,50,50], - "seat york lord_salisbury": [770,636,50,50], - "seat york lord_march": [427,969,50,50], - "seat york lord_rutland": [1125,1214,50,50], - "seat york lord_devon": [359,1318,50,50], - "seat york lord_pembroke": [184,1067,50,50], - "seat york lord_norfolk": [795,1398,50,50], - "seat york lord_northumberland_y1": [391,431,50,50], - "seat york lord_warwick_y": [1150,1349,50,50], - "seat york lord_york": [906,937,50,50], - "seat york lord_northumberland_y2": [391,431,50,50], - "seat york lord_richard_iii": [953,1149,50,50], - "seat lancaster lord_somerset_2": [452,1276,50,50], - "seat lancaster lord_exeter_2": [300,1333,50,50], } let data = [] @@ -177,20 +149,6 @@ function defloc(region, type, name) { ways.push([]) } -function defseat(name) { - let [x, y, w, h] = boxes[name] - x = Math.floor(x) - y = Math.floor(y) - w = Math.ceil(w) - h = Math.ceil(h) - locmap[name] = locales.length - seat.push({ name, box: { x, y, w, h } }) -} - -function defvassal(name) { -} - - function defway(type, aname, bname) { let aix = locmap[aname] let bix = locmap[bname] @@ -301,52 +259,6 @@ defloc(null, "sea", "English Channel") defloc(null, "sea", "Irish Sea") defloc(null, "sea", "North Sea") -//LOCALE SEAT -defseat("seat york lord_york") -defseat("seat york lord_march") -defseat("seat york lord_edward_iv") -defseat("seat york lord_salisbury") -defseat("seat york lord_rutland") -defseat("seat york lord_pembroke") -defseat("seat york lord_devon") -defseat("seat york lord_northumberland_y1") -defseat("seat york lord_northumberland_y2") -defseat("seat york lord_gloucester_1") -defseat("seat york lord_gloucester_2") -defseat("seat york lord_richard_iii") -defseat("seat york lord_norfolk") -defseat("seat york lord_warwick_y") -defseat("seat lancaster lord_henry_vi") -defseat("seat lancaster lord_margaret") -defseat("seat lancaster lord_somerset_1") -defseat("seat lancaster lord_somerset_2") -defseat("seat lancaster lord_exeter_1") -defseat("seat lancaster lord_exeter_2") -defseat("seat lancaster lord_buckingham") -defseat("seat lancaster lord_northumberland_l") -defseat("seat lancaster lord_clarence") -defseat("seat lancaster lord_jasper_tudor_1") -defseat("seat lancaster lord_jasper_tudor_2") -defseat("seat lancaster lord_henry_tudor") -defseat("seat lancaster lord_oxford") -defseat("seat lancaster lord_warwick_l") - -// VASSAL SEAT - -defvassal("Westmoreland") -defvassal("Stanley") -defvassal("Dudley") -defvassal("Shrewsbury") -defvassal("Worcester") -defvassal("Oxford") -defvassal("Essex") -defvassal("Suffolk") -defvassal("Fauconberg") -defvassal("Norfolk") -defvassal("Devon") -defvassal("Bonville") -defvassal("Beaumont") - //WAYS BETWEEN LOCALES highway("Bamburgh", "Newcastle") @@ -1468,9 +1380,6 @@ dumplist("lords", lords) dumplist("vassals", vassals) dumplist("cards", cards) -// layout client only -dumplist("seat", seat) - print("}") print("if (typeof module !== 'undefined') module.exports = data") diff --git a/tools/genseat.js b/tools/genseat.js new file mode 100644 index 0000000..744b2f5 --- /dev/null +++ b/tools/genseat.js @@ -0,0 +1,57 @@ +/* +border radius in html/css is given on outer edge (8 * 50/50) +black outline is box-shadow (8 * 52/50) +inner image is 8 * 46/50) +*/ + +const fs = require('fs') + +const PREFIX1 = ` + + + + +` + +const L_PREFIX=` + +` + +const PREFIX2=` + + +` + +const SUFFIX = `"/> +` + +function print_seat(prefix, output, label) { + let image = fs.readFileSync(label).toString('base64') + fs.writeFileSync(output, PREFIX1 + prefix + PREFIX2 + image + SUFFIX) +} + +print_seat(L_PREFIX, "images/seat_lancaster_buckingham.svg", "images/raw_seat_lancaster_buckingham.png") +print_seat(L_PREFIX, "images/seat_lancaster_clarence.svg", "images/raw_seat_lancaster_clarence.png") +print_seat(L_PREFIX, "images/seat_lancaster_exeter.svg", "images/raw_seat_lancaster_exeter.png") +print_seat(L_PREFIX, "images/seat_lancaster_henry_tudor.svg", "images/raw_seat_lancaster_henry_tudor.png") +print_seat(L_PREFIX, "images/seat_lancaster_henry_vi.svg", "images/raw_seat_lancaster_henry_vi.png") +print_seat(L_PREFIX, "images/seat_lancaster_jasper_tudor.svg", "images/raw_seat_lancaster_jasper_tudor.png") +print_seat(L_PREFIX, "images/seat_lancaster_margaret.svg", "images/raw_seat_lancaster_margaret.png") +print_seat(L_PREFIX, "images/seat_lancaster_northumberland.svg", "images/raw_seat_lancaster_northumberland.png") +print_seat(L_PREFIX, "images/seat_lancaster_oxford.svg", "images/raw_seat_lancaster_oxford.png") +print_seat(L_PREFIX, "images/seat_lancaster_somerset.svg", "images/raw_seat_lancaster_somerset.png") +print_seat(L_PREFIX, "images/seat_lancaster_warwick.svg", "images/raw_seat_lancaster_warwick.png") +print_seat(Y_PREFIX, "images/seat_york_devon.svg", "images/raw_seat_york_devon.png") +print_seat(Y_PREFIX, "images/seat_york_edward_iv.svg", "images/raw_seat_york_edward_iv.png") +print_seat(Y_PREFIX, "images/seat_york_gloucester.svg", "images/raw_seat_york_gloucester.png") +print_seat(Y_PREFIX, "images/seat_york_march.svg", "images/raw_seat_york_march.png") +print_seat(Y_PREFIX, "images/seat_york_norfolk.svg", "images/raw_seat_york_norfolk.png") +print_seat(Y_PREFIX, "images/seat_york_northumberland.svg", "images/raw_seat_york_northumberland.png") +print_seat(Y_PREFIX, "images/seat_york_pembroke.svg", "images/raw_seat_york_pembroke.png") +print_seat(Y_PREFIX, "images/seat_york_rutland.svg", "images/raw_seat_york_rutland.png") +print_seat(Y_PREFIX, "images/seat_york_salisbury.svg", "images/raw_seat_york_salisbury.png") +print_seat(Y_PREFIX, "images/seat_york_warwick.svg", "images/raw_seat_york_warwick.png") +print_seat(Y_PREFIX, "images/seat_york_york.svg", "images/raw_seat_york_york.png") diff --git a/tools/markers3.sh b/tools/markers3.sh index 58868b4..d79b834 100644 --- a/tools/markers3.sh +++ b/tools/markers3.sh @@ -4,6 +4,14 @@ function single { convert -colorspace RGB -resize 25% -colorspace sRGB HIRES/output/$1.png images/$1.png } +function rotate_lanc { + convert -background '#e02027' -rotate 315 -colorspace RGB -resize 132x132 -colorspace sRGB HIRES/output/$1.png images/raw_$1.png +} + +function rotate_york { + convert -background white -rotate 315 -colorspace RGB -resize 132x132 -colorspace sRGB HIRES/output/$1.png images/raw_$1.png +} + function multi { BGND=$1 SIZE=$2 @@ -60,29 +68,29 @@ single source single valour single victory_check -single seat_york_devon -single seat_york_edward_iv -single seat_york_gloucester -single seat_york_march -single seat_york_norfolk -single seat_york_northumberland -single seat_york_pembroke -single seat_york_rutland -single seat_york_salisbury -single seat_york_warwick -single seat_york_york - -single seat_lancaster_buckingham -single seat_lancaster_clarence -single seat_lancaster_exeter -single seat_lancaster_henry_tudor -single seat_lancaster_henry_vi -single seat_lancaster_jasper_tudor -single seat_lancaster_margaret -single seat_lancaster_northumberland -single seat_lancaster_oxford -single seat_lancaster_somerset -single seat_lancaster_warwick +rotate_york seat_york_devon +rotate_york seat_york_edward_iv +rotate_york seat_york_gloucester +rotate_york seat_york_march +rotate_york seat_york_norfolk +rotate_york seat_york_northumberland +rotate_york seat_york_pembroke +rotate_york seat_york_rutland +rotate_york seat_york_salisbury +rotate_york seat_york_warwick +rotate_york seat_york_york + +rotate_lanc seat_lancaster_buckingham +rotate_lanc seat_lancaster_clarence +rotate_lanc seat_lancaster_exeter +rotate_lanc seat_lancaster_henry_tudor +rotate_lanc seat_lancaster_henry_vi +rotate_lanc seat_lancaster_jasper_tudor +rotate_lanc seat_lancaster_margaret +rotate_lanc seat_lancaster_northumberland +rotate_lanc seat_lancaster_oxford +rotate_lanc seat_lancaster_somerset +rotate_lanc seat_lancaster_warwick single vassal_beaumont single vassal_bonville @@ -98,34 +106,19 @@ single vassal_suffolk single vassal_westmoreland single vassal_worcester -single vassal_beaumont_b -single vassal_bonville_b -single vassal_devon_b -single vassal_dudley_b -single vassal_essex_b -single vassal_fauconberg_b -single vassal_norfolk_b -single vassal_oxford_b -single vassal_shrewsbury_b -single vassal_stanley_b -single vassal_suffolk_b -single vassal_westmoreland_b -single vassal_worcester_b - -single vassal_beaumont_b -single vassal_bonville_b -single vassal_devon_b -single vassal_dudley_b -single vassal_essex_b -single vassal_fauconberg_b -single vassal_norfolk_b -single vassal_oxford_b -single vassal_shrewsbury_b -single vassal_stanley_b -single vassal_suffolk_b -single vassal_westmoreland_b -single vassal_worcester_b - +# single vassal_beaumont_b +# single vassal_bonville_b +# single vassal_devon_b +# single vassal_dudley_b +# single vassal_essex_b +# single vassal_fauconberg_b +# single vassal_norfolk_b +# single vassal_oxford_b +# single vassal_shrewsbury_b +# single vassal_stanley_b +# single vassal_suffolk_b +# single vassal_westmoreland_b +# single vassal_worcester_b single vassal_clifford single vassal_edward @@ -134,12 +127,12 @@ single vassal_thomas_stanley single vassal_trollope single vassal_montagu -single vassal_clifford_b -single vassal_edward_b -single vassal_hastings_b -single vassal_thomas_stanley_b -single vassal_trollope_b -single vassal_montagu_b +# single vassal_clifford_b +# single vassal_edward_b +# single vassal_hastings_b +# single vassal_thomas_stanley_b +# single vassal_trollope_b +# single vassal_montagu_b multi "#ffffff" 6x1 numbers_york \ HIRES/output/number_1_york.png \ diff --git a/tools/seats.sh b/tools/seats.sh new file mode 100644 index 0000000..0e9a066 --- /dev/null +++ b/tools/seats.sh @@ -0,0 +1,8 @@ +node tools/genseat.js + +for F in images/seat_*.svg +do + B=$(basename $F .svg) + echo $B + inkscape -d 192 -o images/$B.png $F +done -- cgit v1.2.3