mirror of
https://github.com/zeldaret/tp
synced 2026-08-09 10:54:11 -04:00
d_a_kytag06 fully done / d_msg_class/object work (#300)
* d_a_kytag06 OK and d_msg_class/object wip * add some GXDraw functions * cleanup kytag6 * remove asm
This commit is contained in:
@@ -53,6 +53,12 @@ inline void GXPosition3f32(f32 x, f32 y, f32 z) {
|
||||
GXFIFO.f32 = z;
|
||||
}
|
||||
|
||||
inline void GXNormal3f32(f32 x, f32 y, f32 z) {
|
||||
GXFIFO.f32 = x;
|
||||
GXFIFO.f32 = y;
|
||||
GXFIFO.f32 = z;
|
||||
}
|
||||
|
||||
inline void GXPosition2f32(f32 x, f32 z) {
|
||||
GXFIFO.f32 = x;
|
||||
GXFIFO.f32 = z;
|
||||
|
||||
@@ -29,9 +29,15 @@ 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 GXSetTexCoordGen2(GXTexCoordID dst, GXTexGenType type, GXTexGenSrc src, u32 mtx,
|
||||
GXBool renormalize, u32 pt_mtx);
|
||||
void GXSetNumTexGens(u8 numTexGens);
|
||||
|
||||
void GXGetVtxAttrFmtv(GXVtxFmt param_0, GXVtxAttrFmtList* param_1);
|
||||
void GXGetVtxAttrFmt(GXVtxFmt param_0, int param_1, GXCompCnt* param_2, GXCompType* param_3,
|
||||
u8* param_4);
|
||||
void GXGetVtxDescv(GXVtxDescList* attrPtr);
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef GXDRAW_H
|
||||
#define GXDRAW_H
|
||||
|
||||
#include "dolphin/gx/GXStruct.h"
|
||||
#include "dolphin/gx/GXEnum.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void GXDrawCylinder(u8 numEdges);
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif /* GXDRAW_H */
|
||||
Reference in New Issue
Block a user