-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathconfig.js
56 lines (47 loc) · 1.33 KB
/
config.js
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
/*
* NULL Engine
*
* Configuration File
*
* @module core/config
* @author kod.connect
*/
var cfg = {
iwad : '_doom.wad',
pwad : '',
screenmode : '1024x768',
fullscreen : 0,
playerHeight : 45,
musicvolume : 0.01,
noclip : 0,
gl_light : 0,
nomonsters : 1,
bind: {
38 : '+forward', // uparrow
87 : '+forward', // w
37 : '+left', // leftarrow
65 : '+left', // a
40 : '+back', // downarrow
83 : '+back', // s
39 : '+right', // right
68 : '+right', // d
187 : 'zoomin', // desktop
189 : 'zoomout',
61 : 'zoomin', // laptop
173 : 'zoomout',
69 : '+use', // e
32 : '+use', // space
67 : 'noclip', // c
49 : 'slot1', // 1
50 : 'slot2', // 2
51 : 'slot3', // 3
52 : 'slot4', // 4
53 : 'slot5', // 5
54 : 'slot6', // 6
55 : 'slot7', // 7
56 : 'slot8', // 8
57 : 'slot9', // 9
58 : 'slot0', // 0
mouse1 : '+attack'
}
};