OpenTTD Source 20260621-master-g720d10536d
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 >
 Instantiation of BaseSetTraits for a GraphicSet. More...
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 class  GraphicsFileType : uint8_t {
  Base , Logos , Arctic , Tropical ,
  Toyland , Extra , End
}
 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 class GraphicsFileType : uint8_t
strong

Types of graphics in the base graphics set.

Enumerator
Base 

Base sprites for all climates.

Logos 

Logos, landscape icons and original terrain generator sprites.

Arctic 

Landscape replacement sprites for arctic.

Tropical 

Landscape replacement sprites for tropical.

Toyland 

Landscape replacement sprites for toyland.

Extra 

Extra sprites that were not part of the original sprites.

End 

We are looking for this amount of GRFs.

Definition at line 16 of file base_media_graphics.h.