Prototyping stopsound() API.
This commit is contained in:
parent
137797b2cd
commit
fb4fb7dd8b
1 changed files with 3 additions and 0 deletions
|
|
@ -89,6 +89,9 @@ typedef struct magic_api_t {
|
||||||
loudest) */
|
loudest) */
|
||||||
void (*playsound)(Mix_Chunk *, int, int);
|
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);
|
/* Asks Tux Paint to calculate a line between (x1,y1) and (x2,y2);
|
||||||
every 'step' iterations, it will call your callback function
|
every 'step' iterations, it will call your callback function
|
||||||
(which must accept a 'magic_api *' Magic API pointer and 'which' integer
|
(which must accept a 'magic_api *' Magic API pointer and 'which' integer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue