OpenTTD Source 20241224-master-gee860a5c8e
Palette Struct Reference

Information about the currently used palette. More...

#include <gfx_type.h>

Data Fields

Colour palette [256]
 Current palette. Entry 0 has to be always fully transparent!
 
int first_dirty
 The first dirty element.
 
int count_dirty
 The number of dirty elements.
 

Detailed Description

Information about the currently used palette.

Definition at line 328 of file gfx_type.h.

Field Documentation

◆ count_dirty

int Palette::count_dirty

The number of dirty elements.

Definition at line 331 of file gfx_type.h.

Referenced by CopyPalette(), VideoDriver_SDL_Default::Paint(), VideoDriver_SDL_OpenGL::Paint(), and VideoDriver_Win32GDI::Paint().

◆ first_dirty

int Palette::first_dirty

The first dirty element.

Definition at line 330 of file gfx_type.h.

Referenced by CopyPalette(), VideoDriver_Win32GDI::Paint(), and Blitter_32bppAnim::PaletteAnimate().

◆ palette


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