diff --git a/doc/grid.png b/doc/grid.png index 939fc66..d45a1d9 100644 Binary files a/doc/grid.png and b/doc/grid.png differ diff --git a/doc/map.png b/doc/map.png index 490180a..a58dbaf 100644 Binary files a/doc/map.png and b/doc/map.png differ diff --git a/engine/test.py b/engine/test.py index 4c28325..841efd6 100644 --- a/engine/test.py +++ b/engine/test.py @@ -18,6 +18,7 @@ sys.path.append('../lib') import svg icons_file_name = '../icons/icons.svg' +icon_grid_file_name = '../icon_grid.svg' def draw_icon(icon): output_file.write(' @@ -1189,7 +1189,7 @@ @@ -1297,7 +1297,7 @@ inkscape:connector-curvature="0" /> + id="amusement_ride_2" + inkscape:connector-curvature="0" + inkscape:label="#amusement_ride" /> @@ -2273,7 +2274,7 @@ rx="1" ry="1" y="114" - x="58" + x="106" height="8" width="2" id="rect3407" @@ -2322,7 +2323,7 @@ inkscape:label="#path3428" /> @@ -2365,73 +2366,37 @@ - - - - @@ -2538,7 +2503,7 @@ inkscape:label="#path3411" /> @@ -2914,7 +2879,7 @@ inkscape:connector-curvature="0" /> + d="M 246.5 65 C 246.223 65 246 65.223 246 65.5 L 246 67 L 244 67 L 244 68 C 245.10457 68 246 68.895431 246 70 L 246 71 L 244 71 L 244 72 C 245.10457 72 246 72.895431 246 74 L 246 75 L 244 75 L 244 76 C 245.10457 76 246 76.895431 246 78 L 246 78.5 C 246 78.777 246.223 79 246.5 79 L 249.5 79 C 249.777 79 250 78.777 250 78.5 L 250 78 C 250 76.895431 250.89543 76 252 76 L 252 75 L 250 75 L 250 74 C 250 72.895431 250.89543 72 252 72 L 252 71 L 250 71 L 250 70 C 250 68.895431 250.89543 68 252 68 L 252 67 L 250 67 L 250 65.5 C 250 65.223 249.777 65 249.5 65 L 246.5 65 z M 247 67 L 249 67 L 249 69 L 247 69 L 247 67 z M 247 71 L 249 71 L 249 73 L 247 73 L 247 71 z M 247 75 L 249 75 L 249 77 L 247 77 L 247 75 z " + id="traffic_signals" /> + inkscape:label="#rect3521" + inkscape:connector-curvature="0" /> + inkscape:label="#path3536" + inkscape:connector-curvature="0" /> + ry="0.5" + rx="0.5" /> + ry="0.5" + rx="0.5" /> + inkscape:label="#path3546" + inkscape:connector-curvature="0" /> film @@ -3849,53 +3818,53 @@ ry="0.5" rx="0.5" y="124" - x="147" + x="195" height="2" width="2" id="rect3686" - style="color:#000000;fill:#ffd5d5;stroke:none;stroke-width:0.30000000999999998;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="color:#000000;fill:#ffd5d5;stroke:none;stroke-width:0.30000001;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="color:#000000;fill:#ffd5d5;stroke:none;stroke-width:0.30000001;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="color:#000000;fill:#ffd5d5;stroke:none;stroke-width:0.30000001;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="color:#000000;fill:#ffd5d5;stroke:none;stroke-width:0.30000001;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> @@ -3903,16 +3872,17 @@ ry="0.5" rx="0.5" y="121" - x="145" + x="193" height="2" width="2" id="rect3698" - style="color:#000000;fill:#ffd5d5;stroke:none;stroke-width:0.30000000999999998;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="color:#000000;fill:#ffd5d5;stroke:none;stroke-width:0.30000001;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + inkscape:label="#rect3700" + inkscape:connector-curvature="0" /> + d="M 262.5 65 C 262.223 65 262 65.223 262 65.5 L 262 67 L 260 67 L 260 68 C 261.00873 68 261.83157 68.74788 261.96875 69.71875 L 266 71 L 266 70 C 266 68.895431 266.89543 68 268 68 L 268 67 L 266 67 L 266 65.5 C 266 65.223 265.777 65 265.5 65 L 262.5 65 z M 263 67 L 265 67 L 265 69 L 263 69 L 263 67 z M 258.15625 69.53125 L 257.84375 70.46875 L 269.84375 74.46875 L 270.15625 73.53125 L 258.15625 69.53125 z M 261.5625 72.78125 C 261.82638 73.120134 262 73.537224 262 74 L 262 75 L 260 75 L 260 76 C 261.10457 76 262 76.895431 262 78 L 262 78.5 C 262 78.777 262.223 79 262.5 79 L 265.5 79 C 265.777 79 266 78.777 266 78.5 L 266 78 C 266 76.895431 266.89543 76 268 76 L 268 75 L 266 75 L 266 74.25 L 261.5625 72.78125 z M 263 75 L 265 75 L 265 77 L 263 77 L 263 75 z " + id="no_traffic_signals" /> + ry="0.5" + rx="0.5" /> @@ -4222,9 +4190,8 @@ ry="0.5" /> + d="M 87 99 C 84 99 85 101 82 101 L 82 108.5 C 82 108.777 82.223 109 82.5 109 L 86.5 109 C 86.777 109 87 108.777 87 108.5 L 87 99 z M 89 99 L 89 108.5 C 89 108.777 89.223 109 89.5 109 L 93.5 109 C 93.777 109 94 108.777 94 108.5 L 94 101 C 91 101 92 99 89 99 z M 85.5 103 C 85.777 103 86 103.223 86 103.5 L 86 104.5 C 86 104.777 85.777 105 85.5 105 C 85.223 105 85 104.777 85 104.5 L 85 103.5 C 85 103.223 85.223 103 85.5 103 z M 90.5 103 C 90.777 103 91 103.223 91 103.5 L 91 104.5 C 91 104.777 90.777 105 90.5 105 C 90.223 105 90 104.777 90 104.5 L 90 103.5 C 90 103.223 90.223 103 90.5 103 z " + id="gate" /> @@ -4260,14 +4227,14 @@ id="rect4423" width="3" height="1" - x="278" + x="326" y="119" rx="0.5" ry="0.5" /> + inkscape:label="#rect4431" + inkscape:connector-curvature="0" /> @@ -4331,14 +4299,14 @@ id="rect4454" width="3" height="1" - x="310" + x="358" y="119" rx="0.5" ry="0.5" /> + d="m 357.5,131 c -0.277,0 -0.5,0.223 -0.5,0.5 l 0,8.90625 A 1.50015,1.50015 0 0 1 358.5,139 l 0.5,0 0,-0.5 a 1.50015,1.50015 0 0 1 1.34375,-1.5 1.50015,1.50015 0 0 1 0.15625,0 l 2,0 a 1.50015,1.50015 0 0 1 0.5,0.0937 l 0,-5.5937 c 0,-0.277 -0.223,-0.5 -0.5,-0.5 l -5,0 z m 1,4 2,0 c 0.277,0 0.5,0.223 0.5,0.5 0,0.277 -0.223,0.5 -0.5,0.5 l -1.5,0 0,0.5 c 0,0.277 -0.223,0.5 -0.5,0.5 -0.277,0 -0.5,-0.223 -0.5,-0.5 l 0,-1 c 0,-0.277 0.223,-0.5 0.5,-0.5 z m 1.84375,3 A 0.50005,0.50005 0 0 0 360,138.5 l 0,1.5 -1.5,0 a 0.50005,0.50005 0 0 0 -0.5,0.5 l 0,1.5 -1.5,0 a 0.50005,0.50005 0 1 0 0,1 l 2,0 a 0.50005,0.50005 0 0 0 0.5,-0.5 l 0,-1.5 1.5,0 a 0.50005,0.50005 0 0 0 0.5,-0.5 l 0,-1.5 1.5,0 a 0.50005,0.50005 0 1 0 0,-1 l -2,0 a 0.50005,0.50005 0 0 0 -0.0937,0 0.50005,0.50005 0 0 0 -0.0625,0 z M 363,139.90625 A 1.50015,1.50015 0 0 1 362.5,140 l -0.5,0 0,0.5 a 1.50015,1.50015 0 0 1 -0.0937,0.5 l 0.59375,0 c 0.277,0 0.5,-0.223 0.5,-0.5 l 0,-0.59375 z" + id="rect4480" + inkscape:connector-curvature="0" /> + inkscape:label="#path4508" + inkscape:connector-curvature="0" /> + + + + + + + + + + + + + + + + + + + + + + + +