Etterna 0.74.4
Loading...
Searching...
No Matches
NotesWriterSSC.h
1#ifndef NOTES_WRITER_SSC_H
2#define NOTES_WRITER_SSC_H
3
4#include "Etterna/Models/StepsAndStyles/Steps.h"
5
6class Song;
7class Steps;
9namespace NotesWriterSSC {
17bool
18Write(std::string& sPath,
19 const Song& out,
20 const std::vector<Steps*>& vpStepsToSave,
21 bool bSavingCache);
28void
29GetEditFileContents(const Song* pSong, const Steps* pSteps, std::string& sOut);
35std::string
36GetEditFileName(const Song* pSong, const Steps* pSteps);
43bool
45 Steps* pSteps,
46 std::string& sErrorOut);
47std::string
48MSDToString(const std::vector<std::vector<float>>& x);
49
50std::string
51MSDsAtRateToString(const std::vector<float>& x);
52}
53
54#endif
Holds all music metadata and steps for one song.
Definition Song.h:65
Holds note information for a Song.
Definition Steps.h:42
Writes a Song to an .SSC file.
Definition NotesWriterSSC.h:9
void GetEditFileContents(const Song *pSong, const Steps *pSteps, std::string &sOut)
Get some contents about the edit file first.
Definition NotesWriterSSC.cpp:541
bool Write(std::string &sPath, const Song &out, const std::vector< Steps * > &vpStepsToSave, bool bSavingCache)
Write the song out to a file.
Definition NotesWriterSSC.cpp:488
bool WriteEditFileToMachine(const Song *pSong, Steps *pSteps, std::string &sErrorOut)
Write the edit file to the machine for future use.
std::string GetEditFileName(const Song *pSong, const Steps *pSteps)
Get the name of the edit file to use.
Definition NotesWriterSSC.cpp:558