Added a #GROOVESTATSHASHVERSION tag and CURRENT_GROOVE_STATS_HASH_VERSION constant

This commit is contained in:
Michael Votaw
2025-03-23 01:26:45 -07:00
committed by teejusb
parent c845205de5
commit 3eab66808b
4 changed files with 40 additions and 2 deletions
+5
View File
@@ -470,8 +470,13 @@ static RString GetSSCNoteData( const Song &song, const Steps &in, bool bSavingCa
RString GrooveStatsHash = in.GetGrooveStatsHash();
lines.push_back(ssprintf("#GROOVESTATSHASH:%s;", GrooveStatsHash.c_str()));
int GrooveStatsHashVersion = in.GetGrooveStatsHashVersion();
lines.push_back(ssprintf("#GROOVESTATSHASHVERSION:%d;", GrooveStatsHashVersion));
// NOTE(MV): #STEPFILENAME has to be at the end of the cache tags,
// MV: #STEPFILENAME has to be at the end of the cache tags,
// because it's used in SSCLoader::LoadFromSimfile to determine when
// to switch the state back to GETTING_SONG_INFO, which means any tags
// after it will be ignored.