Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
imgfx.h
Go to the documentation of this file.
1#ifndef _IMGFX_H_
2#define _IMGFX_H_
3
4#include "PR/gbi.h"
5
6// 'compressed' vertex data for animated image fx keyframes
7typedef struct ImgFXVtx {
8 /* 0x00 */ s16 ob[3];
9 /* 0x06 */ u8 tc[2];
10 /* 0x08 */ s8 cn[3];
11 /* 0x0B */ char unk_0B;
12} ImgFXVtx; // size = 0x0C
13
14typedef struct ImgFXAnimHeader {
16 /* 0x04 */ Gfx* gfxOffset; // Gfx for creating mesh from vertices
17 /* 0x08 */ u16 vtxCount; // conserved across keyframes
18 /* 0x0A */ u16 gfxCount;
19 /* 0x0C */ u16 keyframesCount;
20 /* 0x0E */ u16 flags;
21} ImgFXAnimHeader; // size = 0x10
22
23#endif /* _IMGFX_H_ */
u8 tc[2]
Definition imgfx.h:9
s16 ob[3]
Definition imgfx.h:8
u16 keyframesCount
Definition imgfx.h:19
ImgFXVtx * keyframesOffset
Definition imgfx.h:15
s8 cn[3]
Definition imgfx.h:10
char unk_0B
Definition imgfx.h:11
Gfx * gfxOffset
Definition imgfx.h:16