Click here to Skip to main content
15,881,089 members
Articles / Desktop Programming / WTL

The Psychology of a WTL Project: Lowercase Cause (a typing program)

Rate me:
Please Sign up or sign in to vote.
4.99/5 (32 votes)
20 Apr 200524 min read 63.5K   2.7K   25  
A psychological journey into a project crafted from start to finish.
#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.

License

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


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions