put timingPoints and hitObjects into sections

This commit is contained in:
jacekpoz 2024-04-21 10:39:43 +02:00
parent 3d847e9da2
commit 05ce1f309b
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -161,15 +161,18 @@ CONFIG(Difficulty,
VAR_FLOAT(.difficulty, sliderMultiplier)
VAR_FLOAT(.difficulty, sliderTickRate)
)
VAR_LIST(, timingPoints, TimingPoint)
SECTION(timingPoints,
VAR_LIST(.timingPoints, timingPoints, TimingPoint)
)
SECTION(colours,
VAR_LIST_NUMBERED(.colours, combo, sf::Color)
VAR_COLOUR(.colours, sliderTrackOverride)
VAR_COLOUR(.colours, sliderBorder)
)
VAR_LIST(, hitObjects, HitObject)
SECTION(hitObjects,
VAR_LIST(.hitObjects, hitObjects, HitObject)
)
)
STRUCT_OUTPUT_STREAM_OP(Difficulty,
formatVersion,