From 05ce1f309b114b9f695f83106d3fb8d7f638dd3b Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Sun, 21 Apr 2024 10:39:43 +0200 Subject: [PATCH] put timingPoints and hitObjects into sections --- include/config_def.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/config_def.hpp b/include/config_def.hpp index 5ceaf0b..03d376d 100644 --- a/include/config_def.hpp +++ b/include/config_def.hpp @@ -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,