include/battle/blitter.h
The canvas blitters battle effects draw with: their clip and mirroring flags, blend modes and rectangle-drawing function pointer.
Included by battle_internal.h, lucky_wheels.c, menu_internal.h and battle_effect.h.
Typedefs
| Name | Description | |
|---|---|---|
typedef Sint32 (* | DRAW_RECTANGLE )(void *destination, const void *source, Sint32 x, Sint32 y, Sint32 width, Sint32 height); |
Enumerations
| Name | Description | |
|---|---|---|
enum | anonymous enum { COMPOSITE_CLIP_X, COMPOSITE_CLIP_Y, COMPOSITE_FLIP_X, COMPOS … } | The flags of a composite draw: clip the picture at the canvas's edges, and mirror it. |
enum | anonymous enum { BLITTER_ADDITIVE, BLITTER_MAX, BLITTER_TRANSPARENT, BLITTER_ … } | How a blitter btEffectBuildBlitter builds lays a picture on the canvas (its mode): BLITTER_ADDITIVE adds the picture's levels to the canvas's, BLITTER_MAX keeps the brighter of the two, and BLITTER_COPY copies the picture as it is. |
Description
The canvas blitters battle effects draw with: their clip and mirroring flags, blend modes and rectangle-drawing function pointer.
Typedefs in detail
DRAW_RECTANGLE
typedef Sint32 (*DRAW_RECTANGLE)(void *destination, const void *source, Sint32 x, Sint32 y, Sint32 width, Sint32 height);
Referenced by btEffectBuildCanvasBlitters(), btEffectRunAnnihilation(), btEffectRunAtalanta(), btEffectRunAttackSlash(), btEffectRunAzul(), btEffectRunBackstab(), btEffectRunBallLightning(), btEffectRunBladeRain(), btEffectRunBoreas(), btEffectRunBreak(), btEffectRunBreaths(), btEffectRunBubbleColumn(), btEffectRunBurstShower(), btEffectRunCanvasBurst(), btEffectRunCards(), btEffectRunCatastrophe(), btEffectRunCharon(), btEffectRunCloudSwirl(), btEffectRunCoatlicue(), btEffectRunCool(), btEffectRunCrescentSlash(), btEffectRunCriticalHit(), btEffectRunCruelRuin(), btEffectRunCrystal(), btEffectRunCurse(), btEffectRunCybele(), btEffectRunDaedalus(), btEffectRunDaedalusStrike(), btEffectRunDiamondBerg(), btEffectRunDjinnBeams(), btEffectRunDjinnHeal(), btEffectRunDjinniEntrance(), btEffectRunDjinniSign(), btEffectRunDouse(), btEffectRunDragonCloud(), btEffectRunDrainMotes(), btEffectRunEclipse(), btEffectRunElementCards(), btEffectRunFallingSword(), btEffectRunFire(), btEffectRunFlare(), btEffectRunFlashingStrike(), btEffectRunFlora(), btEffectRunFlurry(), btEffectRunFormChange(), btEffectRunFrost(), btEffectRunFume(), btEffectRunGaspFamily(), btEffectRunGatheringLights(), btEffectRunGeode() and 74 more.
Definition at line 35 of file blitter.h.
Enumerations in detail
anonymous enum
enum { COMPOSITE_CLIP_X, COMPOSITE_CLIP_Y, COMPOSITE_FLIP_X, COMPOSITE_FLIP_Y, … }
The flags of a composite draw: clip the picture at the canvas's edges, and mirror it.
| Enumerator | Value | Description |
|---|---|---|
COMPOSITE_CLIP_X | 1 | |
COMPOSITE_CLIP_Y | 2 | |
COMPOSITE_FLIP_X | 4 | |
COMPOSITE_FLIP_Y | 8 | |
COMPOSITE_FLIP | COMPOSITE_FLIP_X | COMPOSITE_FLIP_Y |
Definition at line 14 of file blitter.h.
anonymous enum
enum { BLITTER_ADDITIVE, BLITTER_MAX, BLITTER_TRANSPARENT, BLITTER_COPY }
How a blitter btEffectBuildBlitter builds lays a picture on the canvas (its
mode): BLITTER_ADDITIVE adds the picture's levels to the canvas's,
BLITTER_MAX keeps the brighter of the two, and BLITTER_COPY copies the
picture as it is.
| Enumerator | Value | Description |
|---|---|---|
BLITTER_ADDITIVE | ||
BLITTER_MAX | ||
BLITTER_TRANSPARENT | ||
BLITTER_COPY |
Definition at line 27 of file blitter.h.