OpenTTD Source 20241224-master-gee860a5c8e
|
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. | |
Information about the currently used palette.
Definition at line 328 of file gfx_type.h.
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().
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().
Colour Palette::palette[256] |
Current palette. Entry 0 has to be always fully transparent!
Definition at line 329 of file gfx_type.h.
Referenced by DrawSpriteToRgbaBuffer(), FindNearestColourIndex(), GetContrastColour(), Blitter_32bppAnim::LookupColourInPalette(), Blitter_32bppBase::LookupColourInPalette(), MakeLargeWorldScreenshot(), MakeMinimapWorldScreenshot(), MakeSmallScreenshot(), and VideoDriver_SDL_OpenGL::Paint().