5 u_long *ot = layer->
getOtEntry(layer, task->depth);
11 poly->r0 = poly->g0 = poly->b0 = task->level >> 8;
12 poly->x0 = poly->x2 = 0;
13 poly->x1 = poly->x3 = 320;
14 poly->y0 = poly->y1 = 0;
15 poly->y2 = poly->y3 = 256;
17 mode = (DR_TPAGE *)(poly + 1);
19 mode->code[0] = 0xE1000245;
#define OVL_NAME(name)
The name of this overlay's copy of a function of src/shared/.
GfxState GFX
GFX: the graphics state and its methods.
void drawFader(ScreenFade *task)
Darkens the whole screen by the fade's level: a POLY_F4 with subtractive blending (tpage 0xE1000245)
struct Layer *(* getLayer)(s32 id)
void(* setPrim)(void *next)
A drawing layer (GFX.funcs.createLayer): a DRAWENV with a pair of ordering tables,...
u_long *(* getOtEntry)(struct Layer *, s32 depth)
Fades the whole screen to black and back with a subtractive rectangle.