The sprite VRAM block cache and its owners. More...
Go to the source code of this file.
Data Structures | |
| struct | VramBlockCacheEntry |
| A sprite slot of the VRAM cache: the size of its block and where the block starts in OBJ VRAM. More... | |
Enumerations | |
| enum | VramBlockLimits { VRAM_CACHE_ENTRY_COUNT = 96 , VRAM_BLOCK_COUNT = 512 , VRAM_BLOCK_BYTES = 64 , VRAM_BLOCK_OWNER_FREE = 0xff , VRAM_CACHE_OFFSET_FREE = 0xffff } |
Functions | |
| STATIC_ASSERT (sizeof(struct VramBlockCacheEntry)==4) | |
| STATIC_ASSERT (offsetof(struct VramBlockCacheEntry, offset)==2) | |
Variables | |
| u8 | gResourceBlockOwners [VRAM_BLOCK_COUNT] |
| struct VramBlockCacheEntry | gVramBlockCache [] |
The sprite VRAM block cache and its owners.
Definition in file vram_tab.h.
| enum VramBlockLimits |
| Enumerator | |
|---|---|
| VRAM_CACHE_ENTRY_COUNT | |
| VRAM_BLOCK_COUNT | |
| VRAM_BLOCK_BYTES | |
| VRAM_BLOCK_OWNER_FREE | |
| VRAM_CACHE_OFFSET_FREE | |
Definition at line 11 of file vram_tab.h.
| STATIC_ASSERT | ( | sizeof(struct VramBlockCacheEntry) | = =4 | ) |
| STATIC_ASSERT | ( | offsetof(struct VramBlockCacheEntry, offset) | = =2 | ) |
|
extern |
|
extern |
Referenced by AffineEffect_UpdateFrame(), BattleEvent_Playback(), BattleFx_SetupResourcesAndWindow(), BattleFx_SpawnDescendingArcParticles(), BattleFx_SpawnScaledArcObjects(), Colosso_DrawGauge(), Colosso_UpdateLettering(), Colosso_UpdateMarker(), Curtain_Close(), FadeOverlay_DrawMarks(), HeatGauge_Draw(), Map_RenderAnimatedTileFrame(), Map_UpdateWorldMapMarkers(), Resource_FindFreeEntry(), Resource_ResetEntry(), ResourceObject_Create(), SolSanctumEruption_SpawnEffectPair(), STATIC_ASSERT(), Title_UpdateSpriteReveal(), Ui_RunOwnerStatusScreen(), ValeBabi_SpawnEffectPair(), ValeHome_SpawnEffectPair(), ValeStorm_SpawnEffectPair(), VenusLighthouseAerie_SpawnLinkedPairEffects(), VramCache_AllocateBlocks(), VramCache_Load(), VramCache_ReleaseVram(), VramCache_Reload(), VramCache_Reset(), and WorldMap_CreateLinkedEffects().