Mercurial > might-and-magic-trilogy
view GUIFont.h @ 26:93bf1d5f6a6d
Game loading.
author | Nomad |
---|---|
date | Tue, 16 Oct 2012 00:05:53 +0200 |
parents | 8b8875f5b359 |
children |
line wrap: on
line source
#pragma once /* 171 */ #pragma pack(push, 1) struct GUICharMetric { unsigned int uLeftSpacing; unsigned int uWidth; unsigned int uRightSpacing; }; #pragma pack(pop) /* 170 */ #pragma pack(push, 1) struct GUIFont { bool IsCharValid(char c); int AlignText_Center(unsigned int uCenterX, const char *pString); int GetLineWidth(const char *pString); int CalcTextHeight(const char *pString, struct GUIWindow *pWindow, int a4, int a5); int GetStringHeight2(GUIFont *a2, const char *Str, int a4, int a5, int a6); int _44C6C2(const char *pInString, GUIWindow *pWindow, unsigned int uX, int a5); void _44D0B5(int a2, int a3, int a4, const char *pString, int a6); void DrawTextLine(unsigned int uDefaultColor, signed int uX, signed int uY, const char *Str, int a6); void _44D2FD_prolly_draw_credits_entry(GUIFont *pFont, int Str, int a4, unsigned int w, unsigned int h, unsigned __int16 a7, unsigned __int16 a8, const char *pString, unsigned __int16 *pPixels, unsigned int uPixelsWidth); static char *__fastcall _44C933(const char *pString, GUIFont *pFont, GUIFont *a3, int a4, int a5, int a6); unsigned char cFirstChar; unsigned char cLastChar; char field_2; char field_3; char field_4; __int16 uFontHeight; char field_7; int field_8; unsigned __int16 *pFontPalettes[5]; GUICharMetric pMetrics[256]; int field_C20[256]; }; #pragma pack(pop) extern struct GUIFont *pAutonoteFont; extern struct GUIFont *pSpellFont; extern struct GUIFont *pFontArrus; extern struct GUIFont *pFontLucida; extern struct GUIFont *pBook2Font; extern struct GUIFont *pBookFont; extern struct GUIFont *pFontCreate; extern struct GUIFont *pFontCChar; extern struct GUIFont *pFontComic; extern struct GUIFont *pFontSmallnum;