ktron.kcfg 2.76 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2 3 4 5
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
      http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
6 7
  <kcfgfile name="ktronrc"/>
  <group name="Game">
8 9
    <entry name="Color_Background" type="Color">
      <label>The background color of the game.</label>
10 11
      <default>black</default>
    </entry>
12 13
    <entry name="Color_Player1" type="Color">
      <label>The color of player 1</label>
14 15
      <default>red</default>
    </entry>
16 17
    <entry name="Color_Player2" type="Color">
      <label>The color of player 2</label>
18 19
      <default>blue</default>
    </entry>
20 21
    <entry name="ChangeWinnerColor" type="Bool">
      <label>Whether to show the winner by changing color.</label>
22 23
      <default>true</default>
    </entry>
24 25
    <entry name="AcceleratorBlocked" type="Bool">
      <label>Whether to disable acceleration.</label>
26 27
      <default>false</default>
    </entry>
28 29
    <entry name="OppositeDirCrashes" type="Bool">
      <label>Whether changing in the opposite direction causes a crash.</label>
30 31
      <default>false</default>
    </entry>
32 33
    <entry name="RectSize" type="Int">
      <label>The width of the line.</label>
34 35
      <default>10</default>
    </entry>
36 37
    <entry name="Velocity" type="Int">
      <label>The speed of the line.</label>
38 39 40 41
      <default>5</default>
    </entry>

    <entry name="Skill" type="Enum">
42
      <label>The skill of the computer player.</label>
Waldo Bastian's avatar
Waldo Bastian committed
43
      <choices>
44 45 46
        <choice name="Easy"/>
        <choice name="Medium"/>
        <choice name="Hard"/>
Waldo Bastian's avatar
Waldo Bastian committed
47
      </choices>
Benjamin Meyer's avatar
Benjamin Meyer committed
48
      <default>Medium</default> 
49 50
    </entry>
    <entry name="Style" type="Enum">
51
      <label>The line style.</label>
Waldo Bastian's avatar
Waldo Bastian committed
52
      <choices>
53 54 55 56
        <choice name="OLine"/>
        <choice name="ORect"/>
        <choice name="Line"/>
        <choice name="Circle"/>
Waldo Bastian's avatar
Waldo Bastian committed
57
      </choices>
Benjamin Meyer's avatar
Benjamin Meyer committed
58
      <default>OLine</default>
59 60
    </entry>
    
61 62
    <entry name="BackgroundImageChoice" type="Bool">
      <label>Whether to use a custom background image.</label>
63 64 65
      <default>false</default>
    </entry>
    <entry name="BackgroundImage" type="Path">
66
      <label>Custom background image to use.</label>
67 68
    </entry>

69 70
    <entry name="Computerplayer1" type="Bool">
      <label>Whether player 1 is a computer player.</label>
71 72
      <default>true</default>
    </entry>
73 74
    <entry name="Computerplayer2" type="Bool">
      <label>Whether player 2 is a computer player.</label>
75 76
      <default>false</default>
    </entry>
77 78
    <entry name="NamePlayer1" type="String" key="Name_Pl1">
      <label>The name of player 1.</label>
79
    </entry>
80 81
    <entry name="NamePlayer2" type="String" key="Name_Pl2">
      <label>The name of player 2.</label>
82 83
    </entry>
  </group>
84
</kcfg>