World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Функции | |
void | WeaponShopWares (GUIWindow dialogwin, bool special=0) |
void | ArmorShopWares (GUIWindow dialogwin, bool special=0) |
void | AlchemyMagicShopWares (GUIWindow dialogwin, BuildingType building, bool special=0) |
void | UIShop_Buy_Identify_Repair () |
void | sub_4B1523_showSpellbookInfo (int spellItemId) |
void | ShowPopupShopItem () |
void | GetHouseGoodbyeSpeech () |
void | sub_4B1447_party_fine (int shopId, int stealingResult, int fineToAdd) |
Переменные | |
class Image * | shop_ui_background |
std::array< class Image *, 12 > | shop_ui_items_in_store |
См. определение в файле UIShops.cpp строка 327
Перекрестные ссылки BuildDialogueString(), BuildingType_WeaponShop, GUIFont::CalcTextHeight(), Color16(), GUIWindow::DrawShops_next_generation_time_string(), GUIWindow::DrawTitleText(), GameUI_StatusBar_DrawImmediate(), Mouse::GetCursorPos(), Party::GetPlayingTime(), Localization::GetString(), HouseUI_CheckIfPlayerCanInteract(), localization, OS_IfCtrlPressed(), Party::PartyTimes, pFontArrus, pMerchantsBuyPhrases, pParty, pPlayers, GUIWindow::ptr_1C, render, Engine_::IocContainer::ResolveMouse(), shop_ui_background, shop_ui_items_in_store, PartyTimeStruct::Shops_next_generation_time, Party::SpecialItemsInShops, Party::StandartItemsInShops, uActiveCharacter, GUIWindow::uFrameWidth, ItemGen::uItemID, weapons_Ypos, window_SpeakInHouse, Point::x и Point::y.
Используется в WeaponShopDialog().
См. определение в файле UIShops.cpp строка 483
Перекрестные ссылки BuildDialogueString(), BuildingType_ArmorShop, GUIFont::CalcTextHeight(), Color16(), GUIWindow::DrawShops_next_generation_time_string(), GUIWindow::DrawTitleText(), GameUI_StatusBar_DrawImmediate(), Mouse::GetCursorPos(), Party::GetPlayingTime(), Localization::GetString(), HouseUI_CheckIfPlayerCanInteract(), localization, OS_IfCtrlPressed(), GUIWindow::par1C, Party::PartyTimes, pFontArrus, pMerchantsBuyPhrases, pParty, pPlayers, GUIWindow::ptr_1C, render, Engine_::IocContainer::ResolveMouse(), shop_ui_background, shop_ui_items_in_store, PartyTimeStruct::Shops_next_generation_time, Party::SpecialItemsInShops, Party::StandartItemsInShops, uActiveCharacter, GUIWindow::uFrameWidth, ItemGen::uItemID, window_SpeakInHouse, Point::x и Point::y.
Используется в ArmorShopDialog().
void AlchemyMagicShopWares | ( | GUIWindow | dialogwin, |
BuildingType | building, | ||
bool | special = 0 |
||
) |
См. определение в файле UIShops.cpp строка 648
Перекрестные ссылки BuildDialogueString(), GUIFont::CalcTextHeight(), Color16(), GUIWindow::DrawShops_next_generation_time_string(), GUIWindow::DrawTitleText(), GameUI_StatusBar_DrawImmediate(), Mouse::GetCursorPos(), Party::GetPlayingTime(), Localization::GetString(), HouseUI_CheckIfPlayerCanInteract(), localization, OS_IfCtrlPressed(), GUIWindow::par1C, Party::PartyTimes, pFontArrus, pMerchantsBuyPhrases, pParty, pPlayers, GUIWindow::ptr_1C, render, Engine_::IocContainer::ResolveMouse(), shop_ui_background, shop_ui_items_in_store, PartyTimeStruct::Shops_next_generation_time, Party::SpecialItemsInShops, Party::StandartItemsInShops, uActiveCharacter, GUIWindow::uFrameWidth, ItemGen::uItemID, window_SpeakInHouse, Point::x и Point::y.
Используется в AlchemistDialog() и MagicShopDialog().
void UIShop_Buy_Identify_Repair | ( | ) |
См. определение в файле UIShops.cpp строка 874
Перекрестные ссылки __debugbreak(), MapInfo::_steal_perm, ViewingParams::bRedrawGameUI, BuildingType_AlchemistShop, BuildingType_ArmorShop, BuildingType_MagicShop, BuildingType_Training, BuildingType_WeaponShop, byte_4ED970_skill_learn_ability_by_class_table, current_character_screen_window, current_screen_type, dialog_menu_id, dword_F8B1E4, _2devent::flt_24, _2devent::fPriceMultiplier, GameUI_StatusBar_OnEvent(), Mouse::GetCursorPos(), Party::GetGold(), MapStats::GetMapInfo(), Party::GetPartyReputation(), Localization::GetString(), ItemGen::GetValue(), HOUSE_DIALOGUE_GUILD_BUY_BOOKS, HOUSE_DIALOGUE_SHOP_BUY_SPECIAL, HOUSE_DIALOGUE_SHOP_BUY_STANDARD, HOUSE_DIALOGUE_SHOP_DISPLAY_EQUIPMENT, HOUSE_DIALOGUE_SHOP_IDENTIFY, HOUSE_DIALOGUE_SHOP_REPAIR, HOUSE_DIALOGUE_SHOP_SELL, HouseUI_CheckIfPlayerCanInteract(), in_current_building_type, ITEM_BROKEN, ITEM_IDENTIFIED, localization, ItemGen::MerchandiseTest(), OS_IfCtrlPressed(), p2DEvents, GUIWindow::par1C, pAudioPlayer, pCurrentMapName, MapStats::pInfos, PlayHouseSound(), AudioPlayer::PlaySound(), pMapStats, pParty, pPlayers, GUIWindow::ptr_1C, render, ItemGen::Reset(), Engine_::IocContainer::ResolveMouse(), SCREEN_E, ItemGen::SetIdentified(), shop_ui_items_in_store, SOUND_error, Party::SpecialItemsInShops, SPEECH_73, SPEECH_74, SPEECH_75, SPEECH_79, SPEECH_NoRoom, Party::SpellBooksInGuilds, Party::StandartItemsInShops, sub_4B1447_party_fine(), Party::TakeGold(), uActiveCharacter, ItemGen::uAttributes, ItemGen::uItemID, viewparams, weapons_Ypos, WINDOW_CharacterWindow_Inventory, window_SpeakInHouse, Point::x и Point::y.
Используется в Application::Game::EventLoop().
void sub_4B1523_showSpellbookInfo | ( | int | spellItemId | ) |
См. определение в файле UIShops.cpp строка 1577
Перекрестные ссылки GUIFont::CalcTextHeight(), Color16(), GUIWindow::DrawMessageBox(), GUIWindow::DrawText(), GUIWindow::DrawTitleText(), game_viewport_width, Mouse::GetCursorPos(), GUIFont::GetHeight(), GUIFont::GetLineWidth(), Localization::GetSkillName(), Localization::GetString(), localization, SpellInfo::pBasicSkillDesc, SpellInfo::pDescription, SpellInfo::pExpertSkillDesc, pFontArrus, pFontComic, pFontSmallnum, SpellInfo::pGrandmasterSkillDesc, SpellStats::pInfos, SpellInfo::pMasterSkillDesc, SpellInfo::pName, pSpellDatas, pSpellStats, Engine_::IocContainer::ResolveMouse(), StringPrintf(), GUIWindow::uFrameHeight, GUIWindow::uFrameW, GUIWindow::uFrameWidth, GUIWindow::uFrameX, GUIWindow::uFrameY, GUIWindow::uFrameZ и Point::y.
Используется в ShowPopupShopItem().
void ShowPopupShopItem | ( | ) |
См. определение в файле UIShops.cpp строка 1344
Перекрестные ссылки BuildingType_16, BuildingType_AlchemistShop, BuildingType_ArmorShop, BuildingType_MagicShop, BuildingType_WeaponShop, dialog_menu_id, GameUI_DrawItemInfo(), Mouse::GetCursorPos(), HOUSE_DIALOGUE_GUILD_BUY_BOOKS, HOUSE_DIALOGUE_SHOP_BUY_SPECIAL, HOUSE_DIALOGUE_SHOP_BUY_STANDARD, HOUSE_DIALOGUE_SHOP_DISPLAY_EQUIPMENT, HOUSE_DIALOGUE_SHOP_REPAIR, HOUSE_DIALOGUE_SHOP_SELL, in_current_building_type, GUIWindow::par1C, pParty, pPlayers, GUIWindow::ptr_1C, Engine_::IocContainer::ResolveMouse(), shop_ui_items_in_store, Party::SpecialItemsInShops, Party::SpellBooksInGuilds, Party::StandartItemsInShops, sub_4B1523_showSpellbookInfo(), uActiveCharacter, ItemGen::uItemID, weapons_Ypos, window_SpeakInHouse, Point::x и Point::y.
Используется в UI_OnMouseRightClick().
void GetHouseGoodbyeSpeech | ( | ) |
См. определение в файле UIShops.cpp строка 1654
Перекрестные ссылки _A750D8_player_speech_timer, PartyTimeStruct::_shop_ban_times, BuildingType_Bank, BuildingType_MagicShop, BuildingType_Temple, dword_F8B1E4, Party::GetGold(), Party::GetPlayingTime(), HouseSound_Goodbye, HouseSound_Greeting_2, in_current_building_type, Party::PartyTimes, PlayerSpeechID, PlayHouseSound(), pParty, pPlayers, GUIWindow::ptr_1C, SPEECH_80, uSpeakingCharacter и window_SpeakInHouse.
Используется в Application::Game::EventLoop() и TavernDialog().
void sub_4B1447_party_fine | ( | int | shopId, |
int | stealingResult, | ||
int | fineToAdd | ||
) |
См. определение в файле UIShops.cpp строка 1709
Перекрестные ссылки _449B57_test_bit(), _449B7E_toggle_bit(), PartyTimeStruct::_shop_ban_times, OutdoorLocation::ddm, IndoorLocation::dlv, GameTime::FromDays(), Party::GetPlayingTime(), Party::InTheShopFlags, LEVEL_Outdoor, Party::PartyTimes, pIndoor, pOutdoor, pParty, pPlayers, uCurrentlyLoadedLevelType, Party::uFine и DDM_DLV_Header::uReputation.
Используется в UIShop_Buy_Identify_Repair().
class Image* shop_ui_background |
См. определение в файле UIShops.cpp строка 33
Используется в AlchemyMagicShopWares(), ArmorShopWares(), GuildDialog(), HouseDialogPressCloseBtn() и WeaponShopWares().
std::array<class Image *, 12> shop_ui_items_in_store |
См. определение в файле UIShops.cpp строка 35
Используется в AlchemyMagicShopWares(), ArmorShopWares(), GuildDialog(), ShowPopupShopItem(), SpellBookGenerator(), UIShop_Buy_Identify_Repair() и WeaponShopWares().