Advanced Strategic Command
Functions | Variables
lighten.h File Reference
#include <cmath>
#include <map>
#include "loki/static_check.h"
#include "../libs/sdlmm/src/sdlmm.h"
#include "surface.h"
#include "../misc.h"
#include "../palette.h"
Include dependency graph for lighten.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


SDLmm::Color lighten_Color (SDLmm::Color color, int factor16)
void lighten_Color (SDLmm::Color *color, int factor16)
SDL_Color lighten_Color (const SDL_Color &color, int factor16)


Uint8 saturationTranslationTable [256][256]

Function Documentation

SDLmm::Color lighten_Color ( SDLmm::Color  color,
int  factor16 
void lighten_Color ( SDLmm::Color color,
int  factor16 

Definition at line 45 of file lighten.h.

References lighten_Color().

SDL_Color lighten_Color ( const SDL_Color &  color,
int  factor16 

Definition at line 50 of file lighten.h.

References saturationTranslationTable.

Variable Documentation

Uint8 saturationTranslationTable[256][256]

Definition at line 35 of file drawing.cpp.

Referenced by lighten_Color(), and TableGenerator::TableGenerator().