/*--------------------------------------------------------------------------
  Project:  Manual 2D Library - m2d
  File:     resG2dLoader.h

  Copyright (C)2007-2009 Nintendo  All Rights Reserved.

  These coded instructions, statements, and computer programs contain
  proprietary information of Nintendo of America Inc. and/or Nintendo
  Company Ltd., and are protected by Federal copyright law.  They may
  not be disclosed to third parties or copied or duplicated in any form,
  in whole or in part, without the prior written consent of Nintendo.

  $Revision: 1758 $
 *-------------------------------------------------------------------------*/

#ifndef NTMV_M2D_RESG2DLOADER_H_
#define NTMV_M2D_RESG2DLOADER_H_

#if defined(__CWCC__)
#pragma once
#endif

#include <nitro.h>
#include <nnsys/fnd.h>
#include <nnsys/g2d/g2d_MultiCellAnimation.h>

struct NNSG2dCellDataBank;
struct NNSG2dAnimBankData;
struct NNSG2dMultiCellDataBank;
struct NNSG2dCharacterData;
struct NNSG2dPaletteData;
struct NNSG2dEntityDataBank;
struct NNSG2dCharacterData;
struct NNSG2dScreenData;

namespace ntmv
{
namespace m2d
{
namespace detail
{

void*   LoadNCER(NNSG2dCellDataBank**           ppCellBank,   const char* fileName/* , NNSFndAllocator* pAllocator */);
void*   LoadNANR(NNSG2dAnimBankData**           ppAnimBank,   const char* fileName/* , NNSFndAllocator* pAllocator */);
void*   LoadNMCR(NNSG2dMultiCellDataBank**      ppMCBank,     const char* fileName/* , NNSFndAllocator* pAllocator */);
void*   LoadNMAR(NNSG2dMultiCellAnimBankData**  ppMCABank,    const char* fileName/* , NNSFndAllocator* pAllocator */);
void*   LoadNCGR(NNSG2dCharacterData**          ppCharData,   const char* fileName/* , NNSFndAllocator* pAllocator */);
void*   LoadNCLR(NNSG2dPaletteData**            ppPltData,    const char* fileName/* , NNSFndAllocator* pAllocator */);
void*   LoadNENR(NNSG2dEntityDataBank**         ppEntityBank, const char* fileName/* , NNSFndAllocator* pAllocator */);
void*   LoadNCBR(NNSG2dCharacterData**          ppCharData,   const char* fileName/* , NNSFndAllocator* pAllocator */);
void*   LoadNSCR(NNSG2dScreenData**             ppScreenData, const char* fileName/* , NNSFndAllocator* pAllocator */);

void*   LoadNCGREx(
            NNSG2dCharacterData**       ppCharData,
            NNSG2dCharacterPosInfo**    ppCharPosInfo,
            const char*                 fileName
       /* , NNSFndAllocator*            pAllocator */);

}   // namespace detail
}   // namespace m2d
}   // namespace ntmv

/* NTMV_M2D_RESG2DLOADER_H_ */
#endif
