Files @ r12458:1218346ee511
Branch filter:

Location: cpp/openttd-patchpack/source/src/sound/allegro_s.h

translators
(svn r16903) -Update from WebTranslator v3.0:
simplified_chinese - 2 changes by Gavin
danish - 5 changes by Bjarni
dutch - 1 changes by habell
finnish - 17 changes by jpx_
hungarian - 1 changes by alyr
italian - 1 changes by lorenzodv
korean - 1 changes by darkttd
russian - 15 changes by Lone_Wolf
serbian - 90 changes by BlueEyedFiend
welsh - 24 changes by welshdragon
/* $Id$ */

/** @file allegro_s.h Base fo playing sound via Allegro. */

#ifndef SOUND_ALLEGRO_H
#define SOUND_ALLEGRO_H

#include "sound_driver.hpp"

class SoundDriver_Allegro: public SoundDriver {
public:
	/* virtual */ const char *Start(const char * const *param);

	/* virtual */ void Stop();

	/* virtual */ void MainLoop();
};

class FSoundDriver_Allegro: public SoundDriverFactory<FSoundDriver_Allegro> {
public:
	static const int priority = 5;
	/* virtual */ const char *GetName() { return "allegro"; }
	/* virtual */ const char *GetDescription() { return "Allegro Sound Driver"; }
	/* virtual */ Driver *CreateInstance() { return new SoundDriver_Allegro(); }
};

#endif /* SOUND_ALLEGRO_H */