summaryrefslogtreecommitdiffstats
path: root/cwd/assets/altcraft/ui/options.rml
blob: 485dcba481a8851502e3cfa583fa616959ba0721 (plain) (blame)
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
<rml>
    <head>
        <link type="text/rcss" href="mc-styles" />
        <link type="text/rcss" href="options-styles" />
        <script src="/altcraft/scripts/ui"></script>
        <title>Options</title>
    </head>
    <body class="body-options">
        <form>
            <div class="option">
                <label>Brightness</label>
                <input type="range" min="0.0" max="1.0" step="0.01" id="brightness" />
                <span id="brightness-val"></span>
            </div>

            <div class="option">
                <label>Flight</label>
                <input type="checkbox" id="flight" />
                <span id="flight-val"></span>
            </div>
            
            <div class="option">
                <label>Mouse sensetivity</label>
                <input type="range" min="0.05" max="0.8" step="0.01" id="mouseSensetivity" />
                <span id="mouseSensetivity-val"></span>
            </div>

            <div class="option">
                <label>Render distance</label>
                <input type="range" min="2" max="16" step="1" id="renderDistance" />
                <span id="renderDistance-val"></span>
            </div>
            
            <div class="option">
                <label>Resolution scale</label>
                <input type="range" min="0.1" max="4.0" step="0.05" id="resolutionScale" />
                <span id="resolutionScale-val"></span>
            </div>
            
            <div class="option">
                <label>Fps limit</label>
                <input type="range" min="15" max="301" step="1" id="targetFps" />
                <span id="targetFps-val"></span>
            </div>
            
            <div class="option">
                <label>VSync</label>
                <input type="checkbox" id="vsync" />
                <span id="vsync-val"></span>
            </div>
            
            <div class="option">
                <label>Wireframe rendering</label>
                <input type="checkbox" id="wireframe" />
                <span id="wireframe-val"></span>
            </div>
            
        </form>
        <button class="mc-button" id="done" onclick="CloseOptions(document)">Done</button>
    </body>
</rml>