mirror of
https://github.com/pret/pokeheartgold.git
synced 2026-05-13 06:27:10 -05:00
57 lines
2.1 KiB
C
57 lines
2.1 KiB
C
#ifndef POKEHEARTGOLD_UNK_02009D48_H
|
|
#define POKEHEARTGOLD_UNK_02009D48_H
|
|
|
|
#include "unk_0200A090.h"
|
|
|
|
typedef struct SpriteResourcesHeader {
|
|
const NNSG2dImageProxy* imageProxy;
|
|
const NNSG2dCharacterData* charData;
|
|
const NNSG2dImagePaletteProxy* plttProxy;
|
|
NNSG2dCellDataBank* cellData;
|
|
const NNSG2dCellAnimBankData* cellAnim;
|
|
const NNSG2dMultiCellDataBank* multiCellData;
|
|
const NNSG2dMultiCellAnimBankData* multiCellAnim;
|
|
int flag;
|
|
u8 priority;
|
|
} SpriteResourcesHeader;
|
|
|
|
typedef struct ListOfUnkStruct_02009D48 {
|
|
SpriteResourcesHeader *headers;
|
|
int num;
|
|
} ListOfUnkStruct_02009D48;
|
|
|
|
struct UnkStruct_02009E84 {
|
|
u32 charId;
|
|
u32 plttId;
|
|
u32 cellId;
|
|
u32 animId;
|
|
u32 mcelId;
|
|
u32 manmId;
|
|
u32 xferFlag;
|
|
u32 priority;
|
|
};
|
|
|
|
typedef struct SpriteList SpriteList;
|
|
|
|
typedef struct GF_G2dRenderer {
|
|
NNSG2dRendererInstance rendererInstance;
|
|
NNSG2dRenderSurface renderSurface[2];
|
|
} GF_G2dRenderer;
|
|
|
|
struct SpriteListParam {
|
|
int unk_0;
|
|
NNSG2dRendererInstance *rendererInstance;
|
|
HeapID heapId;
|
|
};
|
|
|
|
void CreateSpriteResourcesHeader(SpriteResourcesHeader *hdr, int charId, int plttId, int cellId, int cellAnmId, int multiCellId, int multiCellAnmId, int transfer, int priority, struct _2DGfxResMan *charMan, struct _2DGfxResMan *plttMan, struct _2DGfxResMan *cellMan, struct _2DGfxResMan *cellAnmMan, struct _2DGfxResMan *multiCellMan, struct _2DGfxResMan *multiCellAnmMan);
|
|
ListOfUnkStruct_02009D48 *sub_02009E84(const struct UnkStruct_02009E84 *a0, HeapID heapId, struct _2DGfxResMan *charMan, struct _2DGfxResMan *plttMan, struct _2DGfxResMan *cellMan, struct _2DGfxResMan *animMan, struct _2DGfxResMan *mcelMan, struct _2DGfxResMan *manmMan);
|
|
void sub_02009F24(ListOfUnkStruct_02009D48 *list);
|
|
SpriteList *G2dRenderer_Init(int a0, GF_G2dRenderer *a1, HeapID heapId);
|
|
void G2dRenderer_SetMainSurfaceCoords(GF_G2dRenderer *a0, fx32 x, fx32 y);
|
|
void G2dRenderer_SetSubSurfaceCoords(GF_G2dRenderer *a0, fx32 x, fx32 y);
|
|
void sub_02009FE8(u32 a0, GXOBJVRamModeChar mode);
|
|
void sub_0200A080(u32 a0);
|
|
|
|
#endif //POKEHEARTGOLD_UNK_02009D48_H
|