core2/playerModel.c documentation

This commit is contained in:
Banjo Kazooie
2022-12-01 17:41:20 -06:00
parent aa33833595
commit 342011dd23
50 changed files with 560 additions and 545 deletions

View File

@@ -15,7 +15,7 @@ BKAnimationList *model_getAnimationList(BKModelBin *arg0);
BKTextureList *model_getTextureList(BKModelBin *arg0);
void modelRender_reset(void);
BKModelBin *modelRender_draw(Gfx **gfx, Mtx **mtx, f32 position[3], f32 arg3[3], f32 scale, f32*arg5, BKModelBin* model_bin);
BKModelBin *modelRender_draw(Gfx **gfx, Mtx **mtx, f32 position[3], f32 rotation[3], f32 scale, f32*arg5, BKModelBin* model_bin);
void modelRender_preDraw(GenMethod_1 func, s32 arg);
void modelRender_postDraw(GenMethod_1 func, s32 arg);

View File

@@ -0,0 +1,16 @@
#ifndef _PLAYER_MODEL_H_
#define _PLAYER_MODEL_H_
enum player_model_direction_e {
PLAYER_MODEL_DIR_BANJO = 1,
PLAYER_MODEL_DIR_KAZOOIE = 2,
PLAYER_MODEL_DIR_GLOBAL = 3
};
void playerModel_80292048(s32, f32, f32, f32);
void playerModel_setDirection(enum player_model_direction_e arg0);
void playerModel_setScale(f32);
void playerModel_8029217C(f32);
void playerModel_setVisible(s32 arg0);
#endif

View File

@@ -3681,8 +3681,10 @@ enum asset_e
ASSET_D96_TEXT_BEEHIVE = 0xd96,
ASSET_DA6_TEXT_BEEHIVE_WITH_BEES = 0xda6
ASSET_DA6_TEXT_BEEHIVE_WITH_BEES = 0xda6,
ASSET_14CF_MODEL_SM_OPA = 0x14CF,
ASSET_14D0_MODEL_SM_XLU
};
enum overlay_e{

View File

@@ -101,7 +101,7 @@ void _player_getPosition(f32 dst[3]);
void player_getPosition(f32 dst[3]);
void player_getRotation(f32 *dst);
void func_80291A60(s32 arg0, f32* arg1);
void playerModel_80291A50(s32 arg0, f32* arg1);
int button_pressed(s32);
u32 button_held(s32);
@@ -311,9 +311,9 @@ int func_80291698(s32);
int func_80291700(s32, f32);
void func_802917E4(s32, f32);
void func_80292078(s32, f32);
void func_80292158(f32);
f32 func_80292230(void);
void playerModel_80292078(s32, f32);
void playerModel_80292158(f32);
f32 playerModel_80292230(void);
void func_802927E0(f32, f32);