Advanced Strategic Command
Classes | Typedefs | Variables
palette.h File Reference

The color palette and various color translation tables. More...

#include <SDL_stdinc.h>
Include dependency graph for palette.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  txlattables
 

Typedefs

typedef Uint8 tmixbuf [256][256]
 
typedef tmixbufpmixbuf
 
typedef Uint8 tpixelxlattable [256]
 
typedef tpixelxlattableppixelxlattable
 
typedef Uint8 dacpalette256 [256][3]
 
typedef Uint8 dacpalettefst [256][4]
 

Variables

txlattables xlattables
 
tmixbufcolormixbuf
 
Uint8 * colormixbufchar
 
dacpalette256 pal
 
bool asc_paletteloaded
 
ppixelxlattable xlatpictgraytable
 

Detailed Description

The color palette and various color translation tables.

Definition in file palette.h.

Typedef Documentation

typedef Uint8 dacpalette256[256][3]

Definition at line 76 of file palette.h.

typedef Uint8 dacpalettefst[256][4]

Definition at line 77 of file palette.h.

typedef tmixbuf* pmixbuf

Definition at line 73 of file palette.h.

Definition at line 75 of file palette.h.

typedef Uint8 tmixbuf[256][256]

Definition at line 72 of file palette.h.

typedef Uint8 tpixelxlattable[256]

Definition at line 74 of file palette.h.

Variable Documentation

bool asc_paletteloaded

Definition at line 42 of file palette.cpp.

Referenced by loadpalette().

tmixbuf* colormixbuf

Definition at line 38 of file palette.cpp.

Referenced by loadpalette().

Uint8* colormixbufchar

Definition at line 39 of file palette.cpp.

Referenced by ColorMerger_AlphaMixer< 1 >::assign(), and loadpalette().

ppixelxlattable xlatpictgraytable
txlattables xlattables

Definition at line 37 of file palette.cpp.

Referenced by loadcursor(), loadpalette(), and tdialogbox::redraw().