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
7
typedef
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
14
typedef
struct
ImgFXAnimHeader
{
15
/* 0x00 */
ImgFXVtx
*
keyframesOffset
;
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_ */
ImgFXVtx::tc
u8 tc[2]
Definition
imgfx.h:9
ImgFXVtx::ob
s16 ob[3]
Definition
imgfx.h:8
ImgFXAnimHeader::keyframesCount
u16 keyframesCount
Definition
imgfx.h:19
ImgFXAnimHeader::keyframesOffset
ImgFXVtx * keyframesOffset
Definition
imgfx.h:15
ImgFXVtx::cn
s8 cn[3]
Definition
imgfx.h:10
ImgFXAnimHeader::vtxCount
u16 vtxCount
Definition
imgfx.h:17
ImgFXAnimHeader::gfxCount
u16 gfxCount
Definition
imgfx.h:18
ImgFXVtx::unk_0B
char unk_0B
Definition
imgfx.h:11
ImgFXAnimHeader::gfxOffset
Gfx * gfxOffset
Definition
imgfx.h:16
ImgFXAnimHeader::flags
u16 flags
Definition
imgfx.h:20
ImgFXAnimHeader
Definition
imgfx.h:14
ImgFXVtx
Definition
imgfx.h:7
include
imgfx.h
Generated by
1.10.0