summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-03 15:12:50 +0100
committerTor Andersson <tor@ccxvii.net>2023-12-03 15:26:05 +0100
commit359521ee80ab8665efd7aa2101fd3259c9897247 (patch)
tree054a1a1e0042234b24d8576d6c7f053bf5a6e1dc
parentd0d7eb2ced7a20f2c8f7cb6836cab051552addf5 (diff)
downloadjulius-caesar-359521ee80ab8665efd7aa2101fd3259c9897247.tar.gz
Update map art to 2.0.
-rw-r--r--data.js3
-rw-r--r--map2_150.jpgbin0 -> 1277868 bytes
-rw-r--r--map2_150.pngbin0 -> 10775077 bytes
-rw-r--r--map2_75.jpgbin0 -> 728720 bytes
-rw-r--r--map2_75.pngbin0 -> 3310032 bytes
-rw-r--r--play.css20
6 files changed, 12 insertions, 11 deletions
diff --git a/data.js b/data.js
index c2e8569..143618f 100644
--- a/data.js
+++ b/data.js
@@ -36,6 +36,7 @@ const EDGES = {}
function init_data() {
function space(name, type, value, axis, major, minor, wrap, x, y) {
+ x += 22 // 2nd edition map offset
major = (1 - major) / 2
minor = (1 - minor) / 2
SPACES.push({name, type, value, exits: [], layout: { axis, major, minor, wrap, x, y }})
@@ -67,7 +68,7 @@ function init_data() {
space("Corduba", "city", 0, "X", 0, 0, 3, 317, 837)
space("Creta", "major-port", 0, "X", 0, 0, 3, 1794, 842)
space("Cyrene", "port", 0, "X", 0, 1, 3, 1584, 1044)
- space("Damascus", "city", 0, "X", -1, 0, 3, 2415, 870)
+ space("Damascus", "city", 0, "X", 0, 0, 3, 2415, 870)
space("Dyrrachium", "port", 0, "Y", -1, 0, 3, 1522, 472)
space("Emerita", "city", 0, "Y", -1, 0, 3, 200, 765)
space("Ephesus", "major-port", 1, "X", 1, 0, 4, 1905, 635)
diff --git a/map2_150.jpg b/map2_150.jpg
new file mode 100644
index 0000000..4faa03b
--- /dev/null
+++ b/map2_150.jpg
Binary files differ
diff --git a/map2_150.png b/map2_150.png
new file mode 100644
index 0000000..2d5e68b
--- /dev/null
+++ b/map2_150.png
Binary files differ
diff --git a/map2_75.jpg b/map2_75.jpg
new file mode 100644
index 0000000..bbf8d81
--- /dev/null
+++ b/map2_75.jpg
Binary files differ
diff --git a/map2_75.png b/map2_75.png
new file mode 100644
index 0000000..45439af
--- /dev/null
+++ b/map2_75.png
Binary files differ
diff --git a/play.css b/play.css
index be5eb77..54567e4 100644
--- a/play.css
+++ b/play.css
@@ -131,34 +131,34 @@ header.your_turn { background-color: orange; }
/* MAP WITH BLOCKS AND SPACES */
#mapwrap {
- width: 2475px;
+ width: 2550px;
height: 1275px;
}
#map {
- width: 2475px;
+ width: 2550px;
height: 1275px;
background-size: cover;
}
-#map { background-image: url("map75.jpg") }
+#map { background-image: url("map2_75.jpg") }
@media (min-resolution: 97dpi) {
- #map { background-image: url("map150.jpg") }
+ #map { background-image: url("map2_150.jpg") }
}
#turn {
position: absolute;
width: 75px;
height: 75px;
- left: 51px;
+ left: 56px;
border-radius: 12px;
border: 3px solid white;
}
-#turn.year_705 { top: 384px; }
-#turn.year_706 { top: 301px; }
-#turn.year_707 { top: 218px; }
-#turn.year_708 { top: 135px; }
-#turn.year_709 { top: 51px; }
+#turn.year_705 { top: 391px; }
+#turn.year_706 { top: 308px; }
+#turn.year_707 { top: 225px; }
+#turn.year_708 { top: 142px; }
+#turn.year_709 { top: 58px; }
.space {
position: absolute;