Etterna 0.74.4
Loading...
Searching...
No Matches
NotesLoaderSMA.h
1#ifndef NOTES_LOADER_SMA_H
2#define NOTES_LOADER_SMA_H
3
4#include "Etterna/Models/Misc/BackgroundUtil.h"
5#include "NotesLoaderSM.h"
6
7class MsdFile;
8class Song;
9class Steps;
10class TimingData;
11
13struct SMALoader : public SMLoader
14{
15 SMALoader()
16 : SMLoader(".sma")
17 {
18 }
19
20 bool LoadFromSimfile(const std::string& sPath,
21 Song& out,
22 bool bFromCache = false) override;
23
24 void ProcessBeatsPerMeasure(TimingData& out, const std::string& sParam);
25 void ProcessMultipliers(TimingData& out,
26 int iRowsPerBeat,
27 const std::string& sParam);
33 void ProcessSpeeds(TimingData& out,
34 const std::string& line,
35 int rowsPerBeat) override;
36};
37
38#endif
The class that reads the various .SSC, .SM, .SMA, .DWI, and .MSD files.
Definition MsdFile.h:10
Holds all music metadata and steps for one song.
Definition Song.h:65
Holds note information for a Song.
Definition Steps.h:42
Holds data for translating beats<->seconds.
Definition TimingData.h:54
Reads a Song from a .SMA file.
Definition NotesLoaderSMA.h:14
bool LoadFromSimfile(const std::string &sPath, Song &out, bool bFromCache=false) override
Attempt to load the specified sm file.
Definition NotesLoaderSMA.cpp:152
void ProcessSpeeds(TimingData &out, const std::string &line, int rowsPerBeat) override
Process the Speed Segments from the string.
Definition NotesLoaderSMA.cpp:86
Reads a Song from an .SM file.
Definition NotesLoaderSM.h:24