World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Классы | |
struct | stru365_travel_info |
struct | ITEM_VARIATION |
Определения типов | |
using | EngineIoc = Engine_::IocContainer |
Функции | |
void | GenerateStandartShopItems () |
void | GenerateSpecialShopItems () |
void | FillAviableSkillsToTeach (enum BuildingType type) |
void | InitializaDialogueOptions_Tavern (BuildingType type) |
void | InitializaDialogueOptions_Shops (BuildingType type) |
void | InitializaDialogueOptions (BuildingType type) |
bool | HouseUI_CheckIfPlayerCanInteract () |
bool | EnterHouse (enum HOUSE_ID uHouseID) |
void | PrepareHouse (HOUSE_ID house) |
void | PlayHouseSound (unsigned int uHouseID, HouseSoundID sound) |
void | OnSelectShopDialogueOption (signed int uMessageParam) |
void | TravelByTransport () |
bool | IsTravelAvailable (int a1) |
void | TownHallDialog () |
void | BankDialog () |
void | TavernDialog () |
void | TempleDialog () |
void | TrainingDialog (const char *s) |
void | sub_4B6478 () |
void | SimpleHouseDialog () |
void | JailDialog () |
void | InitializeBuildingResidents () |
int | HouseDialogPressCloseBtn () |
void | BackToHouseMenu () |
int | sub_4BE571_AddItemToSet (int valueToAdd, int *outPutSet, int elemsAlreadyPresent, int elemsNeeded) |
Переменные | |
int | uHouse_ExitPic |
int | _F8B1DC_currentShopOption |
int | dword_591080 |
BuildingType | in_current_building_type |
HOUSE_DIALOGUE_MENU | dialog_menu_id |
Image * | _591428_endcap = nullptr |
stru365_travel_info | transport_schedule [35] |
unsigned char | transport_routes [20][4] |
std::array< const stru159, 196 > | pAnimatedRooms |
static std::array< const char *, 19 > | _4F03B8_shop_background_names |
std::array< const char, 5 > | uItemsAmountPerShopType = { 0, 6, 8, 12, 12 } |
const ITEM_VARIATION | shopWeap_variation_ord [15] |
const ITEM_VARIATION | shopArmr_variation_ord [28] |
const unsigned __int16 | shopMagic_treasure_lvl [14] |
const unsigned __int16 | shopAlch_treasure_lvl [13] |
const ITEM_VARIATION | shopWeap_variation_spc [15] |
const unsigned __int16 | shopMagicSpc_treasure_lvl [14] |
const unsigned __int16 | shopAlchSpc_treasure_lvl [13] |
const ITEM_VARIATION | shopArmr_variation_spc [28] |
using EngineIoc = Engine_::IocContainer |
См. определение в файле UIHouses.cpp строка 43
void GenerateStandartShopItems | ( | ) |
См. определение в файле UIHouses.cpp строка 4298
Перекрестные ссылки ItemsTable::GenerateItem(), Party::InTheShopFlags, ITEM_VARIATION::item_class, ITEM_POTION_BOTTLE, p2DEvents, pItemsTable, pParty, GUIWindow::ptr_1C, shopAlch_treasure_lvl, shopArmr_variation_ord, shopMagic_treasure_lvl, shopWeap_variation_ord, Party::StandartItemsInShops, ITEM_VARIATION::treasure_level, uItemsAmountPerShopType, _2devent::uType и window_SpeakInHouse.
void GenerateSpecialShopItems | ( | ) |
См. определение в файле UIHouses.cpp строка 4246
Перекрестные ссылки ItemsTable::GenerateItem(), Party::InTheShopFlags, ITEM_VARIATION::item_class, ITEM_RECIPE_REJUVENATION, p2DEvents, pItemsTable, pParty, GUIWindow::ptr_1C, shopAlchSpc_treasure_lvl, shopArmr_variation_spc, shopMagicSpc_treasure_lvl, shopWeap_variation_spc, Party::SpecialItemsInShops, ITEM_VARIATION::treasure_level, uItemsAmountPerShopType, _2devent::uType и window_SpeakInHouse.
void FillAviableSkillsToTeach | ( | enum BuildingType | type | ) |
См. определение в файле UIHouses.cpp строка 4037
Перекрестные ссылки GUIWindow::_41D08F_set_keyboard_control_group(), _F8B1DC_currentShopOption, BuildingType_AlchemistShop, BuildingType_ArmorShop, BuildingType_MagicShop, BuildingType_Tavern, BuildingType_Temple, BuildingType_Training, BuildingType_WeaponShop, CreateButtonInColumn(), dword_F8B1E0, Localization::GetSkillName(), Localization::GetString(), ITEM_VARIATION::item_class, localization, pDialogueWindow, GUIWindow::pNumPresenceButton, pShopOptions, GUIWindow::ptr_1C, shopArmr_variation_ord, shopArmr_variation_spc, shopWeap_variation_ord, shopWeap_variation_spc, sub_4BE571_AddItemToSet() и window_SpeakInHouse.
void InitializaDialogueOptions_Tavern | ( | BuildingType | type | ) |
См. определение в файле UIHouses.cpp строка 398
Перекрестные ссылки GUIWindow::_41D08F_set_keyboard_control_group(), BuildingType_Tavern, CreateButtonInColumn(), dword_F8B1E0, Party::HasItem(), pDialogueWindow, GUIWindow::pNumPresenceButton и pParty.
Используется в HouseDialogPressCloseBtn().
void InitializaDialogueOptions_Shops | ( | BuildingType | type | ) |
См. определение в файле UIHouses.cpp строка 417
Перекрестные ссылки GUIWindow::_41D08F_set_keyboard_control_group(), BuildingType_AlchemistShop, BuildingType_ArmorShop, BuildingType_MagicShop, BuildingType_WeaponShop, CreateButtonInColumn(), dword_F8B1E0, pDialogueWindow и GUIWindow::pNumPresenceButton.
Используется в HouseDialogPressCloseBtn().
void InitializaDialogueOptions | ( | BuildingType | type | ) |
См. определение в файле UIHouses.cpp строка 442
Перекрестные ссылки GUIWindow::_41D08F_set_keyboard_control_group(), BuildingType_16, BuildingType_18, BuildingType_19, BuildingType_1A, BuildingType_24, BuildingType_AirGuild, BuildingType_AlchemistShop, BuildingType_ArmorShop, BuildingType_Bank, BuildingType_Boats, BuildingType_BodyGuild, BuildingType_DarkGuild, BuildingType_EarthGuild, BuildingType_ElementalGuild, BuildingType_FireGuild, BuildingType_House, BuildingType_Jail, BuildingType_LightGuild, BuildingType_MagicShop, BuildingType_MindGuild, BuildingType_SelfGuild, BuildingType_SpiritGuild, BuildingType_Stables, BuildingType_Tavern, BuildingType_Temple, BuildingType_Throne_Room, BuildingType_TownHall, BuildingType_Training, BuildingType_Unic, BuildingType_WaterGuild, BuildingType_WeaponShop, CreateButtonInColumn(), dword_F8B1E0, pDialogueWindow, GUIWindow::pNumPresenceButton, pParty, GUIWindow::ptr_1C, Party::uFine и window_SpeakInHouse.
Используется в HouseDialogPressCloseBtn().
bool HouseUI_CheckIfPlayerCanInteract | ( | ) |
См. определение в файле UIHouses.cpp строка 797
Перекрестные ссылки GUIFont::CalcTextHeight(), dword_F8B1E0, Localization::FormatString(), Localization::GetString(), localization, pDialogueWindow, pFontArrus, GUIWindow::pNumPresenceButton, pPlayers, pPrimaryWindow, uActiveCharacter, GUIWindow::uFrameX и ui_house_player_cant_interact_color.
Используется в AlchemyMagicShopWares(), ArmorShopWares(), GuildDialog(), ShopDialogIdentify(), ShopDialogLearn(), ShopDialogMain(), ShopDialogRepair(), ShopDialogSellEquip(), sub_4B6478(), TavernDialog(), TempleDialog(), TrainingDialog(), TravelByTransport(), UIShop_Buy_Identify_Repair() и WeaponShopWares().
bool EnterHouse | ( | enum HOUSE_ID | uHouseID | ) |
См. определение в файле UIHouses.cpp строка 826
Перекрестные ссылки _449B57_test_bit(), PartyTimeStruct::_shop_ban_times, GameTime::AddYears(), Party::alignment, assets, ViewingParams::bRedrawGameUI, BuildingType_Throne_Room, byte_F8B1F0, current_npc_text, dword_5C35D4, dword_F8B1E4, GUIMessageQueue::Flush(), Localization::FormatString(), game_ui_dialogue_background, Application::GameOver_Loop(), GameUI_StatusBar_Clear(), GameUI_StatusBar_OnEvent(), Localization::GetAmPm(), Party::GetFirstCanAct(), AssetsManager::GetImage_Solid(), Party::GetPlayingTime(), Localization::GetString(), guild_mambership_flags, HOUSE_600, HOUSE_601, HOUSE_FIRE_GUILD_INITIATE_EMERALD_ISLE, HOUSE_JAIL, HOUSE_LORD_AND_JUDGE_EMERALD_ISLE, HOUSE_STABLES_HARMONDALE, HouseSound_Greeting, HouseSound_Greeting_2, in_current_building_type, IsTravelAvailable(), localization, MPlayer::OpenHouseMovie(), p2DEvents, pAnimatedRooms, PartyAlignment_Evil, PartyAlignment_Good, PartyAlignment_Neutral, Party::PartyTimes, pAudioPlayer, pDialogueNPCCount, pKeyActionMap, player_levels, PlayHouseSound(), pMediaPlayer, pMessageQueue_50CBD0, pParty, pPlayers, Party::pPlayers, PrepareHouse(), render, KeyboardActionMapping::ResetKeys(), KeyboardActionMapping::SetWindowInputStatus(), SPEECH_3, AudioPlayer::StopChannels(), uActiveCharacter, _2devent::uAnimationID, _2devent::uCloseTime, Party::uCurrentHour, uCurrentHouse_Animation, uDialogueType, Party::uFine, uNumDialogueNPCPortraits, Party::uNumPrisonTerms, _2devent::uOpenTime, VAR_Award и viewparams.
Используется в BackToHouseMenu() и EventProcessor().
См. определение в файле UIHouses.cpp строка 978
Перекрестные ссылки _449B57_test_bit(), Party::_quest_bits, _2devent::_quest_related, assets, dword_591080, AssetsManager::GetImage_ColorKey(), HouseNPCData, NPCData::Location2D, p2DEvents, pAnimatedRooms, pDialogueNPCPortraits, pHouse_ExitPictures, NPCStats::pNewNPCData, pNPCStats, pParty, StringPrintf(), _2devent::uAnimationID, _2devent::uExitMapID, _2devent::uExitPicID, NPCData::uFlags, uHouse_ExitPic, uNumDialogueNPCPortraits, NPCStats::uNumNewNPCs и NPCData::uPortraitID.
Используется в ClickNPCTopic() и EnterHouse().
void PlayHouseSound | ( | unsigned int | uHouseID, |
HouseSoundID | sound | ||
) |
См. определение в файле UIHouses.cpp строка 1036
Перекрестные ссылки p2DEvents, pAnimatedRooms, pAudioPlayer и AudioPlayer::PlaySound().
Используется в BankDialog(), EnterHouse(), Application::Game::EventLoop(), GetHouseGoodbyeSpeech(), GuildDialog(), sub_4B6478(), TavernDialog(), TempleDialog(), TownHallDialog(), TrainingDialog(), TravelByTransport() и UIShop_Buy_Identify_Repair().
void OnSelectShopDialogueOption | ( | signed int | uMessageParam | ) |
См. определение в файле UIHouses.cpp строка 1047
Перекрестные ссылки BuildingType_Boats, BuildingType_MindGuild, BuildingType_Stables, BuildingType_Temple, BuildingType_Training, GUIWindow::CreateButton(), dialog_menu_id, Localization::GetString(), HOUSE_DIALOGUE_MAIN, HOUSE_DIALOGUE_TRAININGHALL_TRAIN, HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_1, HOUSE_STABLES_HARMONDALE, in_current_building_type, localization, pBtn_ExitCancel, pDialogueWindow, pMaxLevelPerTrainingHallType, GUIWindow::pNumPresenceButton, pParty, pPlayers, stru365_travel_info::pSchedule, GUIWindow::ptr_1C, GUIWindow::Release(), render, transport_routes, transport_schedule, uActiveCharacter, Party::uCurrentDayOfMonth, UIMSG_BuyInShop_Identify_Repair, UIMSG_Escape, WINDOW_Dialogue и window_SpeakInHouse.
Используется в Application::Game::EventLoop().
void TravelByTransport | ( | ) |
См. определение в файле UIHouses.cpp строка 1673
Перекрестные ссылки _449B57_test_bit(), __debugbreak(), Party::_quest_bits, stru365_travel_info::arrival_rot_y, stru365_travel_info::arrival_x, stru365_travel_info::arrival_y, stru365_travel_info::arrival_z, BuildingType_Stables, GUIFont::CalcTextHeight(), CheckHiredNPCSpeciality(), Color16(), dialog_menu_id, GUIWindow::DrawTitleText(), dword_6BE364_game_settings_1, Explorer, Localization::FormatString(), _2devent::fPriceMultiplier, GAME_STATE_CHANGE_LOCATION, GameUI_StatusBar_OnEvent(), GUIWindow::GetControl(), Party::GetGold(), GUIFont::GetHeight(), Localization::GetString(), Horseman, HOUSE_BOATS_EMERALD_ISLE, HOUSE_DIALOGUE_MAIN, HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_1, HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_4, HOUSE_STABLES_HARMONDALE, HouseDialogPressCloseBtn(), HouseSound_Greeting_2, HouseSound_NotEnoughMoney_TrainingSuccessful, HouseUI_CheckIfPlayerCanInteract(), localization, Navigator, OS_GetTime(), OS_Sleep(), p2DEvents, Party_Teleport_Cam_Pitch, Party_Teleport_Cam_Yaw, Party_Teleport_X_Pos, Party_Teleport_Y_Pos, Party_Teleport_Z_Pos, Party_Teleport_Z_Speed, pAudioPlayer, pCurrentMapName, GUIWindow::pCurrentPosActiveItem, pDialogueWindow, MapInfo::pFilename, pFontArrus, pIndoorCameraD3D, MapStats::pInfos, Pirate, PlayHouseSound(), AudioPlayer::PlaySound(), pMapStats, pMessageQueue_50CBD0, MapInfo::pName, GUIWindow::pNumPresenceButton, pParty, pPlayers, stru365_travel_info::pSchedule, GUIWindow::pStartingPosActiveItem, GUIWindow::ptr_1C, RestAndHeal(), Sailor, SaveGame(), SOUND_error, SPEECH_CarriageReady, SPEECH_SetSail, Party::sRotationX, IndoorCameraD3D::sRotationY, Party::sRotationY, Start_Party_Teleport_Flag, AudioPlayer::StopChannels(), StringPrintf(), Party::TakeGold(), transport_routes, transport_schedule, uActiveCharacter, Party::uCurrentDayOfMonth, Party::uFallStartY, Party::uFlags, GUIWindow::uFrameWidth, GUIWindow::uFrameX, GUIWindow::uFrameZ, uGameState, GUIButton::uHeight, UIMSG_Escape, stru365_travel_info::uMapInfoID, stru365_travel_info::uQuestBit, stru365_travel_info::uTravelTime, _2devent::uType, GUIButton::uW, GUIButton::uY, Party::vPosition и window_SpeakInHouse.
Используется в GUIWindow::HouseDialogManager().
bool IsTravelAvailable | ( | int | a1 | ) |
См. определение в файле UIHouses.cpp строка 1900
Перекрестные ссылки _449B57_test_bit(), Party::_quest_bits, pParty, transport_routes, transport_schedule, Party::uCurrentDayOfMonth и stru365_travel_info::uQuestBit.
Используется в EnterHouse().
void TownHallDialog | ( | ) |
См. определение в файле UIHouses.cpp строка 1915
Перекрестные ссылки _591428_endcap, bountyHunting_monster_id_for_hunting, bountyHunting_text, GUIFont::CalcTextHeight(), Color16(), current_npc_text, dialog_menu_id, GUIWindow::DrawFlashingInputCursor(), GUIWindow::DrawTitleText(), GUIFont::FitTextInAWindow(), GUIWindow::GetControl(), Party::GetGold(), GUIFont::GetLineWidth(), Localization::GetString(), HOUSE_DIALOGUE_MAIN, HOUSE_DIALOGUE_TOWNHALL_MESSAGE, HOUSE_DIALOGUE_TOWNHALL_PAY_FINE, HouseSound_NotEnoughMoney_TrainingSuccessful, localization, GUIWindow::pCurrentPosActiveItem, pDialogueWindow, pFontArrus, pFontCreate, MonsterStats::pInfos, pKeyActionMap, PlayHouseSound(), pMessageQueue_50CBD0, pMonsterStats, MonsterInfo::pName, GUIWindow::pNumPresenceButton, pParty, pPlayers, KeyboardActionMapping::pPressedKeysBuffer, pShopOptions, GUIWindow::pStartingPosActiveItem, GUIWindow::ptr_1C, GUIWindow::receives_keyboard_input_2, render, SPEECH_81, StringPrintf(), Party::TakeGold(), uActiveCharacter, Party::uFine, GUIWindow::uFrameWidth, GUIWindow::uFrameX, GUIWindow::uFrameZ, GUIButton::uHeight, ui_leather_mm7, UIMSG_Escape, MonsterInfo::uLevel, GUIButton::uW, GUIButton::uY и window_SpeakInHouse.
Используется в GUIWindow::HouseDialogManager().
void BankDialog | ( | ) |
См. определение в файле UIHouses.cpp строка 2074
Перекрестные ссылки Party::AddGold(), Color16(), dialog_menu_id, GUIWindow::DrawFlashingInputCursor(), GUIWindow::DrawTitleText(), Party::GetGold(), GUIFont::GetLineWidth(), Localization::GetString(), HOUSE_DIALOGUE_BANK_GET_GOLD, HOUSE_DIALOGUE_BANK_PUT_GOLD, HOUSE_DIALOGUE_MAIN, HouseSound_NotEnoughMoney_TrainingSuccessful, localization, GUIWindow::pCurrentPosActiveItem, pDialogueWindow, pFontArrus, pKeyActionMap, PlayHouseSound(), pMessageQueue_50CBD0, pParty, pPlayers, KeyboardActionMapping::pPressedKeysBuffer, GUIWindow::ptr_1C, GUIWindow::receives_keyboard_input_2, SPEECH_81, StringPrintf(), Party::TakeGold(), uActiveCharacter, GUIWindow::uFrameWidth, GUIWindow::uFrameX, GUIWindow::uFrameZ, UIMSG_Escape, Party::uNumGoldInBank и window_SpeakInHouse.
Используется в GUIWindow::HouseDialogManager().
void TavernDialog | ( | ) |
См. определение в файле UIHouses.cpp строка 2200
Перекрестные ссылки _591428_endcap, ArcomageGame::bGameInProgress, byte_4ED970_skill_learn_ability_by_class_table, GUIFont::CalcTextHeight(), Color16(), dialog_menu_id, GUIWindow::DrawText(), GUIWindow::DrawTitleText(), GUIFont::FitTextInAWindow(), _2devent::flt_24, Localization::FormatString(), _2devent::fPriceMultiplier, game_viewport_width, GameUI_StatusBar_OnEvent(), Localization::GetClassName(), GUIWindow::GetControl(), Party::GetFirstCanAct(), Party::GetFood(), Party::GetGold(), GUIFont::GetHeight(), GetHouseGoodbyeSpeech(), Localization::GetSkillName(), Localization::GetString(), Party::HasItem(), HOUSE_DIALOGUE_LEARN_SKILLS, HOUSE_DIALOGUE_MAIN, HOUSE_DIALOGUE_NULL, HOUSE_DIALOGUE_TAVERN_ARCOMAGE_MAIN, HOUSE_DIALOGUE_TAVERN_ARCOMAGE_RESULT, HOUSE_DIALOGUE_TAVERN_ARCOMAGE_RULES, HOUSE_DIALOGUE_TAVERN_ARCOMAGE_VICTORY_CONDITIONS, HOUSE_DIALOGUE_TAVERN_BUY_FOOD, HOUSE_DIALOGUE_TAVERN_REST, HouseDialogPressCloseBtn(), HouseSound_Goodbye, HouseSound_Greeting_2, HouseSound_NotEnoughMoney_TrainingSuccessful, HouseUI_CheckIfPlayerCanInteract(), localization, GUIButton::msg_param, p2DEvents, GUIWindow::par1C, pArcomageGame, GUIWindow::pCurrentPosActiveItem, pDialogueWindow, pFontArrus, pFontCreate, PlayHouseSound(), pMediaPlayer, pMessageQueue_50CBD0, pNPCTopics, GUIWindow::pNumPresenceButton, pParty, pPlayers, pShopOptions, GUIWindow::pStartingPosActiveItem, GUIWindow::ptr_1C, GUIWindow::Release(), render, Party::SetFood(), SPEECH_67, StringPrintf(), Party::TakeGold(), uActiveCharacter, GUIWindow::uFrameWidth, GUIWindow::uFrameX, GUIWindow::uFrameZ, ArcomageGame::uGameWinner, GUIButton::uHeight, ui_leather_mm7, UIMSG_Escape, UIMSG_RentRoom, MPlayer::Unload(), GUIButton::uW, GUIButton::uY и window_SpeakInHouse.
Используется в GUIWindow::HouseDialogManager().
void TempleDialog | ( | ) |
См. определение в файле UIHouses.cpp строка 2599
Перекрестные ссылки _42777D_CastSpell_UseWand_ShootArrow(), OtherOverlayList::_4418B1(), byte_4ED970_skill_learn_ability_by_class_table, byte_F8B1EF, GUIFont::CalcTextHeight(), Color16(), Condition_Dead, Condition_Eradicated, Condition_Pertified, Condition_Zombie, OutdoorLocation::ddm, dialog_menu_id, IndoorLocation::dlv, GUIWindow::DrawTitleText(), _2devent::flt_24, Localization::FormatString(), _2devent::fPriceMultiplier, GameUI_ReloadPlayerPortraits(), GameUI_StatusBar_OnEvent(), Localization::GetClassName(), GUIWindow::GetControl(), Party::GetFirstCanAct(), Party::GetGold(), Party::GetPlayingTime(), Localization::GetSkillName(), Localization::GetString(), HOUSE_DIALOGUE_LEARN_SKILLS, HOUSE_DIALOGUE_MAIN, HOUSE_DIALOGUE_TEMPLE_DONATE, HOUSE_DIALOGUE_TEMPLE_HEAL, HouseSound_NotEnoughMoney_TrainingSuccessful, HouseUI_CheckIfPlayerCanInteract(), LEVEL_Outdoor, localization, GUIButton::msg_param, p2DEvents, GUIWindow::par1C, pAudioPlayer, GUIWindow::pCurrentPosActiveItem, pDialogueWindow, pFontArrus, pIndoor, PlayHouseSound(), AudioPlayer::PlaySound(), pMessageQueue_50CBD0, GUIWindow::pNumPresenceButton, pOtherOverlayList, pOutdoor, pParty, pPlayers, pShopOptions, GUIWindow::pStartingPosActiveItem, GUIWindow::ptr_1C, SOUND_heal, SPEECH_82, SPEECH_83, SPELL_AIR_WIZARD_EYE, SPELL_BODY_PROTECTION_FROM_MAGIC, SPELL_LIGHT_DAY_OF_PROTECTION, SPELL_LIGHT_HOUR_OF_POWER, SPELL_SPIRIT_PRESERVATION, StringPrintf(), Party::TakeGold(), uActiveCharacter, Party::uCurrentDayOfMonth, uCurrentlyLoadedLevelType, GUIWindow::uFrameWidth, GUIWindow::uFrameX, GUIWindow::uFrameZ, GUIButton::uHeight, UIMSG_Escape, DDM_DLV_Header::uReputation, GUIButton::uW, GUIButton::uY и window_SpeakInHouse.
Используется в GUIWindow::HouseDialogManager().
void TrainingDialog | ( | const char * | s | ) |
См. определение в файле UIHouses.cpp строка 2933
Перекрестные ссылки _494820_training_time(), byte_4ED970_skill_learn_ability_by_class_table, GUIFont::CalcTextHeight(), Color16(), dialog_menu_id, GUIWindow::DrawTitleText(), _2devent::flt_24, Localization::FormatString(), _2devent::fPriceMultiplier, GameUI_StatusBar_OnEvent(), Localization::GetClassName(), GUIWindow::GetControl(), Party::GetFirstCanAct(), Party::GetGold(), Localization::GetSkillName(), Localization::GetString(), HOUSE_DIALOGUE_LEARN_SKILLS, HOUSE_DIALOGUE_MAIN, HOUSE_DIALOGUE_TRAININGHALL_TRAIN, HOUSE_TRAINING_HALL_94, HOUSE_TRAINING_HALL_95, HOUSE_TRAINING_HALL_EMERALD_ISLE, HouseSound_NotEnoughMoney_TrainingSuccessful, HouseUI_CheckIfPlayerCanInteract(), LEVEL_Outdoor, localization, GUIButton::msg_param, p2DEvents, GUIWindow::pCurrentPosActiveItem, pDialogueWindow, pFontArrus, player_levels, PlayHouseSound(), pMaxLevelPerTrainingHallType, pMessageQueue_50CBD0, pNPCTopics, GUIWindow::pNumPresenceButton, pOutdoor, pParty, pPlayers, pShopOptions, GUIWindow::pStartingPosActiveItem, GUIWindow::ptr_1C, RestAndHeal(), OutdoorLocation::SetFog(), SPEECH_87, StringPrintf(), Party::TakeGold(), uActiveCharacter, Party::uCurrentHour, uCurrentlyLoadedLevelType, Party::uCurrentMinute, GUIWindow::uFrameWidth, GUIWindow::uFrameX, GUIWindow::uFrameZ, GUIButton::uHeight, UIMSG_Escape, GUIButton::uW, GUIButton::uY и window_SpeakInHouse.
Используется в GUIWindow::HouseDialogManager().
void sub_4B6478 | ( | ) |
См. определение в файле UIHouses.cpp строка 3266
Перекрестные ссылки _449B57_test_bit(), __debugbreak(), byte_4ED970_skill_learn_ability_by_class_table, GUIFont::CalcTextHeight(), Color16(), dialog_menu_id, GUIWindow::DrawTitleText(), Localization::FormatString(), _2devent::fPriceMultiplier, GameUI_StatusBar_OnEvent(), Localization::GetClassName(), GUIWindow::GetControl(), Party::GetGold(), Localization::GetSkillName(), Localization::GetString(), HOUSE_DIALOGUE_MAIN, HouseUI_CheckIfPlayerCanInteract(), localization, GUIButton::msg_param, p2DEvents, pAudioPlayer, GUIWindow::pCurrentPosActiveItem, pDialogueWindow, pFontArrus, PlayHouseSound(), AudioPlayer::PlaySound(), pMessageQueue_50CBD0, pNPCTopics, GUIWindow::pNumPresenceButton, pParty, pPlayers, GUIWindow::pStartingPosActiveItem, GUIWindow::ptr_1C, SOUND_error, Party::TakeGold(), uActiveCharacter, GUIWindow::uFrameWidth, GUIWindow::uFrameX, GUIWindow::uFrameZ, GUIButton::uHeight, UIMSG_Escape, _2devent::uType, GUIButton::uW, GUIButton::uY, window_SpeakInHouse и word_4F0754.
Используется в GUIWindow::HouseDialogManager().
void SimpleHouseDialog | ( | ) |
См. определение в файле UIHouses.cpp строка 3426
Перекрестные ссылки _4B254D_SkillMasteryTeacher(), _591428_endcap, bountyHunting_monster_id_for_hunting, bountyHunting_text, GUIFont::CalcTextHeight(), Color16(), contract_approved, ContractSelectText(), current_npc_text, GUIWindow::DrawText(), GUIWindow::DrawTitleText(), dword_591080, NPCData::evt_A, NPCData::evt_B, NPCData::evt_C, NPCData::evt_D, NPCData::evt_E, NPCData::evt_F, GUIFont::FitTextInAWindow(), Localization::FormatString(), game_viewport_width, GUIWindow::GetControl(), Localization::GetNpcProfessionName(), Localization::GetString(), NPCData::greet, HouseNPCData, localization, GUIButton::msg_param, GUIWindow::pCurrentPosActiveItem, pDialogueNPCCount, pDialogueWindow, pFontArrus, pFontCreate, NPCGreeting::pGreetings, MapStats::pInfos, MonsterStats::pInfos, ItemsTable::pItems, pItemsTable, pMapStats, pMonsterStats, MapInfo::pName, NPCData::pName, MonsterInfo::pName, NPCStats::pNPCGreetings, pNPCStats, pNPCTopics, GUIWindow::pNumPresenceButton, GUIWindow::pStartingPosActiveItem, GUIWindow::ptr_1C, pTransitionStrings, render, GUIButton::sLabel, StringPrintf(), uDialogueType, NPCData::uFlags, GUIWindow::uFrameWidth, GUIWindow::uFrameX, GUIWindow::uFrameZ, GUIButton::uHeight, uHouse_ExitPic, ui_leather_mm7, uNumDialogueNPCPortraits, NPCData::uProfession, GUIButton::uW и GUIButton::uY.
Используется в GUIWindow::HouseDialogManager().
void JailDialog | ( | ) |
См. определение в файле UIHouses.cpp строка 3698
Перекрестные ссылки GUIFont::CalcTextHeight(), Color16(), GUIWindow::DrawTitleText(), Localization::GetString(), localization, pFontArrus, GUIWindow::uFrameWidth, GUIWindow::uFrameX, GUIWindow::uFrameZ и window_SpeakInHouse.
Используется в GUIWindow::HouseDialogManager().
void InitializeBuildingResidents | ( | ) |
См. определение в файле UIHouses.cpp строка 3715
Перекрестные ссылки _2devent::_per, _2devent::_quest_related, _2devent::_rep, _2devent::_state, BuildingType_16, BuildingType_18, BuildingType_AirGuild, BuildingType_AlchemistShop, BuildingType_ArmorShop, BuildingType_Bank, BuildingType_Boats, BuildingType_BodyGuild, BuildingType_DarkGuild, BuildingType_EarthGuild, BuildingType_ElementalGuild, BuildingType_FireGuild, BuildingType_LightGuild, BuildingType_MagicShop, BuildingType_MindGuild, BuildingType_SelfGuild, BuildingType_SpiritGuild, BuildingType_Stables, BuildingType_Tavern, BuildingType_Temple, BuildingType_TownHall, BuildingType_Training, BuildingType_WaterGuild, BuildingType_WeaponShop, _2devent::field_14, _2devent::flt_24, _2devent::fPriceMultiplier, _2devent::generation_interval_days, LOD::File::LoadCompressedTexture(), p2DEvents, p2DEventsTXT_Raw, _2devent::pEnterText, pEvents_LOD, _2devent::pName, _2devent::pProprieterName, _2devent::pProprieterTitle, RemoveQuotes(), _2devent::uAnimationID, _2devent::uCloseTime, _2devent::uExitMapID, _2devent::uExitPicID, _2devent::uOpenTime и _2devent::uType.
Используется в ItemsTable::Initialize().
int HouseDialogPressCloseBtn | ( | ) |
См. определение в файле UIHouses.cpp строка 3911
Перекрестные ссылки _4B4224_UpdateNPCTopics(), activeLevelDecoration, BackToHouseMenu(), byte_591180, GUIWindow::CreateButton(), current_npc_text, dialog_menu_id, GUIMessageQueue::Flush(), HOUSE_DIALOGUE_LEARN_SKILLS, HOUSE_DIALOGUE_MAIN, HOUSE_DIALOGUE_NULL, HOUSE_DIALOGUE_SHOP_BUY_SPECIAL, HOUSE_DIALOGUE_SHOP_DISPLAY_EQUIPMENT, HOUSE_DIALOGUE_SHOP_IDENTIFY, HOUSE_DIALOGUE_SHOP_REPAIR, HOUSE_DIALOGUE_SHOP_SELL, HOUSE_DIALOGUE_TAVERN_ARCOMAGE_MAIN, HOUSE_DIALOGUE_TAVERN_ARCOMAGE_RESULT, HOUSE_DIALOGUE_TAVERN_ARCOMAGE_RULES, HOUSE_DIALOGUE_TAVERN_ARCOMAGE_VICTORY_CONDITIONS, HouseNPCPortraitsButtonsList, in_current_building_type, InitializaDialogueOptions(), InitializaDialogueOptions_Shops(), InitializaDialogueOptions_Tavern(), pBtn_ExitCancel, pDialogueNPCCount, pDialogueWindow, pKeyActionMap, pMessageQueue_50CBD0, pNPCPortraits_x, pNPCPortraits_y, Image::Release(), GUIWindow::Release(), KeyboardActionMapping::ResetKeys(), KeyboardActionMapping::SetWindowInputStatus(), shop_ui_background, UI_CreateEndConversationButton(), UIMSG_ClickHouseNPCPortrait, uNumDialogueNPCPortraits, GUIWindow::vButtons и window_SpeakInHouse.
Используется в BackToHouseMenu(), Application::Game::EventLoop(), EventProcessor(), TavernDialog() и TravelByTransport().
void BackToHouseMenu | ( | ) |
См. определение в файле UIHouses.cpp строка 3991
Перекрестные ссылки bGameoverLoop, Mouse::ClearPickedItem(), GUIWindow::CreateButton(), EnterHouse(), HOUSE_BODY_GUILD_ERATHIA, HouseDialogPressCloseBtn(), pAudioPlayer, AudioPlayer::PlaySound(), pMouse, pMovie_Track, pParty, GUIWindow::ptr_1C, GUIWindow::Release(), Engine_::IocContainer::ResolveMouse(), SOUND_Invalid, Party::uFlags, UIMSG_SelectCharacter и window_SpeakInHouse.
Используется в ClickNPCTopic(), Application::Game::EventLoop(), HouseDialogPressCloseBtn() и ArcomageGame::Loop().
int sub_4BE571_AddItemToSet | ( | int | valueToAdd, |
int * | outPutSet, | ||
int | elemsAlreadyPresent, | ||
int | elemsNeeded | ||
) |
См. определение в файле UIHouses.cpp строка 4022
Используется в FillAviableSkillsToTeach().
int uHouse_ExitPic |
См. определение в файле UIHouses.cpp строка 45
Используется в _4B4224_UpdateNPCTopics(), Application::Game::EventLoop(), GUIWindow::HouseDialogManager(), PrepareHouse() и SimpleHouseDialog().
int _F8B1DC_currentShopOption |
См. определение в файле UIHouses.cpp строка 46
Используется в FillAviableSkillsToTeach().
int dword_591080 |
См. определение в файле UIHouses.cpp строка 47
Используется в BuildDialogueString(), ClickNPCTopic(), GUIWindow::HouseDialogManager(), NPCHireableDialogPrepare(), PrepareHouse() и SimpleHouseDialog().
BuildingType in_current_building_type |
См. определение в файле UIHouses.cpp строка 49
Используется в EnterHouse(), GetHouseGoodbyeSpeech(), GUIWindow::HouseDialogManager(), HouseDialogPressCloseBtn(), OnSelectShopDialogueOption(), ShowPopupShopItem() и UIShop_Buy_Identify_Repair().
HOUSE_DIALOGUE_MENU dialog_menu_id |
См. определение в файле UIHouses.cpp строка 50
Используется в AlchemistDialog(), ArmorShopDialog(), BankDialog(), ClickNPCTopic(), EventProcessor(), GameUI_OnPlayerPortraitLeftClick(), GuildDialog(), HouseDialogPressCloseBtn(), MagicShopDialog(), OnSelectShopDialogueOption(), ShowPopupShopItem(), sub_4B6478(), TavernDialog(), TempleDialog(), TownHallDialog(), TrainingDialog(), TravelByTransport(), UIShop_Buy_Identify_Repair() и WeaponShopDialog().
Image* _591428_endcap = nullptr |
См. определение в файле UIHouses.cpp строка 52
Используется в ArenaFight(), GUIWindow::HouseDialogManager(), SetUserInterface(), SimpleHouseDialog(), TavernDialog(), TownHallDialog(), GUIWindow_Dialogue::Update() и GUIWindow_GenericDialogue::Update().
stru365_travel_info transport_schedule[35] |
См. определение в файле UIHouses.cpp строка 70
Используется в IsTravelAvailable(), OnSelectShopDialogueOption() и TravelByTransport().
unsigned char transport_routes[20][4] |
См. определение в файле UIHouses.cpp строка 109
Используется в IsTravelAvailable(), OnSelectShopDialogueOption() и TravelByTransport().
std::array<const stru159, 196> pAnimatedRooms |
См. определение в файле UIHouses.cpp строка 132
Используется в EnterHouse(), GUIWindow_Transition::GUIWindow_Transition(), PlayHouseSound() и PrepareHouse().
|
static |
См. определение в файле UIHouses.cpp строка 331
std::array<const char, 5> uItemsAmountPerShopType = { 0, 6, 8, 12, 12 } |
См. определение в файле UIHouses.cpp строка 341
Используется в GenerateSpecialShopItems() и GenerateStandartShopItems().
const ITEM_VARIATION shopWeap_variation_ord[15] |
См. определение в файле UIHouses.cpp строка 343
Используется в FillAviableSkillsToTeach() и GenerateStandartShopItems().
const ITEM_VARIATION shopArmr_variation_ord[28] |
См. определение в файле UIHouses.cpp строка 351
Используется в FillAviableSkillsToTeach() и GenerateStandartShopItems().
const unsigned __int16 shopMagic_treasure_lvl[14] |
См. определение в файле UIHouses.cpp строка 364
Используется в GenerateStandartShopItems().
const unsigned __int16 shopAlch_treasure_lvl[13] |
См. определение в файле UIHouses.cpp строка 366
Используется в GenerateStandartShopItems().
const ITEM_VARIATION shopWeap_variation_spc[15] |
См. определение в файле UIHouses.cpp строка 369
Используется в FillAviableSkillsToTeach() и GenerateSpecialShopItems().
const unsigned __int16 shopMagicSpc_treasure_lvl[14] |
См. определение в файле UIHouses.cpp строка 377
Используется в GenerateSpecialShopItems().
const unsigned __int16 shopAlchSpc_treasure_lvl[13] |
См. определение в файле UIHouses.cpp строка 379
Используется в GenerateSpecialShopItems().
const ITEM_VARIATION shopArmr_variation_spc[28] |
См. определение в файле UIHouses.cpp строка 382
Используется в FillAviableSkillsToTeach() и GenerateSpecialShopItems().