struct SpecialEvent

Struct used to store certain events. More...

Definition#include <player.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

This struct stores text, lyrics and change tempo events among others.

It includes the main information for an event. That is, the absolute millisecond at which this event is played (from the beginning of the song), the delta milliseconds from the previous SpecialEvent, an ID, etc.

This struct is used as nodes for a linked list, which you can get using MidiPlayer::specialEvents().

int id

ulong diffmilliseconds

ulong absmilliseconds

int ticks

int type

char text[1024]

ulong tempo

int num

int den

struct SpecialEvent * next