Prototyping stopsound() API.

This commit is contained in:
William Kendrick 2007-11-21 16:21:02 +00:00
parent 137797b2cd
commit fb4fb7dd8b

View file

@ -89,6 +89,9 @@ typedef struct magic_api_t {
loudest) */
void (*playsound)(Mix_Chunk *, int, int);
/* Asks Tux Paint to stop playing the sound played by 'playsound()' */
void (*stopsound)(void);
/* Asks Tux Paint to calculate a line between (x1,y1) and (x2,y2);
every 'step' iterations, it will call your callback function
(which must accept a 'magic_api *' Magic API pointer and 'which' integer