Documentation of Aniplayer
- Message requesting a new position in seconds:
msg[3] = 1
msg[4] = Seconds (high)
msg[5] = Seconds (low)
No answer message.
- Message requesting a new position in images:
msg[3] = 2
msg[4] = Iimage number (high)
msg[5] = Image number (low)
No answer message.
- Message requesting information:
msg[3] = 0
Answer message 'AP':
msg[3] = Structure address (high)
msg[4] = Structure address (low)
typedef struct
{
short width;
short height;
short planes;
short frames_second;
long total_frames;
long id_image_compression; /* cvid for example */
short quality; /* bit0: mono(0)/stereo(1) bit1: 8 bits(0)/16 bits(1) */
unsigned short file_frequency;
unsigned short machine_frequency;
long total_samples;
long id_sound_compression; /* ima4 for example */
short player_version; /* version of Aniplayer */
long count_seconds;
long num_frame;
short play;
short reserve[11];
} INFO_ANIM;