Go to the source code of this file.
Functions | |
s32 | step_entity_model_commandlist (EntityModel *entityModel) |
void | free_entity_model_by_ref (EntityModel *entityModel) |
void | clear_entity_models (void) |
void | init_entity_models (void) |
s32 | load_entity_model (EntityModelScript *cmdList) |
s32 | ALT_load_entity_model (EntityModelScript *cmdList) |
void | exec_entity_model_commandlist (s32 idx) |
void | make_entity_model_mtx_flipZ (Matrix4f mtx) |
void | appendGfx_entity_model (EntityModel *model) |
void | draw_entity_model_A (s32 modelIdx, Mtx *transformMtx) |
void | draw_entity_model_B (s32 modelIdx, Mtx *transformMtx, s32 vertexSegment, Vec3s *vertexArray) |
void | draw_entity_model_C (s32 modelIdx, Mtx *transformMtx) |
void | draw_entity_model_D (s32 modelIdx, Mtx *transformMtx, s32 arg2, Vec3s *vertexArray) |
void | draw_entity_model_E (s32 modelIdx, Mtx *transformMtx) |
void | set_entity_model_render_command_list (s32 idx, EntityModelScript *cmdList) |
EntityModel * | get_entity_model (s32 listIndex) |
void | free_entity_model_by_index (s32 idx) |
void | set_entity_model_flags (s32 idx, s32 newFlags) |
void | clear_entity_model_flags (s32 idx, s32 newFlags) |
void | bind_entity_model_setupGfx (s32 idx, void *setupGfxCallbackArg0, void(*fpSetupGfxCallback)(void *)) |
void | func_80122F8C (s32 idx, s32 newFlags) |
void | func_80122FB8 (s32 idx, s32 newFlags) |
void | enable_entity_fog (void) |
void | disable_entity_fog (void) |
void | set_entity_fog_dist (s32 min, s32 max) |
void | set_entity_fog_color (s32 r, s32 g, s32 b, s32 a) |
s32 | is_entity_fog_enabled (void) |
void | get_entity_fog_distance (s32 *start, s32 *end) |
void | get_entity_fog_color (s32 *r, s32 *g, s32 *b, s32 *a) |
s32 step_entity_model_commandlist | ( | EntityModel * | entityModel | ) |
Definition at line 192 of file entity_model.c.
Referenced by exec_entity_model_commandlist().
void free_entity_model_by_ref | ( | EntityModel * | entityModel | ) |
Definition at line 745 of file entity_model.c.
Referenced by step_entity_model_commandlist().
void clear_entity_models | ( | void | ) |
Definition at line 51 of file entity_model.c.
Referenced by load_demo_battle(), load_engine_data(), load_map_by_IDs(), state_init_logos(), state_init_title_screen(), state_step_battle(), state_step_demo(), state_step_intro(), state_step_pause(), state_step_startup(), and state_step_title_screen().
void init_entity_models | ( | void | ) |
Definition at line 74 of file entity_model.c.
Referenced by state_step_end_battle(), and state_step_unpause().
s32 load_entity_model | ( | EntityModelScript * | cmdList | ) |
Definition at line 93 of file entity_model.c.
Referenced by create_entity(), create_shadow_from_data(), show_immune_bonk(), virtual_entity_create(), and virtual_entity_create_at_index().
s32 ALT_load_entity_model | ( | EntityModelScript * | cmdList | ) |
Definition at line 130 of file entity_model.c.
Referenced by ALT_virtual_entity_create().
void exec_entity_model_commandlist | ( | s32 | idx | ) |
Definition at line 172 of file entity_model.c.
Referenced by ALT_virtual_entity_create(), btl_bonk_update(), create_entity(), update_entities(), update_shadows(), virtual_entity_create(), virtual_entity_create_at_index(), and virtual_entity_list_update().
void make_entity_model_mtx_flipZ | ( | Matrix4f | mtx | ) |
Definition at line 236 of file entity_model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
void appendGfx_entity_model | ( | EntityModel * | model | ) |
Definition at line 244 of file entity_model.c.
Referenced by draw_entity_model_A(), draw_entity_model_B(), draw_entity_model_C(), and draw_entity_model_D().
void draw_entity_model_A | ( | s32 | modelIdx, |
Mtx * | transformMtx ) |
Definition at line 406 of file entity_model.c.
Referenced by btl_bonk_render(), render_entities(), render_shadows(), and virtual_entity_list_render_world().
void draw_entity_model_B | ( | s32 | modelIdx, |
Mtx * | transformMtx, | ||
s32 | vertexSegment, | ||
Vec3s * | vertexArray ) |
Definition at line 444 of file entity_model.c.
Referenced by render_entities(), and render_shadows().
void draw_entity_model_C | ( | s32 | modelIdx, |
Mtx * | transformMtx ) |
Definition at line 483 of file entity_model.c.
void draw_entity_model_D | ( | s32 | modelIdx, |
Mtx * | transformMtx, | ||
s32 | arg2, | ||
Vec3s * | vertexArray ) |
Definition at line 513 of file entity_model.c.
void draw_entity_model_E | ( | s32 | modelIdx, |
Mtx * | transformMtx ) |
Definition at line 544 of file entity_model.c.
Referenced by virtual_entity_list_render_UI().
void set_entity_model_render_command_list | ( | s32 | idx, |
EntityModelScript * | cmdList ) |
Definition at line 710 of file entity_model.c.
Referenced by entity_set_render_script().
EntityModel * get_entity_model | ( | s32 | listIndex | ) |
Definition at line 724 of file entity_model.c.
Referenced by render_entities(), update_npcs(), virtual_entity_list_render_UI(), and virtual_entity_list_render_world().
void free_entity_model_by_index | ( | s32 | idx | ) |
Definition at line 728 of file entity_model.c.
Referenced by btl_bonk_update(), delete_entity(), delete_entity_and_unload_data(), delete_shadow(), free_entity_model_by_ref(), and virtual_entity_delete_by_index().
void set_entity_model_flags | ( | s32 | idx, |
s32 | newFlags ) |
Definition at line 759 of file entity_model.c.
Referenced by show_immune_bonk().
void clear_entity_model_flags | ( | s32 | idx, |
s32 | newFlags ) |
Definition at line 767 of file entity_model.c.
Referenced by btl_bonk_update().
void bind_entity_model_setupGfx | ( | s32 | idx, |
void * | setupGfxCallbackArg0, | ||
void(*)(void *) | fpSetupGfxCallback ) |
Definition at line 775 of file entity_model.c.
Referenced by render_entities(), render_shadows(), and show_immune_bonk().
void func_80122F8C | ( | s32 | idx, |
s32 | newFlags ) |
Definition at line 782 of file entity_model.c.
void func_80122FB8 | ( | s32 | idx, |
s32 | newFlags ) |
Definition at line 788 of file entity_model.c.
void enable_entity_fog | ( | void | ) |
Definition at line 794 of file entity_model.c.
void disable_entity_fog | ( | void | ) |
Definition at line 798 of file entity_model.c.
void set_entity_fog_dist | ( | s32 | min, |
s32 | max ) |
Definition at line 802 of file entity_model.c.
void set_entity_fog_color | ( | s32 | r, |
s32 | g, | ||
s32 | b, | ||
s32 | a ) |
Definition at line 807 of file entity_model.c.
s32 is_entity_fog_enabled | ( | void | ) |
Definition at line 814 of file entity_model.c.
void get_entity_fog_distance | ( | s32 * | start, |
s32 * | end ) |
Definition at line 818 of file entity_model.c.
void get_entity_fog_color | ( | s32 * | r, |
s32 * | g, | ||
s32 * | b, | ||
s32 * | a ) |
Definition at line 823 of file entity_model.c.
EntityModelScript D_8014C260 |
Definition at line 4 of file entity_model.c.
Referenced by ALT_load_entity_model(), load_entity_model(), and set_entity_model_render_command_list().
Lights1 D_8014C268 = gdSPDefLights1(255, 255, 255, 0, 0, 0, 0, 0, 0) |
Definition at line 8 of file entity_model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
s32 gEntityModelCount |
Definition at line 10 of file entity_model.c.
Referenced by ALT_load_entity_model(), clear_entity_models(), free_entity_model_by_index(), init_entity_models(), and load_entity_model().
BSS EntityModelList gWorldEntityModelList |
Definition at line 12 of file entity_model.c.
Referenced by clear_entity_models(), and init_entity_models().
BSS EntityModelList gBattleEntityModelList |
Definition at line 13 of file entity_model.c.
Referenced by clear_entity_models(), and init_entity_models().
BSS EntityModelList* gCurrentEntityModelList |
Definition at line 14 of file entity_model.c.
Referenced by ALT_load_entity_model(), clear_entity_models(), free_entity_model_by_index(), free_entity_model_by_ref(), get_entity_model(), init_entity_models(), and load_entity_model().
BSS s32 D_80154374 |
Definition at line 16 of file entity_model.c.
Referenced by appendGfx_entity_model(), draw_entity_model_B(), draw_entity_model_D(), and draw_entity_model_E().
BSS s32 entity_fog_enabled |
Definition at line 17 of file entity_model.c.
Referenced by appendGfx_entity_model(), clear_entity_models(), disable_entity_fog(), draw_entity_model_E(), enable_entity_fog(), init_entity_models(), and is_entity_fog_enabled().
BSS s32 entity_fog_red |
Definition at line 18 of file entity_model.c.
Referenced by appendGfx_entity_model(), clear_entity_models(), draw_entity_model_E(), get_entity_fog_color(), init_entity_models(), and set_entity_fog_color().
BSS s32 entity_fog_green |
Definition at line 19 of file entity_model.c.
Referenced by appendGfx_entity_model(), clear_entity_models(), draw_entity_model_E(), get_entity_fog_color(), init_entity_models(), and set_entity_fog_color().
BSS s32 entity_fog_blue |
Definition at line 20 of file entity_model.c.
Referenced by appendGfx_entity_model(), clear_entity_models(), draw_entity_model_E(), get_entity_fog_color(), init_entity_models(), and set_entity_fog_color().
BSS s32 entity_fog_alpha |
Definition at line 21 of file entity_model.c.
Referenced by appendGfx_entity_model(), clear_entity_models(), draw_entity_model_E(), get_entity_fog_color(), init_entity_models(), and set_entity_fog_color().
BSS s32 entity_fog_dist_min |
Definition at line 22 of file entity_model.c.
Referenced by appendGfx_entity_model(), clear_entity_models(), draw_entity_model_E(), get_entity_fog_distance(), init_entity_models(), and set_entity_fog_dist().
BSS s32 entity_fog_dist_max |
Definition at line 23 of file entity_model.c.
Referenced by appendGfx_entity_model(), clear_entity_models(), draw_entity_model_E(), get_entity_fog_distance(), init_entity_models(), and set_entity_fog_dist().
|
extern |
Definition at line 643 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 654 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 665 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 676 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 686 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 696 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 706 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 746 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 756 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 766 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 779 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 800 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 810 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 820 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 844 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 1067 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 1077 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 1087 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 1097 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 1107 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 1117 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().
|
extern |
Definition at line 1127 of file model.c.
Referenced by appendGfx_entity_model(), and draw_entity_model_E().