| inline void Sequence_Initialize( |
| ) |
Initialize the sequencer
| wait u8 | Frame wait time |
| event SeqEventCB | Event callback function |
| draw SeqDrawCB | Draw callback function |
| input SeqInputCB | Input check callback function |
| inline void Sequence_SetActions( |
| ) |
Initialize the left and right move actions
| left const SeqAction* | Action to move left |
| right const SeqAction* | Action to move right |
| inline void Sequence_InitializeTimeline( |
| ) |
Initialize the timeline table
| timelines const SeqKey** | Pointer to the timeline table |
| inline void Sequence_SetSynchFrames( |
| ) |
Set the synchronization display frame count
| frames u8 | Number of display frames to wait before updating |
| inline void Sequence_SetEventCallback( |
| ) |
Set the event callback function
| event SeqEventCB | Event callback function |
| inline void Sequence_SetDrawCallback( |
| ) |
Set the draw callback function
| draw SeqDrawCB | Draw callback function |
Set dirty flag to force redraw
Set finish flag to force redraw
Set hide cursor flag
Reset hide cursor flag
| inline void Sequence_SetNextFrame( |
| ) |
Set next frame to be rendered
| inline void Sequence_SetCursor( |
| ) |
Set the cursor position
| x u8 | X coordinate of the cursor |
| y u8 | Y coordinate of the cursor |
Get the cursor X coordinate
Cursor X coordinate
Get the cursor Y coordinate
Cursor Y coordinate
| inline void Sequence_MoveCursor( |
| ) |
Move the cursor position
| x i8 | X coordinate move offset |
| y i8 | Y coordinate move offset |
| inline void Sequence_SetCustomCursor( |
| ) |
Set a custom cursor pattern Parameters: cursor - Custum cursor pattern index (can't be 0)
Get the current custom cursor pattern
Current custom cursor pattern index
Check if a custom cursor pattern is set
FALSE if no custom cursor pattern is set
Clear custom cursor pattern
| void Sequence_Play( |
| ) |
Play a sequence
| seq const Sequence* | Pointer to the sequence structure |
| frame u8 | Frame number to start playing |
Start a pan sequence transition
| frame | Pan's frame number to start the transition |
| nextSeq | Pointer to the next sequence structure |
| nextFrame | Frame number to start the next sequence |
Get the current sequence
Pointer to the current sequence structure
Get the current frame number
Current frame number
Get the current input flags Return: Current input flags
| inline bool Sequence_CheckInput( |
| ) |
Check if specific input flag is set
| in u8 | Input flag to check |
FALSE if input flag is not set
| bool Sequence_CheckArea( |
| ) |
Check if cursor is in area
| area const SeqActionArea* | Pointer to the action area to check |
FALSE if cursor is not in area
| inline void Sequence_SetActionCallback( |
| ) |
Set action callback
| cb callback | Function to be called during action check |
| inline void Sequence_SetHoverAction( |
| ) |
Set the action hovered by the cursor
| act const SeqAction* | Pointer to hover action (can be NULL) |
Get the action hovered by the cursor
Pointer to hover action (can be NULL)
Update current sequence and check for interactions
Interruption handler
Wait for sequence synchronization