mirror of https://github.com/dirtbags/tanks.git
Fix accepted ranges
This commit is contained in:
parent
2274067e01
commit
0fd575e948
|
@ -76,8 +76,8 @@ define(sensor,
|
|||
<tr>
|
||||
<td>$1</td>
|
||||
<td><input name="s$1r" type="number" min="0" max="100" onchange="update();"></td>
|
||||
<td><input name="s$1a" type="number" min="0" max="360" onchange="update();"></td>
|
||||
<td><input name="s$1w" type="number" min="0" max="360" onchange="update();"></td>
|
||||
<td><input name="s$1a" type="number" min="-360" max="360" onchange="update();"></td>
|
||||
<td><input name="s$1w" type="number" min="-360" max="360" onchange="update();"></td>
|
||||
<td><input name="s$1t" type="checkbox" onchange="update();"></td>
|
||||
</tr>
|
||||
sensor(incr($1))')')
|
||||
|
|
142
token.svg
142
token.svg
|
@ -1,142 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="315"
|
||||
height="180"
|
||||
id="svg2"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.46"
|
||||
version="1.0"
|
||||
sodipodi:docname="token.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape">
|
||||
<defs
|
||||
id="defs4">
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 526.18109 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="744.09448 : 526.18109 : 1"
|
||||
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
|
||||
id="perspective10" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1"
|
||||
inkscape:cx="269.04724"
|
||||
inkscape:cy="12"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
units="in"
|
||||
inkscape:window-width="1020"
|
||||
inkscape:window-height="687"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="17" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<g
|
||||
id="g3161"
|
||||
transform="matrix(1.0829475,0,0,1.0829475,-3.8658087,40.040188)">
|
||||
<rect
|
||||
y="29.306273"
|
||||
x="39.023125"
|
||||
height="58.804661"
|
||||
width="46.712982"
|
||||
id="rect2383"
|
||||
style="fill:#4f4f4f;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.96922117px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<rect
|
||||
y="11.121428"
|
||||
x="85.736092"
|
||||
height="89.043518"
|
||||
width="28.585094"
|
||||
id="rect2385"
|
||||
style="fill:#777777;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.96357071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<rect
|
||||
style="fill:#777777;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.96357071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
id="rect2387"
|
||||
width="28.585094"
|
||||
height="89.043518"
|
||||
x="10.438034"
|
||||
y="11.121428" />
|
||||
<rect
|
||||
inkscape:transform-center-y="-20.587678"
|
||||
inkscape:transform-center-x="-11.779977"
|
||||
transform="matrix(0.8668119,0.4986353,-0.4986353,0.8668119,0,0)"
|
||||
y="-37.782883"
|
||||
x="75.485535"
|
||||
height="60.45842"
|
||||
width="12.091684"
|
||||
id="rect3159"
|
||||
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
</g>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:36.12366104px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Sans;-inkscape-font-specification:Sans Bold"
|
||||
x="52.018929"
|
||||
y="36.05489"
|
||||
id="text3167"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3169"
|
||||
x="52.018929"
|
||||
y="36.05489">Play Tanks</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:24px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Sans;-inkscape-font-specification:Sans"
|
||||
x="128"
|
||||
y="69"
|
||||
id="text3171"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3173"
|
||||
x="128"
|
||||
y="69">essid: Tanks</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="128"
|
||||
y="99"
|
||||
id="tspan3175">http://10.0.0.1/</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="128"
|
||||
y="129"
|
||||
id="tspan3179">Token:</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Sans;-inkscape-font-specification:Sans"
|
||||
x="8"
|
||||
y="168"
|
||||
id="text3183"
|
||||
sodipodi:linespacing="100%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3185"
|
||||
x="8"
|
||||
y="168">a dirtbags production</tspan></text>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 5.3 KiB |
Loading…
Reference in New Issue