Commit d9e204fb authored by Bruno Coudoin's avatar Bruno Coudoin

One more set of activity ported to the new architecture

svn path=/branches/gcomprixo/; revision=2808
parent f06aaf60
......@@ -603,7 +603,7 @@ src/babyshapes-activity/activity/Makefile
src/billard-activity/Makefile
src/billard-activity/activity/Makefile
src/boards/Makefile
src/boards/python/DTW/Makefile
src/writing_tutor_image_match-activity/DTW/Makefile
src/boards/python/Makefile
src/boards/python/connect4p/Makefile
src/boards/python/gcompris/Makefile
......@@ -764,6 +764,72 @@ src/administration-activity/Makefile
src/administration-activity/admin/Makefile
src/algorithm-activity/activity/Makefile
src/algorithm-activity/Makefile
src/ballcatch-activity/activity/Makefile
src/ballcatch-activity/Makefile
src/bargame-activity/activity/Makefile
src/bargame-activity/Makefile
src/chat-activity/activity/Makefile
src/chat-activity/Makefile
src/clickanddraw-activity/activity/Makefile
src/clickanddraw-activity/Makefile
src/connect4-2players-activity/activity/Makefile
src/connect4-2players-activity/Makefile
src/connect4-activity/activity/Makefile
src/connect4-activity/Makefile
src/drawnumber-activity/activity/Makefile
src/drawnumber-activity/Makefile
src/draw-activity/activity/Makefile
src/draw-activity/Makefile
src/electric-activity/activity/Makefile
src/electric-activity/Makefile
src/followline-activity/activity/Makefile
src/followline-activity/Makefile
src/gnumch-equality-activity/activity/Makefile
src/gnumch-equality-activity/Makefile
src/gnumch-factors-activity/activity/Makefile
src/gnumch-factors-activity/Makefile
src/gnumch-inequality-activity/activity/Makefile
src/gnumch-inequality-activity/Makefile
src/gnumch-multiples-activity/activity/Makefile
src/gnumch-multiples-activity/Makefile
src/gnumch-primes-activity/activity/Makefile
src/gnumch-primes-activity/Makefile
src/guessnumber-activity/activity/Makefile
src/guessnumber-activity/Makefile
src/hexagon-activity/activity/Makefile
src/hexagon-activity/Makefile
src/login-activity/activity/Makefile
src/login-activity/Makefile
src/melody-activity/activity/Makefile
src/melody-activity/Makefile
src/mosaic-activity/activity/Makefile
src/mosaic-activity/Makefile
src/pythontemplate-activity/activity/Makefile
src/pythontemplate-activity/Makefile
src/pythontest-activity/activity/Makefile
src/pythontest-activity/Makefile
src/redraw_symmetrical-activity/activity/Makefile
src/redraw_symmetrical-activity/Makefile
src/redraw-activity/activity/Makefile
src/redraw-activity/Makefile
src/searace1player-activity/activity/Makefile
src/searace1player-activity/Makefile
src/searace-activity/activity/Makefile
src/searace-activity/Makefile
src/sudoku-activity/activity/Makefile
src/sudoku-activity/Makefile
src/tuxpaint-activity/activity/Makefile
src/tuxpaint-activity/Makefile
src/watercycle-activity/activity/Makefile
src/watercycle-activity/Makefile
src/writing_tutor_image_match-activity/activity/Makefile
src/writing_tutor_image_match-activity/Makefile
src/writing_tutor_missing_match-activity/activity/Makefile
src/writing_tutor_missing_match-activity/Makefile
src/writing_tutor_pattern_admin-activity/activity/Makefile
src/writing_tutor_pattern_admin-activity/Makefile
src/writing_tutor_template_match-activity/activity/Makefile
src/writing_tutor_template_match-activity/Makefile
])
echo ""
......
......@@ -80,4 +80,37 @@ SUBDIRS = libart_lgpl libgnomecanvas libccc gcompris boards \
wordsgame-activity \
anim-activity \
administration-activity \
algorithm-activity
algorithm-activity \
ballcatch-activity \
bargame-activity \
chat-activity \
clickanddraw-activity \
connect4-2players-activity \
connect4-activity \
drawnumber-activity \
draw-activity \
electric-activity \
followline-activity \
gnumch-equality-activity \
gnumch-factors-activity \
gnumch-inequality-activity \
gnumch-multiples-activity \
gnumch-primes-activity \
guessnumber-activity \
hexagon-activity \
login-activity \
melody-activity \
mosaic-activity \
pythontemplate-activity \
pythontest-activity \
redraw_symmetrical-activity \
redraw-activity \
searace1player-activity \
searace-activity \
sudoku-activity \
tuxpaint-activity \
watercycle-activity \
writing_tutor_image_match-activity \
writing_tutor_missing_match-activity \
writing_tutor_pattern_admin-activity \
writing_tutor_template_match-activity
SUBDIRS = activity
pythondir = $(PYTHON_PLUGIN_DIR)
dist_python_DATA= ballcatch.py
xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
xml_in_files = \
ballcatch.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)
# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
# in the file themselves. GCompris pick the translations from the po file at
# runtime.
#
$(xml_DATA): %.xml: %.xml.in
sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@
# Use this directive and instead of the one above to embed the translations
# in the xml files directly, this is needed for the tool gcompris2spip
#@INTLTOOL_XML_RULE@
CLEANFILES = $(xml_DATA)
<?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://web.resource.org/cc/"
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:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="100"
height="100"
id="svg31200"
sodipodi:version="0.32"
inkscape:version="0.44.1"
version="1.0"
sodipodi:docbase="/home/mat/Travaux/Inkscape/Gcompris/boardicons"
sodipodi:docname="ballcatch.svg">
<defs
id="defs31202">
<linearGradient
id="linearGradient34913">
<stop
style="stop-color:black;stop-opacity:1;"
offset="0"
id="stop34915" />
<stop
style="stop-color:black;stop-opacity:0;"
offset="1"
id="stop34917" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient34913"
id="linearGradient34919"
x1="21.272213"
y1="22.408716"
x2="21.15465"
y2="-0.85730135"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.1351447"
inkscape:cx="46.345131"
inkscape:cy="53.34472"
inkscape:document-units="px"
inkscape:current-layer="layer1"
height="100px"
width="100px"
inkscape:window-width="1078"
inkscape:window-height="864"
inkscape:window-x="158"
inkscape:window-y="57" />
<metadata
id="metadata31205">
<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="Calque 1"
inkscape:groupmode="layer"
id="layer1">
<path
style="fill:#b7b7b7;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.93313932;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 65.929853,9.1524681 C 37.483703,-0.46244045 6.0584498,18.742771 4.7029114,53.487878 C 3.348331,88.208377 51.029493,113.98165 78.933813,86.605894 C 106.56724,59.495891 94.213931,18.712594 65.929853,9.1524681 z "
id="path36693"
sodipodi:nodetypes="czzz" />
<path
id="path8766"
style="fill:#752f21;fill-opacity:1;fill-rule:nonzero;stroke:black;stroke-width:1.97341728;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
d="M 28.036961,60.162579 C 34.896781,65.164245 36.840942,73.056393 37.52529,77.096155 C 37.52529,77.096155 39.07959,85.209192 24.580529,83.700227 C 20.447573,80.640716 20.179576,77.319107 17.465883,72.084323 M 27.837944,60.227768 C 34.362104,65.43042 35.703385,71.435062 37.422288,76.753841 C 37.422288,76.753841 35.126723,83.464052 25.002509,82.990118 C 20.054525,80.109623 21.70788,77.86607 17.823385,71.968665"
sodipodi:nodetypes="cccccccc"
inkscape:transform-center-y="3.634814"
inkscape:transform-center-x="-2.3429291" />
<path
id="path8808"
style="fill:#ffb147;fill-opacity:1;fill-rule:nonzero;stroke:black;stroke-width:1.97341728;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
d="M 47.575009,22.589075 C 56.005452,20.180703 55.130937,17.463559 46.581908,19.325774 M 46.975149,22.590429 C 51.341388,22.710982 55.198378,17.778848 46.736702,18.42005"
sodipodi:nodetypes="cccc" />
<path
id="path8810"
style="fill:#ffb147;fill-opacity:1;fill-rule:nonzero;stroke:black;stroke-width:1.97341728;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
d="M 48.254362,17.337613 C 56.404049,14.160552 55.261094,11.536945 46.938576,14.181355 M 47.657424,17.394456 C 52.015446,17.110525 55.35985,11.844536 47.00183,13.265511"
sodipodi:nodetypes="cccc" />
<path
id="path8812"
style="fill:#ffb147;fill-opacity:1;fill-rule:nonzero;stroke:black;stroke-width:1.97341728;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
d="M 46.795447,13.390118 C 53.489056,7.9103097 51.544097,5.7657526 44.511842,10.792272 M 46.247515,13.624578 C 50.290793,12.037288 51.738672,6.0278343 44.271606,9.9038921"
sodipodi:nodetypes="cccc" />
<path
id="path8814"
style="fill:#752f21;fill-opacity:1;fill-rule:nonzero;stroke:black;stroke-width:1.97341728;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
d="M 24.020006,12.684354 C 31.095725,11.415655 39.435911,8.6216794 43.658061,9.1779411 C 43.658061,9.1779411 52.190138,10.129839 46.436382,22.999972 C 42.178803,25.897588 41.051073,25.838222 35.044254,26.79483 M 24.630061,12.81853 C 31.716325,11.767625 37.488353,9.1907331 43.287105,9.1721341 C 43.287105,9.1721341 49.293796,13.247511 45.853235,22.404311 C 41.534868,26.102742 42.546001,25.938479 35.536239,27.775793"
sodipodi:nodetypes="cccccccc" />
<path
style="fill:white;fill-opacity:0.07333332;fill-rule:evenodd;stroke:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
d="M 36.072408,13.299844 C 46.651093,16.856577 45.3881,18.466342 48.172905,12.665328 C 42.186438,6.6236637 28.887368,8.7388816 25.015523,12.906996 C 26.176983,16.881024 22.322037,16.166459 36.072408,13.299844 z "
id="path8832"
sodipodi:nodetypes="cccc" />
<path
style="fill:white;fill-opacity:0.07333332;fill-rule:evenodd;stroke:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
d="M 29.78581,68.480902 C 29.495344,74.387087 27.779578,74.82768 33.500024,72.588176 C 37.130967,66.976899 31.828906,63.261265 27.228802,64.180085 C 24.113577,66.846692 23.719064,65.021933 29.78581,68.480902 z "
id="path8834"
sodipodi:nodetypes="cccc" />
<path
style="fill:#ffba0e;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:2.93313932;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 65.6487,5.9051263 C 38.128152,-3.156741 7.7254324,14.943806 6.4140014,47.690412 C 5.1034992,80.413824 51.233177,104.70466 78.229524,78.903516 C 104.96379,53.35285 93.012448,14.915364 65.6487,5.9051263 z "
id="path3586"
sodipodi:nodetypes="czzz" />
<path
style="fill:#2165cd;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 34.414979,9.8305741 C 34.414979,9.8305741 35.266781,25.639202 66.658552,87.362117 C 120.36322,60.129245 87.260371,-14.101345 34.414979,9.8305741 z "
id="path3608"
sodipodi:nodetypes="ccc" />
<path
style="fill:#ff140e;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 35.235717,18.209717 C 35.235717,18.209717 12.583557,72.156377 66.228917,87.362117 C 99.310987,24.231368 35.665353,17.797095 35.235717,18.209717 z "
id="path3604"
sodipodi:nodetypes="ccc" />
<path
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:black;stroke-width:2.93313932px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 37.718701,17.384475 C 37.718701,17.384475 95.444255,20.930414 68.377101,85.711639"
id="path3598"
sodipodi:nodetypes="cc" />
<path
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:black;stroke-width:3.02535129px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 64.165144,87.540546 C 62.334402,87.128477 12.896932,72.819526 37.219157,17.577786"
id="path3600"
sodipodi:nodetypes="cc" />
<path
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:2.93313932;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 66.169116,7.828236 C 38.648569,-1.2336312 8.2458497,16.866914 6.9344188,49.613523 C 5.6239139,82.336939 51.753595,106.62777 78.749943,80.826627 C 105.48421,55.275963 93.532866,16.838476 66.169116,7.828236 z "
id="path3610"
sodipodi:nodetypes="czzz" />
<path
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:2.93313932;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 66.169119,5.76512 C 38.648571,-3.2967503 8.2458523,14.8038 6.9344214,47.550407 C 5.6239179,80.273822 51.753597,104.56465 78.749948,78.763512 C 105.48421,53.212846 93.532871,14.775359 66.169119,5.76512 z "
id="path3626"
sodipodi:nodetypes="czzz" />
<path
sodipodi:type="arc"
style="opacity:1;fill:white;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:3.72697639;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path31369"
sodipodi:cx="19.278912"
sodipodi:cy="6.5264893"
sodipodi:rx="16.942074"
sodipodi:ry="11.489452"
d="M 36.220985 6.5264893 A 16.942074 11.489452 0 1 1 2.3368378,6.5264893 A 16.942074 11.489452 0 1 1 36.220985 6.5264893 z"
transform="matrix(0.803701,-0.37988,0.388782,0.622422,19.50967,20.4304)" />
<path
sodipodi:type="arc"
style="opacity:1;fill:url(#linearGradient34919);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.38973236;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path34026"
sodipodi:cx="19.278912"
sodipodi:cy="6.5264893"
sodipodi:rx="27.416853"
sodipodi:ry="11.489452"
d="M 46.695765 6.5264893 A 27.416853 11.489452 0 1 1 -8.1379414,6.5264893 A 27.416853 11.489452 0 1 1 46.695765 6.5264893 z"
transform="matrix(0.803701,-0.37988,0.388782,0.622422,44.58883,81.72781)" />
</g>
</svg>
../../../boards/skins/
\ No newline at end of file
activity=ballcatch
plugindir=.
if [ -f ../boards/.libs/libpython.so ]
then
plugindir=../boards/.libs
fi
./gcompris.bin -L $plugindir -P . -A resources \
--config-dir=. -M activity \
--locale_dir=./locale -l /computer/keyboard/$activity $*
SUBDIRS = activity
pythondir = $(PYTHON_PLUGIN_DIR)
dist_python_DATA= bargame.py
xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
xml_in_files = \
bargame.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)
# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
# in the file themselves. GCompris pick the translations from the po file at
# runtime.
#
$(xml_DATA): %.xml: %.xml.in
sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@
# Use this directive and instead of the one above to embed the translations
# in the xml files directly, this is needed for the tool gcompris2spip
#@INTLTOOL_XML_RULE@
CLEANFILES = $(xml_DATA)
<?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://web.resource.org/cc/"
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="100"
height="100"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.44.1"
version="1.0"
sodipodi:docbase="/home/mat/Travaux/Inkscape/Gcompris/boardicons"
sodipodi:docname="bargame.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="4.3012821"
inkscape:cx="56"
inkscape:cy="40"
inkscape:document-units="px"
inkscape:current-layer="layer1"
width="100px"
height="100px"
inkscape:window-width="1071"
inkscape:window-height="875"
inkscape:window-x="86"
inkscape:window-y="13" />
<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="Calque 1"
inkscape:groupmode="layer"
id="layer1">
<path
style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 14.535433,31.908612 L 12.6062,51.683255 L 13.892355,66.313275 L 13.088508,83.194068 L 36.400079,84.480223 L 53.923949,82.55099 L 72.894748,84.962532 L 87.363998,83.997915 L 84.630918,58.274802 L 87.685538,37.535543 L 86.560148,14.063203 L 60.193958,11.81243 L 29.004684,13.741664 L 12.28466,13.098587 L 14.535433,31.908612 z "
id="path2101"
sodipodi:nodetypes="ccccccccccccccc" />
<path
style="fill:#fc0;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 81.467604,33.557568 L 83.192118,50.95722 L 82.042439,63.830133 L 82.760991,78.683495 L 61.923201,79.81518 L 46.258935,78.117653 L 29.301289,80.239561 L 16.367492,79.390797 L 18.810542,56.757104 L 16.080073,38.508688 L 17.086035,17.855443 L 40.654289,15.874994 L 68.53381,17.572521 L 83.479534,17.006679 L 81.467604,33.557568 z "
id="path2988"
sodipodi:nodetypes="ccccccccccccccc" />
<g
id="g3689"
transform="matrix(0.559954,0,0,0.573177,31.53337,0.810656)">
<path
id="path3691"
d="M 6.5977904,70.980683 L 8.2100811,65.490409 L 11.78866,60.787864 L 17.03781,58.104539 L 23.299239,59.569826 L 29.31295,64.310772 C 29.31295,64.310772 31.499513,70.709316 30.926939,71.461723 C 30.354367,72.21413 27.892645,77.977727 27.892645,77.977727 L 19.87578,82.190814 C 19.87578,82.190814 15.571205,82.368544 14.311207,81.495595 C 13.051209,80.622647 10.187496,78.064071 9.137497,77.336613 C 8.0874971,76.609156 6.454648,71.168783 6.5977904,70.980683 z "
style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3693"
d="M 9.602288,70.734553 L 10.815437,66.663964 L 13.508094,63.177413 L 17.457752,61.187947 L 22.169088,62.274337 L 26.694031,65.78936 C 26.694031,65.78936 28.339284,70.533356 27.908457,71.091204 C 27.477632,71.649052 25.62534,75.922287 25.62534,75.922287 L 19.593148,79.045946 C 19.593148,79.045946 16.354223,79.177718 15.406153,78.530498 C 14.458083,77.883279 12.303318,75.986304 11.513259,75.446954 C 10.7232,74.907604 9.4945818,70.874013 9.602288,70.734553 z "
style="fill:#c83737;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g3683"
transform="matrix(0.704862,0,0,0.697268,22.32206,-2.189437)">
<path
id="path3685"
d="M 6.5977904,70.980683 L 8.2100811,65.490409 L 11.78866,60.787864 L 17.03781,58.104539 L 23.299239,59.569826 L 29.31295,64.310772 C 29.31295,64.310772 31.499513,70.709316 30.926939,71.461723 C 30.354367,72.21413 27.892645,77.977727 27.892645,77.977727 L 19.87578,82.190814 C 19.87578,82.190814 15.571205,82.368544 14.311207,81.495595 C 13.051209,80.622647 10.187496,78.064071 9.137497,77.336613 C 8.0874971,76.609156 6.454648,71.168783 6.5977904,70.980683 z "
style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3687"
d="M 9.602288,70.734553 L 10.815437,66.663964 L 13.508094,63.177413 L 17.457752,61.187947 L 22.169088,62.274337 L 26.694031,65.78936 C 26.694031,65.78936 28.339284,70.533356 27.908457,71.091204 C 27.477632,71.649052 25.62534,75.922287 25.62534,75.922287 L 19.593148,79.045946 C 19.593148,79.045946 16.354223,79.177718 15.406153,78.530498 C 14.458083,77.883279 12.303318,75.986304 11.513259,75.446954 C 10.7232,74.907604 9.4945818,70.874013 9.602288,70.734553 z "
style="fill:#c83737;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g3677"
transform="matrix(0.887472,0,0,0.855498,13.78398,-4.445934)">
<path
id="path3679"
d="M 6.5977904,70.980683 L 8.2100811,65.490409 L 11.78866,60.787864 L 17.03781,58.104539 L 23.299239,59.569826 L 29.31295,64.310772 C 29.31295,64.310772 31.499513,70.709316 30.926939,71.461723 C 30.354367,72.21413 27.892645,77.977727 27.892645,77.977727 L 19.87578,82.190814 C 19.87578,82.190814 15.571205,82.368544 14.311207,81.495595 C 13.051209,80.622647 10.187496,78.064071 9.137497,77.336613 C 8.0874971,76.609156 6.454648,71.168783 6.5977904,70.980683 z "
style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3681"
d="M 9.602288,70.734553 L 10.815437,66.663964 L 13.508094,63.177413 L 17.457752,61.187947 L 22.169088,62.274337 L 26.694031,65.78936 C 26.694031,65.78936 28.339284,70.533356 27.908457,71.091204 C 27.477632,71.649052 25.62534,75.922287 25.62534,75.922287 L 19.593148,79.045946 C 19.593148,79.045946 16.354223,79.177718 15.406153,78.530498 C 14.458083,77.883279 12.303318,75.986304 11.513259,75.446954 C 10.7232,74.907604 9.4945818,70.874013 9.602288,70.734553 z "
style="fill:#c83737;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g3673"
transform="translate(9.196739,-2.368254)">
<path
id="path1872"
d="M 6.5977904,70.980683 L 8.2100811,65.490409 L 11.78866,60.787864 L 17.03781,58.104539 L 23.299239,59.569826 L 29.31295,64.310772 C 29.31295,64.310772 31.499513,70.709316 30.926939,71.461723 C 30.354367,72.21413 27.892645,77.977727 27.892645,77.977727 L 19.87578,82.190814 C 19.87578,82.190814 15.571205,82.368544 14.311207,81.495595 C 13.051209,80.622647 10.187496,78.064071 9.137497,77.336613 C 8.0874971,76.609156 6.454648,71.168783 6.5977904,70.980683 z "
style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path2766"
d="M 9.602288,70.734553 L 10.815437,66.663964 L 13.508094,63.177413 L 17.457752,61.187947 L 22.169088,62.274337 L 26.694031,65.78936 C 26.694031,65.78936 28.339284,70.533356 27.908457,71.091204 C 27.477632,71.649052 25.62534,75.922287 25.62534,75.922287 L 19.593148,79.045946 C 19.593148,79.045946 16.354223,79.177718 15.406153,78.530498 C 14.458083,77.883279 12.303318,75.986304 11.513259,75.446954 C 10.7232,74.907604 9.4945818,70.874013 9.602288,70.734553 z "
style="fill:#c83737;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g4457"
transform="translate(-0.697466,-2.557377)">
<path
id="path2768"
d="M 38.198922,71.314625 L 39.811213,65.824351 L 43.389792,61.121806 L 48.638942,58.438481 L 54.900371,59.903768 L 60.914082,64.644714 C 60.914082,64.644714 63.100645,71.043258 62.528071,71.795665 C 61.955499,72.548072 59.493777,78.311669 59.493777,78.311669 L 51.476912,82.524756 C 51.476912,82.524756 47.172337,82.702486 45.912339,81.829537 C 44.652341,80.956589 41.788628,78.398013 40.738629,77.670555 C 39.688629,76.943098 38.05578,71.502725 38.198922,71.314625 z "
style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path2770"
d="M 41.20342,71.068495 L 42.416569,66.997906 L 45.109226,63.511355 L 49.058884,61.521889 L 53.77022,62.608279 L 58.295163,66.123302 C 58.295163,66.123302 59.940416,70.867298 59.509589,71.425146 C 59.078764,71.982994 57.226472,76.256229 57.226472,76.256229 L 51.19428,79.379888 C 51.19428,79.379888 47.955355,79.51166 47.007285,78.86444 C 46.059215,78.217221 43.90445,76.320246 43.114391,75.780896 C 42.324332,75.241546 41.095713,71.207955 41.20342,71.068495 z "
style="fill:#7fff2a;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path2776"
d="M 43.96586,67.276908 L 44.308153,66.087446 L 45.067891,65.068646 L 46.182296,64.487306 L 47.51161,64.804759 L 48.788332,65.831879 C 48.788332,65.831879 49.252544,67.218116 49.130985,67.381124 C 49.009427,67.544131 48.486799,68.792809 48.486799,68.792809 L 46.784803,69.70557 C 46.784803,69.70557 45.870933,69.744074 45.603433,69.554951 C 45.335933,69.365827 44.727962,68.811516 44.505045,68.653914 C 44.282128,68.496311 43.93547,67.317659 43.96586,67.276908 z "
style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path2778"
d="M 51.29777,67.551854 L 51.640063,66.362392 L 52.399801,65.343592 L 53.514206,64.762252 L 54.84352,65.079705 L 56.120242,66.106825 C 56.120242,66.106825 56.584454,67.493062 56.462895,67.65607 C 56.341337,67.819077 55.818709,69.067755 55.818709,69.067755 L 54.116713,69.980516 C 54.116713,69.980516 53.202843,70.01902 52.935343,69.829897 C 52.667843,69.640773 52.059872,69.086462 51.836955,68.92886 C 51.614038,68.771257 51.26738,67.592605 51.29777,67.551854 z "
style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccccccc"
id="path2780"
d="M 44.541358,72.322037 L 47.657421,74.338312 L 52.423163,74.155014 L 55.722523,72.322037 L 53.156353,75.987992 L 47.474123,76.354587 L 45.27455,74.704908 L 44.541358,72.322037 z "
style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g4450"
transform="translate(0.464975,1.394933)">
<path
id="path2772"
d="M 59.720328,66.946528 L 61.332619,61.456254 L 64.911198,56.753709 L 70.160348,54.070384 L 76.421777,55.535671 L 82.435488,60.276617 C 82.435488,60.276617 84.622051,66.675161 84.049477,67.427568 C 83.476905,68.179975 81.015183,73.943572 81.015183,73.943572 L 72.998318,78.156659 C 72.998318,78.156659 68.693743,78.334389 67.433745,77.46144 C 66.173747,76.588492 63.310034,74.029916 62.260035,73.302458 C 61.210035,72.575001 59.577186,67.134628 59.720328,66.946528 z "
style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path2774"
d="M 62.724826,66.700398 L 63.937975,62.629809 L 66.630632,59.143258 L 70.58029,57.153792 L 75.291626,58.240182 L 79.816569,61.755205 C 79.816569,61.755205 81.461822,66.499201 81.030995,67.057049 C 80.60017,67.614897 78.747878,71.888132 78.747878,71.888132 L 72.715686,75.011791 C 72.715686,75.011791 69.476761,75.143563 68.528691,74.496343 C 67.580621,73.849124 65.425856,71.952149 64.635797,71.412799 C 63.845738,70.873449 62.617119,66.839858 62.724826,66.700398 z "
style="fill:#c83737;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3667"
d="M 65.487266,63.367056 L 65.829559,62.177594 L 66.589297,61.158794 L 67.703702,60.577454 L 69.033016,60.894907 L 70.309738,61.922027 C 70.309738,61.922027 70.77395,63.308264 70.652391,63.471272 C 70.530833,63.634279 70.008205,64.882957 70.008205,64.882957 L 68.306209,65.795718 C 68.306209,65.795718 67.392339,65.834222 67.124839,65.645099 C 66.857339,65.455975 66.249368,64.901664 66.026451,64.744062 C 65.803534,64.586459 65.456876,63.407807 65.487266,63.367056 z "
style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3669"
d="M 72.819177,63.367055 L 73.16147,62.177593 L 73.921208,61.158793 L 75.035613,60.577453 L 76.364927,60.894906 L 77.641649,61.922026 C 77.641649,61.922026 78.105861,63.308263 77.984302,63.471271 C 77.862744,63.634278 77.340116,64.882956 77.340116,64.882956 L 75.63812,65.795717 C 75.63812,65.795717 74.72425,65.834221 74.45675,65.645098 C 74.18925,65.455974 73.581279,64.901663 73.358362,64.744061 C 73.135445,64.586458 72.788787,63.407806 72.819177,63.367055 z "
style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.33998621px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccccccc"
id="path3671"
d="M 66.521008,71.2533 L 69.637071,69.237025 L 74.402813,69.420323 L 77.702173,71.2533 L 75.136003,67.587345 L 69.453773,67.22075 L 67.2542,68.870429 L 66.521008,71.2533 z "
style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
</svg>
......@@ -29,16 +29,16 @@ import gtk.gdk
import random
import math
backgrounds = [ 'opt/school_bg1.jpg',
'opt/school_bg2.jpg',
'opt/school_bg3.jpg',
'opt/school_bg4.jpg'
backgrounds = [ 'bargame/school_bg1.jpg',
'bargame/school_bg2.jpg',
'bargame/school_bg3.jpg',
'bargame/school_bg4.jpg'
]
profs = [ 'images/tux.png',
'images/tux_teen.png',
'images/tux_graduate.png',
'images/tux_albert.png'
profs = [ 'bargame/tux.png',
'bargame/tux_teen.png',
'bargame/tux_graduate.png',
'bargame/tux_albert.png'
]
class Gcompris_bargame:
......@@ -427,7 +427,7 @@ class Gcompris_bargame:
self.background = self.itemgroup.add(
gnomecanvas.CanvasPixbuf,
pixbuf = gcompris.utils.load_pixmap("images/enumerate_answer.png"),
pixbuf = gcompris.utils.load_pixmap("bargame/enumerate_answer.png"),
x=0,
y=0
)
......@@ -437,7 +437,7 @@ class Gcompris_bargame:
self.background_focused = self.itemgroup.a