Blamite Game Engine - blam!  00263.10.17.20.0001.blamite
The core library for the Blamite Game Engine.
color.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <d2d1.h>
4 #include <string>
5 #include <vector>
6 #include <map>
7 
10 
11 #ifndef BLAM
12 #define BLAM
13 #endif
14 
19 {
28  BLAM BlamColor TranslateTextColorCode(char character);
29 
37  BLAM D2D1_COLOR_F D2DColorFromBlamColor(BlamColor color);
38 }
string.h
Blam::Utils::Color::TranslateTextColorCode
BLAM BlamColor TranslateTextColorCode(char character)
Converts a character to its equivalent color code for use in multi-colored text.
Definition: color.cpp:3
globals.h
Blam::Utils::Color::D2DColorFromBlamColor
BLAM D2D1_COLOR_F D2DColorFromBlamColor(BlamColor color)
Converts a BlamColor object into its equivalent D2D1_COLOR_F object.
Definition: color.cpp:44
Blam::Utils::Color
Namespace for things relating to global engine color data.
Definition: color.h:18
BLAM
#define BLAM
Definition: color.h:12
BlamColor
Structure representing a color.
Definition: globals.h:20