Cog/Frameworks/SSEQPlayer/SSEQPlayer/SDAT.h

31 lines
627 B
C++

/*
* SSEQ Player - SDAT structure
* By Naram Qashat (CyberBotX) [cyberbotx@cyberbotx.com]
* Last modification on 2013-03-30
*
* Nintendo DS Nitro Composer (SDAT) Specification document found at
* http://www.feshrine.net/hacking/doc/nds-sdat.html
*/
#ifndef SSEQPLAYER_SDAT_H
#define SSEQPLAYER_SDAT_H
#include <memory>
#include "SSEQ.h"
#include "SBNK.h"
#include "SWAR.h"
#include "common.h"
struct SDAT
{
std::unique_ptr<SSEQ> sseq;
std::unique_ptr<SBNK> sbnk;
std::unique_ptr<SWAR> swar[4];
SDAT(PseudoFile &file, uint32_t sseqToLoad);
private:
SDAT(const SDAT &);
SDAT &operator=(const SDAT &);
};
#endif