Go to the source code of this file.
Macros | |
#define | ALIGN4(v) (((u32)(v) >> 2) << 2) |
#define | SPR_SWIZZLE(base, offset) ((void*)((s32)(offset) + (s32)(base))) |
Functions | |
void | spr_swizzle_anim_offsets (s32 arg0, s32 base, void *spriteData) |
SpriteAnimData * | spr_load_sprite (s32 idx, s32 isPlayerSprite, s32 useTailAlloc) |
void | spr_init_player_raster_cache (s32 cacheSize, s32 maxRasterSize) |
IMG_PTR | spr_get_player_raster (s32 rasterIndex, s32 playerSpriteID) |
void | spr_update_player_raster_cache (void) |
void | spr_load_npc_extra_anims (SpriteAnimData *header, u32 *extraAnimList) |
SpriteComponent ** | spr_allocate_components (s32 count) |
Variables | |
s32 | spr_allocateBtlComponentsOnWorldHeap |
HeapNode | heap_generalHead |
HeapNode | heap_spriteHead |
BSS s32 | spr_asset_entry [2] |
BSS s32 | PlayerRasterLoadDescBuffer [101] |
BSS s32 | PlayerRasterLoadDescNumLoaded |
BSS s32 | PlayerRasterLoadDescBeginSpriteIndex [SPR_Peach3] |
BSS s32 | PlayerRasterLoadDesc [0x2E0] |
BSS PlayerRastersHeader | PlayerRasterHeader |
BSS s32 | PlayerSpriteRasterSets [SPR_Peach3+1] |
BSS s32 | PlayerRasterCacheSize |
BSS s32 | PlayerRasterMaxSize |
BSS s32 | SpriteDataHeader [3] |
BSS PlayerSpriteCacheEntry | PlayerRasterCache [18] |
#define ALIGN4 | ( | v | ) | (((u32)(v) >> 2) << 2) |
Definition at line 34 of file 101b90_len_8f0.c.
Referenced by spr_load_sprite(), and spr_swizzle_anim_offsets().
#define SPR_SWIZZLE | ( | base, | |
offset ) ((void*)((s32)(offset) + (s32)(base))) |
Definition at line 35 of file 101b90_len_8f0.c.
Referenced by spr_load_sprite(), and spr_swizzle_anim_offsets().
void spr_swizzle_anim_offsets | ( | s32 | arg0, |
s32 | base, | ||
void * | spriteData ) |
Definition at line 37 of file 101b90_len_8f0.c.
Referenced by spr_load_sprite().
SpriteAnimData * spr_load_sprite | ( | s32 | idx, |
s32 | isPlayerSprite, | ||
s32 | useTailAlloc ) |
Definition at line 69 of file 101b90_len_8f0.c.
Referenced by spr_load_npc_sprite(), and spr_load_player_sprite().
void spr_init_player_raster_cache | ( | s32 | cacheSize, |
s32 | maxRasterSize ) |
Definition at line 156 of file 101b90_len_8f0.c.
Referenced by spr_init_sprites().
IMG_PTR spr_get_player_raster | ( | s32 | rasterIndex, |
s32 | playerSpriteID ) |
Definition at line 184 of file 101b90_len_8f0.c.
Referenced by spr_draw_component(), and spr_get_player_raster_info().
void spr_update_player_raster_cache | ( | void | ) |
Definition at line 217 of file 101b90_len_8f0.c.
Referenced by spr_render_init().
void spr_load_npc_extra_anims | ( | SpriteAnimData * | header, |
u32 * | extraAnimList ) |
Definition at line 229 of file 101b90_len_8f0.c.
Referenced by spr_load_npc_sprite().
SpriteComponent ** spr_allocate_components | ( | s32 | count | ) |
Definition at line 353 of file 101b90_len_8f0.c.
Referenced by spr_load_npc_sprite(), and spr_update_player_sprite().
|
extern |
Definition at line 9 of file sprite.c.
Referenced by spr_allocate_components(), spr_free_sprite(), and spr_init_sprites().
|
extern |
Definition at line 3 of file heaps3.c.
Referenced by spr_allocate_components().
|
extern |
Definition at line 4 of file heaps3.c.
Referenced by spr_allocate_components(), spr_init_player_raster_cache(), spr_load_npc_extra_anims(), and spr_load_sprite().
BSS s32 spr_asset_entry[2] |
Definition at line 21 of file 101b90_len_8f0.c.
Referenced by spr_load_sprite().
BSS s32 PlayerRasterLoadDescBuffer[101] |
Definition at line 22 of file 101b90_len_8f0.c.
Referenced by spr_load_sprite().
BSS s32 PlayerRasterLoadDescNumLoaded |
Definition at line 23 of file 101b90_len_8f0.c.
Referenced by spr_init_player_raster_cache(), and spr_load_sprite().
BSS s32 PlayerRasterLoadDescBeginSpriteIndex[SPR_Peach3] |
Definition at line 24 of file 101b90_len_8f0.c.
Referenced by spr_get_player_raster(), spr_init_player_raster_cache(), and spr_load_sprite().
BSS s32 PlayerRasterLoadDesc[0x2E0] |
Definition at line 25 of file 101b90_len_8f0.c.
Referenced by spr_get_player_raster(), and spr_load_sprite().
BSS PlayerRastersHeader PlayerRasterHeader |
Definition at line 27 of file 101b90_len_8f0.c.
Referenced by spr_init_player_raster_cache(), and spr_load_sprite().
BSS s32 PlayerSpriteRasterSets[SPR_Peach3+1] |
Definition at line 28 of file 101b90_len_8f0.c.
Referenced by spr_init_player_raster_cache(), and spr_load_sprite().
BSS s32 PlayerRasterCacheSize |
Definition at line 29 of file 101b90_len_8f0.c.
Referenced by spr_get_player_raster(), spr_init_player_raster_cache(), and spr_update_player_raster_cache().
BSS s32 PlayerRasterMaxSize |
Definition at line 30 of file 101b90_len_8f0.c.
Referenced by spr_init_player_raster_cache().
BSS s32 SpriteDataHeader[3] |
Definition at line 31 of file 101b90_len_8f0.c.
Referenced by spr_get_player_raster(), spr_init_player_raster_cache(), and spr_load_sprite().
BSS PlayerSpriteCacheEntry PlayerRasterCache[18] |
Definition at line 32 of file 101b90_len_8f0.c.
Referenced by spr_get_player_raster(), spr_init_player_raster_cache(), and spr_update_player_raster_cache().