ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/sounds.C
(Generate patch)

Comparing deliantra/server/socket/sounds.C (file contents):
Revision 1.3 by root, Sun Sep 10 13:43:34 2006 UTC vs.
Revision 1.5 by root, Sat Sep 16 22:24:13 2006 UTC

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. */
61void 55void
62play_sound_map (mapstruct *map, int x, int y, short sound_num) 56play_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 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines