aboutsummaryrefslogtreecommitdiffstats
path: root/SMFileSchema.lua
blob: 45cbe7b63dc4b0158905e463edc013b5ea87719c (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
SMFileSchema = {}

SMFileSchema.FileSchema = {
	title = "",
	subtitle = "",
	artist = "",
	titletranslit = "",
	subtitletranslit = "",
	artisttranslit = "",
	credit = "",
	banner = "",
	background = "",
	cdtitle = "",
	music = "",
	offset = 0,
	samplestart = 0,
	samplelength = 0,
	selectable = "",
	bpms = {},
	displaybpm = {},
	stops = {},
	bgchanges = {},

	notes =
	{
		{
			{"notesType", ""},
			{"description", ""},
			{"difficultyClass", ""},
			{"difficultyMeter", 1},
			{"radarValues", ""},
			{"noteData", {}}
		}
	}
}

SMFileSchema.NotesInfos = Utils.tuple2ToIndexHash(SMFileSchema.FileSchema["notes"][1])

SMFileSchema.NotesType = {}
SMFileSchema.NotesType["dance-single"] = 4
SMFileSchema.NotesType["dance-double"] = 8
SMFileSchema.NotesType["dance-couple"] = 8
SMFileSchema.NotesType["dance-solo"] = 6
SMFileSchema.NotesType["pump-single"] = 5
SMFileSchema.NotesType["pump-double"] = 10
SMFileSchema.NotesType["pump-couple"] = 10
SMFileSchema.NotesType["ez2-single"] = 5
SMFileSchema.NotesType["ez2-double"] = 10
SMFileSchema.NotesType["ez2-real"] = 7
SMFileSchema.NotesType["para-single"] = 5

return SMFileSchema