-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.lua
35 lines (29 loc) · 878 Bytes
/
config.lua
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
-->8
-- configuration options
-- shadow
function turn_on_shadow()
display_shadow = true
menuitem(1, "hide shadow", turn_off_shadow)
end
function turn_off_shadow()
display_shadow = false
menuitem(1, "show shadow", turn_on_shadow)
end
-- inverse rotation buttons (for mobile players)
function standard_rotation_mode()
swap_rotation_buttons = false
menuitem(2, "inverse rotation", inverse_rotation_mode)
end
function inverse_rotation_mode()
swap_rotation_buttons = true
menuitem(2, "normal rotation", standard_rotation_mode)
end
-- millisecond display (for speedrunners)
function turn_on_millisecond_display()
display_milliseconds = true
menuitem(3, "hide millis", turn_off_millisecond_display)
end
function turn_off_millisecond_display()
display_milliseconds = false
menuitem(3, "show millis", turn_on_millisecond_display)
end