Etterna 0.74.4
Loading...
Searching...
No Matches
Functions
DWILoader Namespace Reference

The DWILoader handles parsing the .dwi file. More...

Functions

void GetApplicableFiles (const std::string &sPath, std::vector< std::string > &out)
 Retrieve the list of .dwi files.
 
bool LoadFromDir (const std::string &sPath, Song &out, std::set< std::string > &BlacklistedImages)
 Attempt to load a song from a specified path.
 
bool LoadNoteDataFromSimfile (const std::string &path, Steps &out)
 

Detailed Description

The DWILoader handles parsing the .dwi file.

Function Documentation

◆ GetApplicableFiles()

void DWILoader::GetApplicableFiles ( const std::string &  sPath,
std::vector< std::string > &  out 
)

Retrieve the list of .dwi files.

Parameters
sPatha const reference to the path on the hard drive to check.
outa vector of files found in the path.

◆ LoadFromDir()

bool DWILoader::LoadFromDir ( const std::string &  sPath,
Song out,
std::set< std::string > &  BlacklistedImages 
)

Attempt to load a song from a specified path.

Parameters
sPatha const reference to the path on the hard drive to check.
outa reference to the Song that will retrieve the song information.
BlacklistedImagesa set of images that aren't used.
Returns
its success or failure.