29 lines
624 B
C++
29 lines
624 B
C++
/*
|
|
* SSEQ Player - SDAT structure
|
|
* 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 <memory>
|
|
#include <SSEQPlayer/SSEQ.h>
|
|
#include <SSEQPlayer/SBNK.h>
|
|
#include <SSEQPlayer/SWAR.h>
|
|
#include <SSEQPlayer/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 &);
|
|
};
|