World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
48 unsigned int pTextColor;
56 render->DrawTextureAlphaNew(8 / 640.0
f, 8 / 480.0
f,
60 for (
uint i = 0; i < 4; ++i) {
69 player->
pName, 84, 0);
84 pY = pFontHeight + 47;
92 pY = pFontHeight + pY;
104 pY = pFontHeight + pY;
116 pY = pFontHeight + pY;
128 pY = pFontHeight + pY;
138 pY = pFontHeight + pY;
147 pY = pFontHeight + pY;
157 pY = pFontHeight + pY;
166 pY = pFontHeight + pY;
173 for (
uint j = 0; j <= 36; ++j) {
179 pY = pFontHeight + pY;
191 pY = pFontHeight + pY;
202 pY = pFontHeight + pY;
void DrawText(GUIFont *font, int x, int y, unsigned short uFontColor, const char *str, bool present_time_transparency=false, int max_text_height=0, int uFontShadowColor=0)
String GetRangedDamageString()
const char * GetString(unsigned int index) const
const char * GetCharacterConditionName(unsigned int index) const
int GetActualAttack(bool onlyMainHandDmg)
GUIWindow * pGUIWindow_CurrentMenu
GUIButton * CreateButton(int x, int y, int width, int height, int a6, int a7, UIMessageType msg, unsigned int msg_param, uint8_t hotkey, const String &label, const std::vector< Image * > &textures=std::vector< Image * >())
String GetReputationString(int reputation)
Localization * localization
unsigned int ui_character_bonus_text_color_neg
std::array< Player, 4 > pPlayers
unsigned int GetHeight() const
unsigned int uSkillPoints
unsigned int ui_character_bonus_text_color
std::array< unsigned __int16, 37 > pActiveSkills
enum CURRENT_SCREEN current_screen_type
unsigned int GetPartyFame()
unsigned int UI_GetHealthManaAndOtherQualitiesStringColor(int current_pos, int base_pos)
int DrawTextInRect(GUIFont *font, unsigned int x, unsigned int y, unsigned int color, const char *text, int rect_width, int reverse_text)
GUIWindow_QuickReference()
unsigned int ui_character_default_text_color
String GetMeleeDamageString()
Texture * GetImage_ColorKey(const String &name, uint16_t colorkey)
void StopChannels(int uStartChannel, int uEndChannel)
EGLSurface EGLNativeWindowType * window
struct SpellStats * pSpellStats
Image * ui_game_quickref_background
PLAYER_CLASS_TYPE classType
unsigned int GetMajorConditionIdx()
unsigned int ui_character_header_text_color
unsigned int GetExperienceDisplayColor()
AudioPlayer * pAudioPlayer
const char * GetClassName(unsigned int index) const
unsigned __int8 uQuickSpell
String StringPrintf(const char *fmt,...)
std::shared_ptr< IRender > render