Blamite Game Engine - blam!
00296.01.12.21.0102.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
8
#include "
components/resources/engine_globals/globals.h
"
9
10
#ifndef BLAM
11
#define BLAM
12
#endif
13
17
namespace
Blam::Utils::Color
18
{
27
BLAM
BlamColor
TranslateTextColorCode
(
char
character);
28
36
BLAM
D2D1_COLOR_F
D2DColorFromBlamColor
(BlamColor
color
);
37
}
color
@ color
Definition:
render_model.h:12
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:5
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:46
Blam::Utils::Color
Namespace for things relating to global engine color data.
Definition:
color.h:17
BLAM
#define BLAM
Definition:
color.h:11
blam
components
core
utils
color
color.h
Generated on Tue Jan 12 2021 01:11:27 for Blamite Game Engine - blam! by
1.8.17