Commit d25221f5 authored by Yves Combe's avatar Yves Combe

Change section buhaviour in xml files

Registering boards in sqlite at load almost working (--enable-profils).
parent 38dd6128
2005-06-11 Yves Combe <yves@ycombe.net>
* Change section behaviour in xml board description
* some profils works: registering boards almost correct.
2005-06-11 Yves Combe <yves@ycombe.net>
Profils stuff again.
......
......@@ -3,7 +3,7 @@
<Board
name="advanced_colors"
type="advanced_colors"
section="/fun/colors/."
section="/fun/colors"
mode="*"
difficulty="6"
icon="boardicons/advanced_colors.png"
......
......@@ -3,7 +3,7 @@
<Board
name="algebra_by"
type="algebra"
section="/algebra/algebra/."
section="/algebra/calculus"
mode="*"
difficulty="3"
icon="boardicons/algebra_by.png"
......
<?xml version="1.0" encoding="UTF-8"?>
<GCompris>
<Board
name="algebra"
name="calculus"
type="menu"
section="/algebra/algebra"
section="/algebra"
icon="boardicons/algebra_group.png"
author="">
<_title>Go to Algebra activities</_title>
......
......@@ -3,7 +3,7 @@
<Board
name="algebra_guesscount"
type="algebra_guesscount"
section="/algebra/."
section="/algebra"
difficulty="3"
icon="boardicons/algebra_guesscount.png"
author="Pascal Georges (pascal.georges1@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="algebra_minus"
type="algebra"
section="/algebra/algebra/."
section="/algebra/calculus"
mode="-"
difficulty="2"
icon="boardicons/algebra_minus.png"
......
......@@ -3,7 +3,7 @@
<Board
name="algebra_plus"
type="algebra"
section="/algebra/algebra/."
section="/algebra/calculus"
mode="+"
difficulty="1"
icon="boardicons/algebra_plus.png"
......
<?xml version="1.0" encoding="UTF-8"?>
<GCompris>
<Board
name="algebramenu"
name="algebra"
type="menu"
section="/algebra"
section="/"
icon="boardicons/algebramenu.png"
author="">
<_title>Go to Maths activities</_title>
......
......@@ -3,7 +3,7 @@
<Board
name="algorithm"
type="python:algorithm"
section="/experience/."
section="/experience"
difficulty="2"
icon="boardicons/algorithm.png"
author="Christof Petig and Ingo Konrad"
......
......@@ -3,7 +3,7 @@
<Board
name="anim"
type="python:anim"
section="/fun/."
section="/fun"
mode="normal"
difficulty="3"
icon="boardicons/anim.png"
......
......@@ -3,7 +3,7 @@
<Board
name="babymatch"
type="shapegame"
section="/computer/."
section="/computer"
icon="boardicons/babymatch.png"
difficulty="1"
author="Bruno Coudoin (bruno.coudoin@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="babyshapes"
type="shapegame"
section="/computer/."
section="/computer"
icon="boardicons/babyshapes.png"
difficulty="1"
author="Bruno Coudoin (bruno.coudoin@free.fr) / Andre Connes (andre.connes@toulouse.iufm.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="ballcatch"
type="python:ballcatch"
section="/computer/."
section="/computer"
icon="boardicons/ballcatch.png"
difficulty="1"
author="Bruno Coudoin (bruno.coudoin@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="bargame"
type="python:bargame"
section="/boards/."
section="/boards"
difficulty="2"
icon="boardicons/bargame.png"
author="Yves Combe"
......
......@@ -3,7 +3,7 @@
<Board
name="billard"
type="machpuzzle"
section="/computer/."
section="/computer"
icon="boardicons/billard.png"
difficulty="1"
author="Bruno Coudoin (bruno.coudoin@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="boards"
type="menu"
section="/boards"
section="/"
icon="boardicons/boards.png"
author="">
<_title>Go to board based activities</_title>
......
......@@ -3,7 +3,7 @@
<Board
name="canal_lock"
type="canal_lock"
section="/experience/."
section="/experience"
icon="boardicons/canal_lock.png"
difficulty="2"
author="Bruno Coudoin (bruno.coudoin@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="chess"
type="menu"
section="/boards/chess"
section="/boards"
icon="boardicons/chess.png"
author="">
<_title>Practice chess</_title>
......
......@@ -3,7 +3,7 @@
<Board
name="chess_computer"
type="chess"
section="/boards/chess/."
section="/boards/chess"
mode="computer"
icon="boardicons/chess_computer.png"
difficulty="2"
......
......@@ -3,7 +3,7 @@
<Board
name="chess_movelearn"
type="chess"
section="/boards/chess/."
section="/boards/chess"
mode="movelearn"
icon="boardicons/chess_movelearn.png"
difficulty="2"
......
......@@ -3,7 +3,7 @@
<Board
name="chess_partyend"
type="chess"
section="/boards/chess/."
section="/boards/chess"
mode="partyend"
icon="boardicons/chess_partyend.png"
difficulty="2"
......
......@@ -3,7 +3,7 @@
<Board
name="chronos"
type="shapegame"
section="/fun/."
section="/fun"
icon="boardicons/chronos.png"
mandatory_sound_file="chronos/space/1.ogg"
difficulty="1"
......
......@@ -3,7 +3,7 @@
<Board
name="click_on_letter"
type="click_on_letter"
section="/reading/."
section="/reading"
icon="boardicons/click_on_letter.png"
mandatory_sound_file="click_on_letter.ogg"
mandatory_sound_dataset="gcompris misc"
......
......@@ -3,7 +3,7 @@
<Board
name="clickgame"
type="clickgame"
section="/computer/mouse/."
section="/computer/mouse"
icon="boardicons/clickgame.png"
difficulty="1"
author="Bruno Coudoin (bruno.coudoin@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="clockgame"
type="clockgame"
section="/fun/."
section="/fun"
icon="boardicons/clockgame.png"
difficulty="2"
author="Bruno Coudoin (bruno.coudoin@free.fr)"
......
<?xml version="1.0" encoding="UTF-8"?>
<GCompris>
<Board
name="colors"
name="colors1"
type="colors"
section="/fun/colors/."
section="/fun/colors"
mode="*"
difficulty="1"
icon="boardicons/colors.png"
......
<?xml version="1.0" encoding="UTF-8"?>
<GCompris>
<Board
name="colors_group"
name="colors"
type="menu"
section="/fun/colors"
section="/fun"
icon="boardicons/colors.png"
author="">
<_title>Go to colors activities</_title>
......
......@@ -3,7 +3,7 @@
<Board
name="computer"
type="menu"
section="/computer"
section="/"
icon="boardicons/computer.png"
author="">
<_title>Discover the Computer</_title>
......
<?xml version="1.0" encoding="UTF-8"?>
<GCompris>
<Board type="python:connect4" section="/boards/."
name="connect4" icon="boardicons/connect4.png"
difficulty="2" boarddir="connect4"
<Board type="python:connect4"
section="/boards"
name="connect4"
icon="boardicons/connect4.png"
difficulty="2"
boarddir="connect4"
author="Laurent Lacheny (laurent.lacheny@wanadoo.fr)">
<_title>Connect 4</_title>
<_description>Arrange four coins in a row</_description>
......
......@@ -3,7 +3,7 @@
<Board
name="doubleentry"
type="shapegame"
section="/algebra/."
section="/algebra"
icon="boardicons/doubleentry.png"
difficulty="2"
author="Bruno Coudoin (bruno.coudoin@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="draw"
type="python:anim"
section="/fun/."
section="/fun"
icon="boardicons/draw.png"
mode="draw"
difficulty="2"
......
......@@ -3,7 +3,7 @@
<Board
name="enumerate"
type="enumerate"
section="/algebra/."
section="/algebra"
icon="boardicons/enumerate.png"
difficulty="1"
author="Bruno Coudoin (bruno.coudoin@free.fr)">
......
......@@ -3,7 +3,7 @@
<Board
name="erase"
type="erase"
section="/computer/mouse/."
section="/computer/mouse"
icon="boardicons/erase.png"
difficulty="1"
mode="normal"
......
......@@ -3,7 +3,7 @@
<Board
name="erase_clic"
type="erase"
section="/computer/mouse/."
section="/computer/mouse"
icon="boardicons/erase_clic.png"
difficulty="1"
mode="clic"
......
......@@ -3,7 +3,7 @@
<Board
name="erase_double_clic"
type="erase"
section="/computer/mouse/."
section="/computer/mouse"
icon="boardicons/erase_double_clic.png"
difficulty="2"
mode="double_clic"
......
......@@ -3,7 +3,7 @@
<Board
name="experience"
type="menu"
section="/experience"
section="/"
icon="boardicons/experience.png"
author="">
<_title>Go to experiences activities</_title>
......
......@@ -3,7 +3,7 @@
<Board
name="fifteen"
type="fifteen"
section="/boards/."
section="/boards"
icon="boardicons/fifteen.png"
difficulty="1"
author="Bruno Coudoin (bruno.coudoin@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="followline"
type="python:followline"
section="/computer/mouse/."
section="/computer/mouse"
icon="boardicons/followline.png"
difficulty="1"
author="Bruno Coudoin (bruno.coudoin@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="fun"
type="menu"
section="/fun"
section="/"
icon="boardicons/fun.png"
author="">
<_title>Go to Amusement activities</_title>
......
......@@ -3,7 +3,7 @@
<Board
name="geography"
type="shapegame"
section="/fun/."
section="/fun"
icon="boardicons/globe.png"
mandatory_sound_file="peru.ogg"
mandatory_sound_dataset="gcompris geography"
......
......@@ -3,7 +3,7 @@
<Board
name="gletters"
type="gletters"
section="/computer/."
section="/computer"
icon="boardicons/gletters.png"
difficulty="1"
author="Bruno Coudoin (bruno.coudoin@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="gnumch-equality"
type="python:gnumch"
section="/algebra/gnumch/."
section="/algebra/gnumch"
difficulty="3"
icon="boardicons/gnumch.png"
author="Joe Neeman (spuzzzzzzz@gmail.com)"
......
......@@ -3,7 +3,7 @@
<Board
name="gnumch-factors"
type="python:gnumch"
section="/algebra/gnumch/."
section="/algebra/gnumch"
difficulty="5"
icon="boardicons/gnumch.png"
author="Joe Neeman (spuzzzzzzz@gmail.com)"
......
......@@ -3,7 +3,7 @@
<Board
name="gnumch-inequality"
type="python:gnumch"
section="/algebra/gnumch/."
section="/algebra/gnumch"
difficulty="3"
icon="boardicons/gnumch.png"
author="Joe Neeman (spuzzzzzzz@gmail.com)"
......
......@@ -3,7 +3,7 @@
<Board
name="gnumch-multiples"
type="python:gnumch"
section="/algebra/gnumch/."
section="/algebra/gnumch"
difficulty="3"
icon="boardicons/gnumch.png"
author="Joe Neeman (spuzzzzzzz@gmail.com)"
......
......@@ -3,7 +3,7 @@
<Board
name="gnumch-primes"
type="python:gnumch"
section="/algebra/gnumch/."
section="/algebra/gnumch"
difficulty="6"
icon="boardicons/gnumch.png"
author="Joe Neeman (spuzzzzzzz@gmail.com)"
......
......@@ -3,7 +3,7 @@
<Board
name="gnumch"
type="menu"
section="/algebra/gnumch"
section="/algebra"
icon="boardicons/gnumch.png"
author="">
<_title>Go to Number Munchers activities</_title>
......
......@@ -3,7 +3,7 @@
<Board
name="hanoi"
type="hanoi"
section="/boards/."
section="/boards"
icon="boardicons/hanoi.png"
difficulty="2"
author="Bruno Coudoin (bruno.coudoin@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="hexagon"
type="python:hexagon"
section="/experience/."
section="/experience"
difficulty="2"
icon="boardicons/hexagon.png"
author="Christof Petig and Ingo Konrad"
......
......@@ -3,7 +3,7 @@
<Board
name="imageid"
type="imageid"
section="/reading/."
section="/reading"
icon="boardicons/imageid.png"
difficulty="2"
author="Pascal Georges (pascal.georges1@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="imagename"
type="shapegame"
section="/reading/."
section="/reading"
icon="boardicons/imagename.png"
difficulty="3"
author="Bruno Coudoin (bruno.coudoin@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="leftright"
type="leftright"
section="/fun/."
section="/fun"
difficulty="1"
icon="boardicons/leftright.png"
author="Pascal Georges (pascal.georges1@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="maze"
type="maze"
section="/computer/maze/."
section="/computer/mazes"
mode="2D"
icon="boardicons/maze.png"
difficulty="2"
......
......@@ -3,7 +3,7 @@
<Board
name="maze2DRelative"
type="maze"
section="/computer/maze/."
section="/computer/mazes"
mode="2DR"
icon="boardicons/maze.png"
difficulty="3"
......
......@@ -3,7 +3,7 @@
<Board
name="maze3D"
type="maze"
section="/computer/maze/."
section="/computer/mazes"
mode="3D"
icon="boardicons/maze3D.png"
difficulty="2"
......
......@@ -3,7 +3,7 @@
<Board
name="mazeInvisible"
type="maze"
section="/computer/maze/."
section="/computer/mazes"
mode="2DI"
icon="boardicons/mazeInvisible.png"
difficulty="4"
......
<?xml version="1.0" encoding="UTF-8"?>
<GCompris>
<Board
name="mazeMenu"
name="mazes"
type="menu"
section="/computer/maze"
section="/computer"
icon="boardicons/maze3D.png"
author="">
<_title>Go to Maze activities</_title>
......
......@@ -3,7 +3,7 @@
<Board
name="melody"
type="python:melody"
section="/experience/."
section="/experience"
difficulty="2"
icon="boardicons/melody.png"
author="Jose JORGE (jjorge@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="memory"
type="memory"
section="/boards/."
section="/boards"
mode="image"
difficulty="1"
icon="boardicons/memory.png"
......
<?xml version="1.0" encoding="UTF-8"?>
<GCompris>
<Board
name="menu"
name="root"
type="menu"
section="/"
icon=""
......
......@@ -3,7 +3,7 @@
<Board
name="missing_letter"
type="missingletter"
section="/reading/."
section="/reading"
icon="boardicons/missing_letter.png"
difficulty="2"
author="Pascal Georges (pascal.georges1@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="money"
type="money"
section="/algebra/."
section="/algebra"
icon="boardicons/money.png"
difficulty="2"
author="Bruno Coudoin (bruno.coudoin@free.fr)"
......
......@@ -3,7 +3,7 @@
<Board
name="money_cents"
type="money"
section="/algebra/."
section="/algebra"
icon="boardicons/money_cents.png"
mode="WITH_CENTS"
difficulty="3"
......
......@@ -3,7 +3,7 @@
<Board
name="mouse"
type="menu"
section="/computer/mouse"
section="/computer"
icon="boardicons/mouse.png"
author="">
<_title>Mouse manipulation boards</_title>
......
......@@ -3,7 +3,7 @@
<Board
name="paintings"
type="shapegame"
section="/boards/."
section="/boards"
icon="boardicons/shapegame.png"
</