Sequence pack manager for grouping and finding sequences. More...
Sequence pack manager for grouping and finding sequences.
Functions | |
TLN_SequencePack | TLN_CreateSequencePack (void) |
Creates a new collection of sequences. More... | |
TLN_SequencePack | TLN_LoadSequencePack (const char *filename) |
Loads a sqx file containing one or more sequences. More... | |
TLN_Sequence | TLN_GetSequence (TLN_SequencePack sp, int index) |
Returns the nth sequence inside a sequence pack. More... | |
TLN_Sequence | TLN_FindSequence (TLN_SequencePack sp, const char *name) |
Finds a sequence inside a sequence pack. More... | |
int | TLN_GetSequencePackCount (TLN_SequencePack sp) |
Returns the number of sequences inside a sequence pack. More... | |
bool | TLN_AddSequenceToPack (TLN_SequencePack sp, TLN_Sequence sequence) |
Adds a sequence to a sequence pack. More... | |
bool | TLN_DeleteSequencePack (TLN_SequencePack sp) |
Deletes the specified sequence pack and frees memory. More... | |
TLN_SequencePack TLN_CreateSequencePack | ( | void | ) |
Creates a new collection of sequences.
TLN_SequencePack TLN_LoadSequencePack | ( | const char * | filename | ) |
Loads a sqx file containing one or more sequences.
filename | SQX filename with the sequences to load |
TLN_Sequence TLN_GetSequence | ( | TLN_SequencePack | sp, |
int | index | ||
) |
Returns the nth sequence inside a sequence pack.
sp | Reference to the sequence pack containing the sequence to find |
index | Sequence number to return [0, num_sequences - 1] |
TLN_Sequence TLN_FindSequence | ( | TLN_SequencePack | sp, |
const char * | name | ||
) |
Finds a sequence inside a sequence pack.
sp | Reference to the sequence pack containing the sequence to find |
name | Name of the sequence to find |
int TLN_GetSequencePackCount | ( | TLN_SequencePack | sp | ) |
Returns the number of sequences inside a sequence pack.
sp | Reference to the sequence pack to query |
bool TLN_AddSequenceToPack | ( | TLN_SequencePack | sp, |
TLN_Sequence | sequence | ||
) |
Adds a sequence to a sequence pack.
sp | Reference to the sequence pack |
sequence | Reference to the sequence to attach |
bool TLN_DeleteSequencePack | ( | TLN_SequencePack | sp | ) |
Deletes the specified sequence pack and frees memory.
sp | Reference to the sequence pack to delete |
Last update on Tue Aug 29 2023 for Tilengine 2.15.1