summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-03-22 01:27:32 +0100
committerTor Andersson <tor@ccxvii.net>2024-03-22 01:27:32 +0100
commit0b47022d33853121d2daed79fac52745e73ae2fe (patch)
tree17a94151d58bb6e37a84331a77aa13cdfd3ab473 /tools
parent3edbd4fbcf4bc8e74004c46fe5b0d68db330f260 (diff)
downloadmaria-0b47022d33853121d2daed79fac52745e73ae2fe.tar.gz
WIP genpieces
Diffstat (limited to 'tools')
-rw-r--r--tools/genpieces.mjs42
1 files changed, 21 insertions, 21 deletions
diff --git a/tools/genpieces.mjs b/tools/genpieces.mjs
index cc75f03..01f3ab2 100644
--- a/tools/genpieces.mjs
+++ b/tools/genpieces.mjs
@@ -119,33 +119,33 @@ function print_cube(output, c) {
fs.writeFileSync(output, svg.join("\n") + "\n")
}
-print_cylinder("pieces/cylinder_austria_1.svg", "tools/cylinders.1x/face_austria_1.png", color_austria)
-print_cylinder("pieces/cylinder_austria_2.svg", "tools/cylinders.1x/face_austria_2.png", color_austria)
-print_cylinder("pieces/cylinder_austria_3.svg", "tools/cylinders.1x/face_austria_3.png", color_austria)
-print_cylinder("pieces/cylinder_austria_4.svg", "tools/cylinders.1x/face_austria_4.png", color_austria)
-print_cylinder("pieces/cylinder_austria_5.svg", "tools/cylinders.1x/face_austria_5.png", color_austria)
-print_cylinder("pieces/cylinder_austria_6.svg", "tools/cylinders.1x/face_austria_6.png", color_austria)
+print_cylinder("pieces/cylinder_austria_1.svg", "tools/cylinders/face_austria_1.png", color_austria)
+print_cylinder("pieces/cylinder_austria_2.svg", "tools/cylinders/face_austria_2.png", color_austria)
+print_cylinder("pieces/cylinder_austria_3.svg", "tools/cylinders/face_austria_3.png", color_austria)
+print_cylinder("pieces/cylinder_austria_4.svg", "tools/cylinders/face_austria_4.png", color_austria)
+print_cylinder("pieces/cylinder_austria_5.svg", "tools/cylinders/face_austria_5.png", color_austria)
+print_cylinder("pieces/cylinder_austria_6.svg", "tools/cylinders/face_austria_6.png", color_austria)
-print_cylinder("pieces/cylinder_bavaria_1.svg", "tools/cylinders.1x/face_bavaria_1.png", color_bavaria)
+print_cylinder("pieces/cylinder_bavaria_1.svg", "tools/cylinders/face_bavaria_1.png", color_bavaria)
-print_cylinder("pieces/cylinder_france_1.svg", "tools/cylinders.1x/face_france_1.png", color_france)
-print_cylinder("pieces/cylinder_france_2.svg", "tools/cylinders.1x/face_france_2.png", color_france)
-print_cylinder("pieces/cylinder_france_3.svg", "tools/cylinders.1x/face_france_3.png", color_france)
-print_cylinder("pieces/cylinder_france_4.svg", "tools/cylinders.1x/face_france_4.png", color_france)
-print_cylinder("pieces/cylinder_france_5.svg", "tools/cylinders.1x/face_france_5.png", color_france)
+print_cylinder("pieces/cylinder_france_1.svg", "tools/cylinders/face_france_1.png", color_france)
+print_cylinder("pieces/cylinder_france_2.svg", "tools/cylinders/face_france_2.png", color_france)
+print_cylinder("pieces/cylinder_france_3.svg", "tools/cylinders/face_france_3.png", color_france)
+print_cylinder("pieces/cylinder_france_4.svg", "tools/cylinders/face_france_4.png", color_france)
+print_cylinder("pieces/cylinder_france_5.svg", "tools/cylinders/face_france_5.png", color_france)
-print_cylinder("pieces/cylinder_pragmatic_1.svg", "tools/cylinders.1x/face_pragmatic_1.png", color_pragmatic)
-print_cylinder("pieces/cylinder_pragmatic_2.svg", "tools/cylinders.1x/face_pragmatic_2.png", color_pragmatic)
-print_cylinder("pieces/cylinder_pragmatic_3.svg", "tools/cylinders.1x/face_pragmatic_3.png", color_pragmatic)
+print_cylinder("pieces/cylinder_pragmatic_1.svg", "tools/cylinders/face_pragmatic_1.png", color_pragmatic)
+print_cylinder("pieces/cylinder_pragmatic_2.svg", "tools/cylinders/face_pragmatic_2.png", color_pragmatic)
+print_cylinder("pieces/cylinder_pragmatic_3.svg", "tools/cylinders/face_pragmatic_3.png", color_pragmatic)
-print_cylinder("pieces/cylinder_prussia_1.svg", "tools/cylinders.1x/face_prussia_1.png", color_prussia)
-print_cylinder("pieces/cylinder_prussia_2.svg", "tools/cylinders.1x/face_prussia_2.png", color_prussia)
-print_cylinder("pieces/cylinder_prussia_3.svg", "tools/cylinders.1x/face_prussia_3.png", color_prussia)
-print_cylinder("pieces/cylinder_prussia_4.svg", "tools/cylinders.1x/face_prussia_4.png", color_prussia)
+print_cylinder("pieces/cylinder_prussia_1.svg", "tools/cylinders/face_prussia_1.png", color_prussia)
+print_cylinder("pieces/cylinder_prussia_2.svg", "tools/cylinders/face_prussia_2.png", color_prussia)
+print_cylinder("pieces/cylinder_prussia_3.svg", "tools/cylinders/face_prussia_3.png", color_prussia)
+print_cylinder("pieces/cylinder_prussia_4.svg", "tools/cylinders/face_prussia_4.png", color_prussia)
-print_cylinder("pieces/cylinder_saxony_1.svg", "tools/cylinders.1x/face_saxony_1.png", color_saxony)
+print_cylinder("pieces/cylinder_saxony_1.svg", "tools/cylinders/face_saxony_1.png", color_saxony)
-print_disc("pieces/disc_hussar.svg", "tools/cylinders.1x/face_hussar.png", color_austria)
+print_disc("pieces/disc_hussar.svg", "tools/cylinders/face_hussar.png", color_austria)
print_cube("pieces/cube_austria.svg", color_austria)
print_cube("pieces/cube_bavaria.svg", color_bavaria)