Original Post
struct sequence_data // the sequence data
{
short nr_of_frames; // number of frames in this sequence
short *frame_indexes; // an array of frame indexes
};
struct bitmap_data // the bitmap data
{
short nr_of_frames; // number of frames in this bitmap
SDL_Rect *frames; // an array of rectangles in this bitmap
short nr_of_sequences; // number of sequences in this bitmap
struct sequence_data *sequences; // an array of sequences
SDL_Surface bitmap; // the image surface
};