/*
 * SSEQ Player - SDAT SYMB (Symbol/Filename) Section structures
 * By Naram Qashat (CyberBotX) [cyberbotx@cyberbotx.com]
 * Last modification on 2014-10-25
 *
 * Nintendo DS Nitro Composer (SDAT) Specification document found at
 * http://www.feshrine.net/hacking/doc/nds-sdat.html
 */

#pragma once

#include <map>
#include "common.h"

struct SYMBRecord
{
	std::map<uint32_t, std::string> entries;

	SYMBRecord();

	void Read(PseudoFile &file, uint32_t startOffset);
};

/*
 * The size has been left out of this structure as it is unused by this player.
 */
struct SYMBSection
{
	SYMBRecord SEQrecord;
	SYMBRecord BANKrecord;
	SYMBRecord WAVEARCrecord;
	SYMBRecord PLAYERrecord;

	SYMBSection();

	void Read(PseudoFile &file);
};
