Logo Search packages:      
Sourcecode: race version File versions


#ifndef race_car_sfx
#define race_car_sfx

#include <ClanLib/sound.h>

class CarSfx
      static void init();
      static void update_ai_engine_frequency();
      // start played at beginning of each race.
      static CL_SoundBuffer *engine_start;

      // engine high is the sound that we change pitch on.
      static std::vector<CL_SoundBuffer*> engine_high;

      // engine low is played always with the same freq.
      static std::vector<CL_SoundBuffer*> engine_low;


Generated by  Doxygen 1.6.0   Back to index