dsekai
World engine for retrocomputers.
Loading...
Searching...
No Matches
Macros
Engine Transitions

Flags for specifying screen transitions. More...

Collaboration diagram for Engine Transitions:

Macros

#define DSEKAI_TRANSITION_MASK_FRAME   0x0f
 Mask indicating bits of DSEKAI_STATE::transition that denote the current transition's frame.
 
#define DSEKAI_TRANSITION_MASK_TYPE   0x70
 Mask indicating bits of DSEKAI_STATE::transition that denote the current transition's type.
 
#define DSEKAI_TRANSITION_DIR_OPEN   0x80
 If this bit is on, then the currently playing transition should be opening. If it's off, the transition is closing.
 
#define DSEKAI_TRANSITION_TYPE_CURTAIN   0x00
 
#define DSEKAI_TRANSITION_TYPE_ZOOM   0x10
 

Detailed Description

Flags for specifying screen transitions.

Macro Definition Documentation

◆ DSEKAI_TRANSITION_MASK_FRAME

#define DSEKAI_TRANSITION_MASK_FRAME   0x0f

Mask indicating bits of DSEKAI_STATE::transition that denote the current transition's frame.

A frame of 0 indicates no transition is currently in progress.

◆ DSEKAI_TRANSITION_MASK_TYPE

#define DSEKAI_TRANSITION_MASK_TYPE   0x70

Mask indicating bits of DSEKAI_STATE::transition that denote the current transition's type.

Only used if bits masked by DSEKAI_TRANSITION_MASK_FRAME are greather than zero.