|
OpenTTD Source
14.0-beta3
|
Go to the documentation of this file.
10 #ifndef SOUND_ALLEGRO_H
11 #define SOUND_ALLEGRO_H
23 const char *
GetName()
const override {
return "allegro"; }
void MainLoop() override
Called once every tick.
const char * GetName() const override
Get the name of this driver.
DriverFactoryBase(Driver::Type type, int priority, const char *name, const char *description)
Construct a new DriverFactory.
Driver * CreateInstance() const override
Create an instance of this driver-class.
std::vector< std::string > StringList
Type for a list of strings.
@ DT_SOUND
A sound driver.
const char * Start(const StringList ¶m) override
Start this driver.
Base for all sound drivers.
Implementation of the allegro sound driver.
void Stop() override
Stop this driver.
Factory for the allegro sound driver.
A driver for communicating with the user.
Base for all driver factories.