Logo Search packages:      
Sourcecode: castle-combat version File versions

sound.h

#ifndef SOUND_H
#define SOUND_H

#ifdef USE_SOUND
#include "SDL_mixer.h"
#endif

void InitSound();
void PlayMusic();

extern int sound;
#ifndef USE_SOUND
  void *CannonSound,*DropSound;
  void PlaySound(void *Sample);
#else
  extern Mix_Chunk *CannonSound,*DropSound;
  void PlaySound(Mix_Chunk *Sample);
#endif

#endif SOUND_H

Generated by  Doxygen 1.6.0   Back to index