File: ccl_sound.h

package info (click to toggle)
ale-clone 1.15pre16.3-1
  • links: PTS
  • area: contrib
  • in suites: potato
  • size: 2,432 kB
  • ctags: 3,217
  • sloc: ansic: 37,483; sh: 1,105; makefile: 343
file content (42 lines) | stat: -rw-r--r-- 1,088 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
**	A clone of a famous game.
*/
/**@name ccl_sound.h	-	The Ccl sound header file. */
/*
**	(c) Copyright 1999 by Lutz Sammer and Fabrice Rossi
**
**	$Id: ccl_sound.h,v 1.6 1999/12/03 09:18:06 root Exp $
*/

#ifndef __CCL_SOUND_H__
#define __CCL_SOUND_H__

//@{

#if defined(USE_CCL) && defined(WITH_SOUND)	// {

/*----------------------------------------------------------------------------
--	Includes
----------------------------------------------------------------------------*/

#include <guile/gh.h>			// for SCM

/*----------------------------------------------------------------------------
--	Functions
----------------------------------------------------------------------------*/

extern int ccl_sound_p(SCM sound);	/// is it a ccl sound?

extern SoundId ccl_sound_id(SCM sound);	/// scheme -> sound id

extern void SoundCclRegister(void);	/// register ccl features

#else 	// }{ defined(USE_CCL) && defined(WITH_SOUND)

#define SoundCclRegister()		/// dummy function for without sound

#endif 	// } !defined(USE_CCL) && defined(WITH_SOUND)

//@}

#endif	// !__CCL_SOUND_H__