MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / MusicLoader

Method MusicLoader

src/Loaders/music_loader.cpp:49–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49MusicLoader::MusicLoader(const std::string &song_base_path) {
50 boost::filesystem::path p(song_base_path);
51 std::string song_name = p.filename().string();
52 stringstream mus_path, map_path;
53
54 LOG(INFO) << "Loading Song " << song_name << " from " << song_base_path;
55
56 mus_path << song_base_path << ".mus";
57 map_path << song_base_path << ".map";
58
59 ParseMAP(map_path.str(), mus_path.str());
60}
61
62uint32_t MusicLoader::ReadBytes(FILE *file, uint8_t count) {
63 uint8_t i, byte;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected