restore compilation on simulator and device
new architecture for implementing controls
controls implmented with a joystick (partially done)
lotsa code cleanup
<?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"
id="svg2"
version="1.1"
inkscape:version="0.47 r22583"
width="256"
height="512"
sodipodi:docname="Clouds.png"
inkscape:export-filename="/mnt/y/src/hedge/trunk/share/hedgewars/Data/Themes/Desert/Clouds.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<metadata
id="metadata8">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs6">
<inkscape:path-effect
effect="spiro"
id="path-effect3630"
is_visible="true" />
<inkscape:path-effect
effect="spiro"
id="path-effect3626"
is_visible="true" />
<inkscape:path-effect
effect="spiro"
id="path-effect2822"
is_visible="true" />
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
id="perspective10" />
<inkscape:perspective
id="perspective3618"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3703"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:path-effect
effect="spiro"
id="path-effect2822-5"
is_visible="true" />
<inkscape:perspective
id="perspective3846"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3846-6"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3921"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3957"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3994"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective4030"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
</defs>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1280"
inkscape:window-height="953"
id="namedview4"
showgrid="false"
inkscape:zoom="0.5"
inkscape:cx="558.54951"
inkscape:cy="302.06661"
inkscape:window-x="-4"
inkscape:window-y="-3"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<rect
style="opacity:0.15;color:#000000;fill:#978b59;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect3824"
width="256"
height="128"
x="280"
y="0" />
<rect
y="256.00018"
x="280"
height="128"
width="256"
id="rect3826"
style="opacity:0.15;color:#000000;fill:#978b59;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<g
id="g4080"
transform="translate(1.899452,0)">
<path
id="path3652"
d="m 162.71903,419.28553 c -17.95176,0 -33.07019,9.51428 -37.61903,22.46831 -8.71653,1.94569 -15.46711,7.33057 -17.53387,14.07539 -0.29292,-0.0123 -0.57825,-0.0238 -0.87544,-0.0238 -7.136146,0 -13.109566,3.5947 -14.632402,8.41669 -0.583251,-0.0232 -1.178577,-0.0476 -1.775898,-0.0476 -1.330104,0 -2.623935,0.0546 -3.876961,0.16643 -2.042726,-6.82237 -10.717642,-11.95932 -21.135692,-11.95932 -11.480445,0 -20.861778,6.21528 -21.560907,14.07538 -2.897588,1.50647 -4.852454,4.35156 -4.852454,7.60831 0,4.83225 4.300242,8.74957 9.604859,8.74957 2.461186,0 4.703659,-0.84826 6.403239,-2.23494 3.086856,1.18147 6.632652,1.85452 10.405263,1.85452 5.266676,0 10.107552,-1.29441 13.85701,-3.47129 3.135575,0.98113 6.981885,1.56921 11.155643,1.56921 6.025439,0 11.37473,-1.20912 14.85751,-3.09088 0.008,6.2e-4 0.0167,-6e-4 0.0251,0 0.50451,0.0371 1.00774,0.0476 1.52577,0.0476 3.61309,0 6.93973,-0.91231 9.52982,-2.44893 4.38176,2.71239 9.97794,4.35101 16.08313,4.35101 4.43619,0 8.60135,-0.86719 12.23119,-2.3776 5.42971,2.2484 11.61818,3.51884 18.1842,3.51884 11.42722,0 21.70334,-3.86616 28.83959,-10.00969 0.78183,0.0761 1.56847,0.11888 2.3762,0.11888 10.71975,0 19.40982,-6.89787 19.40982,-15.40683 0,-6.86173 -5.64729,-12.67588 -13.45681,-14.66979 -5.03363,-12.34294 -19.771,-21.27951 -37.1688,-21.27951 z"
style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ace4e0;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<path
id="path3727"
d="m 189.80233,457.45389 c -4.86485,4.35451 -12.92343,7.20413 -22.06116,7.20413 -0.15915,0 -0.31675,0.002 -0.47524,0 -3.59728,2.1436 -8.20336,3.42374 -13.23169,3.42374 -6.18661,0 -11.74604,-1.94617 -15.55787,-5.0405 -3.27053,1.56361 -7.21248,2.47269 -11.4558,2.47269 -3.75138,0 -7.25491,-0.72985 -10.2802,-1.9734 -2.07542,2.38488 -5.76636,3.97059 -9.98005,3.97059 -0.18601,0 -0.36638,-0.0177 -0.55028,-0.0238 -1.48843,2.58888 -4.89294,4.39856 -8.854475,4.39856 -1.987094,0 -3.842495,-0.45578 -5.377721,-1.23636 -2.067709,1.29564 -4.765243,2.09229 -7.72891,2.09229 -3.362473,0 -6.38661,-1.01891 -8.529314,-2.63913 -1.538008,0.52868 -3.257478,0.8322 -5.077569,0.8322 -0.910424,0 -1.800382,-0.0737 -2.651341,-0.21399 -2.263964,1.82355 -5.567421,2.972 -9.254681,2.972 -1.421702,0 -2.780848,-0.1847 -4.05205,-0.49929 -2.249462,2.17566 -5.869459,3.59017 -9.955036,3.59017 -0.479015,0 -0.960905,-0.0335 -1.425721,-0.0713 1.114437,1.59038 3.358884,2.68669 5.953011,2.68669 2.476036,0 4.642118,-0.99961 5.802936,-2.4727 2.742897,1.40636 6.362809,2.28249 10.355238,2.28249 5.559454,0 10.407986,-1.66748 13.131643,-4.1608 1.577953,1.05205 3.926194,1.71187 6.528302,1.71187 1.00669,0 1.953564,-0.12599 2.851442,-0.30908 1.512978,0.74146 3.487308,1.18879 5.65286,1.18879 4.183727,0 7.658156,-1.67757 8.429266,-3.89926 0.94722,-0.10323 1.82989,-0.39691 2.60131,-0.83216 1.47668,0.60633 3.18028,0.97482 5.00253,0.97482 3.55163,0 6.67476,-1.31392 8.47929,-3.30486 3.12881,3.03864 8.29434,5.01673 14.15717,5.01673 4.4828,0 8.55772,-1.16204 11.63088,-3.0671 5.20465,2.97711 12.15668,4.80275 19.81002,4.80275 11.35315,0 21.18927,-4.02035 26.01316,-9.86704 1.07105,0.19609 2.17529,0.30909 3.32668,0.30909 7.14344,0 13.02995,-3.99688 13.93205,-9.17753 -2.16907,1.18073 -4.82711,1.8783 -7.7039,1.8783 -3.71122,0 -7.0556,-1.15599 -9.45478,-3.01955 z"
style="color:#000000;fill:#cfe7e9;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<path
id="path3889"
d="m 156.9357,435.41496 c -3.83813,0 -7.15999,1.61056 -8.80445,3.97059 1.61584,-0.5934 3.40599,-0.92726 5.30268,-0.92726 2.6733,0 5.1338,0.66026 7.17863,1.78319 1.38085,-0.41003 2.86653,-0.64194 4.42724,-0.64194 4.00958,0 7.58137,1.4706 9.90501,3.78038 1.61573,-0.59341 3.406,-0.92726 5.30269,-0.92726 1.33315,0 2.61983,0.17225 3.82693,0.47551 -0.57306,-1.62169 -2.55678,-2.82934 -4.92749,-2.82934 -0.72534,0 -1.40124,0.13116 -2.02603,0.33286 -1.57077,-2.51024 -4.99262,-4.2559 -8.97954,-4.2559 -1.76078,0 -3.41963,0.33171 -4.85245,0.92727 -1.71891,-1.06196 -3.93798,-1.6881 -6.35322,-1.6881 z"
style="color:#000000;fill:#cfe7e9;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
</g>
<g
id="g4085"
transform="translate(-20.5,-23)">
<path
id="path3905"
d="m 151.33604,199 c -9.6953,0 -17.97903,4.94539 -21.38106,11.93695 -7.94952,0.38763 -14.24665,5.31564 -14.24665,11.3587 0,6.29605 6.82484,11.4 15.2437,11.4 2.10471,0 4.11422,-0.31117 5.93795,-0.88805 3.95084,2.62294 8.97893,4.1924 14.44606,4.1924 5.78436,0 11.06447,-1.76481 15.11075,-4.6674 1.17559,0.34216 2.44447,0.53697 3.76661,0.53697 6.11836,0 11.07827,-3.9944 11.07827,-8.92175 0,-3.79613 -2.94052,-7.03414 -7.09009,-8.32282 C 172.78258,206.25394 163.08553,199 151.33604,199 z"
style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ace4e0;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<path
id="path3936"
d="m 142.2585,224.34457 c -1.31361,1.4668 -3.58196,2.4163 -6.15951,2.4163 -0.36192,0 -0.7156,-0.0251 -1.06352,-0.0619 -2.20382,1.5127 -5.15769,2.4576 -8.41948,2.4576 -0.82763,0 -1.63317,-0.0721 -2.41506,-0.18586 1.92855,1.18471 4.59196,1.92065 7.55538,1.92065 2.85376,0 5.42365,-0.68833 7.33381,-1.79674 2.68819,2.86024 7.39971,4.77062 12.78432,4.77062 5.05682,0 9.52167,-1.68146 12.27472,-4.25435 1.04229,0.39424 2.23117,0.61956 3.50073,0.61956 3.5135,0 6.44867,-1.71314 7.17871,-4.00651 -1.20875,0.42068 -2.55973,0.66086 -3.98817,0.66086 -1.92931,0 -3.72002,-0.443 -5.20679,-1.17717 -2.48106,1.29391 -5.516,2.06522 -8.79614,2.06522 -4.1438,0 -7.89796,-1.21147 -10.63514,-3.18044 -0.37777,0.0341 -0.76175,0.0619 -1.15213,0.0619 -0.9723,0 -1.91059,-0.1078 -2.79173,-0.30978 z"
style="color:#000000;fill:#cfe7e9;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
</g>
<g
id="g4076"
transform="translate(34.25,-17)">
<path
id="path3984"
d="m 86.40625,322.5 c -16.27684,0 -29.5,7.48683 -29.5,16.75 0,0.51423 0.0454,1.02882 0.125,1.53125 -6.429384,1.65841 -10.875,5.18187 -10.875,9.28125 0,5.6892 8.542451,10.3125 19.09375,10.3125 6.661452,0 12.518358,-1.83793 15.9375,-4.625 1.688503,0.17112 3.443843,0.28125 5.21875,0.28125 5.935569,0 11.436991,-1.00068 16.0625,-2.71875 2.92762,2.30017 7.15435,3.75 11.875,3.75 6.52088,0 12.10379,-2.76079 14.59375,-6.71875 0.81508,0.18018 1.67857,0.28125 2.5625,0.28125 5.44266,0 9.84375,-3.63206 9.84375,-8.125 0,-4.49294 -4.40109,-8.15625 -9.84375,-8.15625 -2.83785,0 -5.38933,1.00905 -7.1875,2.59375 -2.6686,-1.51207 -6.0173,-2.45455 -9.6875,-2.5 C 110.98368,327.52597 99.736244,322.5 86.40625,322.5 z"
style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ace4e0;stroke-width:2.49999976;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<path
id="path4020"
d="M 98.625,343.90625 C 94.992265,346.64168 89.79266,348.375 84,348.375 c -1.597787,0 -3.13632,-0.15993 -4.625,-0.40625 C 76.496501,352.70463 70.085348,356 62.625,356 c -1.641259,0 -3.23593,-0.16942 -4.75,-0.46875 2.604374,1.25711 5.978733,2 9.65625,2 6.306528,0 11.690063,-2.22988 13.875,-5.375 2.154565,0.56126 4.547096,0.875 7.0625,0.875 5.18666,0 9.809004,-1.33673 12.96875,-3.4375 2.56666,2.61057 6.72287,4.3125 11.40625,4.3125 5.52919,0 10.31066,-2.37048 12.625,-5.8125 1.03915,0.35076 2.20678,0.5625 3.4375,0.5625 2.96796,0 5.55393,-1.1481 6.90625,-2.84375 -1.04127,0.11654 -2.09868,0.1875 -3.1875,0.1875 -2.34783,0 -4.59657,-0.29539 -6.6875,-0.8125 -3.36561,2.67787 -7.91676,4.3125 -12.9375,4.3125 -5.77318,0 -10.93553,-2.17418 -14.375,-5.59375 z"
style="color:#000000;fill:#cfe7e9;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
</g>
<g
id="g4089"
transform="translate(-39.14065,0)">
<path
id="path4015"
d="m 164.40625,74.3125 c -6.83418,0 -12.375,3.633971 -12.375,8.125 0,4.491029 5.54082,8.125 12.375,8.125 4.80606,0 8.95057,-1.806961 11,-4.4375 0.0102,9.43e-4 0.0211,-9e-4 0.0313,0 0.208,0.01841 0.41143,0.03125 0.625,0.03125 3.41709,0 6.1875,-2.428502 6.1875,-5.40625 0,-2.977748 -2.77041,-5.375 -6.1875,-5.375 -1.3066,0 -2.50128,0.335052 -3.5,0.9375 -2.17768,-1.255024 -5.03215,-2 -8.15625,-2 z"
style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ace4e0;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<path
id="path4049"
d="m 173.25,81.875 c -2.35464,2.682451 -5.73008,4.375 -9.5,4.375 -2.1727,0 -4.20473,-0.575266 -6,-1.5625 1.44525,2.199001 4.48914,3.71875 8.03125,3.71875 3.89264,0 7.1869,-1.823247 8.40625,-4.375 0.44285,0.146274 0.95196,0.25 1.46875,0.25 1.57654,0 2.88579,-0.761994 3.34375,-1.8125 -0.7082,0.257749 -1.45609,0.40625 -2.25,0.40625 -1.27417,0 -2.47771,-0.37117 -3.5,-1 z"
style="color:#000000;fill:#cfe7e9;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
</g>
</svg>