OpenTTD Source: FVideoDriver_Allegro Class Reference

OpenTTD Source 14.1

Public Member Functions
FVideoDriver_Allegro Class Reference

Factory for the allegro video driver. More...

`#include <allegro_v.h>`

Inheritance diagram for FVideoDriver_Allegro:

## Public Member Functions
Driver * | CreateInstance () const override
| Create an instance of this driver-class. More...
Public Member Functions inherited from DriverFactoryBase
const char * | GetDescription () const
| Get a nice description of the driver-class. More...

## Additional Inherited Members
Static Public Member Functions inherited from DriverFactoryBase
static void | ShutdownDrivers ()
| Shuts down all active drivers.
static void | SelectDriver (const std::string &name, Driver::Type type)
| Find the requested driver and return its class. More...
static void | GetDriversInfo (std::back_insert_iterator< std::string > &output_iterator)
| Build a human readable list of available drivers, grouped by type. More...
Protected Member Functions inherited from DriverFactoryBase
| DriverFactoryBase (Driver::Type type, int priority, const char *name, const char *description)
| Construct a new DriverFactory. More...
virtual | ~DriverFactoryBase ()
| Frees memory used for this->name.
virtual bool | UsesHardwareAcceleration () const
| Does the driver use hardware acceleration (video-drivers only). More...

## Detailed Description

Factory for the allegro video driver.

Definition at line 46 of file allegro_v.h.

## Member Function Documentation

## ◆ CreateInstance()

Driver* FVideoDriver_Allegro::CreateInstance | ( |  | ) | const
| inlineoverridevirtual

Create an instance of this driver-class.

Returns
  The instance.

Implements DriverFactoryBase.

Definition at line 49 of file allegro_v.h.

The documentation for this class was generated from the following file:

- src/video/allegro_v.h