src/core1/mlmtx.h: cleaned up function prototypes
This commit is contained in:
parent
d9439b9cef
commit
0ba0a22549
|
@ -25,8 +25,6 @@
|
|||
|
||||
/* need to sort out in individual header files */
|
||||
|
||||
void mlMtx_apply_vec3f(f32[3], f32[3]);
|
||||
void func_80252C08(f32 arg0[3], f32 arg1[3], f32 scale, f32 arg3[3]);
|
||||
void glcrc_calc_checksum(void *start, void *end, u32 checksum[2]);
|
||||
|
||||
void func_80250530(s32 arg0, u16 chan_mask, f32 arg2);
|
||||
|
|
|
@ -12,7 +12,9 @@ void mlMtx_push_mtx(f32* mtx);
|
|||
void mlMtx_push_multiplied(f32* l_mtx);
|
||||
void mlMtx_push_multiplied_2(MtxF * l_mtx, MtxF * r_mtx);
|
||||
void mlMtxIdent(void);
|
||||
void func_80251B5C(f32 x, f32 y, f32 z);
|
||||
void mlMtxSet(MtxF* arg0);
|
||||
void mlMtxRotate(f32 a, f32 x, f32 y, f32 z);
|
||||
void mlMtxRotPitch(f32 arg0);
|
||||
void mlMtxRotYaw(f32 arg0);
|
||||
void mlMtxRotRoll(f32 arg0);
|
||||
|
@ -21,11 +23,23 @@ void mlMtx_rotate_yaw_deg(f32 arg0);
|
|||
void mlMtxRotatePYR(f32 pitch, f32 yaw, f32 roll);
|
||||
void mlMtxScale_xyz(f32 x, f32 y, f32 z);
|
||||
void mlMtxScale(f32 scale);
|
||||
void func_80252330(f32 x, f32 y, f32 z);
|
||||
void mlMtx_apply_vec3f(f32 dst[3], f32 src[3]);
|
||||
void mlMtx_apply_vec3f_restricted(f32 dst[3], f32 src[3]);
|
||||
void mlMtx_apply_f3(f32 dst[3], f32 x, f32 y, f32 z);
|
||||
void mlMtx_apply_vec3s(s16 dst[3], s16 src[3]);
|
||||
void func_8025276C(s32 arg0[3], s32 arg1[3], s32 arg2[3], s32 arg3[3]);
|
||||
void mlMtxTranslate(f32 x, f32 y, f32 z);
|
||||
|
||||
MtxF *func_8024DD90(void);
|
||||
MtxF *func_8024DD9C(void);
|
||||
void func_80252A38(f32 x, f32 y, f32 z);
|
||||
void func_80252AF0(f32 arg0[3], f32 arg1[3], f32 rotation[3], f32 scale, f32 arg4[3]);
|
||||
void func_80252C08(f32 arg0[3], f32 rotation[3], f32 scale, f32 arg3[3]);
|
||||
void func_80252CC4(f32 position[3], f32 rotation[3], f32 scale, f32 arg3[3]);
|
||||
void func_80252D8C(f32 position[3], f32 rotation[3]);
|
||||
void func_80252DDC(f32 position[3], f32 rotation[3]);
|
||||
void func_80252E4C(f32 position[3], f32 rotation[3]);
|
||||
void func_80252EC8(f32 position[3], f32 rotation[3]);
|
||||
void func_80252F50(f32 rotation[3]);
|
||||
void func_80252F8C(f32 rotation[3]);
|
||||
void func_80252FC8(f32 rotation[3]);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
#include "model.h"
|
||||
|
||||
extern void func_80252C08(f32[3],f32[3], f32, f32[3]);
|
||||
extern void func_80252CC4(f32[3],s32, f32, s32);
|
||||
extern f32 vtxList_getGlobalNorm(BKVertexList *);
|
||||
extern void points_to_boundingBoxWithMargin(f32 arg0[3], f32 arg1[3], f32 margin, f32 min[3], f32 max[3]);
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
extern void func_80252C08(f32[3], f32[3], f32, f32[3]);
|
||||
extern void func_80252CC4(f32[3], f32[3], f32, f32[3]);
|
||||
extern void mlMtx_apply_f3(f32[3], f32, f32, f32);
|
||||
extern s32 func_802EBAE0(BKModelUnk14List *arg0, f32 position[3], f32 rotation[3], f32 scale, f32 arg4[3], AnimMtxList* arg5, f32 arg6[3], f32 arg7, f32 arg8[3]);
|
||||
extern MtxF *animMtxList_get(AnimMtxList *this, s32 arg1);
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
extern void func_80252CC4(f32[3], f32 [3], f32, f32[3]);
|
||||
extern f32 func_8034A9D0(f32[4], f32);
|
||||
|
||||
/*.bss */
|
||||
|
|
|
@ -3,11 +3,6 @@
|
|||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
|
||||
|
||||
|
||||
extern void func_80252330(f32, f32, f32);
|
||||
|
||||
typedef struct {
|
||||
s16 unk0;
|
||||
s16 unk2;
|
||||
|
|
|
@ -8,8 +8,6 @@ typedef struct {
|
|||
f32 unkC[3];
|
||||
}Struct_core2_72060_0;
|
||||
|
||||
extern void func_80251B5C(f32, f32, f32);
|
||||
extern void func_80252A38(f32, f32, f32);
|
||||
extern f32 vtxList_getGlobalNorm(BKVertexList *);
|
||||
|
||||
struct4Cs *D_80369280 = NULL;
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
#include <core2/file.h>
|
||||
|
||||
extern void func_80252CC4(f32[3], f32[3], f32, f32[3]);
|
||||
extern f32 vtxList_getGlobalNorm(BKVertexList *arg0);
|
||||
extern void func_803334B0(f32 position[3], f32 rotation[3], f32 scale, f32[3], f32);
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
void func_80252330(f32, f32, f32);
|
||||
void func_803382D8(s32 arg0);
|
||||
void func_803382E4(s32 arg0);
|
||||
void spriteRender_set1Primative(bool boolean);
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
|
||||
extern void mlMtxRotatePYR(f32, f32, f32);
|
||||
extern void func_80252330(f32, f32, f32);
|
||||
|
||||
typedef struct {
|
||||
BKSprite *sprite_0;
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
#define ABS(s) (((s) >= 0) ? (s) : -(s))
|
||||
|
||||
extern void func_80252CC4(f32[3], f32[3], f32, f32[3]);
|
||||
|
||||
/* .code */
|
||||
bool func_80340020(Struct83s *self, f32 position[3], f32 arg2[3], f32 arg3, f32 *arg4, BKVertexList *arg5, f32 arg6[3], f32 arg7[3]) {
|
||||
f32 sp6C[3];
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
|
||||
extern void spriteRender_drawWithSegment(Gfx**, Vtx**, BKSprite *, s32, s32);
|
||||
extern void func_80252330(f32, f32, f32);\
|
||||
extern void func_80349AD0(void);
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
extern void func_80252CC4(f32[3], f32[3], f32, s32);
|
||||
extern int func_802E805C(BKCollisionList *arg0, BKVertexList *vtxList, f32 arg2[3], f32 arg3[3], f32 arg4, s32 arg5, s32 arg6, s32 arg7, s32 arg8);
|
||||
extern int func_802E9118(BKCollisionList *arg0, BKVertexList *vtxList, f32 arg2[3], f32 arg3[3], f32 arg4, s32 arg5, s32 arg6, f32 arg7, s32 arg8, s32 arg9, s32 arg10);
|
||||
extern int func_802E9DD8(BKCollisionList *arg0, BKVertexList *vtxList, f32 arg2[3], f32 arg3[3], f32 arg4, s32 arg5, f32 arg6, s32 arg7, s32 arg8);
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include "zoombox.h"
|
||||
|
||||
|
||||
void func_80252330(f32, f32, f32);
|
||||
extern f32 func_8033DDB8(void);
|
||||
extern void func_80344090(BKSpriteDisplayData *self, s32 frame, Gfx **gfx);
|
||||
BKSprite *func_8033B6C4(enum asset_e sprite_id, BKSpriteDisplayData **arg1);
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
extern bool func_802ED420(BKModelUnk20List *arg0, u8 *arg1, u32 arg2);
|
||||
extern void func_802ED52C(BKModelUnk20List *, f32[3], f32);
|
||||
extern void func_80252AF0(f32[3], f32[3], f32[3], f32, f32[3]);
|
||||
extern void mlMtxRotatePYR(f32, f32, f32);
|
||||
extern void assetCache_free(BKModelBin *);
|
||||
extern s32 func_8024DB50(f32[3], f32);
|
||||
|
|
Loading…
Reference in New Issue