cog/Frameworks/SSEQPlayer/SSEQPlayer/SWAR.h

31 lines
654 B
C++

/*
* SSEQ Player - SDAT SWAR (Wave Archive) structures
* By Naram Qashat (CyberBotX) [cyberbotx@cyberbotx.com]
* Last modification on 2014-09-08
*
* Nintendo DS Nitro Composer (SDAT) Specification document found at
* http://www.feshrine.net/hacking/doc/nds-sdat.html
*/
#pragma once
#include <map>
#include <SSEQPlayer/SWAV.h>
#include <SSEQPlayer/INFOEntry.h>
#include <SSEQPlayer/common.h>
/*
* The size has been left out of this structure as it is unused by this player.
*/
struct SWAR
{
std::string filename;
std::map<uint32_t, SWAV> swavs;
INFOEntryWAVEARC info;
SWAR(const std::string &fn = "");
void Read(PseudoFile &file);
};