src/scene/shared/light_sprites_draw.c
Included by jupiter_lighthouse_aerie.c, jupiter_lighthouse_aerie_beacon.c, jupiter_lighthouse_basement.c, jupiter_lighthouse_central_room.c, jupiter_lighthouse_cracked_floor.c, jupiter_lighthouse_entrance.c, jupiter_lighthouse_ground_floor.c, jupiter_lighthouse_left_tower_lower.c, jupiter_lighthouse_locked_doors.c, jupiter_lighthouse_right_tower_lower.c, jupiter_lighthouse_right_tower_upper.c, jupiter_lighthouse_side_halls.c, jupiter_lighthouse_terraces.c, jupiter_lighthouse_upper_hall.c and mars_lighthouse_towers.c.
Macros
| Name | Description | |
|---|---|---|
#define | LIGHT_SMALL_SIZE 16 | The glow sprites: 16 pixels square, or 32 by 64 with LightSpritesLarge, in 256 colours, each frame of the glow 8 tiles on from the last. |
#define | LIGHT_LARGE_HEIGHT 64 | |
#define | LIGHT_LEFT 8 |
Functions
| Name | Description | |
|---|---|---|
void | scLightSpritesDraw (void) | Draws a glow sprite over each listed actor. |
Macros in detail
LIGHT_SMALL_SIZE
#define LIGHT_SMALL_SIZE 16
The glow sprites: 16 pixels square, or 32 by 64 with LightSpritesLarge, in
256 colours, each frame of the glow 8 tiles on from the last. Both stand on
their actor, LIGHT_LEFT pixels to its left.
Referenced by scLightSpritesDraw().
Definition at line 4 of file light_sprites_draw.c.
LIGHT_LARGE_HEIGHT
#define LIGHT_LARGE_HEIGHT 64
Referenced by scLightSpritesDraw().
Definition at line 5 of file light_sprites_draw.c.
LIGHT_LEFT
#define LIGHT_LEFT 8
Referenced by scLightSpritesDraw().
Definition at line 6 of file light_sprites_draw.c.
Functions in detail
scLightSpritesDraw
void scLightSpritesDraw(void)
Draws a glow sprite over each listed actor.
References fdActorGetSpritePriority(), fdMapStateView(), LightSpriteActors, LightSpriteCount, LightSpriteOams, LightSpritePriority, LightSpritesLarge, LightSpriteTile, Sint32, syOAMAddSpriteAtDepthClamped() and VramCacheEntries.
Referenced by scAnemosInnerSanctumDullahanStartLightSprites(), scLightSpritesInitChannelPieces(), scLightSpritesInitEnergyBlockGlow() and scLightSpritesInitPathGlows().
Definition at line 9 of file light_sprites_draw.c.