mirror of
https://github.com/pret/pokeheartgold.git
synced 2026-06-02 21:54:45 -05:00
Huge credits to @YohannDR for helping me figure out BattleSystem_SetBackground Co-Authored-By: YohannDR <81297939+yohanndr@users.noreply.github.com>
78 lines
1.9 KiB
C
78 lines
1.9 KiB
C
#ifndef POKEHEARTGOLD_UNK_02023694_H
|
|
#define POKEHEARTGOLD_UNK_02023694_H
|
|
|
|
#include "unk_02009D48.h"
|
|
|
|
typedef struct Sprite Sprite;
|
|
|
|
typedef struct SpriteTemplate {
|
|
void *spriteList;
|
|
const struct SpriteResourcesHeader *header;
|
|
VecFx32 position;
|
|
VecFx32 scale;
|
|
u16 rotation;
|
|
u32 priority;
|
|
int whichScreen;
|
|
HeapID heapId;
|
|
} SpriteTemplate;
|
|
|
|
typedef struct Unk122_021E7F64 {
|
|
u8 unk0[0x10];
|
|
int unk10;
|
|
} Unk122_021E7F64;
|
|
|
|
typedef struct UnkImageSubstruct {
|
|
VecFx32 matrix;
|
|
VecFx32 affineMatrix;
|
|
VecFx32 scale;
|
|
u16 rotation;
|
|
u8 affine;
|
|
u8 flip;
|
|
u8 overwrite;
|
|
u8 palIndex;
|
|
u8 palOffset;
|
|
BOOL mosaic;
|
|
GXOamMode mode;
|
|
u8 drawFlag;
|
|
u8 animationFrame;
|
|
fx32 frame;
|
|
void *unkPtr;
|
|
u32 animationData[29];
|
|
NNSG2dImageProxy imageProxy;
|
|
NNSG2dImagePaletteProxy paletteProxy;
|
|
u32 flag;
|
|
u16 animationNo;
|
|
u8 priority;
|
|
u16 drawPriority;
|
|
NNS_G2D_VRAM_TYPE type;
|
|
struct UnkImageSubstruct *prev;
|
|
struct UnkImageSubstruct *next;
|
|
} UnkImageSubstruct;
|
|
|
|
typedef struct UnkImageStruct {
|
|
UnkImageSubstruct *unk0;
|
|
void *unk4;
|
|
void *unk8;
|
|
int vramTransfer;
|
|
} UnkImageStruct;
|
|
|
|
void sub_02024AA8(void *, s32);
|
|
void sub_02024504(SpriteList *);
|
|
void sub_0202457C(SpriteList *);
|
|
void Sprite_Delete(Sprite *);
|
|
int sub_02024B68(Sprite *);
|
|
struct Sprite *CreateSprite(const struct SpriteTemplate *template);
|
|
void Set2dSpriteAnimActiveFlag(Sprite *, int);
|
|
void Set2dSpriteAnimSeqNo(Sprite *, int);
|
|
void Set2dSpriteVisibleFlag(Sprite *, int);
|
|
SpriteList *SpriteList_Create(struct SpriteListParam *param);
|
|
Unk122_021E7F64 *sub_02024CB8(void *a0);
|
|
void sub_020247D4(Sprite *, VecFx32 *);
|
|
VecFx32 *sub_020248AC(Sprite *);
|
|
void sub_02024868(Sprite *, int);
|
|
void sub_02024950(Sprite *, int);
|
|
void sub_02023EA4(Sprite *, int);
|
|
NNSG2dImageProxy *sub_02024B1C(UnkImageSubstruct *);
|
|
|
|
#endif //POKEHEARTGOLD_UNK_02023694_H
|