OpenTTD Source 20250503-master-gf4f05dea33
|
Factory for the blitter that does nothing. More...
#include <null.hpp>
Public Member Functions | |
std::unique_ptr< Blitter > | CreateInstance () override |
Create an instance of this Blitter-class. | |
![]() | |
std::string_view | GetName () const |
Get the long, human readable, name for the Blitter-class. | |
std::string_view | GetDescription () const |
Get a nice description of the blitter-class. | |
Additional Inherited Members | |
![]() | |
static Blitter * | SelectBlitter (std::string_view name) |
Find the requested blitter and return its class. | |
static BlitterFactory * | GetBlitterFactory (std::string_view name) |
Get the blitter factory with the given name. | |
static Blitter * | GetCurrentBlitter () |
Get the current active blitter (always set by calling SelectBlitter). | |
static void | GetBlittersInfo (std::back_insert_iterator< std::string > &output_iterator) |
Fill a buffer with information about the blitters. | |
![]() | |
BlitterFactory (std::string_view name, std::string_view description, bool usable=true) | |
Construct the blitter, and register it. | |
virtual bool | IsUsable () const |
Is the blitter usable with the current drivers and hardware config? | |
|
inlineoverridevirtual |
Create an instance of this Blitter-class.
Implements BlitterFactory.