/dports/games/avp/avp-20170505/src/avp/ |
H A D | scream.cpp | 25 int num_sounds; member 120 cat->num_sounds=*(unaligned_s32*)bufpos; in LoadSounds() 123 if(cat->num_sounds) in LoadSounds() 132 for(int k=0;k<cat->num_sounds;) in LoadSounds() 151 cat->num_sounds--; in LoadSounds() 172 for(int k=0;k<cat->num_sounds;k++) in UnloadSounds() 221 if(!cat->num_sounds) return; in PlaySound() 223 int index=FastRandom()% cat->num_sounds; in PlaySound() 227 if(cat->num_sounds>2) in PlaySound() 229 while(num_checked<cat->num_sounds) in PlaySound() [all …]
|
H A D | bh_plachier.c | 57 ph_bhv->num_sounds=ph_tt->num_sounds; in PlacedHierarchyBehaveInit() 269 for(i=0;i<ph_bhv->num_sounds;i++) in DeletePlacedHierarchy() 287 for(i=0;i<ph_bhv->num_sounds;i++) in PlacedHierarchyStopSequence() 381 for(i=0;i<loaded_num_sounds && i<ph_bhv->num_sounds;i++) in LoadStrategy_PlacedHierarchy() 401 for(i=0;i<ph_bhv->num_sounds;i++) in LoadStrategy_PlacedHierarchy() 419 size = sizeof(SAVE_BLOCK_STRATEGY_HEADER)+(2*sizeof(int))+(sizeof(int)*ph_bhv->num_sounds); in SaveStrategy_PlacedHierarchy() 437 *(int*)buffer = ph_bhv->num_sounds; in SaveStrategy_PlacedHierarchy() 440 for(i=0;i<ph_bhv->num_sounds;i++) in SaveStrategy_PlacedHierarchy() 450 for(i=0;i<ph_bhv->num_sounds;i++) in SaveStrategy_PlacedHierarchy()
|
H A D | bh_plachier.h | 58 int num_sounds; member 80 int num_sounds; member
|
/dports/multimedia/libbluray/libbluray-1.3.0/src/libbluray/bdnav/ |
H A D | sound_parse.c | 131 for (i = 0 ; i < (*p)->num_sounds; i++) { in sound_free() 145 uint16_t num_sounds; in _sound_parse() local 167 num_sounds = bs_read(&bs, 8); in _sound_parse() 169 if (data_len < 1 || num_sounds < 1) { in _sound_parse() 174 data_offsets = calloc(num_sounds, sizeof(uint32_t)); in _sound_parse() 180 data->num_sounds = num_sounds; in _sound_parse() 181 data->sounds = calloc(num_sounds, sizeof(SOUND_OBJECT)); in _sound_parse() 189 for (i = 0; i < data->num_sounds; i++) { in _sound_parse() 198 for (i = 0; i < data->num_sounds; i++) { in _sound_parse()
|
H A D | sound_parse.h | 37 uint16_t num_sounds; member
|
/dports/multimedia/handbrake/libbluray-1.3.0/src/libbluray/bdnav/ |
H A D | sound_parse.c | 131 for (i = 0 ; i < (*p)->num_sounds; i++) { in sound_free() 145 uint16_t num_sounds; in _sound_parse() local 167 num_sounds = bs_read(&bs, 8); in _sound_parse() 169 if (data_len < 1 || num_sounds < 1) { in _sound_parse() 174 data_offsets = calloc(num_sounds, sizeof(uint32_t)); in _sound_parse() 180 data->num_sounds = num_sounds; in _sound_parse() 181 data->sounds = calloc(num_sounds, sizeof(SOUND_OBJECT)); in _sound_parse() 189 for (i = 0; i < data->num_sounds; i++) { in _sound_parse() 198 for (i = 0; i < data->num_sounds; i++) { in _sound_parse()
|
H A D | sound_parse.h | 37 uint16_t num_sounds; member
|
/dports/games/xgalaga/xgalaga-2.1.1.0/ |
H A D | nas_sound.c | 41 static int num_sounds = 0; variable 163 for (i = 0; i < num_sounds; i++) 173 if (i == num_sounds) 176 sound_table[num_sounds].name = malloc(strlen(filename) + 1); 177 strcpy(sound_table[num_sounds].name, filename); 185 sound_table[num_sounds].filename = malloc(strlen(fbuf) + 1); 186 strcpy(sound_table[num_sounds].filename, fbuf); 188 num_sounds++;
|
/dports/games/uqm/uqm-0.8.0/src/uqm/ |
H A D | sounds.c | 26 static BYTE num_sounds = 0; variable 90 num_sounds = MAX_SOUNDS; in ProcessSound() 92 else if (num_sounds < MAX_SOUNDS) in ProcessSound() 94 sound_buf[num_sounds] = Sound; in ProcessSound() 95 sound_posobj[num_sounds++] = PositionalObject; in ProcessSound() 165 if (num_sounds > 0) in FlushSounds() 177 } while (--num_sounds); in FlushSounds() 192 for (i = 0; i < num_sounds; ++i) in RemoveSoundsForObject()
|
/dports/games/tuxracer/tuxracer-0.61/src/ |
H A D | audio.c | 31 int num_sounds; member 180 for (i=0; i<data->num_sounds; i++) { in bind_sounds_to_context() 192 if ( num_sounds == 0 ) { in bind_sounds_to_context() 198 check_assertion( num_sounds > 0, "num_sounds isn't > 0 " ); in bind_sounds_to_context() 200 data->num_sounds = num_sounds; in bind_sounds_to_context() 201 data->sound_names = (char**)malloc( sizeof(char*)*num_sounds ); in bind_sounds_to_context() 207 for (i=0; i<num_sounds; i++) { in bind_sounds_to_context() 295 for (i=0; i<data->num_sounds; i++) { in flush_cached_sound_chunks() 354 i = (int) (((double)data->num_sounds)*rand()/(RAND_MAX+1.0)); in get_Mix_Chunk() 541 i = (int) (((double)data->num_sounds)*rand()/(RAND_MAX+1.0)); in set_sound_volume() [all …]
|
H A D | audio.h | 35 void bind_sounds_to_context( char *sound_context, char **names, int num_sounds );
|
/dports/games/xkoules/koules1.4/ |
H A D | nas_sound.c | 36 static int num_sounds = 0; variable 161 for (i = 0; i < num_sounds; i++) 171 if (i == num_sounds) 174 sound_table[num_sounds].name = strdup (filename); 182 sound_table[num_sounds].filename = strdup (fbuf); 183 num_sounds++;
|
/dports/games/xboing/xboing/audio/ |
H A D | NCDaudio.c | 69 static int num_sounds = 0; variable 232 for (i = 0; i < num_sounds; i++) 242 if (i == num_sounds) 245 sound_table[num_sounds].name = strdup(filename); 253 sound_table[num_sounds].filename = strdup(fbuf); 254 num_sounds++;
|
/dports/games/angband/Angband-4.2.2/src/ |
H A D | sound-core.c | 42 u16b num_sounds; member 177 message_sounds[message_id].num_sounds = 0; in message_sound_define() 229 if (message_sounds[message_id].num_sounds < (MAX_SOUNDS_PER_MESSAGE - 1)) { in message_sound_define() 230 message_sounds[message_id].sound_ids[message_sounds[message_id].num_sounds] = sound_id; in message_sound_define() 231 message_sounds[message_id].num_sounds++; in message_sound_define() 298 if (!message_sounds[data->message.type].num_sounds) in play_sound() 301 s = randint0(message_sounds[data->message.type].num_sounds); in play_sound()
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/d1x-rebirth/main/ |
H A D | custom.cpp | 100 static int load_pig1(PHYSFS_File *f, unsigned num_bitmaps, unsigned num_sounds, unsigned &num_custo… in load_pig1() argument 120 num_sounds = PHYSFSX_readInt(f); in load_pig1() 126 num_sounds >= MAX_SOUND_FILES) in load_pig1() 128 ci = std::make_unique<custom_info[]>(num_bitmaps + num_sounds); in load_pig1() 130 data_ofs += num_bitmaps * sizeof(DiskBitmapHeader) + num_sounds * sizeof(DiskSoundHeader); in load_pig1() 150 i = num_sounds; in load_pig1() 167 num_custom = num_bitmaps + num_sounds; in load_pig1()
|
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/src/script/ |
H A D | script_audio.cpp | 129 bool Script_GetOverridedSamplesInfo(lua_State *lua, int *num_samples, int *num_sounds, char *sample… in Script_GetOverridedSamplesInfo() argument 146 *num_sounds = lua_tointeger(lua, -2); in Script_GetOverridedSamplesInfo() 149 … result = ((*num_sounds != -1) && (*num_samples != -1) && (strcmp(real_path, "NONE") != 0)); in Script_GetOverridedSamplesInfo()
|
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/ |
H A D | i_sound.h | 150 void (*CacheSounds)(sfxinfo_t *sounds, int num_sounds); 162 void I_PrecacheSounds(sfxinfo_t *sounds, int num_sounds);
|
H A D | i_sound.c | 380 void I_PrecacheSounds(sfxinfo_t *sounds, int num_sounds) in I_PrecacheSounds() argument 384 sound_module->CacheSounds(sounds, num_sounds); in I_PrecacheSounds()
|
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/ |
H A D | i_sound.h | 150 void (*CacheSounds)(sfxinfo_t *sounds, int num_sounds); 162 void I_PrecacheSounds(sfxinfo_t *sounds, int num_sounds);
|
H A D | i_sound.c | 345 void I_PrecacheSounds(sfxinfo_t *sounds, int num_sounds) in I_PrecacheSounds() argument 349 sound_module->CacheSounds(sounds, num_sounds); in I_PrecacheSounds()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/ |
H A D | room.cpp | 665 int num_sounds = *(roomptr + 23); in setupRoomSubBlocks() local 667 ptr = roomptr + 29 + num_objects * 4 + num_sounds + num_scripts; in setupRoomSubBlocks() 683 int num_sounds; in setupRoomSubBlocks() local 687 num_sounds = *(roomptr + 22); in setupRoomSubBlocks() 690 while (num_sounds--) in setupRoomSubBlocks() 695 num_sounds = *(roomptr + 23); in setupRoomSubBlocks() 697 ptr = roomptr + 29 + num_objects * 4 + num_sounds + num_scripts; in setupRoomSubBlocks()
|
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/ |
H A D | room.cpp | 665 int num_sounds = *(roomptr + 23); in setupRoomSubBlocks() local 667 ptr = roomptr + 29 + num_objects * 4 + num_sounds + num_scripts; in setupRoomSubBlocks() 683 int num_sounds; in setupRoomSubBlocks() local 687 num_sounds = *(roomptr + 22); in setupRoomSubBlocks() 690 while (num_sounds--) in setupRoomSubBlocks() 695 num_sounds = *(roomptr + 23); in setupRoomSubBlocks() 697 ptr = roomptr + 29 + num_objects * 4 + num_sounds + num_scripts; in setupRoomSubBlocks()
|
/dports/games/mirrormagic/mirrormagic-2.0.2/src/libgame/ |
H A D | sound.c | 26 static int num_sounds = 0, num_music = 0; variable 932 num_sounds++; in LoadSoundExt() 933 Sound = checked_realloc(Sound, num_sounds * sizeof(struct SampleInfo)); in LoadSoundExt() 935 snd_info = &Sound[num_sounds - 1]; in LoadSoundExt() 1113 nr = num_sounds - num_music + nr; in PlayMusic() 1293 void FreeSounds(int num_sounds) in FreeSounds() argument 1300 for(i=0; i<num_sounds; i++) in FreeSounds()
|
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/scripts/audio/ |
H A D | sample_override.lua | 185 num_sounds = 165, 200 …return tr_sound_info[ver].num_samples, tr_sound_info[ver].num_sounds, tr_sound_info[ver].sample_na…
|
/dports/games/avp/avp-20170505/src/avp/win95/ |
H A D | projload.hpp | 87 int num_sounds; member in Global_Hierarchy_Store
|