0
|
1 #pragma once
|
|
2
|
|
3
|
|
4 /* 171 */
|
|
5 #pragma pack(push, 1)
|
|
6 struct GUICharMetric
|
|
7 {
|
|
8 unsigned int uLeftSpacing;
|
|
9 unsigned int uWidth;
|
|
10 unsigned int uRightSpacing;
|
|
11 };
|
|
12 #pragma pack(pop)
|
|
13
|
|
14 /* 170 */
|
|
15 #pragma pack(push, 1)
|
|
16 struct GUIFont
|
|
17 {
|
178
|
18 bool IsCharValid(char c);
|
0
|
19 int AlignText_Center(unsigned int uCenterX, const char *pString);
|
|
20 int GetLineWidth(const char *pString);
|
|
21 int CalcTextHeight(const char *pString, struct GUIWindow *pWindow, int a4, int a5);
|
|
22 int GetStringHeight2(GUIFont *a2, const char *Str, int a4, int a5, int a6);
|
|
23 int _44C6C2(const char *pInString, GUIWindow *pWindow, unsigned int uX, int a5);
|
|
24 void _44D0B5(int a2, int a3, int a4, const char *pString, int a6);
|
|
25 void DrawTextLine(unsigned int uDefaultColor, signed int uX, signed int uY, const char *Str, int a6);
|
|
26 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);
|
|
27
|
178
|
28 static char *__fastcall _44C933(const char *pString, GUIFont *pFont, GUIFont *a3, int a4, int a5, int a6);
|
0
|
29
|
|
30 unsigned char cFirstChar;
|
|
31 unsigned char cLastChar;
|
|
32 char field_2;
|
|
33 char field_3;
|
|
34 char field_4;
|
|
35 __int16 uFontHeight;
|
|
36 char field_7;
|
178
|
37 int field_8;
|
0
|
38 unsigned __int16 *pFontPalettes[5];
|
|
39 GUICharMetric pMetrics[256];
|
|
40 int field_C20[256];
|
|
41 };
|
|
42 #pragma pack(pop)
|
|
43
|
178
|
44
|
|
45
|
0
|
46
|
175
|
47
|
0
|
48 extern struct GUIFont *pAutonoteFont;
|
|
49 extern struct GUIFont *pSpellFont;
|
|
50 extern struct GUIFont *pFontArrus;
|
|
51 extern struct GUIFont *pFontLucida;
|
|
52 extern struct GUIFont *pBook2Font;
|
|
53 extern struct GUIFont *pBookFont;
|
|
54 extern struct GUIFont *pFontCreate;
|
|
55 extern struct GUIFont *pFontCChar;
|
|
56 extern struct GUIFont *pFontComic;
|
|
57 extern struct GUIFont *pFontSmallnum; |