![]() |
Blamite Game Engine - blam!
00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
|
#include "fonts.h"
#include <OGRE/Hlms/Unlit/OgreHlmsUnlit.h>
#include <OGRE/Hlms/Unlit/OgreHlmsUnlitDatablock.h>
#include <OGRE/OgreHlmsManager.h>
#include <OGRE/Overlay/OgreFontManager.h>
#include <sail/sail.h>
#include <sail-manip/sail-manip.h>
#include <Strings/components/3rdparty/rapidxml/rapidxml.hpp>
#include <Strings/components/utils/io/io.h>
#include <Strings/components/utils/converters/converters.h>
#include <Strings/components/utils/image/image.h>
#include "components/rendering/rendering.h"
#include "components/diagnostics/logger/logger.h"
#include "components/settings/config/config.h"
Functions | |
bool | resolve_glyph_character (std::string xml_glyph, char *character) |
Identify the character of the font glyph from the XML attribute. More... | |
int | glyph_attribute_test_int (bool *out_result, std::string glyph_name, std::string font_name, std::string attribute_name, rapidxml::xml_attribute<> *attribute) |
float | glyph_attribute_test_float (bool *out_result, std::string glyph_name, std::string font_name, std::string attribute_name, rapidxml::xml_attribute<> *attribute) |
Variables | |
BlamMap< std::string, BlamFontPackage * > | font_map = BlamMap<std::string, BlamFontPackage*>() |
float glyph_attribute_test_float | ( | bool * | out_result, |
std::string | glyph_name, | ||
std::string | font_name, | ||
std::string | attribute_name, | ||
rapidxml::xml_attribute<> * | attribute | ||
) |
int glyph_attribute_test_int | ( | bool * | out_result, |
std::string | glyph_name, | ||
std::string | font_name, | ||
std::string | attribute_name, | ||
rapidxml::xml_attribute<> * | attribute | ||
) |
bool resolve_glyph_character | ( | std::string | xml_glyph, |
char * | character | ||
) |
Identify the character of the font glyph from the XML attribute.
xml_glyph | - The original string containing the glyph value from fontinfo.xml |
character | - Pointer to a character to set to the resolved character |
true
if the character was resolved, false
if the character could not be resolved BlamMap<std::string, BlamFontPackage*> font_map = BlamMap<std::string, BlamFontPackage*>() |