Home
last modified time | relevance | path

Searched refs:NUM_SOUNDS (Results 1 – 25 of 75) sorted by relevance

123

/dports/games/sdl_scavenger/sdlscav-145/
H A Dsound.c11 #define NUM_SOUNDS 5 macro
30 } sounds[NUM_SOUNDS]; //One for each unique scavenger sound
32 SDL_AudioCVT cvt[NUM_SOUNDS]; //Converted wav data 1 for each sound
45 char *soundnames[NUM_SOUNDS]= in soundopen()
68 for (num = 0; num < NUM_SOUNDS; num++) in soundopen()
119 for(i=0;i<NUM_SOUNDS;i++) //Check all active sound structures in WaitForSound()
147 for ( i=0; i<NUM_SOUNDS; ++i ) //Check each active sound in mixaudio()
168 if ((num < 0) || (num >= NUM_SOUNDS)) return; //Exit early invalid sound num in playsound()
199 for (i=0; i<NUM_SOUNDS; i++) //Stop all of the sounds using in StopAllSounds()
H A Dexample.c6 #define NUM_SOUNDS 3 macro
11 } sounds[NUM_SOUNDS];
55 for ( i=0; i<NUM_SOUNDS; ++i ) { in mixaudio()
72 for ( index=0; index<NUM_SOUNDS; ++index ) { in PlaySound()
77 if ( index == NUM_SOUNDS ) in PlaySound()
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/
H A DGLOBAL.C74 long soundsiz[NUM_SOUNDS];
76 short soundps[NUM_SOUNDS],soundpe[NUM_SOUNDS],soundvo[NUM_SOUNDS];
77 char soundm[NUM_SOUNDS],soundpr[NUM_SOUNDS];
78 char sounds[NUM_SOUNDS][14];
84 SAMPLE Sound[ NUM_SOUNDS ];
85 SOUNDOWNER SoundOwner[NUM_SOUNDS][4];
H A DDUKE3D.H102 #define NUM_SOUNDS 500 macro
474 extern SAMPLE Sound[ NUM_SOUNDS ];
476 extern SOUNDOWNER SoundOwner[NUM_SOUNDS][4];
482 extern char sounds[NUM_SOUNDS][14];
551 extern short soundps[NUM_SOUNDS],soundpe[NUM_SOUNDS],soundvo[NUM_SOUNDS];
552 extern char soundpr[NUM_SOUNDS],soundm[NUM_SOUNDS];
553 extern long soundsiz[NUM_SOUNDS];
/dports/games/xgalaga-sdl/xgalaga-sdl-2.1.1.0-sdl/src/
H A Dsound.c48 #define NUM_SOUNDS (sizeof(FILENAME)/sizeof(char*)) macro
50 static Mix_Chunk *sounds[NUM_SOUNDS];
65 for (i=0; i<NUM_SOUNDS; i++) { in init_sound()
83 for (i=0;i<NUM_SOUNDS;i++) { in sound_exit()
/dports/games/rockdodger/rockdodger-1.1.4/
H A Dsound.c14 #define NUM_SOUNDS 12 macro
27 static Mix_Chunk *wav[NUM_SOUNDS];
83 for(i = 0; i < NUM_SOUNDS; i++) { in init_sound()
103 if(i >= NUM_SOUNDS) fprintf(stderr, "Sound number %d is >= than %d!\n", i, NUM_SOUNDS); in play_sound()
/dports/games/fishsupper/fishsupper-0.1.6/src/
H A DSound_engine.cpp47 for (int i = 0; i < NUM_SOUNDS; ++i) in ~Sound_engine()
93 for (int i = 0; i < NUM_SOUNDS; ++i) in stop_all_sounds()
108 for (int i = 0; i < NUM_SOUNDS; ++i) in pause_all_sounds()
123 for (int i = 0; i < NUM_SOUNDS; ++i) in resume_all_sounds()
H A DSound_engine.h58 static const int NUM_SOUNDS = 4;
60 Mix_Chunk* sounds[NUM_SOUNDS];
/dports/games/xgalaga/xgalaga-2.1.1.0/
H A Dxgal.sndsrv.freebsd.c35 #define NUM_SOUNDS (sizeof(FILENAME)/sizeof(char*)) macro
37 signed char *sound_buffer[NUM_SOUNDS];
38 int sound_size[NUM_SOUNDS];
59 for (i=0; i < NUM_SOUNDS; i++) in init()
205 if(k>=NUM_SOUNDS) { in do_everything()
208 (int)k, NUM_SOUNDS); in do_everything()
H A Dxgal.sndsrv.sun.c38 #define NUM_SOUNDS (sizeof(FILENAME)/sizeof(char*)) macro
40 signed char *sound_buffer[NUM_SOUNDS];
41 int sound_size[NUM_SOUNDS];
64 for (i=0; i < NUM_SOUNDS; i++) in init()
H A Dxgal.sndsrv.linux.c44 #define NUM_SOUNDS (sizeof(FILENAME)/sizeof(char*)) macro
46 char *sound_buffer[NUM_SOUNDS];
47 int sound_size[NUM_SOUNDS];
70 for (i=0; i < NUM_SOUNDS; i++) in init()
/dports/games/gnubg/gnubg-1.06.002/
H A Dsound.h49 NUM_SOUNDS enumerator
52 extern const char *sound_description[NUM_SOUNDS];
53 extern const char *sound_command[NUM_SOUNDS];
/dports/games/supertux/supertux-0.1.3/src/
H A Dsound.h69 NUM_SOUNDS enumerator
72 extern char* soundfilenames[NUM_SOUNDS];
78 extern Mix_Chunk* sounds[NUM_SOUNDS];
H A Dsound.cpp31 char * soundfilenames[NUM_SOUNDS] = {
57 Mix_Chunk * sounds[NUM_SOUNDS];
/dports/games/nazghul/nazghul-0.7.1/src/
H A Dsound.c41 #define NUM_SOUNDS 64 macro
59 sound_t *sound_reverse_lookup[NUM_SOUNDS];
180 for (i = 0; i < NUM_SOUNDS; ++i) in sound_flush_ambient()
264 for (int i=0;i<NUM_SOUNDS;i++) in sound_init()
268 Mix_AllocateChannels(NUM_SOUNDS); in sound_init()
/dports/games/xkoules/koules1.4/
H A Dkoules.sndsrv.hp.c26 #define NUM_SOUNDS (sizeof(FILENAME)/sizeof(char*)) macro
28 short *sound_buffer[NUM_SOUNDS];
29 int sound_size[NUM_SOUNDS];
54 for (i = 0; i < NUM_SOUNDS; i++) in init()
H A Dkoules.sndsrv.sun.c40 #define NUM_SOUNDS (sizeof(FILENAME)/sizeof(char*)) macro
42 signed char *sound_buffer[NUM_SOUNDS];
43 int sound_size[NUM_SOUNDS];
68 for (i = 0; i < NUM_SOUNDS; i++) in init()
H A Dkoules.sndsrv.linux.c37 #define NUM_SOUNDS (sizeof(FILENAME)/sizeof(char*)) macro
39 signed char *sound_buffer[NUM_SOUNDS];
40 int sound_size[NUM_SOUNDS];
65 for (i = 0; i < NUM_SOUNDS; i++) in init()
H A Dkoules.sndsrv.freebsd.c36 #define NUM_SOUNDS (sizeof(FILENAME)/sizeof(char*)) macro
38 signed char *sound_buffer[NUM_SOUNDS];
39 int sound_size[NUM_SOUNDS];
64 for (i = 0; i < NUM_SOUNDS; i++) in init()
H A Dkoules.sndsrv.sgi.c37 #define NUM_SOUNDS (sizeof(FILENAME)/sizeof(char*)) macro
39 signed char *sound_buffer[NUM_SOUNDS];
41 int sound_size[NUM_SOUNDS];
63 for (i = 0; i < NUM_SOUNDS; i++) { in init()
H A Dsoundos2.c46 #define NUM_SOUNDS (sizeof(FILENAME)/sizeof(char*))
49 signed char *sound_buffer[NUM_SOUNDS];
51 int sound_size[NUM_SOUNDS];
592 printf ("%d sounds to be loaded\n", (int) NUM_SOUNDS);
598 for (i = 0; i < NUM_SOUNDS; i++)
/dports/games/foobillard/foobillard-3.0a/src/
H A Dsound_stuff.c45 #define NUM_SOUNDS 20 macro
53 } sounds[NUM_SOUNDS];
60 } sounds[NUM_SOUNDS];
79 for ( i=0; i<NUM_SOUNDS; ++i ) { in mixaudio()
103 for ( i=0; i<NUM_SOUNDS; ++i ) { in mixaudio()
149 for ( index=0; index<NUM_SOUNDS; ++index ) { in PlayData()
154 if ( index == NUM_SOUNDS ) in PlayData()
/dports/games/tomatoes/tomatoes-1.55/include/
H A Dsoundmusic.h79 #define NUM_SOUNDS 28 macro
82 extern Mix_Chunk *sounds[NUM_SOUNDS];
/dports/games/tuxpaint/tuxpaint-0.9.26/src/
H A Dsounds.h71 NUM_SOUNDS enumerator
81 static const char *sound_fnames[NUM_SOUNDS] = {
/dports/games/tuxmath/tuxmath_w_fonts-2.0.3/src/
H A Dfileops_media.c250 static char* sound_filenames[NUM_SOUNDS] = { in load_sound_data()
269 for (i = 0; i < NUM_SOUNDS; i++) in load_sound_data()

123