3 * Miguel Ángel Vilela García - 8/29/03
5 * Copyright (C) 2003 Miguel Ángel Vilela García
6 * Copyright (C) 2005 See COPYRIGHT
7 * Crack Attack! is the legal property of its developers, whose names
8 * are too numerous to list here. Please refer to the COPYRIGHT file
9 * distributed with this source distribution for a full listing.
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 * Miguel Ángel Vilela García - www.miguev.net
31 // const char GC_SOUND_FILENAME_LENGTH = 128;
32 const char GC_SOUND_COUNTDOWN
[] = "countdown.wav";
33 const char GC_SOUND_BLOCK_FALLEN
[] = "block_fallen.wav";
34 const char GC_SOUND_BLOCK_AWAKING
[] = "block_awaking.wav";
35 const char GC_SOUND_BLOCK_DYING
[] = "block_dying.wav";
36 const char GC_SOUND_GARBAGE_FALLEN
[] = "garbage_fallen.wav";
37 const char GC_SOUND_GARBAGE_SHATTERING
[] = "garbage_shattering.wav";
41 static void initialize ( void );
42 static void play( const char *file
, int vol
);
43 static void cleanup ( void );
44 static int audio_available( void );