1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-07 06:41:38 +00:00

Minor changes; based on russian opensource patch.

This commit is contained in:
fgenesis 2012-06-19 02:29:14 +02:00
commit 283fc0086e
5 changed files with 35 additions and 40 deletions

View file

@ -36,9 +36,9 @@ private:
//glFont header structure
struct
{
int tex;
int tex_width, tex_height;
int start_char, end_char;
unsigned int tex;
unsigned int tex_width, tex_height;
unsigned int start_char, end_char;
GLFontChar *chars;
} header;
@ -70,9 +70,9 @@ public:
int GetEndChar (void);
//Character size retrieval methods
void GetCharSize (int c, std::pair<int, int> *size);
int GetCharWidth (int c);
int GetCharHeight (int c);
void GetCharSize (unsigned int c, std::pair<int, int> *size);
int GetCharWidth (unsigned int c);
int GetCharHeight (unsigned int c);
void GetStringSize (const std::string &text, std::pair<int, int> *size);