World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Файл Party.h

См. исходные тексты.

Классы

struct  ActionQueue
 
struct  PartyTimeStruct
 
struct  Party
 

Определения типов

typedef enum PartyAlignment PartyAlignment
 

Перечисления

enum  PARTY_QUEST_BITS : uint16_t {
  PARTY_QUEST_EMERALD_RED_POTION_ACTIVE = 1, PARTY_QUEST_EMERALD_SEASHELL_ACTIVE = 2, PARTY_QUEST_EMERALD_LONGBOW_ACTIVE = 3, PARTY_QUEST_EMERALD_PLATE_ACTIVE = 4,
  PARTY_QUEST_EMERALD_LUTE_ACTIVE = 5, PARTY_QUEST_EMERALD_HAT_ACTIVE = 6, PARTY_QUEST_EMERALD_MARGARETH_OFF = 17, PARTY_QUEST_EVENMORN_MAP_FOUND = 64,
  PARTY_QUEST_HARMONDALE_REBUILT = 98, PARTY_QUEST_FINISHED_EMERALD_ISLE = 136, PARTY_QUEST_OBELISK_HARMONDALE = 164, PARTY_QUEST_OBELISK_ERATHIA = 165,
  PARTY_QUEST_OBELISK_TULAREAN_FOREST = 166, PARTY_QUEST_OBELISK_DEYJA = 167, PARTY_QUEST_OBELISK_BRACADA_DESERT = 168, PARTY_QUEST_OBELISK_CELESTE = 169,
  PARTY_QUEST_OBELISK_THE_PIT = 170, PARTY_QUEST_OBELISK_EVENMORN_ISLAND = 171, PARTY_QUEST_OBELISK_MOUNT_NIGHON = 172, PARTY_QUEST_OBELISK_BARROW_DOWNS = 173,
  PARTY_QUEST_OBELISK_LAND_OF_THE_GIANTS = 174, PARTY_QUEST_OBELISK_TATALIA = 175, PARTY_QUEST_OBELISK_AVLEE = 176, PARTY_QUEST_OBELISK_STONE_CITY = 177,
  PARTY_QUEST_OBELISK_TREASURE_FOUND = 178, PARTY_QUEST_FOUNTAIN_HARMONDALE = 206, PARTY_QUEST_FOUNTAIN_NIGHON = 207, PARTY_QUEST_FOUNTAIN_PIERPONT = 208,
  PARTY_QUEST_FOUNTAIN_CELESTIA = 209, PARTY_QUEST_FOUNTAIN_THE_PIT = 210, PARTY_QUEST_FOUNTAIN_EVENMORN_ISLE = 211
}
 
enum  PARTY_FLAGS_1 : int32_t {
  PARTY_FLAGS_1_0002 = 0x0002, PARTY_FLAGS_1_WATER_DAMAGE = 0x0004, PARTY_FLAGS_1_FALLING = 0x0008, PARTY_FLAGS_1_ALERT_RED = 0x0010,
  PARTY_FLAGS_1_ALERT_YELLOW = 0x0020, PARTY_FLAGS_1_STANDING_ON_WATER = 0x0080, PARTY_FLAGS_1_LANDING = 0x0100, PARTY_FLAGS_1_BURNING = 0x200
}
 
enum  PARTY_FLAGS_2 : int32_t { PARTY_FLAGS_2_RUNNING = 0x2 }
 
enum  PARTY_BUFF_INDEX {
  PARTY_BUFF_RESIST_AIR = 0, PARTY_BUFF_RESIST_BODY = 1, PARTY_BUFF_DAY_OF_GODS = 2, PARTY_BUFF_DETECT_LIFE = 3,
  PARTY_BUFF_RESIST_EARTH = 4, PARTY_BUFF_FEATHER_FALL = 5, PARTY_BUFF_RESIST_FIRE = 6, PARTY_BUFF_FLY = 7,
  PARTY_BUFF_HASTE = 8, PARTY_BUFF_HEROISM = 9, PARTY_BUFF_IMMOLATION = 10, PARTY_BUFF_INVISIBILITY = 11,
  PARTY_BUFF_RESIST_MIND = 12, PARTY_BUFF_PROTECTION_FROM_MAGIC = 13, PARTY_BUFF_SHIELD = 14, PARTY_BUFF_STONE_SKIN = 15,
  PARTY_BUFF_TORCHLIGHT = 16, PARTY_BUFF_RESIST_WATER = 17, PARTY_BUFF_WATER_WALK = 18, PARTY_BUFF_WIZARD_EYE = 19
}
 
enum  PartyAction : uint32_t {
  PARTY_INVALID = 0, PARTY_TurnLeft = 0x1, PARTY_TurnRight = 0x2, PARTY_StrafeLeft = 0x3,
  PARTY_StrafeRight = 0x4, PARTY_WalkForward = 0x5, PARTY_WalkBackward = 0x6, PARTY_LookUp = 0x7,
  PARTY_LookDown = 0x8, PARTY_CenterView = 0x9, PARTY_unkA = 0xA, PARTY_unkB = 0xB,
  PARTY_Jump = 0xC, PARTY_FlyUp = 0xD, PARTY_FlyDown = 0xE, PARTY_Land = 0xF,
  PARTY_RunForward = 0x10, PARTY_RunBackward = 0x11, PARTY_FastTurnLeft = 0x12, PARTY_FastTurnRight = 0x13,
  PARTY_dword = 0xFFFFFFFF
}
 
enum  PartyAlignment : uint32_t { PartyAlignment::PartyAlignment_Good = 0, PartyAlignment::PartyAlignment_Neutral = 1, PartyAlignment::PartyAlignment_Evil = 2 }
 

Функции

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)
 

Переменные

PartypParty
 
struct ActionQueuepPartyActionQueue
 

Типы

◆ PartyAlignment

Перечисления

◆ PARTY_QUEST_BITS

Элементы перечислений
PARTY_QUEST_EMERALD_RED_POTION_ACTIVE 
PARTY_QUEST_EMERALD_SEASHELL_ACTIVE 
PARTY_QUEST_EMERALD_LONGBOW_ACTIVE 
PARTY_QUEST_EMERALD_PLATE_ACTIVE 
PARTY_QUEST_EMERALD_LUTE_ACTIVE 
PARTY_QUEST_EMERALD_HAT_ACTIVE 
PARTY_QUEST_EMERALD_MARGARETH_OFF 
PARTY_QUEST_EVENMORN_MAP_FOUND 
PARTY_QUEST_HARMONDALE_REBUILT 
PARTY_QUEST_FINISHED_EMERALD_ISLE 
PARTY_QUEST_OBELISK_HARMONDALE 
PARTY_QUEST_OBELISK_ERATHIA 
PARTY_QUEST_OBELISK_TULAREAN_FOREST 
PARTY_QUEST_OBELISK_DEYJA 
PARTY_QUEST_OBELISK_BRACADA_DESERT 
PARTY_QUEST_OBELISK_CELESTE 
PARTY_QUEST_OBELISK_THE_PIT 
PARTY_QUEST_OBELISK_EVENMORN_ISLAND 
PARTY_QUEST_OBELISK_MOUNT_NIGHON 
PARTY_QUEST_OBELISK_BARROW_DOWNS 
PARTY_QUEST_OBELISK_LAND_OF_THE_GIANTS 
PARTY_QUEST_OBELISK_TATALIA 
PARTY_QUEST_OBELISK_AVLEE 
PARTY_QUEST_OBELISK_STONE_CITY 
PARTY_QUEST_OBELISK_TREASURE_FOUND 
PARTY_QUEST_FOUNTAIN_HARMONDALE 
PARTY_QUEST_FOUNTAIN_NIGHON 
PARTY_QUEST_FOUNTAIN_PIERPONT 
PARTY_QUEST_FOUNTAIN_CELESTIA 
PARTY_QUEST_FOUNTAIN_THE_PIT 
PARTY_QUEST_FOUNTAIN_EVENMORN_ISLE 

См. определение в файле Party.h строка 13

◆ PARTY_FLAGS_1

Элементы перечислений
PARTY_FLAGS_1_0002 
PARTY_FLAGS_1_WATER_DAMAGE 
PARTY_FLAGS_1_FALLING 
PARTY_FLAGS_1_ALERT_RED 
PARTY_FLAGS_1_ALERT_YELLOW 
PARTY_FLAGS_1_STANDING_ON_WATER 
PARTY_FLAGS_1_LANDING 
PARTY_FLAGS_1_BURNING 

См. определение в файле Party.h строка 55

55  : int32_t {
56  PARTY_FLAGS_1_0002 = 0x0002,
58  PARTY_FLAGS_1_FALLING = 0x0008,
59  PARTY_FLAGS_1_ALERT_RED = 0x0010,
62  PARTY_FLAGS_1_LANDING = 0x0100,
63  PARTY_FLAGS_1_BURNING = 0x200
64 };

◆ PARTY_FLAGS_2

Элементы перечислений
PARTY_FLAGS_2_RUNNING 

См. определение в файле Party.h строка 65

65  : int32_t {
67 };

◆ PARTY_BUFF_INDEX

Элементы перечислений
PARTY_BUFF_RESIST_AIR 
PARTY_BUFF_RESIST_BODY 
PARTY_BUFF_DAY_OF_GODS 
PARTY_BUFF_DETECT_LIFE 
PARTY_BUFF_RESIST_EARTH 
PARTY_BUFF_FEATHER_FALL 
PARTY_BUFF_RESIST_FIRE 
PARTY_BUFF_FLY 
PARTY_BUFF_HASTE 
PARTY_BUFF_HEROISM 
PARTY_BUFF_IMMOLATION 
PARTY_BUFF_INVISIBILITY 
PARTY_BUFF_RESIST_MIND 
PARTY_BUFF_PROTECTION_FROM_MAGIC 
PARTY_BUFF_SHIELD 
PARTY_BUFF_STONE_SKIN 
PARTY_BUFF_TORCHLIGHT 
PARTY_BUFF_RESIST_WATER 
PARTY_BUFF_WATER_WALK 
PARTY_BUFF_WIZARD_EYE 

См. определение в файле Party.h строка 70

◆ PartyAction

Элементы перечислений
PARTY_INVALID 
PARTY_TurnLeft 
PARTY_TurnRight 
PARTY_StrafeLeft 
PARTY_StrafeRight 
PARTY_WalkForward 
PARTY_WalkBackward 
PARTY_LookUp 
PARTY_LookDown 
PARTY_CenterView 
PARTY_unkA 
PARTY_unkB 
PARTY_Jump 
PARTY_FlyUp 
PARTY_FlyDown 
PARTY_Land 
PARTY_RunForward 
PARTY_RunBackward 
PARTY_FastTurnLeft 
PARTY_FastTurnRight 
PARTY_dword 

См. определение в файле Party.h строка 94

94  : uint32_t {
95  PARTY_INVALID = 0,
96  PARTY_TurnLeft = 0x1,
97  PARTY_TurnRight = 0x2,
98  PARTY_StrafeLeft = 0x3,
99  PARTY_StrafeRight = 0x4,
100  PARTY_WalkForward = 0x5,
101  PARTY_WalkBackward = 0x6,
102  PARTY_LookUp = 0x7,
103  PARTY_LookDown = 0x8,
104  PARTY_CenterView = 0x9,
105  PARTY_unkA = 0xA,
106  PARTY_unkB = 0xB,
107  PARTY_Jump = 0xC,
108  PARTY_FlyUp = 0xD,
109  PARTY_FlyDown = 0xE,
110  PARTY_Land = 0xF,
111  PARTY_RunForward = 0x10,
112  PARTY_RunBackward = 0x11,
113  PARTY_FastTurnLeft = 0x12,
114  PARTY_FastTurnRight = 0x13,
115 
116  PARTY_dword = 0xFFFFFFFF
117 };

◆ PartyAlignment

enum PartyAlignment : uint32_t
strong
Элементы перечислений
PartyAlignment_Good 
PartyAlignment_Neutral 
PartyAlignment_Evil 

См. определение в файле Party.h строка 133

133  : uint32_t {

Функции

◆ TestPartyQuestBit()

bool TestPartyQuestBit ( PARTY_QUEST_BITS  bit)

См. определение в файле Party.cpp строка 917

917  {
918  return _449B57_test_bit(pParty->_quest_bits, bit);
919 }

Перекрестные ссылки _449B57_test_bit(), Party::_quest_bits и pParty.

Используется в LevelDecoration::IsObeliskChestActive().

+ Граф вызовов:
+ Граф вызова функции:

◆ Rest()

void Rest ( unsigned int  uHoursToSleep)

См. определение в файле Party.cpp строка 857

857  { // this is passed mins not hours
858  auto rest_time = GameTime(0, uMinsToRest);
859 
860  if (uMinsToRest > 240) Actor::InitializeActors();
861 
862  pParty->GetPlayingTime() += rest_time;
863 
864  for (int i = 1; i <= 4; i++) {
865  pPlayers[i]->Recover(rest_time); // ??
866  }
867 
869 }

Перекрестные ссылки _494035_timed_effects__water_walking_damage__etc(), Party::GetPlayingTime(), Actor::InitializeActors(), pParty и pPlayers.

Используется в Application::Game::EventLoop() и Party::Sleep8Hours().

+ Граф вызовов:
+ Граф вызова функции:

◆ RestAndHeal()

void RestAndHeal ( int  uNumMinutes)

См. определение в файле Party.cpp строка 872

872  {
873  pParty->GetPlayingTime().AddMinutes(minutes);
874 
875  pParty->pHirelings[0].bHasUsedTheAbility = false;
876  pParty->pHirelings[1].bHasUsedTheAbility = false;
877 
886  pParty->RestAndHeal();
887 
888  for (int i = 0; i < 4; i++) {
889  pParty->pPlayers[i].uTimeToRecovery = 0;
890  pParty->pPlayers[i].uNumDivineInterventionCastsThisDay = 0;
891  pParty->pPlayers[i].uNumArmageddonCasts = 0;
892  pParty->pPlayers[i].uNumFireSpikeCasts = 0;
893  pParty->pPlayers[i].field_1B3B = 0;
894  }
895 
897 }

Перекрестные ссылки 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().

+ Граф вызовов:
+ Граф вызова функции:

◆ GetTravelTime()

int GetTravelTime ( )

См. определение в файле Party.cpp строка 1171

1171  {
1172  signed int new_travel_time; // esi@1
1173 
1174  new_travel_time = uDefaultTravelTime_ByFoot;
1175  if (CheckHiredNPCSpeciality(Guide)) --new_travel_time;
1176  if (CheckHiredNPCSpeciality(Tracker)) new_travel_time -= 2;
1177  if (CheckHiredNPCSpeciality(Pathfinder)) new_travel_time -= 3;
1178  if (CheckHiredNPCSpeciality(Explorer)) --new_travel_time;
1179  if (new_travel_time < 1) new_travel_time = 1;
1180  return new_travel_time;
1181 }

Перекрестные ссылки CheckHiredNPCSpeciality(), Explorer, Guide, Pathfinder, Tracker и uDefaultTravelTime_ByFoot.

Используется в Application::Game::EventLoop() и GUIWindow_Travel::Update().

+ Граф вызовов:
+ Граф вызова функции:

◆ _449B57_test_bit()

bool _449B57_test_bit ( uint8_t a1,
int16_t  a2 
)

◆ _449B7E_toggle_bit()

void _449B7E_toggle_bit ( unsigned char *  pArray,
int16_t  a2,
uint16_t  bToggle 
)

Переменные

◆ pParty

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().

◆ pPartyActionQueue

struct ActionQueue* pPartyActionQueue

См. определение в файле Party.cpp строка 32

Используется в BLV_ProcessPartyActions(), Application::Game::GameLoop(), ODM_ProcessPartyActions() и Keyboard::ProcessInputActions().

uint16_t
unsigned __int16 uint16_t
Definition: SDL_config.h:37
PARTY_FLAGS_1_FALLING
@ PARTY_FLAGS_1_FALLING
Definition: Party.h:58
Party::uCurrentTimeSecond
unsigned int uCurrentTimeSecond
Definition: Party.h:277
PartyAlignment
PartyAlignment
Definition: Party.h:133
PartyAlignment::PartyAlignment_Good
@ PartyAlignment_Good
PARTY_BUFF_DAY_OF_GODS
@ PARTY_BUFF_DAY_OF_GODS
Definition: Party.h:73
PARTY_BUFF_SHIELD
@ PARTY_BUFF_SHIELD
Definition: Party.h:85
PARTY_QUEST_OBELISK_CELESTE
@ PARTY_QUEST_OBELISK_CELESTE
Definition: Party.h:34
PARTY_QUEST_FOUNTAIN_NIGHON
@ PARTY_QUEST_FOUNTAIN_NIGHON
Definition: Party.h:47
PartyAlignment::PartyAlignment_Neutral
@ PartyAlignment_Neutral
PARTY_FLAGS_1_ALERT_RED
@ PARTY_FLAGS_1_ALERT_RED
Definition: Party.h:59
Party::uCurrentMonth
unsigned int uCurrentMonth
Definition: Party.h:272
Party::GetPlayingTime
GameTime & GetPlayingTime()
Definition: Party.h:230
PARTY_QUEST_EMERALD_PLATE_ACTIVE
@ PARTY_QUEST_EMERALD_PLATE_ACTIVE
Definition: Party.h:17
PARTY_StrafeLeft
@ PARTY_StrafeLeft
Definition: Party.h:98
Party::uCurrentMinute
unsigned int uCurrentMinute
Definition: Party.h:276
PARTY_LookDown
@ PARTY_LookDown
Definition: Party.h:103
PARTY_FLAGS_1_BURNING
@ PARTY_FLAGS_1_BURNING
Definition: Party.h:63
PARTY_BUFF_PROTECTION_FROM_MAGIC
@ PARTY_BUFF_PROTECTION_FROM_MAGIC
Definition: Party.h:84
PARTY_BUFF_IMMOLATION
@ PARTY_BUFF_IMMOLATION
Definition: Party.h:81
PARTY_QUEST_EMERALD_MARGARETH_OFF
@ PARTY_QUEST_EMERALD_MARGARETH_OFF
Definition: Party.h:21
PARTY_INVALID
@ PARTY_INVALID
Definition: Party.h:95
_449B57_test_bit
bool _449B57_test_bit(unsigned __int8 *a1, __int16 a2)
Definition: Party.cpp:1185
PARTY_QUEST_EMERALD_HAT_ACTIVE
@ PARTY_QUEST_EMERALD_HAT_ACTIVE
Definition: Party.h:19
PARTY_QUEST_OBELISK_EVENMORN_ISLAND
@ PARTY_QUEST_OBELISK_EVENMORN_ISLAND
Definition: Party.h:36
PartyAlignment::PartyAlignment_Evil
@ PartyAlignment_Evil
PARTY_QUEST_OBELISK_BRACADA_DESERT
@ PARTY_QUEST_OBELISK_BRACADA_DESERT
Definition: Party.h:33
uDefaultTravelTime_ByFoot
int uDefaultTravelTime_ByFoot
Definition: mm7_data.cpp:696
GameTime::GetDaysOfMonth
int GetDaysOfMonth() const
Definition: Time.h:41
PARTY_unkA
@ PARTY_unkA
Definition: Party.h:105
PARTY_QUEST_HARMONDALE_REBUILT
@ PARTY_QUEST_HARMONDALE_REBUILT
Definition: Party.h:25
game_starting_year
int game_starting_year
Definition: mm7_data.cpp:193
Party::_quest_bits
unsigned __int8 _quest_bits[64]
Definition: Party.h:291
PARTY_BUFF_STONE_SKIN
@ PARTY_BUFF_STONE_SKIN
Definition: Party.h:86
PARTY_QUEST_OBELISK_ERATHIA
@ PARTY_QUEST_OBELISK_ERATHIA
Definition: Party.h:30
PARTY_BUFF_WATER_WALK
@ PARTY_BUFF_WATER_WALK
Definition: Party.h:89
Party::uCurrentHour
unsigned int uCurrentHour
Definition: Party.h:275
PARTY_WalkForward
@ PARTY_WalkForward
Definition: Party.h:100
PARTY_QUEST_FOUNTAIN_THE_PIT
@ PARTY_QUEST_FOUNTAIN_THE_PIT
Definition: Party.h:50
Party::pPlayers
std::array< Player, 4 > pPlayers
Definition: Party.h:310
PARTY_unkB
@ PARTY_unkB
Definition: Party.h:106
Party::UpdatePlayersAndHirelingsEmotions
void UpdatePlayersAndHirelingsEmotions()
Definition: Party.cpp:657
PARTY_BUFF_RESIST_AIR
@ PARTY_BUFF_RESIST_AIR
Definition: Party.h:71
Party::uCurrentMonthWeek
unsigned int uCurrentMonthWeek
Definition: Party.h:273
_494035_timed_effects__water_walking_damage__etc
void _494035_timed_effects__water_walking_damage__etc()
Definition: Engine.cpp:1623
GameTime::GetYears
int GetYears() const
Definition: Time.h:35
PARTY_BUFF_RESIST_MIND
@ PARTY_BUFF_RESIST_MIND
Definition: Party.h:83
PARTY_QUEST_OBELISK_TULAREAN_FOREST
@ PARTY_QUEST_OBELISK_TULAREAN_FOREST
Definition: Party.h:31
pPlayers
NZIArray< struct Player *, 5 > pPlayers
Definition: Player.cpp:46
PARTY_QUEST_OBELISK_TREASURE_FOUND
@ PARTY_QUEST_OBELISK_TREASURE_FOUND
Definition: Party.h:44
PARTY_BUFF_WIZARD_EYE
@ PARTY_BUFF_WIZARD_EYE
Definition: Party.h:90
PARTY_BUFF_TORCHLIGHT
@ PARTY_BUFF_TORCHLIGHT
Definition: Party.h:87
PARTY_FlyUp
@ PARTY_FlyUp
Definition: Party.h:108
PARTY_QUEST_FOUNTAIN_EVENMORN_ISLE
@ PARTY_QUEST_FOUNTAIN_EVENMORN_ISLE
Definition: Party.h:51
GameTime::GetMinutesFraction
int GetMinutesFraction() const
Definition: Time.h:38
PARTY_FLAGS_1_STANDING_ON_WATER
@ PARTY_FLAGS_1_STANDING_ON_WATER
Definition: Party.h:61
PARTY_FLAGS_1_LANDING
@ PARTY_FLAGS_1_LANDING
Definition: Party.h:62
GameTime::GetSecondsFraction
int GetSecondsFraction() const
Definition: Time.h:37
PARTY_LookUp
@ PARTY_LookUp
Definition: Party.h:102
PARTY_QUEST_OBELISK_HARMONDALE
@ PARTY_QUEST_OBELISK_HARMONDALE
Definition: Party.h:29
PARTY_dword
@ PARTY_dword
Definition: Party.h:116
PARTY_FLAGS_1_ALERT_YELLOW
@ PARTY_FLAGS_1_ALERT_YELLOW
Definition: Party.h:60
pParty
Party * pParty
Definition: Party.cpp:30
PARTY_Land
@ PARTY_Land
Definition: Party.h:110
PARTY_BUFF_RESIST_WATER
@ PARTY_BUFF_RESIST_WATER
Definition: Party.h:88
PARTY_QUEST_OBELISK_THE_PIT
@ PARTY_QUEST_OBELISK_THE_PIT
Definition: Party.h:35
PARTY_FlyDown
@ PARTY_FlyDown
Definition: Party.h:109
PARTY_FastTurnRight
@ PARTY_FastTurnRight
Definition: Party.h:114
PARTY_QUEST_OBELISK_MOUNT_NIGHON
@ PARTY_QUEST_OBELISK_MOUNT_NIGHON
Definition: Party.h:37
PARTY_QUEST_EMERALD_LUTE_ACTIVE
@ PARTY_QUEST_EMERALD_LUTE_ACTIVE
Definition: Party.h:18
PARTY_TurnRight
@ PARTY_TurnRight
Definition: Party.h:97
PARTY_CenterView
@ PARTY_CenterView
Definition: Party.h:104
PARTY_BUFF_HASTE
@ PARTY_BUFF_HASTE
Definition: Party.h:79
PARTY_BUFF_FEATHER_FALL
@ PARTY_BUFF_FEATHER_FALL
Definition: Party.h:76
PARTY_RunBackward
@ PARTY_RunBackward
Definition: Party.h:112
Party::RestAndHeal
void RestAndHeal()
Definition: Party.cpp:793
int32_t
signed __int32 int32_t
Definition: SDL_config.h:38
PARTY_BUFF_HEROISM
@ PARTY_BUFF_HEROISM
Definition: Party.h:80
GameTime::GetHoursOfDay
int GetHoursOfDay() const
Definition: Time.h:39
PARTY_QUEST_EVENMORN_MAP_FOUND
@ PARTY_QUEST_EVENMORN_MAP_FOUND
Definition: Party.h:23
PARTY_QUEST_OBELISK_AVLEE
@ PARTY_QUEST_OBELISK_AVLEE
Definition: Party.h:41
PARTY_QUEST_EMERALD_RED_POTION_ACTIVE
@ PARTY_QUEST_EMERALD_RED_POTION_ACTIVE
Definition: Party.h:14
PARTY_FLAGS_1_WATER_DAMAGE
@ PARTY_FLAGS_1_WATER_DAMAGE
Definition: Party.h:57
PARTY_QUEST_EMERALD_LONGBOW_ACTIVE
@ PARTY_QUEST_EMERALD_LONGBOW_ACTIVE
Definition: Party.h:16
PARTY_QUEST_OBELISK_LAND_OF_THE_GIANTS
@ PARTY_QUEST_OBELISK_LAND_OF_THE_GIANTS
Definition: Party.h:39
Tracker
@ Tracker
Definition: NPC.h:11
GameTime::GetWeeksOfMonth
int GetWeeksOfMonth() const
Definition: Time.h:42
Explorer
@ Explorer
Definition: NPC.h:49
PARTY_QUEST_OBELISK_BARROW_DOWNS
@ PARTY_QUEST_OBELISK_BARROW_DOWNS
Definition: Party.h:38
PARTY_FLAGS_2_RUNNING
@ PARTY_FLAGS_2_RUNNING
Definition: Party.h:66
PARTY_TurnLeft
@ PARTY_TurnLeft
Definition: Party.h:96
Party::pHirelings
std::array< NPCData, 2 > pHirelings
Definition: Party.h:311
PARTY_QUEST_OBELISK_STONE_CITY
@ PARTY_QUEST_OBELISK_STONE_CITY
Definition: Party.h:42
GameTime::GetMonthsOfYear
int GetMonthsOfYear() const
Definition: Time.h:43
GameTime::AddMinutes
void AddMinutes(int minutes)
Definition: Time.h:45
PARTY_BUFF_INVISIBILITY
@ PARTY_BUFF_INVISIBILITY
Definition: Party.h:82
Party::uCurrentDayOfMonth
unsigned int uCurrentDayOfMonth
Definition: Party.h:274
PARTY_BUFF_RESIST_EARTH
@ PARTY_BUFF_RESIST_EARTH
Definition: Party.h:75
PARTY_FLAGS_1_0002
@ PARTY_FLAGS_1_0002
Definition: Party.h:56
PARTY_QUEST_FOUNTAIN_CELESTIA
@ PARTY_QUEST_FOUNTAIN_CELESTIA
Definition: Party.h:49
Pathfinder
@ Pathfinder
Definition: NPC.h:12
PARTY_BUFF_FLY
@ PARTY_BUFF_FLY
Definition: Party.h:78
PARTY_QUEST_EMERALD_SEASHELL_ACTIVE
@ PARTY_QUEST_EMERALD_SEASHELL_ACTIVE
Definition: Party.h:15
PARTY_BUFF_RESIST_BODY
@ PARTY_BUFF_RESIST_BODY
Definition: Party.h:72
PARTY_BUFF_DETECT_LIFE
@ PARTY_BUFF_DETECT_LIFE
Definition: Party.h:74
PARTY_BUFF_RESIST_FIRE
@ PARTY_BUFF_RESIST_FIRE
Definition: Party.h:77
PARTY_Jump
@ PARTY_Jump
Definition: Party.h:107
PARTY_QUEST_FINISHED_EMERALD_ISLE
@ PARTY_QUEST_FINISHED_EMERALD_ISLE
Definition: Party.h:27
CheckHiredNPCSpeciality
bool CheckHiredNPCSpeciality(unsigned int uProfession)
Definition: NPC.cpp:754
PARTY_QUEST_OBELISK_TATALIA
@ PARTY_QUEST_OBELISK_TATALIA
Definition: Party.h:40
PARTY_QUEST_OBELISK_DEYJA
@ PARTY_QUEST_OBELISK_DEYJA
Definition: Party.h:32
PARTY_QUEST_FOUNTAIN_PIERPONT
@ PARTY_QUEST_FOUNTAIN_PIERPONT
Definition: Party.h:48
Party::uCurrentYear
unsigned int uCurrentYear
Definition: Party.h:271
PARTY_WalkBackward
@ PARTY_WalkBackward
Definition: Party.h:101
uint32_t
unsigned __int32 uint32_t
Definition: SDL_config.h:39
PARTY_FastTurnLeft
@ PARTY_FastTurnLeft
Definition: Party.h:113
PARTY_RunForward
@ PARTY_RunForward
Definition: Party.h:111
GameTime
Definition: Time.h:14
PARTY_QUEST_FOUNTAIN_HARMONDALE
@ PARTY_QUEST_FOUNTAIN_HARMONDALE
Definition: Party.h:46
Actor::InitializeActors
static void InitializeActors()
Definition: Actor.cpp:3334
Guide
@ Guide
Definition: NPC.h:10
PARTY_StrafeRight
@ PARTY_StrafeRight
Definition: Party.h:99