10#ifndef GUI_SOUND_RESOURCE__H_
11#define GUI_SOUND_RESOURCE__H_
33ENTRY(DUMMY_SOUND, "DUMMY_SOUND", true)
36#define ENTRY_ENUM(a) -1
37#define ENTRY(snd, snd_filename, snd_permanent) -1
42#ifndef GUILIANI_GUILIANILIB
43#include "UserSoundResource.h"
50#define ENTRY_ENUM(a) a,
51#define ENTRY(snd, snd_filename, snd_permanent) snd,
53#ifndef GUILIANI_GUILIANILIB
59 GUILIANI_INTERNAL_SND = INT_MAX
67#define MAP_SNDID_TO_ARRAY(SND_ID) static_cast<eC_UInt>(SND_ID-SND_START_TAG-1)
69#define UNMAP_SNDENTRY_TO_ARRAY(SND_ENTRY) static_cast<SoundResource_t>(SND_ENTRY+SND_START_TAG+1)
#define SOUND_TABLE
sound resources
Definition: GUISoundResource.h:32
int static_assert_something[(DUMMY_SOUND==0) ? 1 :-1]
Will throw compile error negative subscript if DUMMY_SOUND is NOT 0!
Definition: GUISoundResource.h:63
const int ciCalculatedSndStartTag
preprocessor generates for all entries of SOUND_TABLE: -1 -1 -1..., resulting in a mathematical expre...
Definition: GUISoundResource.h:38
const eC_UInt cuiNOFSoundResources
Used to contain the highest index cuiNOFXXXClasses = MAP_PROPID_TO_ARRAY(NOF_XXXCLASSES);.
SoundResource_t
List of sound resource ids.
Definition: GUISoundResource.h:48