World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
10 static GUIFont *
LoadFont(
const char *pFontFile,
const char *pFontPalette,
21 int x_offset,
bool return_on_carriage =
false);
24 unsigned int uX,
int a5);
26 int uY,
int max_len_pix);
28 const String &str,
bool present_time_transparency,
29 int max_text_height,
int uFontShadowColor);
35 bool return_on_carriage =
false);
38 unsigned int w,
unsigned int h,
uint16_t firstColor,
51 const String &text,
int line_width);
unsigned __int16 uint16_t
void DrawCreditsEntry(GUIFont *pSecondFont, int uFrameX, int uFrameY, unsigned int w, unsigned int h, uint16_t firstColor, uint16_t secondColor, const String &pString, Image *image)
int DrawTextInRect(GUIWindow *pWindow, unsigned int uX, unsigned int uY, uint16_t uColor, const String &str, int rect_width, int reverse_text)
unsigned int GetLineWidth(const String &str)
GLubyte GLubyte GLubyte GLubyte w
unsigned int GetHeight() const
int GetStringHeight2(GUIFont *secondFont, const String &text_str, GUIWindow *pWindow, int startX, int a6)
GLfloat GLfloat GLfloat GLfloat h
void DrawTextLine(const String &text, uint16_t uDefaultColor, int uX, int uY, int max_len_pix)
bool IsCharValid(unsigned char c) const
unsigned int AlignText_Center(unsigned int width, const String &str)
static GUIFont * LoadFont(const char *pFontFile, const char *pFontPalette,...)
EGLSurface EGLint EGLint EGLint width
unsigned int CalcTextHeight(const String &str, unsigned int width, int x_offset, bool return_on_carriage=false)
String GetPageTop(const String &pInString, GUIWindow *pWindow, unsigned int uX, int a5)
void DrawText(GUIWindow *pWindow, int uX, int uY, uint16_t uFontColor, const String &str, bool present_time_transparency, int max_text_height, int uFontShadowColor)
void DrawTextLineToBuff(uint16_t uColor, uint32_t *uX_buff_pos, const String &text, int line_width)
String FitTwoFontStringINWindow(const String &pString, GUIFont *pFontSecond, GUIWindow *pWindow, int startPixlOff, int a6)
String FitTextInAWindow(const String &inString, unsigned int width, int uX, bool return_on_carriage=false)
unsigned __int32 uint32_t