World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Классы | |
struct | ActionQueue |
struct | PartyTimeStruct |
struct | Party |
Определения типов | |
typedef enum PartyAlignment | PartyAlignment |
Функции | |
bool | TestPartyQuestBit (PARTY_QUEST_BITS bit) |
void | Rest (unsigned int uHoursToSleep) |
void | RestAndHeal (int uNumMinutes) |
int | GetTravelTime () |
bool | _449B57_test_bit (uint8_t *a1, int16_t a2) |
void | _449B7E_toggle_bit (unsigned char *pArray, int16_t a2, uint16_t bToggle) |
Переменные | |
Party * | pParty |
struct ActionQueue * | pPartyActionQueue |
typedef enum PartyAlignment PartyAlignment |
enum PARTY_QUEST_BITS : uint16_t |
См. определение в файле Party.h строка 13
enum PARTY_FLAGS_1 : int32_t |
enum PARTY_FLAGS_2 : int32_t |
enum PARTY_BUFF_INDEX |
См. определение в файле Party.h строка 70
enum PartyAction : uint32_t |
См. определение в файле Party.h строка 94
|
strong |
bool TestPartyQuestBit | ( | PARTY_QUEST_BITS | bit | ) |
См. определение в файле Party.cpp строка 917
Перекрестные ссылки _449B57_test_bit(), Party::_quest_bits и pParty.
Используется в LevelDecoration::IsObeliskChestActive().
void Rest | ( | unsigned int | uHoursToSleep | ) |
См. определение в файле Party.cpp строка 857
Перекрестные ссылки _494035_timed_effects__water_walking_damage__etc(), Party::GetPlayingTime(), Actor::InitializeActors(), pParty и pPlayers.
Используется в Application::Game::EventLoop() и Party::Sleep8Hours().
void RestAndHeal | ( | int | uNumMinutes | ) |
См. определение в файле 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().
int GetTravelTime | ( | ) |
См. определение в файле Party.cpp строка 1171
Перекрестные ссылки CheckHiredNPCSpeciality(), Explorer, Guide, Pathfinder, Tracker и uDefaultTravelTime_ByFoot.
Используется в Application::Game::EventLoop() и GUIWindow_Travel::Update().
Party* pParty |
См. определение в файле 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 |
См. определение в файле Party.cpp строка 32
Используется в BLV_ProcessPartyActions(), Application::Game::GameLoop(), ODM_ProcessPartyActions() и Keyboard::ProcessInputActions().