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