source: golgotha/src/i4/sound/sound_types.hh @ 608

Last change on this file since 608 was 80, checked in by Sam Hocevar, 15 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 916 bytes
Line 
1/********************************************************************** <BR>
2  This file is part of Crack dot Com's free source code release of
3  Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
4  information about compiling & licensing issues visit this URL</a>
5  <PRE> If that doesn't help, contact Jonathan Clark at
6  golgotha_source@usa.net (Subject should have "GOLG" in it)
7***********************************************************************/
8
9#ifndef SOUND_TYPES_HH
10#define SOUND_TYPES_HH
11
12#include "arch.hh"
13
14#ifdef I4_RETAIL
15#define I4_SOUND_NAME(x)
16#else
17#define I4_SOUND_NAME(x) virtual char *name() { return x; }
18#endif
19
20typedef sw32 i4_frequency;
21typedef sw32 i4_volume;
22typedef sw32 i4_pan;
23
24enum { I4_SOUND_VOLUME_LEVELS = 64 };
25enum { I4_SOUND_MAX_PAN=10000 };
26
27#endif
28
29//{{{ Emacs Locals
30// Local Variables:
31// folded-file: t
32// End:
33//}}}
Note: See TracBrowser for help on using the repository browser.