OpenTTD Source: src/blitter/base.hpp File Reference

OpenTTD Source 15.3

Data Structures | Enumerations
base.hpp File Reference

Base for all blitters. More...

`#include "../spritecache.h"`
`#include "../spriteloader/spriteloader.hpp"`

Go to the source code of this file.

## Data Structures
class | Blitter
| How all blitters should look like. More...
struct | Blitter::BlitterParams
| Parameters related to blitting. More...

## Enumerations
enum class | BlitterMode : uint8_t { Normal , ColourRemap , Transparent , TransparentRemap , CrashRemap , BlackRemap }
| The modes of blitting we can do. More...

## Detailed Description

Base for all blitters.

Definition in file base.hpp.

## Enumeration Type Documentation

## ◆ BlitterMode

enum class BlitterMode : uint8_t
| strong

The modes of blitting we can do.

Enumerator
Normal | Perform the simple blitting.
ColourRemap | Perform a colour remapping.
Transparent | Perform transparency darkening remapping.
TransparentRemap | Perform transparency colour remapping.
CrashRemap | Perform a crash remapping.
BlackRemap | Perform remapping to a completely blackened sprite.

Definition at line 17 of file base.hpp.