World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
#include <UICharacter.h>
Открытые члены | |
GUIWindow_CharacterRecord (unsigned int uActiveCharacter, enum CURRENT_SCREEN screen) | |
virtual | ~GUIWindow_CharacterRecord () |
virtual void | Update () |
void | ShowStatsTab () |
void | ShowSkillsTab () |
void | ShowInventoryTab () |
void | ShowAwardsTab () |
void | ToggleRingsOverlay () |
Открытые члены унаследованные от GUIWindow | |
GUIWindow () | |
GUIWindow (WindowType windowType, unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, int pButton, const String &hint=String()) | |
virtual | ~GUIWindow () |
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 * >()) |
bool | Contains (unsigned int x, unsigned int y) |
void | DrawFlashingInputCursor (int uX, int uY, GUIFont *a2) |
int | DrawTextInRect (GUIFont *font, unsigned int x, unsigned int y, unsigned int color, const char *text, int rect_width, int reverse_text) |
int | DrawTextInRect (GUIFont *font, unsigned int x, unsigned int y, unsigned int color, String &str, int rect_width, int reverse_text) |
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) |
void | DrawText (GUIFont *font, int x, int y, unsigned short uFontColor, const String &str, bool present_time_transparency=false, int max_text_height=0, int uFontShadowColor=0) |
void | DrawTitleText (GUIFont *font, int horizontal_margin, int vertical_margin, unsigned __int16 uDefaultColor, const char *pInString, int line_spacing) |
void | DrawTitleText (GUIFont *font, int horizontal_margin, int vertical_margin, unsigned __int16 uDefaultColor, const String &str, int line_spacing) |
void | DrawShops_next_generation_time_string (GameTime time) |
void | HouseDialogManager () |
void | DrawMessageBox (bool inside_game_viewport) |
GUIButton * | GetControl (unsigned int uID) |
void | _41D08F_set_keyboard_control_group (int num_buttons, int a3, int a4, int a5) |
void | _41D73D_draw_buff_tooltip () |
virtual void | Release () |
void | DeleteButtons () |
Защищенные члены | |
void | CharacterUI_StatsTab_Draw (struct Player *) |
void | CharacterUI_SkillsTab_Draw (struct Player *) |
void | CharacterUI_AwardsTab_Draw (struct Player *) |
void | CharacterUI_SkillsTab_CreateButtons () |
Дополнительные унаследованные члены | |
Открытые статические члены унаследованные от GUIWindow | |
static void | InitializeGUI () |
Открытые атрибуты унаследованные от GUIWindow | |
unsigned int | uFrameX |
unsigned int | uFrameY |
unsigned int | uFrameWidth |
unsigned int | uFrameHeight |
unsigned int | uFrameZ |
unsigned int | uFrameW |
WindowType | eWindowType |
union { | |
void * ptr_1C | |
unsigned int par1C | |
}; | |
int | field_24 |
int | pNumPresenceButton |
int | pCurrentPosActiveItem |
int | field_30 |
int | field_34 |
int | pStartingPosActiveItem |
int | receives_keyboard_input_2 |
bool | receives_keyboard_input |
String | sHint |
std::vector< GUIButton * > | vButtons |
Mouse * | mouse = nullptr |
Log * | log = nullptr |
См. определение в файле UICharacter.h строка 4
GUIWindow_CharacterRecord::GUIWindow_CharacterRecord | ( | unsigned int | uActiveCharacter, |
enum CURRENT_SCREEN | screen | ||
) |
См. определение в файле UICharacter.cpp строка 466
Перекрестные ссылки bRingsShownInCharScreen, CharacterUI_LoadPaperdollTextures(), GUIWindow::CreateButton(), current_screen_type, Localization::GetString(), localization, paperdoll_dbrds, pAudioPlayer, Timer::Pause(), pCharacterScreen_StatsBtn, pEventTimer, pViewport, AudioPlayer::StopChannels(), UIMSG_ClickStatsBtn, Viewport::uViewportTL_X и Viewport::uViewportTL_Y.
|
inlinevirtual |
См. определение в файле UICharacter.h строка 7
|
virtual |
Переопределяет метод предка GUIWindow.
См. определение в файле UICharacter.cpp строка 528
Перекрестные ссылки __debugbreak(), assets, bRingsShownInCharScreen, CharacterUI_AwardsTab_Draw(), CharacterUI_DrawPaperdoll(), CharacterUI_DrawPaperdollWithRingOverlay(), CharacterUI_InventoryTab_Draw(), CharacterUI_ReleaseButtons(), CharacterUI_SkillsTab_CreateButtons(), CharacterUI_SkillsTab_Draw(), CharacterUI_StatsTab_Draw(), CreateAwardsScrollBar(), current_character_screen_window, dword_507CC0_activ_ch, AssetsManager::GetImage_ColorKey(), pCharacterScreen_AwardsBtn, pCharacterScreen_InventoryBtn, pCharacterScreen_SkillsBtn, pCharacterScreen_StatsBtn, pPlayers, ReleaseAwardsScrollBar(), render, uActiveCharacter, GUIButton::uX, GUIButton::uY, WINDOW_CharacterWindow_Awards, WINDOW_CharacterWindow_Inventory, WINDOW_CharacterWindow_Skills и WINDOW_CharacterWindow_Stats.
void GUIWindow_CharacterRecord::ShowStatsTab | ( | ) |
См. определение в файле UICharacter.cpp строка 588
Перекрестные ссылки CharacterUI_ReleaseButtons(), current_character_screen_window, pCharacterScreen_StatsBtn, ReleaseAwardsScrollBar(), GUIButton::uX, GUIButton::uY и WINDOW_CharacterWindow_Stats.
void GUIWindow_CharacterRecord::ShowSkillsTab | ( | ) |
См. определение в файле UICharacter.cpp строка 599
Перекрестные ссылки CharacterUI_ReleaseButtons(), CharacterUI_SkillsTab_CreateButtons(), current_character_screen_window, pCharacterScreen_SkillsBtn, ReleaseAwardsScrollBar(), GUIButton::uX, GUIButton::uY и WINDOW_CharacterWindow_Skills.
void GUIWindow_CharacterRecord::ShowInventoryTab | ( | ) |
См. определение в файле UICharacter.cpp строка 611
Перекрестные ссылки CharacterUI_ReleaseButtons(), current_character_screen_window, pCharacterScreen_InventoryBtn, ReleaseAwardsScrollBar(), GUIButton::uX, GUIButton::uY и WINDOW_CharacterWindow_Inventory.
void GUIWindow_CharacterRecord::ShowAwardsTab | ( | ) |
См. определение в файле UICharacter.cpp строка 622
Перекрестные ссылки CharacterUI_ReleaseButtons(), CreateAwardsScrollBar(), current_character_screen_window, FillAwardsData(), pCharacterScreen_AwardsBtn, ReleaseAwardsScrollBar(), GUIButton::uX, GUIButton::uY и WINDOW_CharacterWindow_Awards.
void GUIWindow_CharacterRecord::ToggleRingsOverlay | ( | ) |
См. определение в файле UICharacter.cpp строка 635
Перекрестные ссылки ViewingParams::bRedrawGameUI, bRingsShownInCharScreen, GUIWindow::CreateButton(), Image::GetHeight(), Localization::GetString(), Image::GetWidth(), localization, pCharacterScreen_DetalizBtn, pCharacterScreen_DollBtn, pGUIWindow_CurrentMenu, GUIButton::Release(), ui_character_inventory_paperdoll_rings_close, UIMSG_ChangeDetaliz, UIMSG_ClickPaperdoll и viewparams.
См. определение в файле UICharacter.cpp строка 2296
Перекрестные ссылки CHARACTER_ATTRIBUTE_RESIST_AIR, CHARACTER_ATTRIBUTE_RESIST_BODY, CHARACTER_ATTRIBUTE_RESIST_EARTH, CHARACTER_ATTRIBUTE_RESIST_FIRE, CHARACTER_ATTRIBUTE_RESIST_MIND, CHARACTER_ATTRIBUTE_RESIST_WATER, Player::classType, GUIWindow::DrawText(), GUIWindow::DrawTextInRect(), Localization::FormatString(), Player::GetActualAC(), Player::GetActualAccuracy(), Player::GetActualAge(), Player::GetActualAttack(), Player::GetActualEndurance(), Player::GetActualIntelligence(), Player::GetActualLevel(), Player::GetActualLuck(), Player::GetActualMight(), Player::GetActualResistance(), Player::GetActualSpeed(), Player::GetActualWillpower(), Player::GetBaseAC(), Player::GetBaseAccuracy(), Player::GetBaseAge(), Player::GetBaseEndurance(), Player::GetBaseIntelligence(), Player::GetBaseLevel(), Player::GetBaseLuck(), Player::GetBaseResistance(), Player::GetBaseSpeed(), Player::GetBaseStrength(), Player::GetBaseWillpower(), Localization::GetCharacterConditionName(), Localization::GetClassName(), GetConditionDrawColor(), Player::GetExperienceDisplayColor(), GUIFont::GetHeight(), Player::GetMajorConditionIdx(), Player::GetMaxHealth(), Player::GetMaxMana(), Player::GetMeleeDamageString(), Player::GetRangedAttack(), Player::GetRangedDamageString(), Localization::GetSpellSchoolName(), Localization::GetString(), localization, pFontArrus, pGUIWindow_CurrentMenu, SpellStats::pInfos, PLAYER_CLASS_LICH, Player::pName, SpellInfo::pShortName, pSpellStats, render, Player::sHealth, Player::sMana, Stat_string_format_2_column_less_100, Stat_string_format_2_column_over_100, Stat_string_format_2_column_text, StringPrintf(), Player::uExperience, ui_character_bonus_text_color, ui_character_default_text_color, ui_character_header_text_color, ui_character_stats_background, UI_GetHealthManaAndOtherQualitiesStringColor(), Player::uQuickSpell и Player::uSkillPoints.
Используется в Update().
См. определение в файле UICharacter.cpp строка 776
Перекрестные ссылки CharacterUI_SkillsTab_Draw__DrawSkillTable(), GUIWindow::DrawText(), GUIFont::GetHeight(), Localization::GetString(), localization, pArmorSkills, pFontArrus, pFontLucida, pGUIWindow_CurrentMenu, pMagicSkills, pMiscSkills, Player::pName, pWeaponSkills, render, StringPrintf(), ui_character_bonus_text_color, ui_character_default_text_color, ui_character_header_text_color, ui_character_skills_background и Player::uSkillPoints.
Используется в Update().
См. определение в файле UICharacter.cpp строка 812
Перекрестные ссылки achieved_awards, Award_ArcomageLoses, Award_ArcomageWins, Award_Arena_KnightWins, Award_Arena_LordWins, Award_Arena_PageWins, Award_Arena_SquireWins, Award_BountiesCollected, Award_Deaths, Award_Fine, Award_PrisonTerms, books_page_number, books_primary_item_per_page, BtnDown_flag, BtnUp_flag, GUIFont::CalcTextHeight(), Player::classType, GUIWindow::DrawText(), Localization::FormatString(), full_num_items_in_book, Localization::GetClassName(), Localization::GetString(), localization, num_achieved_awards, pAwards, pFontArrus, pGUIWindow_CurrentMenu, Player::pName, pParty, render, StringPrintf(), Party::uFine, GUIWindow::uFrameHeight, GUIWindow::uFrameW, GUIWindow::uFrameWidth, GUIWindow::uFrameX, GUIWindow::uFrameY, GUIWindow::uFrameZ, ui_character_award_color, ui_character_awards_background, ui_character_header_text_color, Party::uNumArcomageLoses, Party::uNumArcomageWins, Party::uNumArenaKnightWins, Party::uNumArenaLordWins, Party::uNumArenaPageWins, Party::uNumArenaSquireWins, Party::uNumBountiesCollected, Party::uNumDeaths и Party::uNumPrisonTerms.
Используется в Update().
|
protected |
См. определение в файле UICharacter.cpp строка 2217
Перекрестные ссылки GUIWindow::_41D08F_set_keyboard_control_group(), CharacterUI_ReleaseButtons(), GUIWindow::CreateButton(), dword_506980_uW, dword_506984_uZ, dword_506988_uY, dword_50698C_uX, dword_507CC0_activ_ch, GUIFont::GetHeight(), GUIButton::msg, Player::pActiveSkills, pArmorSkills, pFontLucida, pGUIWindow_CurrentMenu, pMagicSkills, pMiscSkills, pParty, Party::pPlayers, pWeaponSkills, uActiveCharacter, UIMSG_InventoryLeftClick, UIMSG_SkillUp, GUIButton::uW, GUIButton::uX, GUIButton::uY, GUIButton::uZ и GUIWindow::vButtons.
Используется в ShowSkillsTab() и Update().