diff --git a/AideDeJeu/AideDeJeuCmd/Program.cs b/AideDeJeu/AideDeJeuCmd/Program.cs
index 1bddfd87..03411e4c 100644
--- a/AideDeJeu/AideDeJeuCmd/Program.cs
+++ b/AideDeJeu/AideDeJeuCmd/Program.cs
@@ -407,7 +407,7 @@ namespace AideDeJeuCmd
await ConvertMapAsync(@"..\..\..\..\..\Docs\Osgild\ferrance");
await ConvertMapAsync(@"..\..\..\..\..\Docs\Osgild\fourche");
await ConvertMapAsync(@"..\..\..\..\..\Docs\Osgild\hauterive");
- await ConvertMapAsync(@"..\..\..\..\..\Docs\Osgild\port-sable");
+ await ConvertMapAsync(@"..\..\..\..\..\Docs\Osgild\portsable");
await ConvertMapAsync(@"..\..\..\..\..\Docs\Osgild\vercelise");
await ConvertMapAsync(@"..\..\..\..\..\Docs\Osgild\xelys");
}
@@ -454,8 +454,19 @@ namespace AideDeJeuCmd
shape.SetAttribute("cy", coordsSplit[1]);
shape.SetAttribute("r", coordsSplit[2]);
}
+ if (shapeAttr == "poly")
+ {
+ shape = svg.CreateElement("polygon", nsSvg);
+ var points = "";
+ for(var i = 0; i < coordsSplit.Length / 2; i++)
+ {
+ points += $"{coordsSplit[i*2]},{coordsSplit[i*2+1]} ";
+ }
+ points = points.Trim();
+ shape.SetAttribute("points", points);
+ }
var title = svg.CreateElement("title", nsSvg);
- title.InnerText = area.GetAttributeValue("alt", "");
+ title.InnerText = area.GetAttributeValue("alt", "").Replace("'","'");
shape.AppendChild(title);
a.AppendChild(shape);
svgElt.AppendChild(a);
diff --git a/Docs/Osgild/baronniedebordant.html b/Docs/Osgild/baronniedebordant.html
new file mode 100644
index 00000000..c43817cd
--- /dev/null
+++ b/Docs/Osgild/baronniedebordant.html
@@ -0,0 +1,9 @@
+
+
+
+
+
+Baronnie de Bordant
+
+
+
diff --git a/Docs/Osgild/bastion.html b/Docs/Osgild/bastion.html
new file mode 100644
index 00000000..409a2d28
--- /dev/null
+++ b/Docs/Osgild/bastion.html
@@ -0,0 +1,10 @@
+
+
+
+
+
+Bastion
+
+
+
+
diff --git a/Docs/Osgild/blancmarais.html b/Docs/Osgild/blancmarais.html
new file mode 100644
index 00000000..46612ac6
--- /dev/null
+++ b/Docs/Osgild/blancmarais.html
@@ -0,0 +1,8 @@
+
+
+
+
+
+Blanc Marais
+
+
diff --git a/Docs/Osgild/boisdastreis.html b/Docs/Osgild/boisdastreis.html
new file mode 100644
index 00000000..7b039544
--- /dev/null
+++ b/Docs/Osgild/boisdastreis.html
@@ -0,0 +1,8 @@
+
+
+
+
+
+Bois d'Astreis
+
+
diff --git a/Docs/Osgild/boisdebaram.html b/Docs/Osgild/boisdebaram.html
new file mode 100644
index 00000000..3ee60ea4
--- /dev/null
+++ b/Docs/Osgild/boisdebaram.html
@@ -0,0 +1,11 @@
+
+
+
+
+
+Bois de Baram
+Forêt infestée de hobgobelins, gobelins et bandits
+Chef : le Roi de Baram
+
+
+
diff --git a/Docs/Osgild/boisdemuir.html b/Docs/Osgild/boisdemuir.html
new file mode 100644
index 00000000..0f6911f9
--- /dev/null
+++ b/Docs/Osgild/boisdemuir.html
@@ -0,0 +1,8 @@
+
+
+
+
+
+Bois de Muir
+
+
diff --git a/Docs/Osgild/boisdemyrviel.html b/Docs/Osgild/boisdemyrviel.html
new file mode 100644
index 00000000..5155a054
--- /dev/null
+++ b/Docs/Osgild/boisdemyrviel.html
@@ -0,0 +1,8 @@
+
+
+
+
+
+Bois de Myrviel
+
+
diff --git a/Docs/Osgild/boisdormant.html b/Docs/Osgild/boisdormant.html
new file mode 100644
index 00000000..e809b40b
--- /dev/null
+++ b/Docs/Osgild/boisdormant.html
@@ -0,0 +1,8 @@
+
+
+
+
+
+Bois Dormant
+
+
diff --git a/Docs/Osgild/bonlieu.html b/Docs/Osgild/bonlieu.html
index d0f89bcb..8b3d1c0f 100644
--- a/Docs/Osgild/bonlieu.html
+++ b/Docs/Osgild/bonlieu.html
@@ -8,6 +8,6 @@
Maire : Meland d’Ormir
Lieux importants : L’hippodrome, les auberges le Relais d’Osgild, le Choix des Anciens, l’Hostellerie de la Frontière, Au char royal.
Evènement : La course royale, course de char annuelle sur la Chaussée des Anciens
-Source : Anathazerin S6 La Vallée des Songes p136, p140
+Source : Anathazerin : S6 La Vallée des Songes p136, p140