summaryrefslogtreecommitdiffstats
path: root/ktron/ktron.kcfg
blob: d46c2a768e2dc2fa21396be34435ec81eb02b86f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?xml version="1.0" encoding="UTF-8"?>
<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" >
  <kcfgfile name="ktronrc"/>
  <group name="Game">
    <entry name="Color_Background" type="Color">
      <label>The background color of the game.</label>
      <default>black</default>
    </entry>
    <entry name="Color_Player1" type="Color">
      <label>The color of player 1</label>
      <default>red</default>
    </entry>
    <entry name="Color_Player2" type="Color">
      <label>The color of player 2</label>
      <default>blue</default>
    </entry>
    <entry name="ChangeWinnerColor" type="Bool">
      <label>Whether to show the winner by changing color.</label>
      <default>true</default>
    </entry>
    <entry name="AcceleratorBlocked" type="Bool">
      <label>Whether to disable acceleration.</label>
      <default>false</default>
    </entry>
    <entry name="OppositeDirCrashes" type="Bool">
      <label>Whether changing in the opposite direction causes a crash.</label>
      <default>false</default>
    </entry>
    <entry name="RectSize" type="Int">
      <label>The width of the line.</label>
      <default>10</default>
    </entry>
    <entry name="Velocity" type="Int">
      <label>The speed of the line.</label>
      <default>5</default>
    </entry>

    <entry name="Skill" type="Enum">
      <label>The skill of the computer player.</label>
      <choices>
        <choice name="Easy"/>
        <choice name="Medium"/>
        <choice name="Hard"/>
      </choices>
      <default>Medium</default> 
    </entry>
    <entry name="Style" type="Enum">
      <label>The line style.</label>
      <choices>
        <choice name="OLine"/>
        <choice name="ORect"/>
        <choice name="Line"/>
        <choice name="Circle"/>
      </choices>
      <default>OLine</default>
    </entry>
    
    <entry name="BackgroundImageChoice" type="Bool">
      <label>Whether to use a custom background image.</label>
      <default>false</default>
    </entry>
    <entry name="BackgroundImage" type="Path">
      <label>Custom background image to use.</label>
    </entry>

    <entry name="Computerplayer1" type="Bool">
      <label>Whether player 1 is a computer player.</label>
      <default>true</default>
    </entry>
    <entry name="Computerplayer2" type="Bool">
      <label>Whether player 2 is a computer player.</label>
      <default>false</default>
    </entry>
    <entry name="NamePlayer1" type="String" key="Name_Pl1">
      <label>The name of player 1.</label>
    </entry>
    <entry name="NamePlayer2" type="String" key="Name_Pl2">
      <label>The name of player 2.</label>
    </entry>
  </group>
</kcfg>