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 ImgFXRenderMode |
| Data Fields | ||
|---|---|---|
| s32 | mode1 | |
| s32 | mode2 | |
| u8 | flags | |
| struct ImgFXIntVars.wavy |
| Data Fields | ||
|---|---|---|
| Vec3i | mag | |
| struct ImgFXIntVars.color |
| Data Fields | ||
|---|---|---|
| char | unk_00[0x10] | |
| s32 | r | |
| s32 | g | |
| s32 | b | |
| s32 | a | |
| struct ImgFXIntVars.hologram |
| struct ImgFXIntVars.overlay |
| Data Fields | ||
|---|---|---|
| char | unk_00[0x10] | |
| ImgFXOverlayTexture * | pattern | |
| s32 | alpha | |
| typedef ImgFXState ImgFXInstanceList[MAX_IMGFX_INSTANCES] |
| void imgfx_cache_instance_data | ( | ImgFXState * | state | ) |
Definition at line 420 of file imgfx.c.
Referenced by func_8013A4D0(), imgfx_appendGfx_component(), and imgfx_update().
| void imgfx_clear_instance_data | ( | ImgFXState * | state | ) |
Definition at line 442 of file imgfx.c.
Referenced by imgfx_init().
| void imgfx_init_instance | ( | ImgFXState * | state | ) |
Definition at line 452 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 758 of file imgfx.c.
Referenced by imgfx_appendGfx_component().
| void imgfx_appendGfx_mesh | ( | ImgFXState * | state, |
| Matrix4f | mtx ) |
Definition at line 795 of file imgfx.c.
Referenced by imgfx_appendGfx_component().
| void imgfx_mesh_make_strip | ( | ImgFXState * | state | ) |
Definition at line 1058 of file imgfx.c.
Referenced by imgfx_make_mesh().
| void imgfx_mesh_make_grid | ( | ImgFXState * | state | ) |
Definition at line 1140 of file imgfx.c.
Referenced by imgfx_make_mesh().
| void imgfx_mesh_anim_update | ( | ImgFXState * | state | ) |
Definition at line 1254 of file imgfx.c.
Referenced by imgfx_make_mesh().
| void imgfx_appendGfx_mesh_basic | ( | ImgFXState * | state, |
| Matrix4f | mtx ) |
Definition at line 1453 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh().
| void imgfx_appendGfx_mesh_grid | ( | ImgFXState * | state, |
| Matrix4f | mtx ) |
Definition at line 1630 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh().
| void imgfx_appendGfx_mesh_anim | ( | ImgFXState * | state, |
| Matrix4f | mtx ) |
Definition at line 1706 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh().
| void imgfx_appendGfx_mesh_strip | ( | ImgFXState * | state, |
| Matrix4f | mtx ) |
Definition at line 1760 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh().
| void imgfx_wavy_init | ( | ImgFXState * | state | ) |
Definition at line 1797 of file imgfx.c.
Referenced by imgfx_update().
| void imgfx_mesh_make_wavy | ( | ImgFXState * | state | ) |
Definition at line 1803 of file imgfx.c.
Referenced by imgfx_make_mesh().
| void imgfx_mesh_load_colors | ( | ImgFXState * | state | ) |
Definition at line 1882 of file imgfx.c.
Referenced by imgfx_make_mesh().
Definition at line 242 of file imgfx.c.
Referenced by spr_init_sprites().
Definition at line 266 of file imgfx.c.
Referenced by spr_update_player_raster_cache().
Definition at line 296 of file imgfx.c.
Referenced by imgfx_cache_instance_data(), and imgfx_load_anim().
Definition at line 309 of file imgfx.c.
Referenced by imgfx_update_cache().
Definition at line 332 of file imgfx.c.
Referenced by state_drawUI_world().
| s32 imgfx_get_free_instances | ( | s32 | count | ) |
Definition at line 337 of file imgfx.c.
Referenced by hud_element_create_transform_A(), spr_load_npc_sprite(), and spr_update_player_sprite().
Definition at line 385 of file imgfx.c.
Referenced by hud_element_free_transform(), imgfx_release_instance_chain(), and spr_free_sprite().
| 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 486 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 703 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 1187 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 |
Definition at line 116 of file imgfx.c.
Referenced by func_8013A4D0(), and imgfx_init().
Definition at line 117 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 118 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 119 of file imgfx.c.
Referenced by imgfx_load_anim().
| BSS ImgFXCacheEntry ImgFXDataCache[8] |
Definition at line 120 of file imgfx.c.
Referenced by imgfx_add_to_cache(), imgfx_init(), and imgfx_update_cache_impl().
| ImgFXWorkingTexture* ImgFXCurrentTexturePtr = &ImgFXCurrentTexture |
Definition at line 123 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 125 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 127 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh().
| Vp D_8014EE40 |
Definition at line 129 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh_basic().
| Vp D_8014EE50 |
Definition at line 136 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh_basic().
| u16 ImgFXVtxBufferCapacity = 300 |
Definition at line 143 of file imgfx.c.
Referenced by imgfx_init(), and imgfx_set_vtx_buf_capacity().
| Gfx DefaultImgFXSetupGfx[] |
Definition at line 145 of file imgfx.c.
Referenced by imgfx_appendGfx_mesh().
| ImgFXRenderMode ImgFXRenderModes[] |
Definition at line 156 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 198 of file imgfx.c.
Referenced by imgfx_load_anim().