Searched refs:sound_sources (Results 1 – 9 of 9) sorted by relevance
79 static int sound_sources=10; variable80 static tConfItem<int> ss("SOUND_SOURCES",sound_sources);103 if (real_sound_sources>sound_sources+4) in fill_audio()105 if (real_sound_sources>sound_sources+1) in fill_audio()107 if (real_sound_sources<sound_sources-4) in fill_audio()109 if (real_sound_sources<sound_sources-1) in fill_audio()820 sound_sources,2,20,2);
296 …this->sound_sources = (tr_sound_source_t*)malloc(this->sound_sources_count * sizeof(tr_sound_sourc… in read_tr3_level()299 this->sound_sources[i].x = read_bit32(src); in read_tr3_level()300 this->sound_sources[i].y = read_bit32(src); in read_tr3_level()301 this->sound_sources[i].z = read_bit32(src); in read_tr3_level()303 this->sound_sources[i].sound_id = read_bitu16(src); in read_tr3_level()304 this->sound_sources[i].flags = read_bitu16(src); in read_tr3_level()
350 …this->sound_sources = (tr_sound_source_t*)malloc(this->sound_sources_count * sizeof(tr_sound_sourc… in read_tr2_level()353 this->sound_sources[i].x = read_bit32(src); in read_tr2_level()354 this->sound_sources[i].y = read_bit32(src); in read_tr2_level()355 this->sound_sources[i].z = read_bit32(src); in read_tr2_level()357 this->sound_sources[i].sound_id = read_bitu16(src); in read_tr2_level()358 this->sound_sources[i].flags = read_bitu16(src); in read_tr2_level()
753 …this->sound_sources = (tr_sound_source_t*)malloc(this->sound_sources_count * sizeof(tr_sound_sourc… in read_tr5_level()756 this->sound_sources[i].x = read_bit32(src); in read_tr5_level()757 this->sound_sources[i].y = read_bit32(src); in read_tr5_level()758 this->sound_sources[i].z = read_bit32(src); in read_tr5_level()760 this->sound_sources[i].sound_id = read_bitu16(src); in read_tr5_level()761 this->sound_sources[i].flags = read_bitu16(src); in read_tr5_level()
728 …this->sound_sources = (tr_sound_source_t*)malloc(this->sound_sources_count * sizeof(tr_sound_sourc… in read_tr_level()731 this->sound_sources[i].x = read_bit32(src); in read_tr_level()732 this->sound_sources[i].y = read_bit32(src); in read_tr_level()733 this->sound_sources[i].z = read_bit32(src); in read_tr_level()735 this->sound_sources[i].sound_id = read_bitu16(src); in read_tr_level()736 this->sound_sources[i].flags = read_bitu16(src); in read_tr_level()
676 …this->sound_sources = (tr_sound_source_t*)malloc(this->sound_sources_count * sizeof(tr_sound_sourc… in read_tr4_level()679 this->sound_sources[i].x = read_bit32(newsrc); in read_tr4_level()680 this->sound_sources[i].y = read_bit32(newsrc); in read_tr4_level()681 this->sound_sources[i].z = read_bit32(newsrc); in read_tr4_level()683 this->sound_sources[i].sound_id = read_bitu16(newsrc); in read_tr4_level()684 this->sound_sources[i].flags = read_bitu16(newsrc); in read_tr4_level()
86 this->sound_sources = NULL; // destroyed in TR_Level()250 free(this->sound_sources); in ~TR_Level()251 this->sound_sources = NULL; in ~TR_Level()512 tr_sound_source_t *sound_sources; ///< \brief sound sources. variable
1659 audio_world_data.audio_emitters[i].sound_index = tr->sound_sources[i].sound_id; in Audio_GenSamples()1660 audio_world_data.audio_emitters[i].position[0] = tr->sound_sources[i].x; in Audio_GenSamples()1661 audio_world_data.audio_emitters[i].position[1] = tr->sound_sources[i].z; in Audio_GenSamples()1662 audio_world_data.audio_emitters[i].position[2] = -tr->sound_sources[i].y; in Audio_GenSamples()1663 audio_world_data.audio_emitters[i].flags = tr->sound_sources[i].flags; in Audio_GenSamples()
1145 short sound_sources= 0; in precalculate_polygon_sound_sources() local1171 if (close) add_map_index(object_index, &sound_sources); in precalculate_polygon_sound_sources()1175 add_map_index(NONE, &sound_sources); in precalculate_polygon_sound_sources()