World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Определения типов | |
using | EngineIoc = Engine_::IocContainer |
Функции | |
void | ui_play_gold_anim () |
void | ui_play_food_anim () |
void | Rest (unsigned int uMinsToRest) |
void | RestAndHeal (int minutes) |
bool | TestPartyQuestBit (PARTY_QUEST_BITS bit) |
int | GetTravelTime () |
bool | _449B57_test_bit (unsigned __int8 *a1, __int16 a2) |
void | _449B7E_toggle_bit (unsigned char *pArray, __int16 a2, unsigned __int16 bToggle) |
Переменные | |
static Mouse * | mouse = EngineIoc::ResolveMouse() |
Party * | pParty = nullptr |
struct ActionQueue * | pPartyActionQueue = new ActionQueue |
std::array< bool, 4 > | playerAlreadyPicked |
char | PickedPlayer2_unused |
char | PickedPlayer3_unused |
char | PickedPlayer4_unused |
struct { | |
UIAnimation _pUIAnim_Food | |
UIAnimation _pUIAnim_Gold | |
UIAnimation _pUIAnum_Torchlight | |
UIAnimation _pUIAnim_WizardEye | |
} | _uianim |
UIAnimation * | pUIAnim_Food = &_uianim._pUIAnim_Food |
UIAnimation * | pUIAnim_Gold = &_uianim._pUIAnim_Gold |
UIAnimation * | pUIAnum_Torchlight = &_uianim._pUIAnum_Torchlight |
UIAnimation * | pUIAnim_WizardEye = &_uianim._pUIAnim_WizardEye |
std::array< class UIAnimation *, 4 > | pUIAnims |
using EngineIoc = Engine_::IocContainer |
void ui_play_gold_anim | ( | ) |
См. определение в файле Party.cpp строка 226
Перекрестные ссылки Icon::GetAnimLength(), UIAnimation::icon, pAudioPlayer, AudioPlayer::PlaySound(), pUIAnim_Gold, SOUND_gold01, UIAnimation::uAnimLength и UIAnimation::uAnimTime.
Используется в Party::SetGold() и Party::TakeGold().
void ui_play_food_anim | ( | ) |
См. определение в файле Party.cpp строка 232
Перекрестные ссылки Icon::GetAnimLength(), UIAnimation::icon, pUIAnim_Food, UIAnimation::uAnimLength и UIAnimation::uAnimTime.
Используется в Party::GiveFood(), Party::SetFood() и Party::TakeFood().
void Rest | ( | unsigned int | uMinsToRest | ) |
См. определение в файле Party.cpp строка 857
Перекрестные ссылки _494035_timed_effects__water_walking_damage__etc(), Party::GetPlayingTime(), Actor::InitializeActors(), pParty и pPlayers.
Используется в Application::Game::EventLoop() и Party::Sleep8Hours().
void RestAndHeal | ( | int | minutes | ) |
См. определение в файле Party.cpp строка 872
Перекрестные ссылки GameTime::AddMinutes(), game_starting_year, GameTime::GetDaysOfMonth(), GameTime::GetHoursOfDay(), GameTime::GetMinutesFraction(), GameTime::GetMonthsOfYear(), Party::GetPlayingTime(), GameTime::GetSecondsFraction(), GameTime::GetWeeksOfMonth(), GameTime::GetYears(), Party::pHirelings, pParty, Party::pPlayers, Party::RestAndHeal(), Party::uCurrentDayOfMonth, Party::uCurrentHour, Party::uCurrentMinute, Party::uCurrentMonth, Party::uCurrentMonthWeek, Party::uCurrentTimeSecond, Party::uCurrentYear и Party::UpdatePlayersAndHirelingsEmotions().
Используется в Application::Game::EventLoop(), TrainingDialog() и TravelByTransport().
bool TestPartyQuestBit | ( | PARTY_QUEST_BITS | bit | ) |
См. определение в файле Party.cpp строка 917
Перекрестные ссылки _449B57_test_bit(), Party::_quest_bits и pParty.
Используется в LevelDecoration::IsObeliskChestActive().
int GetTravelTime | ( | ) |
См. определение в файле Party.cpp строка 1171
Перекрестные ссылки CheckHiredNPCSpeciality(), Explorer, Guide, Pathfinder, Tracker и uDefaultTravelTime_ByFoot.
Используется в Application::Game::EventLoop() и GUIWindow_Travel::Update().
bool _449B57_test_bit | ( | unsigned __int8 * | a1, |
__int16 | a2 | ||
) |
См. определение в файле Party.cpp строка 1185
Используется в _4B254D_SkillMasteryTeacher(), Player::AddVariable(), Actor::ApplyFineForKillingPeasant(), BuildDialogueString(), Player::CompareVariable(), ContractSelectText(), EnterHouse(), Application::Game::EventLoop(), FillAwardsData(), Application::Game::GameLoop(), GameResultsApply(), ItemsTable::GenerateItem(), GuildDialog(), Party::IsPartyEvil(), Party::IsPartyGood(), IsTravelAvailable(), OracleDialogue(), PrepareHouse(), PrepareToLoadRestUI(), Player::ProfessionOrGuildFlagsCorrect(), Player::SetVariable(), SpellBookGenerator(), sub_4B1447_party_fine(), sub_4B6478(), TestPartyQuestBit(), TravelByTransport(), GUIWindow_TownPortalBook::Update() и GUIWindow_AutonotesBook::Update().
void _449B7E_toggle_bit | ( | unsigned char * | pArray, |
__int16 | a2, | ||
unsigned __int16 | bToggle | ||
) |
См. определение в файле Party.cpp строка 1190
Используется в Player::AddVariable(), Actor::ApplyFineForKillingPeasant(), GameResultsApply(), ItemInteraction(), Application::Game::Loop(), PartyCreationUI_Loop(), Player::SetVariable(), sub_4B1447_party_fine() и Player::SubtractVariable().
|
static |
См. определение в файле Party.cpp строка 28
Используется в Party::SetHoldingItem() и Party::sub_421B2C_PlaceInInventory_or_DropPickedItem().
Party* pParty = nullptr |
См. определение в файле Party.cpp строка 30
Используется в stru262_TurnBased::_406457(), GUIWindow::_41D73D_draw_buff_tooltip(), Actor::_427102_IsOkToCastSpell(), _42777D_CastSpell_UseWand_ShootArrow(), CastSpellInfoHelpers::_427E01_cast_spell(), Player::_42ECB5_PlayerAttacksActor(), ItemGen::_439DF3_get_additional_damage(), _45063B_spawn_some_monster(), Engine::_461103_load_level_sub(), SpriteObject::_46BEF1_apply_spells_aoe(), _46BFFA_update_spell_fx(), _46EF01_collision_chech_player(), NPCStats::_476C60_on_load_game(), _493938_regenerate(), _494035_timed_effects__water_walking_damage__etc(), _4B254D_SkillMasteryTeacher(), Actor::_SelectTarget(), _set_3d_modelview_matrix(), ActorInteraction(), Party::AddGold(), Player::AddVariable(), Actor::AI_MeleeAttack(), Actor::AI_MissileAttack1(), Actor::AI_MissileAttack2(), Actor::AI_Pursue1(), Actor::AI_Pursue2(), Actor::AI_Pursue3(), Actor::AI_SpellAttack(), Actor::AI_SpellAttack1(), Actor::AI_SpellAttack2(), stru262_TurnBased::AITurnBasedAction(), AlchemyMagicShopWares(), Actor::ApplyFineForKillingPeasant(), stru262_TurnBased::ApplyPlayerAction(), area_of_effect__damage_evaluate(), Arena_SelectionFightLevel(), ArenaFight(), ArmorShopWares(), BackToHouseMenu(), BankDialog(), BLV_ProcessPartyActions(), BookUI_Spellbook_DrawCurrentSchoolBackground(), BuildDialogueString(), stru10::CalcFaceBounding(), Player::CanEquip_RaceAndAlignmentCheck(), ViewingParams::CenterOnPartyZoomIn(), ViewingParams::CenterOnPartyZoomOut(), GUIWindow_CharacterRecord::CharacterUI_AwardsTab_Draw(), CharacterUI_GetSkillDescText(), CharacterUI_LoadPaperdollTextures(), GUIWindow_CharacterRecord::CharacterUI_SkillsTab_CreateButtons(), CharacterUI_StatsTab_ShowHint(), check_event_triggers(), CheckActors_proximity(), CheckHiredNPCSpeciality(), Player::CleanupBeacons(), ClickNPCTopic(), Player::CompareVariable(), ContractSelectText(), Party::CreateDefaultParty(), CreateParty_EventLoop(), Actor::DamageMonsterFromParty(), DamagePlayerFromMonster(), Actor::Die(), OutdoorLocation::DoGetTile(), DoPrepareWorld(), DoSavegame(), OutdoorLocation::Draw(), Engine::Draw(), IndoorLocation::Draw(), DrawBook_Map_sub(), Engine::DrawGUI(), RenderOpenGL::DrawOutdoorSkyPolygon(), OtherOverlayList::DrawTurnBasedIcon(), Engine::DropHeldItem(), EnterHouse(), Player::EquipBody(), EventCastSpell(), Application::Menu::EventLoop(), Application::Game::EventLoop(), EventProcessor(), OutdoorLocation::ExecDraw(), SpriteObject::ExplosionTraps(), Game_StartHirelingDialogue(), Application::Game::GameLoop(), GameResultsApply(), GameUI_CharacterQuickRecord_Draw(), GameUI_DrawFoodAndGold(), GameUI_DrawHiredNPCs(), GameUI_DrawItemInfo(), GameUI_DrawLifeManaBars(), GameUI_DrawMinimap(), GameUI_DrawNPCPopup(), GameUI_DrawPartySpells(), GameUI_DrawPortraits(), GameUI_DrawRightPanelItems(), GameUI_DrawTorchlightAndWizardEye(), GameUI_GetMinimapHintText(), GameUI_InitializeDialogue(), GameUI_LoadPlayerPortraintsAndVoices(), GameUI_OnPlayerPortraitLeftClick(), GameUI_WritePointedObjectStatusString(), ItemGen::GenerateArtifact(), ItemsTable::GenerateItem(), GenerateSpecialShopItems(), GenerateStandartShopItems(), GetActorTintColor(), Player::GetAttackRecoveryTime(), Player::GetBaseAge(), Player::GetConditionDaysPassed(), GetDayPart(), Actor::GetDirectionInfo(), OutdoorLocation::GetFogDensityByTime(), GetGreetType(), GetHouseGoodbyeSpeech(), Player::GetMagicalBonus(), Player::GetMerchant(), GetNewNPCData(), Party::GetNextActiveCharacter(), GetNPCData(), OutdoorLocation::GetNumFoodRequiredToRestInCurrentPos(), OutdoorLocation::GetTravelDestination(), Party::GiveFood(), Party::GivePartyExp(), Chest::GrabItem(), GuildDialog(), GUIWindow_LloydsBook::GUIWindow_LloydsBook(), GUIWindow_MapBook::GUIWindow_MapBook(), GUIWindow_Transition::GUIWindow_Transition(), GUIWindow_Travel::GUIWindow_Travel(), Party::HasItem(), Player::HasItem(), InitializaDialogueOptions(), InitializaDialogueOptions_Tavern(), GUIProgressBar::Initialize(), Actor::InitializeActors(), Render::InitializeFullscreen(), Inventory_ItemPopupAndAlchemy(), IsDwarfPresentInParty(), LevelDecoration::IsObeliskChestActive(), ConditionProcessor::IsPlayerAffected(), IsTravelAvailable(), ItemInteraction(), OutdoorLocation::Load(), OutdoorLocation::LoadActualSkyFrame(), LoadGame(), Application::Game::Loop(), Actor::LootActor(), Actor::MakeActorAIList_BLV(), Actor::MakeActorAIList_ODM(), Engine::MM7_Initialize(), MM7Initialization(), MonsterPopup_Draw(), stru262_TurnBased::NextTurn(), NPC_EventProcessor(), ODM_LoadAndInitialize(), ODM_ProcessPartyActions(), ODM_UpdateUserInputAndOther(), Chest::OnChestLeftClick(), Application::Game::OnEscape(), Engine::OnGameViewportClick(), SpriteObject::OnInteraction(), Player::OnInventoryLeftClick(), OnMapLoad(), WinApiWindow::OnOSMenu(), OnPaperdollLeftClick(), OnSelectNPCDialogueOption(), OnSelectShopDialogueOption(), OnTimer(), Chest::Open(), OracleDialogue(), PartyCreationUI_Loop(), PartyCreationUI_LoopInternal(), PlayerCreation_Choose4Skills(), PlayerCreation_GetUnspentAttributePointCount(), AudioPlayer::PlaySound(), IndoorLocation::PrepareActorRenderList_BLV(), OutdoorLocation::PrepareActorsDrawList(), IndoorLocation::PrepareDecorationsRenderList_BLV(), RenderOpenGL::PrepareDecorationsRenderList_ODM(), Render::PrepareDecorationsRenderList_ODM(), PrepareDrawLists_BLV(), PrepareHouse(), PrepareToLoadBLV(), PrepareToLoadRestUI(), PrepareWorld(), Keyboard::ProcessInputActions(), Mouse::ReadCursorWithItem(), Player::Recover(), GUIWindow_House::Release(), Mouse::RemoveHoldingItem(), Engine::ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows(), Rest(), Party::RestAndHeal(), RestAndHeal(), SaveGame(), SaveNewGame(), Player::SetBeacon(), Player::SetCondition(), SetDecorationSprite(), Party::SetFood(), Party::SetGold(), Player::SetRecoveryTime(), Player::SetVariable(), ShowPopupShopItem(), stru262_TurnBased::SortTurnQueue(), SpawnActor(), SpellBookGenerator(), stru262_TurnBased::Start(), Actor::StealFrom(), Player::StealFromActor(), sub_4070EF_prolly_detect_player(), Party::sub_421B2C_PlaceInInventory_or_DropPickedItem(), sub_4451A8_press_any_key(), sub_4465DF_check_season(), sub_44861E_set_texture(), sub_44892E_set_faces_bit(), sub_44FA4C_spawn_light_elemental(), sub_47C3D7_get_fog_specular(), sub_4B1447_party_fine(), sub_4B6478(), Player::SubtractVariable(), Party::TakeFood(), Party::TakeGold(), TavernDialog(), TeleportToStartingPoint(), TempleDialog(), TestPartyQuestBit(), IndoorLocation::ToggleLight(), TownHallDialog(), TrainingDialog(), TravelByTransport(), Mouse::UI_OnMouseLeftClick(), UI_OnMouseRightClick(), UIShop_Buy_Identify_Repair(), GUIWindow_JournalBook::Update(), GUIWindow_QuickReference::Update(), GUIWindow_LloydsBook::Update(), GUIWindow_CalendarBook::Update(), GUIWindow_AutonotesBook::Update(), GUIWindow_TownPortalBook::Update(), GUIWindow_MapBook::Update(), GUIWindow_Dialogue::Update(), GUIWindow_Rest::Update(), GUIWindow_Travel::Update(), GUIWindow_PartyCreation::Update(), GUIWindow_DebugMenu::Update(), GUIWindow_House::Update(), Actor::UpdateActorAI(), UpdateActors_BLV(), UpdateActors_ODM(), UpdateObjects(), Party::UpdatePlayersAndHirelingsEmotions(), AudioPlayer::UpdateSounds(), OutdoorLocation::UpdateSunlightVectors(), Player::UseItem_DrinkPotion_etc(), UseNPCSkill(), WeaponShopWares() и Party::Yell().
struct ActionQueue* pPartyActionQueue = new ActionQueue |
См. определение в файле Party.cpp строка 32
Используется в BLV_ProcessPartyActions(), Application::Game::GameLoop(), ODM_ProcessPartyActions() и Keyboard::ProcessInputActions().
std::array<bool, 4> playerAlreadyPicked |
См. определение в файле Party.cpp строка 34
Используется в Party::GetNextActiveCharacter().
UIAnimation _pUIAnim_Food |
UIAnimation _pUIAnim_Gold |
UIAnimation _pUIAnum_Torchlight |
UIAnimation _pUIAnim_WizardEye |
struct { ... } _uianim |
UIAnimation* pUIAnim_Food = &_uianim._pUIAnim_Food |
См. определение в файле Party.cpp строка 46
Используется в ui_play_food_anim().
UIAnimation* pUIAnim_Gold = &_uianim._pUIAnim_Gold |
См. определение в файле Party.cpp строка 47
Используется в ui_play_gold_anim().
UIAnimation* pUIAnum_Torchlight = &_uianim._pUIAnum_Torchlight |
См. определение в файле Party.cpp строка 48
Используется в GameUI_DrawTorchlightAndWizardEye() и SetUserInterface().
UIAnimation* pUIAnim_WizardEye = &_uianim._pUIAnim_WizardEye |
См. определение в файле Party.cpp строка 49
Используется в GameUI_DrawTorchlightAndWizardEye() и SetUserInterface().
std::array<class UIAnimation *, 4> pUIAnims |