#include "C4Include.h"#include "C4ForbidLibraryCompilation.h"#include "graphics/C4Surface.h"#include "c4group/CStdFile.h"#include "graphics/Bitmap256.h"#include "graphics/C4Draw.h"#include "graphics/C4DrawGL.h"#include "graphics/StdPNG.h"#include "lib/StdColors.h"#include "platform/C4App.h"#include "platform/C4Window.h"#include "platform/StdRegistry.h"Go to the source code of this file.
Macros | |
| #define | RANGE 255 |
| #define | HLSMAX RANGE |
| #define | RGBMAX 255 |
Functions | |
| bool | ClrByOwner (DWORD &dwClr) |
| double | ColorDistance (BYTE *bpRGB1, BYTE *bpRGB2) |
Variables | |
| C4TexMgr * | pTexMgr |
| #define HLSMAX RANGE |
Definition at line 200 of file C4Surface.cpp.
| #define RANGE 255 |
Definition at line 199 of file C4Surface.cpp.
| #define RGBMAX 255 |
Definition at line 201 of file C4Surface.cpp.
| bool ClrByOwner | ( | DWORD & | dwClr | ) |
Definition at line 203 of file C4Surface.cpp.
References b, GetBlueValue, GetGreenValue, GetRedValue, HLSMAX, Inside(), RGBA(), and RGBMAX.
Referenced by C4Surface::CreateColorByOwner().
| C4TexMgr* pTexMgr |
Definition at line 879 of file C4Surface.cpp.
Referenced by C4TexRef::C4TexRef(), C4TexMgr::UnregTex(), and C4TexRef::~C4TexRef().