add back struct and enum defines into osuparser.cpp

This commit is contained in:
jacekpoz 2024-04-18 20:34:54 +02:00
parent 48a9905449
commit af4a1bacf2
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -132,6 +132,7 @@ inline void toLower(std::string &str) {
sf::Color value(colours[0], colours[1], colours[2]);\
)
#define ENUM(name, ...)
#define VAR_ENUM(section, name, enum_type) \
VAR_GENERIC(section, name,\
std::string val = checkAndRemove(line, namePascalCased);\
@ -147,6 +148,7 @@ inline void toLower(std::string &str) {
value << ss;\
)
#define STRUCT(name, ...)
#define VAR_STRUCT(section, name, struct_type) \
VAR_GENERIC(section, name,\
std::string val = checkAndRemove(line, namePascalCased);\