DSC Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
DSC::PaletteLoader Class Reference

Public Member Functions

 PaletteLoader (PaletteManager *standard_pal_mng)
 
 PaletteLoader (PaletteManager *standard_pal_mng, const Vector< PaletteManager * > &extended_pal_mng)
 
void add_extended_palette_manager (PaletteManager *pal_mng)
 
void set_default_allocation_mode (int allocation_mode)
 
PaletteAllocationResult try_load (const AssetData *asset, int allocation_mode=0)
 
void unload (const AssetData *asset)
 
void unload (const AssetData *asset, int palette_index)
 

Static Public Member Functions

static constexpr int EXTENDED_PALETTE (int p)
 

Static Public Attributes

static constexpr int ALLOC_MODE_DEFAULT = 0
 
static constexpr int ALLOC_MODE_STANDARD_PALETTE = 1<<0
 
static constexpr int ALLOC_MODE_EXTENDED_PALETTES = 1<<1
 
static constexpr int STANDARD_PALETTE = -1
 

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