22#ifndef NEVERHOOD_PALETTE_H
23#define NEVERHOOD_PALETTE_H
25#include "neverhood/neverhood.h"
26#include "neverhood/entity.h"
43 void addPalette(
const char *filename,
int toIndex,
int count,
int fromIndex);
44 void addPalette(uint32 fileHash,
int toIndex,
int count,
int fromIndex);
45 void addBasePalette(uint32 fileHash,
int toIndex,
int count,
int fromIndex);
46 void copyPalette(
const byte *palette,
int toIndex,
int count,
int fromIndex);
47 void copyBasePalette(
int toIndex,
int count,
int fromIndex);
48 void startFadeToBlack(
int counter);
49 void startFadeToWhite(
int counter);
50 void startFadeToPalette(
int counter);
51 void fillBaseWhite(
int index,
int count);
52 void fillBaseBlack(
int index,
int count);
53 void copyToBasePalette(
byte *palette);
59 byte _fadeToR, _fadeToG, _fadeToB;
62 void fadeColor(
byte *rgb,
byte toR,
byte toG,
byte toB);
63 int calculateFadeStep(
int counter);
Definition: neverhood.h:69