|
#pragma once
#include "stdafx.h"
#include "wavebox.h"
// singleton for playing our sounds
class sound_system
{
public:
static void init();
static void mute(bool mute = true);
static void play(int sound_index);
static void play_hit();
static void play_miss();
static void play_fatal();
static void play_intro();
static void play_start();
static void play_end();
static void play_high_score();
static void play_high_scores();
static void play_about();
private:
static CWaveBox _wave_box;
static bool _muted;
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.