9a76eea2f5a4966f140916a40d0f5bf4b00fb01b | ecea45defab258134a175bcf8a178f1ac7e4243e | ||
---|---|---|---|
223 | VECTORCH * worldPosn = NULL; | 223 | VECTORCH * worldPosn = NULL; |
224 | int reverb_off = 0; | 224 | int reverb_off = 0; |
225 | int soundStartPosition = 0; | 225 | int soundStartPosition = 0; |
226 | int species = -1; | ||
227 | int species_category = -1; | ||
226 | 228 | ||
227 | //printf("About to play sound %i %s\n", soundNumber, GameSounds[soundNumber].wavName); | 229 | //printf("About to play sound %i %s\n", soundNumber, GameSounds[soundNumber].wavName); |
228 | 230 | ||
... | ... | ||
285 | break; | 287 | break; |
286 | case 'P': | 288 | case 'P': |
287 | soundStartPosition = va_arg(argPtr,int); | 289 | soundStartPosition = va_arg(argPtr,int); |
290 | break; | ||
291 | case 's': | ||
292 | species = va_arg(argPtr, int); | ||
293 | break; | ||
294 | case 'c': | ||
295 | species_category = va_arg(argPtr, int); | ||
288 | default: | 296 | default: |
289 | break; | 297 | break; |
290 | } | 298 | } |
... | ... | ||
356 | ActiveSounds[newIndex].volume = volume; | 364 | ActiveSounds[newIndex].volume = volume; |
357 | ActiveSounds[newIndex].pitch = pitch; | 365 | ActiveSounds[newIndex].pitch = pitch; |
358 | ActiveSounds[newIndex].externalRef = externalRef; | 366 | ActiveSounds[newIndex].externalRef = externalRef; |
367 | ActiveSounds[newIndex].species = species; | ||
368 | ActiveSounds[newIndex].species_category = species_category; | ||
359 | ActiveSounds[newIndex].loop = loop; | 369 | ActiveSounds[newIndex].loop = loop; |
360 | ActiveSounds[newIndex].threedee = 0; | 370 | ActiveSounds[newIndex].threedee = 0; |
361 | ActiveSounds[newIndex].paused = 0; | 371 | ActiveSounds[newIndex].paused = 0; |