Web Dev Solutions

Catalin Mititiuc

From 5465a0741a075de714053e7196adf8492272877c Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Fri, 12 Jul 2024 18:27:18 -0700 Subject: Build scenarios from data in SVG files --- public/assets/css/radial.css | 15 +- public/assets/images/map4.svg | 52 +- public/assets/images/mapsheets.svg | 797 +++++---------------- public/assets/images/radial.svg | 2 +- public/assets/images/scenario-dragon_hunting.svg | 10 +- .../assets/images/scenario-race_against_time.svg | 6 +- public/assets/images/scenario-side_show.svg | 8 +- public/assets/images/scenario_template.svg | 1 + 8 files changed, 272 insertions(+), 619 deletions(-) (limited to 'public') diff --git a/public/assets/css/radial.css b/public/assets/css/radial.css index cdf6231..5a6ef41 100644 --- a/public/assets/css/radial.css +++ b/public/assets/css/radial.css @@ -36,9 +36,6 @@ use[href="#hex"] { .terrain .floor { display: inline; opacity: 1; - /* fill: #ffffff; */ - /* fill-opacity: 0.5; */ - /* fill: url(#asterisk); */ stroke: none; } @@ -67,6 +64,10 @@ use[href="#hex"] { display: inline; } +.terrain use.floor { + fill: white; +} + [data-view-elevation="-1"] [class*="elevation"] { display: none; } @@ -84,10 +85,6 @@ use[href="#hex"] { display: none; } -[data-view-elevation="0"] .building .elevation-0 { - display: inline; -} - [data-view-elevation="-1"] .building use.floor { display: none; } @@ -97,6 +94,10 @@ use[href="#hex"] { display: inline; } +[data-view-elevation="0"] .building .elevation-0 { + display: inline; +} + [data-view-elevation="0"] .building use.floor.elevation-0 { fill: white; } diff --git a/public/assets/images/map4.svg b/public/assets/images/map4.svg index 3ce2dd9..ec57ad4 100644 --- a/public/assets/images/map4.svg +++ b/public/assets/images/map4.svg @@ -1,7 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + - + + + + + @@ -17,7 +65,7 @@ - + diff --git a/public/assets/images/mapsheets.svg b/public/assets/images/mapsheets.svg index b01999c..52c024c 100644 --- a/public/assets/images/mapsheets.svg +++ b/public/assets/images/mapsheets.svg @@ -26,134 +26,192 @@ - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -173,7 +231,12 @@ - + + + + + + @@ -191,7 +254,8 @@ 1 - + + @@ -205,7 +269,9 @@ 2 - + + + @@ -223,7 +289,8 @@ 1 - + + @@ -237,7 +304,7 @@ - + @@ -254,7 +321,7 @@ 1 - + @@ -273,7 +340,7 @@ 1 - + @@ -288,7 +355,7 @@ 1 - + @@ -307,7 +374,7 @@ 1 - + @@ -326,7 +393,7 @@ 3 - + @@ -339,7 +406,7 @@ 1 - + @@ -372,7 +439,7 @@ - + @@ -389,7 +456,7 @@ 1 - + @@ -409,7 +476,7 @@ 3 - + @@ -423,7 +490,7 @@ 1 - + @@ -442,7 +509,7 @@ 1 - + @@ -461,7 +528,7 @@ 2 - + @@ -476,7 +543,7 @@ 1 - + @@ -509,7 +576,7 @@ - + @@ -554,474 +621,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - diff --git a/public/assets/images/radial.svg b/public/assets/images/radial.svg index 537bc6d..d3a4100 100644 --- a/public/assets/images/radial.svg +++ b/public/assets/images/radial.svg @@ -1,4 +1,4 @@ - + diff --git a/public/assets/images/scenario-dragon_hunting.svg b/public/assets/images/scenario-dragon_hunting.svg index 8a2186e..5298b74 100644 --- a/public/assets/images/scenario-dragon_hunting.svg +++ b/public/assets/images/scenario-dragon_hunting.svg @@ -1,10 +1,12 @@ - + - - - + + + + + diff --git a/public/assets/images/scenario-race_against_time.svg b/public/assets/images/scenario-race_against_time.svg index c663003..2aef61c 100644 --- a/public/assets/images/scenario-race_against_time.svg +++ b/public/assets/images/scenario-race_against_time.svg @@ -1,8 +1,10 @@ - + - + + + diff --git a/public/assets/images/scenario-side_show.svg b/public/assets/images/scenario-side_show.svg index c5a9c78..1769146 100644 --- a/public/assets/images/scenario-side_show.svg +++ b/public/assets/images/scenario-side_show.svg @@ -1,9 +1,11 @@ - + - - + + + + diff --git a/public/assets/images/scenario_template.svg b/public/assets/images/scenario_template.svg index 48c6dfc..01fb328 100644 --- a/public/assets/images/scenario_template.svg +++ b/public/assets/images/scenario_template.svg @@ -2,6 +2,7 @@ + -- cgit v1.2.3