1 | |
|
|
2 | /* |
|
|
3 | * static char *rcsid_sound_c = |
|
|
4 | * "$Id: sounds.C,v 1.3 2006/09/10 13:43:34 root Exp $"; |
|
|
5 | */ |
|
|
6 | |
|
|
7 | /* Send bug reports to Raphael Quinet (quinet@montefiore.ulg.ac.be) */ |
1 | /* Send bug reports to Raphael Quinet (quinet@montefiore.ulg.ac.be) */ |
8 | |
2 | |
9 | /** |
3 | /** |
10 | * \file |
4 | * \file |
11 | * Sound-related functions. |
5 | * Sound-related functions. |
… | |
… | |
57 | |
51 | |
58 | #define POW2(x) ((x) * (x)) |
52 | #define POW2(x) ((x) * (x)) |
59 | |
53 | |
60 | /** Plays some sound on map at x,y. */ |
54 | /** Plays some sound on map at x,y. */ |
61 | void |
55 | void |
62 | play_sound_map (mapstruct *map, int x, int y, short sound_num) |
56 | play_sound_map (maptile *map, int x, int y, short sound_num) |
63 | { |
57 | { |
64 | player *pl; |
58 | player *pl; |
65 | |
59 | |
66 | if (sound_num >= NROF_SOUNDS) |
60 | if (sound_num >= NROF_SOUNDS) |
67 | { |
61 | { |