ax position sets struct

This commit is contained in:
DizzyEggg
2025-06-30 21:10:11 +02:00
parent 2446490760
commit 86ee264361
7 changed files with 103 additions and 100 deletions

View File

@@ -6,11 +6,11 @@
#include "structs/str_position.h"
// size: 0x8
typedef struct UnkSpriteMem
typedef struct ax_sprite
{
/* 0x0 */ void *src;
/* 0x0 */ const void *gfx;
/* 0x4 */ s32 byteCount;
} UnkSpriteMem;
} ax_sprite;
// size: 0x20
typedef struct axdata1
@@ -55,6 +55,13 @@ typedef struct ax_anim
/* 0x8 */ DungeonPos shadow;
} ax_anim;
#define AX_POSITION_SETS_COUNT 4
struct PositionSets
{
DungeonPos set[AX_POSITION_SETS_COUNT];
};
// size: 0x3C
typedef struct axdata
{
@@ -65,9 +72,9 @@ typedef struct axdata
/* 0x8 */ axdata1 sub1;
/* 0x28 */ ax_anim *nextAnimData; // next animation data (if flags&0x1000)
/* 0x2C */ ax_anim *activeAnimData; // current animation data
/* 0x30 */ DungeonPos *positions;
/* 0x30 */ struct PositionSets *positions;
/* 0x34 */ ax_pose **poseData;
/* 0x38 */ UnkSpriteMem **spriteData;
/* 0x38 */ ax_sprite **spriteData;
} axdata;
// size: 0x14
@@ -76,8 +83,8 @@ typedef struct axmain
/* 0x0 */ ax_pose **poses;
/* 0x4 */ ax_anim ***animations;
/* 0x8 */ u32 animCount;
/* 0xC */ UnkSpriteMem **spriteData;
/* 0x10 */ DungeonPos *positions;
/* 0xC */ ax_sprite **spriteData;
/* 0x10 */ struct PositionSets *positions;
} axmain;
// size: 0x4C