Go to the source code of this file.
Data Structures | |
union | ImgFXIntVars |
union | ImgFXFloatVars |
struct | ImgFXState |
struct | ImgFXCacheEntry |
struct | ImgFXRenderMode |
struct | ImgFXIntVars.args |
struct | ImgFXIntVars.anim |
struct | ImgFXIntVars.wavy |
struct | ImgFXIntVars.color |
struct | ImgFXIntVars.hologram |
struct | ImgFXIntVars.overlay |
struct | ImgFXFloatVars.anim |
struct | ImgFXFloatVars.wavy |
struct | ImgFXFloatVars.overlay |
Typedefs | |
typedef ImgFXState | ImgFXInstanceList[MAX_IMGFX_INSTANCES] |
Enumerations | |
enum | ImgFXAnimFlags { IMGFX_ANIM_FLAG_ABSOLUTE_COORDS = 1 } |
union ImgFXIntVars |
Data Fields | ||
---|---|---|
s32 | raw[2][4] | |
struct ImgFXIntVars.args | args | |
struct ImgFXIntVars.anim | anim | |
struct ImgFXIntVars.wavy | wavy | |
struct ImgFXIntVars.color | color | |
struct ImgFXIntVars.hologram | hologram | |
struct ImgFXIntVars.overlay | overlay |
union ImgFXFloatVars |
Data Fields | ||
---|---|---|
f32 | raw[2][4] | |
struct ImgFXFloatVars.anim | anim | |
struct ImgFXFloatVars.wavy | wavy | |
struct ImgFXFloatVars.overlay | overlay |
struct ImgFXState |
Data Fields | ||
---|---|---|
u8 | arrayIdx | |
u8 | meshType | |
u8 | renderType | |
u8 | subdivX | |
u8 | subdivY | |
s8 | lastAnimCmd | |
s8 | lastColorCmd | |
char | unk_07[0x1] | |
u16 | firstVtxIdx | |
u16 | lastVtxIdx | |
u16 | unk_0C | |
s16 | unk_0E | |
s16 | nextIdx | |
s32 | flags | |
char | unk_18[0x4] | |
ImgFXIntVars | ints | |
ImgFXFloatVars | floats | |
Color_RGBA8 * | colorBuf | |
u16 | colorBufCount | |
char | unk_62[0x2] | |
u8 * | curAnimOffset | |
Vtx * | vtxBufs[2] | |
Gfx * | gfxBufs[2] | |
s32 | otherModeL |
struct ImgFXCacheEntry |
struct ImgFXIntVars.wavy |
Data Fields | ||
---|---|---|
Vec3i | mag |
struct ImgFXIntVars.hologram |
struct ImgFXIntVars.overlay |
Data Fields | ||
---|---|---|
char | unk_00[0x10] | |
ImgFXOverlayTexture * | pattern | |
s32 | alpha |
typedef ImgFXState ImgFXInstanceList[MAX_IMGFX_INSTANCES] |
enum ImgFXAnimFlags |
void imgfx_cache_instance_data | ( | ImgFXState * | state | ) |
Definition at line 421 of file imgfx.c.
Referenced by func_8013A4D0(), imgfx_appendGfx_component(), and imgfx_update().
void imgfx_clear_instance_data | ( | ImgFXState * | state | ) |
Definition at line 443 of file imgfx.c.
Referenced by imgfx_init().
void imgfx_init_instance | ( | ImgFXState * | state | ) |
Definition at line 453 of file imgfx.c.
Referenced by func_8013A4D0(), imgfx_get_free_instances(), imgfx_init(), and imgfx_update().
void imgfx_make_mesh | ( | ImgFXState * | state | ) |
Definition at line 759 of file imgfx.c.
Referenced by imgfx_appendGfx_component().
void imgfx_appendGfx_mesh | ( | ImgFXState * | state, |
Matrix4f | mtx ) |
Definition at line 796 of file imgfx.c.
Referenced by imgfx_appendGfx_component().
void imgfx_mesh_make_strip | ( | ImgFXState * | state | ) |
Definition at line 1059 of file imgfx.c.
Referenced by imgfx_make_mesh().
void imgfx_mesh_make_grid | ( | ImgFXState * | state | ) |
Definition at line 1141 of file imgfx.c.
Referenced by imgfx_make_mesh().
void imgfx_mesh_anim_update | ( | ImgFXState * | state | ) |
Definition at line 1255 of file imgfx.c.
Referenced by imgfx_make_mesh().
void imgfx_appendGfx_mesh_basic | ( | ImgFXState * | state, |
Matrix4f | mtx ) |
Definition at line 1454 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh().
void imgfx_appendGfx_mesh_grid | ( | ImgFXState * | state, |
Matrix4f | mtx ) |
Definition at line 1631 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh().
void imgfx_appendGfx_mesh_anim | ( | ImgFXState * | state, |
Matrix4f | mtx ) |
Definition at line 1707 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh().
void imgfx_appendGfx_mesh_strip | ( | ImgFXState * | state, |
Matrix4f | mtx ) |
Definition at line 1761 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh().
void imgfx_wavy_init | ( | ImgFXState * | state | ) |
Definition at line 1798 of file imgfx.c.
Referenced by imgfx_update().
void imgfx_mesh_make_wavy | ( | ImgFXState * | state | ) |
Definition at line 1804 of file imgfx.c.
Referenced by imgfx_make_mesh().
void imgfx_mesh_load_colors | ( | ImgFXState * | state | ) |
Definition at line 1883 of file imgfx.c.
Referenced by imgfx_make_mesh().
void imgfx_set_vtx_buf_capacity | ( | s16 | arg0 | ) |
void imgfx_init | ( | void | ) |
Definition at line 243 of file imgfx.c.
Referenced by spr_init_sprites().
void func_8013A4D0 | ( | void | ) |
Definition at line 267 of file imgfx.c.
Referenced by spr_update_player_raster_cache().
void imgfx_add_to_cache | ( | void * | data, |
s8 | usingContextualHeap ) |
Definition at line 297 of file imgfx.c.
Referenced by imgfx_cache_instance_data(), and imgfx_load_anim().
void imgfx_update_cache_impl | ( | void | ) |
Definition at line 310 of file imgfx.c.
Referenced by imgfx_update_cache().
void imgfx_update_cache | ( | void | ) |
Definition at line 333 of file imgfx.c.
Referenced by state_drawUI_world().
s32 imgfx_get_free_instances | ( | s32 | count | ) |
Definition at line 338 of file imgfx.c.
Referenced by hud_element_create_transform_A(), spr_load_npc_sprite(), and spr_update_player_sprite().
void imgfx_release_instance | ( | u32 | idx | ) |
Definition at line 386 of file imgfx.c.
Referenced by hud_element_free_transform(), imgfx_release_instance_chain(), and spr_free_sprite().
void imgfx_release_instance_chain | ( | u32 | idx | ) |
Definition at line 393 of file imgfx.c.
s32 imgfx_get_next_instance | ( | s32 | idx | ) |
ImgFXState * imgfx_get_instance | ( | s32 | idx | ) |
void imgfx_update | ( | u32 | idx, |
ImgFXType | type, | ||
s32 | imgfxArg1, | ||
s32 | imgfxArg2, | ||
s32 | imgfxArg3, | ||
s32 | imgfxArg4, | ||
s32 | flags ) |
Definition at line 487 of file imgfx.c.
Referenced by appendGfx_interact_prompt(), appendGfx_ispy_icon(), appendGfx_speech_bubble(), render_hud_element(), set_npc_imgfx_comp(), and set_player_imgfx_comp().
void imgfx_set_state_flags | ( | s32 | idx, |
u16 | flagBits, | ||
s32 | mode ) |
s32 imgfx_appendGfx_component | ( | s32 | idx, |
ImgFXTexture * | ifxImg, | ||
u32 | flagBits, | ||
Matrix4f | mtx ) |
Definition at line 704 of file imgfx.c.
Referenced by appendGfx_entity_model(), appendGfx_interact_prompt(), appendGfx_ispy_icon(), appendGfx_pulse_stone_icon(), appendGfx_speech_bubble(), draw_coin_sparkles(), draw_entity_model_E(), gfx_build_knocked_down_player(), render_hud_element(), and spr_appendGfx_component().
ImgFXAnimHeader * imgfx_load_anim | ( | ImgFXState * | state | ) |
Definition at line 1188 of file imgfx.c.
Referenced by imgfx_mesh_anim_update().
|
extern |
Definition at line 4 of file heaps3.c.
Referenced by imgfx_init().
BSS ImgFXWorkingTexture ImgFXCurrentTexture |
BSS Vtx* ImgFXVtxBuffers[2] |
Definition at line 117 of file imgfx.c.
Referenced by func_8013A4D0(), and imgfx_init().
BSS Vtx* imgfx_vtxBuf |
Definition at line 118 of file imgfx.c.
Referenced by func_8013A4D0(), imgfx_appendGfx_mesh_basic(), imgfx_appendGfx_mesh_grid(), imgfx_init(), imgfx_mesh_load_colors(), imgfx_mesh_make_grid(), imgfx_mesh_make_strip(), and imgfx_mesh_make_wavy().
BSS ImgFXInstanceList* ImgFXInstances |
Definition at line 119 of file imgfx.c.
Referenced by func_8013A4D0(), imgfx_appendGfx_mesh_basic(), imgfx_get_free_instances(), imgfx_get_next_instance(), imgfx_init(), and imgfx_set_state_flags().
BSS ImgFXAnimHeader ImgFXAnimHeaders[MAX_IMGFX_INSTANCES] |
Definition at line 120 of file imgfx.c.
Referenced by imgfx_load_anim().
BSS ImgFXCacheEntry ImgFXDataCache[8] |
Definition at line 121 of file imgfx.c.
Referenced by imgfx_add_to_cache(), imgfx_init(), and imgfx_update_cache_impl().
ImgFXWorkingTexture* ImgFXCurrentTexturePtr = &ImgFXCurrentTexture |
Definition at line 124 of file imgfx.c.
Referenced by imgfx_appendGfx_component(), imgfx_appendGfx_mesh(), imgfx_appendGfx_mesh_anim(), imgfx_appendGfx_mesh_basic(), imgfx_appendGfx_mesh_grid(), imgfx_appendGfx_mesh_strip(), imgfx_mesh_anim_update(), imgfx_mesh_load_colors(), imgfx_mesh_make_grid(), and imgfx_mesh_make_strip().
u16 imgfx_vtxCount = 0 |
Definition at line 126 of file imgfx.c.
Referenced by func_8013A4D0(), imgfx_init(), imgfx_mesh_make_grid(), and imgfx_mesh_make_strip().
Lights2 ImgFXLights = gdSPDefLights2(144, 144, 144, 255, 255, 255, 0, 0, 120, 255, 255, 255, 0, 0, 136) |
Definition at line 128 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh().
Vp D_8014EE40 |
Definition at line 130 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh_basic().
Vp D_8014EE50 |
Definition at line 137 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh_basic().
u16 ImgFXVtxBufferCapacity = 300 |
Definition at line 144 of file imgfx.c.
Referenced by imgfx_init(), and imgfx_set_vtx_buf_capacity().
Gfx DefaultImgFXSetupGfx[] |
Definition at line 146 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh().
ImgFXRenderMode ImgFXRenderModes[] |
Definition at line 157 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
u8* ImgFXAnimOffsets[] |
Definition at line 199 of file imgfx.c.
Referenced by imgfx_load_anim().