mirror of
https://github.com/zeldaret/tp
synced 2026-06-03 18:36:40 -04:00
1114b13da8
* d_a_alldie / d_a_tboxSw / d_a_tag_gstart / d_a_tag_hstop * dolphin OS work / cleanup * dolphin GX work / cleanup * finish changing dolphin files to C * more files into C * match rest of MSL_C math functions * more dolphin files converted to C * remove asm * d_bg_w work * remove asm * d_a_alink work / kytag14
40 lines
1.0 KiB
C
40 lines
1.0 KiB
C
#ifndef GXATTR_H
|
|
#define GXATTR_H
|
|
|
|
#include "dolphin/gx/GXEnum.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct _GXVtxDescList {
|
|
/* 0x0 */ GXAttr attr;
|
|
/* 0x4 */ GXAttrType type;
|
|
} GXVtxDescList; // Size: 0x08
|
|
|
|
typedef struct _GXVtxAttrFmtList {
|
|
/* 0x00 */ GXAttr mAttrib;
|
|
/* 0x04 */ GXCompCnt mCompCnt;
|
|
/* 0x08 */ GXCompType mCompType;
|
|
/* 0x0C */ u8 mCompShift;
|
|
} GXVtxAttrFmtList; // Size: 0x10
|
|
|
|
void GXSetVtxDesc(GXAttr attr, GXAttrType type);
|
|
void GXSetVtxDescv(GXVtxDescList* list);
|
|
void __GXSetVCD(void);
|
|
void __GXCalculateVLim(void);
|
|
void GXClearVtxDesc(void);
|
|
void GXSetVtxAttrFmt(GXVtxFmt fmt, GXAttr attr, GXCompCnt cnt, GXCompType type, u32);
|
|
void GXSetVtxAttrFmtv(GXVtxFmt fmt, GXVtxAttrFmtList* list);
|
|
void __GXSetVAT(void);
|
|
void GXSetArray(GXAttr attr, void* base, u8);
|
|
void GXInvalidateVtxCache(void);
|
|
void GXSetTexCoordGen2(GXTexCoordID dst, GXTexGenType type, GXTexGenSrc src, u32 mtx, GXBool renormalize, u32 pt_mtx);
|
|
void GXSetNumTexGens(u8 numTexGens);
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif /* GXATTR_H */
|