#include <base_media_base.h>
Static Public Member Functions | |
static void | DeterminePalette () |
Determine the palette of the current graphics set. |
Definition at line 241 of file base_media_base.h.
void BaseGraphics::DeterminePalette | ( | ) | [static] |
Determine the palette of the current graphics set.
Determine the palette that has to be used.
Definition at line 266 of file gfxinit.cpp.
References _palette_remap, _palette_reverse_remap, _palmap_d2w, _palmap_w2d, _use_palette, MAX_PAL, PAL_DOS, PAL_WINDOWS, GraphicsSet::palette, UpdateNewGRFConfigPalette(), and BaseMedia< GraphicsSet >::used_set.
Referenced by CheckExternalFiles().