-
Notifications
You must be signed in to change notification settings - Fork 0
/
nbtypes.tl
74 lines (64 loc) · 1.09 KB
/
nbtypes.tl
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
global type Settings = record
volume: number
firstRun: boolean
level: integer
pause_time: number
dim: integer
end
global type Date = record
year : number
month : number
day : number
hour : number
min : number
sec : number
wday : number
yday : number
isdst : boolean
end
global type Signals = record
enum Forms
"trup"
"trdown"
"trupdown"
"quad"
"circle"
"rhombus"
end
record Pos
x: integer
y: integer
end
enum EqKeys
"color"
"form"
"pos"
"sound"
end
record Eq
color: {boolean}
form: {boolean}
pos: {boolean}
sound: {boolean}
end
color: {string}
form: {Forms}
pos: {Pos}
--sounds: {number}
sound: {integer}
eq: Eq
end
global type Percentage = record
sound: number
color: number
form: number
pos: number
common: number
end
global record History
date: Date
signals: Signals
pressed: Signals.Eq
level: integer
pause_time: number
end