OpenTTD Source: src/base_media_graphics.h File Reference

OpenTTD Source 15.0-RC2

Data Structures | Enumerations
base_media_graphics.h File Reference

Generic functions for replacing base graphics data. More...

`#include "base_media_base.h"`

Go to the source code of this file.

## Data Structures
struct | BaseSetTraits< struct GraphicsSet >
struct | GraphicsSet
| All data of a graphics set. More...
class | BaseGraphics
| All data/functions related with replacing the base graphics. More...
struct | BaseGraphics::Ini
| Values loaded from config file. More...

## Enumerations
enum | GraphicsFileType : uint8_t { GFT_BASE , GFT_LOGOS , GFT_ARCTIC , GFT_TROPICAL , GFT_TOYLAND , GFT_EXTRA , MAX_GFT }
| Types of graphics in the base graphics set. More...
enum | BlitterType : uint8_t { BLT_8BPP , BLT_32BPP }
| Blitter type for base graphics sets. More...

## Detailed Description

Generic functions for replacing base graphics data.

Definition in file base_media_graphics.h.

## Enumeration Type Documentation

## ◆ BlitterType

enum BlitterType : uint8_t

Blitter type for base graphics sets.

Enumerator
BLT_8BPP | Base set has 8 bpp sprites only.
BLT_32BPP | Base set has both 8 bpp and 32 bpp sprites.

Definition at line 27 of file base_media_graphics.h.

## ◆ GraphicsFileType

enum GraphicsFileType : uint8_t

Types of graphics in the base graphics set.

Enumerator
GFT_BASE | Base sprites for all climates.
GFT_LOGOS | Logos, landscape icons and original terrain generator sprites.
GFT_ARCTIC | Landscape replacement sprites for arctic.
GFT_TROPICAL | Landscape replacement sprites for tropical.
GFT_TOYLAND | Landscape replacement sprites for toyland.
GFT_EXTRA | Extra sprites that were not part of the original sprites.
MAX_GFT | We are looking for this amount of GRFs.

Definition at line 16 of file base_media_graphics.h.