_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <stdint.h>
#include <vector>
Go to the source code of this file.
Classes | |
class | CColor |
A platform independent color. More... | |
class | CUnitColors |
class | PaletteSwap |
A class to encode unit-variable dependent palette swaps. More... | |
color.h - The A platform independent color headerfile. | |
typedef uint32_t | IntColor |
IntColor | InterpolateColor (IntColor color1, IntColor color2, float fraction) |
typedef uint32_t IntColor |
interpolate 2 RGB colors
color1 | integer containing color as 0x00RRGGBB |
color2 | integer containing color as 0x00RRGGBB |
fraction | how much interpolation (0..1)
|