Subversion Repositories Games.Carmageddon

Rev

Rev 18 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef _3D_H_
  2. #define _3D_H_
  3.  
  4. #include "brender/brender.h"
  5. #include "s3_defs.h"
  6.  
  7. void S3Set3DSoundEnvironment(float a1, float a2, float a3);
  8.  
  9. void S3UpdateListenerVectors(void);
  10. void S3ServiceAmbientSoundSources(void);
  11. int S3UpdateSpatialSound(tS3_channel* chan);
  12. int S3BindAmbientSoundToOutlet(tS3_outlet* pOutlet, int pSound, tS3_sound_source* source, float pMax_distance, int pPeriod, int pRepeats, int pVolume, int pPitch, int pSpeed);
  13. void S3UpdateSoundSource(tS3_outlet* outlet, tS3_sound_tag tag, tS3_sound_source* src, float pMax_distance_squared, int pPeriod, tS3_repeats pAmbient_repeats, tS3_volume pVolume, int pPitch, tS3_speed pSpeed);
  14. void S3StopSoundSource(tS3_sound_source* src);
  15.  
  16. tS3_sound_tag S3ServiceSoundSource(tS3_sound_source* src);
  17.  
  18. int S3Calculate3D(tS3_channel* chan, int pIs_ambient);
  19.  
  20. void S3CopyVector3(void* a1, void* a2, int pBrender_vector);
  21. void S3CopyBrVector3(tS3_vector3* a1, br_vector3* a2);
  22. void S3CopyS3Vector3(tS3_vector3* a1, tS3_vector3* a2);
  23.  
  24. #endif
  25.