|
World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Определения типов | |
| using | EngineIoc = Engine_::IocContainer |
Функции | |
| void | EventCastSpell (int uSpellID, int uSkillLevel, int uSkill, int fromx, int fromy, int fromz, int tox, int toy, int toz) |
| bool | sub_427769_isSpellQuickCastableOnShiftClick (unsigned int uSpellID) |
| int | _43AFE3_calc_spell_damage (int spellId, int spellLevel, signed int skillMastery, int currentHp) |
Переменные | |
| SpellFxRenderer * | spell_fx_renderer = EngineIoc::ResolveSpellFxRenderer() |
| std::array< TownPortalData, 6 > | TownPortalList |
| struct SpellStats * | pSpellStats = nullptr |
| std::array< stru324_spell_id_to_sprite_mapping, 103 > | spell_sprite_mapping |
| std::array< SpellData, 100 > | pSpellDatas |
| std::array< SPELL_TYPE, 25 > | wand_spell_ids |
| std::array< std::array< struct SpellBookIconPos, 12 >, 9 > | pIconPos |
| using EngineIoc = Engine_::IocContainer |
См. определение в файле Spells.cpp строка 20
| void EventCastSpell | ( | int | uSpellID, |
| int | uSkillLevel, | ||
| int | uSkill, | ||
| int | fromx, | ||
| int | fromy, | ||
| int | fromz, | ||
| int | tox, | ||
| int | toy, | ||
| int | toz | ||
| ) |
См. определение в файле Spells.cpp строка 429
Перекрестные ссылки stru193_math::Atan2(), SpriteObject::containing_item, SpriteObject::Create(), SpriteObject::field_60_distance_related_prolly_lod, GameTime::FromSeconds(), Party::GetPlayingTime(), IndoorLocation::GetSector(), LEVEL_Indoor, OBJECT_Item, ObjectList::ObjectIDByItemID(), PARTY_BUFF_DAY_OF_GODS, PARTY_BUFF_HASTE, PARTY_BUFF_IMMOLATION, PARTY_BUFF_RESIST_AIR, PARTY_BUFF_RESIST_BODY, PARTY_BUFF_RESIST_EARTH, PARTY_BUFF_RESIST_FIRE, PARTY_BUFF_RESIST_MIND, PARTY_BUFF_RESIST_WATER, pAudioPlayer, pIndoor, AudioPlayer::PlaySpellSound(), pObjectList, ObjectList::pObjects, pParty, Party::pPartyBuffs, Party::pPlayers, ItemGen::Reset(), SpellFxRenderer::SetPlayerBuffAnim(), Party::sEyelevel, SPELL_AIR_LIGHNING_BOLT, SPELL_AIR_PROTECTION_FROM_AIR, SPELL_AIR_SHIELD, SPELL_AIR_SPARKS, SPELL_BODY_PROTECTION_FROM_BODY, SpriteObject::spell_caster_pid, SPELL_EARTH_BLADES, SPELL_EARTH_DEATH_BLOSSOM, SPELL_EARTH_PROTECTION_FROM_EARTH, SPELL_EARTH_ROCK_BLAST, SPELL_EARTH_STONESKIN, SPELL_FIRE_FIRE_BOLT, SPELL_FIRE_FIREBALL, SPELL_FIRE_HASTE, SPELL_FIRE_IMMOLATION, SPELL_FIRE_PROTECTION_FROM_FIRE, spell_fx_renderer, SpriteObject::spell_id, SpriteObject::spell_level, SPELL_LIGHT_DAY_OF_THE_GODS, SPELL_MIND_PROTECTION_FROM_MIND, SpriteObject::spell_skill, SPELL_SPIRIT_HEROISM, spell_sprite_mapping, SpriteObject::spell_target_pid, SPELL_WATER_ACID_BURST, SPELL_WATER_ICE_BLAST, SPELL_WATER_ICE_BOLT, SPELL_WATER_POISON_SPRAY, SPELL_WATER_PROTECTION_FROM_WATER, stru_5C6E00, SpriteObject::uAttributes, uCurrentlyLoadedLevelType, SpriteObject::uFacing, stru193_math::uIntegerDoublePi, stru193_math::uIntegerHalfPi, SpriteObject::uObjectDescID, SpriteObject::uSectorID, SpriteObject::uSoundID, ObjectDesc::uSpeed, SpriteObject::uSpriteFrameID, SpriteObject::uType, SpriteObject::vPosition и Party::vPosition.
Используется в EventProcessor().
Граф вызовов:
Граф вызова функции:| bool sub_427769_isSpellQuickCastableOnShiftClick | ( | unsigned int | uSpellID | ) |
См. определение в файле Spells.cpp строка 741
Перекрестные ссылки pSpellDatas.
Используется в Engine::OnGameViewportClick().
Граф вызова функции:| int _43AFE3_calc_spell_damage | ( | int | spellId, |
| int | spellLevel, | ||
| signed int | skillMastery, | ||
| int | currentHp | ||
| ) |
См. определение в файле Spells.cpp строка 745
Перекрестные ссылки GetDiceResult(), pSpellDatas, SPELL_EARTH_MASS_DISTORTION и SPELL_FIRE_FIRE_SPIKE.
Используется в Actor::_43B3E0_CalcDamage(), Actor::DamageMonsterFromParty(), DamagePlayerFromMonster() и ItemDamageFromActor().
Граф вызовов:
Граф вызова функции:| SpellFxRenderer* spell_fx_renderer = EngineIoc::ResolveSpellFxRenderer() |
См. определение в файле Spells.cpp строка 22
Используется в EventCastSpell().
| std::array<TownPortalData, 6> TownPortalList |
См. определение в файле Spells.cpp строка 24
Используется в Application::Game::EventLoop().
| struct SpellStats* pSpellStats = nullptr |
См. определение в файле Spells.cpp строка 32
Используется в Actor::ActorDamageFromMonster(), GUIWindow_CharacterRecord::CharacterUI_StatsTab_Draw(), DamagePlayerFromMonster(), DrawSpellDescriptionPopup(), Application::Game::EventLoop(), GameUI_CharacterQuickRecord_Draw(), Player::GetSpellSchool(), ItemsTable::Initialize(), MonsterPopup_Draw(), sub_4B1523_showSpellbookInfo() и GUIWindow_QuickReference::Update().
| std::array<stru324_spell_id_to_sprite_mapping, 103> spell_sprite_mapping |
См. определение в файле Spells.cpp строка 35
Используется в CastSpellInfoHelpers::_427E01_cast_spell(), _493938_regenerate(), Actor::AI_SpellAttack(), EventCastSpell() и Actor::GetObjDescId().
| std::array<SpellData, 100> pSpellDatas |
См. определение в файле Spells.cpp строка 170
Используется в CastSpellInfoHelpers::_427E01_cast_spell(), _43AFE3_calc_spell_damage(), DrawSpellDescriptionPopup(), Player::GetAttackRecoveryTime(), SpellStats::Initialize(), Keyboard::ProcessInputActions(), sub_427769_isSpellQuickCastableOnShiftClick() и sub_4B1523_showSpellbookInfo().
| std::array<SPELL_TYPE, 25> wand_spell_ids |
См. определение в файле Spells.cpp строка 280
Используется в Player::_42ECB5_PlayerAttacksActor() и Player::GetAttackRecoveryTime().
| std::array<std::array<struct SpellBookIconPos, 12>, 9> pIconPos |
См. определение в файле Spells.cpp строка 307
Используется в GUIWindow_Spellbook::OpenSpellbook() и GUIWindow_Spellbook::Update().