|
OpenEnroth 731eccc
|
#include <Actor.h>
Public Member Functions | |
| Actor () | |
| Actor (int id) | |
| void | SummonMinion (int summonerId) |
| void | Reset () |
| void | Remove () |
| void | PrepareSprites (char load_sounds_if_bit1_set) |
| void | UpdateAnimation () |
| MonsterHostility | GetActorsRelation (Actor *a2) |
| void | SetRandomGoldIfTheresNoItem () |
| bool | CanAct () const |
| bool | IsNotAlive () |
| bool | IsPeasant () |
| void | ResetAnimation () |
| void | ResetQueue () |
| void | ResetActive () |
| void | ResetFullAiState () |
| void | ResetHasItem () |
| void | ResetHostile () |
| void | ResetAggressor () |
| bool | ActorEnemy () const |
| bool | ActorFriend () const |
| bool | ActorHasItem () const |
| bool | ActorNearby () const |
| int | _43B3E0_CalcDamage (ActorAbility dmgSource) |
| void | LootActor () |
| bool | _427102_IsOkToCastSpell (SpellId spell) |
| ActorAbility | special_ability_use_check (int a2) |
| bool | _4273BB_DoesHitOtherActor (Actor *defender, int a3, int a4) |
| bool | ActorHitOrMiss (Character *pPlayer) |
| int | CalcMagicalDamageToActor (DamageType dmgType, int incomingDmg) |
| bool | DoesDmgTypeDoDamage (DamageType uType) |
Static Public Member Functions | |
| static void | _SelectTarget (unsigned int uActorID, Pid *OutTargetPID, bool can_target_party) |
| static void | AI_Pursue3 (unsigned int uActorID, Pid a2, Duration uActionLength, AIDirection *a4) |
| static void | AI_Pursue2 (unsigned int uActorID, Pid a2, Duration uActionLength, AIDirection *pDir, int a5) |
| static void | AI_Flee (unsigned int uActorID, Pid edx0, Duration uActionLength, AIDirection *a4) |
| static void | AI_Pursue1 (unsigned int uActorID, Pid a2, signed int arg0, Duration uActionLength, AIDirection *pDir) |
| static void | playSound (unsigned int uActorID, ActorSound uSoundID) |
| static void | Die (unsigned int uActorID) |
| static void | resurrect (unsigned int uActorID) |
| static void | AI_Bored (unsigned int uActorID, Pid uObjID, AIDirection *a4) |
| static void | AI_Stun (unsigned int uActorID, Pid edx0, int arg0) |
| static char | _4031C1_update_job_never_gets_called (unsigned int uActorID, signed int a2, int a3) |
| static void | AI_RandomMove (unsigned int uActor_id, Pid uTarget_id, int radius, Duration uActionLength) |
| static void | AI_MissileAttack1 (unsigned int uActorID, Pid sTargetPid, AIDirection *pDir) |
| static void | AI_MissileAttack2 (unsigned int uActorID, Pid sTargetPid, AIDirection *pDir) |
| static void | AI_SpellAttack1 (unsigned int uActorID, Pid sTargetPid, AIDirection *pDir) |
| static void | AI_SpellAttack2 (unsigned int uActorID, Pid sTargetPid, AIDirection *pDir) |
| static void | AI_MeleeAttack (unsigned int uActorID, Pid sTargetPid, AIDirection *arg0) |
| static void | StandAwhile (unsigned int uActorID) |
| static void | AI_Stand (unsigned int uActorID, Pid object_to_face_pid, Duration uActionLength, AIDirection *a4) |
| static void | AI_StandOrBored (unsigned int uActorID, Pid uObjID, Duration uActionLength, AIDirection *a4) |
| static void | AI_FaceObject (unsigned int uActorID, Pid uObjID, AIDirection *Dir_In) |
| static void | GetDirectionInfo (Vec3f p1, Vec3f p2, AIDirection *pOut) |
| static void | GetDirectionInfo (Pid uObj1ID, Pid uObj2ID, AIDirection *pOut, int PreferedZ) |
| static void | Explode (unsigned int uActorID) |
| static void | AI_RangedAttack (unsigned int uActorID, AIDirection *a2, MonsterProjectile type, ActorAbility a4) |
| static void | AI_SpellAttack (unsigned int uActorID, AIDirection *pDir, SpellId uSpellID, ActorAbility a4, CombinedSkillValue uSkill) |
| static void | ActorDamageFromMonster (Pid attacker_id, unsigned int actor_id, const Vec3f &pVelocity, ActorAbility a4) |
| static unsigned short | GetObjDescId (SpellId spellId) |
| static void | AggroSurroundingPeasants (unsigned int uActorID, int a2) |
| static bool | ArePeasantsOfSameFaction (Actor *a1, Actor *a2) |
| static void | StealFrom (unsigned int uActorID) |
| static void | giveItem (signed int uActorID, ItemId uItemID, unsigned int bGive) |
| static void | toggleFlag (signed int uActorID, ActorAttribute uFlag, bool bToggle) |
| static void | ApplyFineForKillingPeasant (unsigned int uActorID) |
| static void | DrawHealthBar (Actor *actor, GUIWindow *window) |
| static void | AddOnDamageOverlay (unsigned int uActorID, int overlayType, int damage) |
| static void | Arena_summon_actor (MonsterId monster_id, Vec3f pos) |
| static int | DamageMonsterFromParty (Pid a1, unsigned int uActorID_Monster, const Vec3f &pVelocity) |
| static void | MakeActorAIList_ODM () |
| static int | MakeActorAIList_BLV () |
| static void | UpdateActorAI () |
| static void | InitializeActors () |
| static bool | isActorKilled (ActorKillCheckPolicy policy, int param, int count) |
| static int | searchDeadActors (int *pTotalActors) |
| static int | searchDeadActorsByMonsterID (int *pTotalActors, MonsterId monsterID) |
| static int | searchDeadActorsByGroup (int *pTotalActors, int group) |
| static int | searchDeadActorsByID (int *pTotalActors, int id) |
|
inline |
|
inlineexplicit |
|
static |
| bool Actor::_427102_IsOkToCastSpell | ( | SpellId | spell | ) |
| bool Actor::_4273BB_DoesHitOtherActor | ( | Actor * | defender, |
| int | a3, | ||
| int | a4 | ||
| ) |
| int Actor::_43B3E0_CalcDamage | ( | ActorAbility | dmgSource | ) |
|
static |
|
static |
|
inline |
|
inline |
|
inline |
| bool Actor::ActorHitOrMiss | ( | Character * | pPlayer | ) |
|
inline |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| int Actor::CalcMagicalDamageToActor | ( | DamageType | dmgType, |
| int | incomingDmg | ||
| ) |
| bool Actor::CanAct | ( | ) | const |
|
static |
|
static |
| bool Actor::DoesDmgTypeDoDamage | ( | DamageType | uType | ) |
|
static |
| MonsterHostility Actor::GetActorsRelation | ( | Actor * | a2 | ) |
|
static |
|
static |
| p1 | From Vec3f. | |
| p2 | To Vec3f. | |
| [out] | pOut | AIDirection from p1 to p2. |
|
static |
|
static |
|
static |
|
static |
| policy | Determines type for actors check. |
| param | Parameter determined by check policy. |
| count | Killed count or 0 if all must be killed |
| bool Actor::IsNotAlive | ( | ) |
| bool Actor::IsPeasant | ( | ) |
| void Actor::LootActor | ( | ) |
|
static |
|
static |
|
static |
| void Actor::PrepareSprites | ( | char | load_sounds_if_bit1_set | ) |
| void Actor::Remove | ( | ) |
| void Actor::Reset | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
|
static |
|
static |
|
static |
| void Actor::SetRandomGoldIfTheresNoItem | ( | ) |
| ActorAbility Actor::special_ability_use_check | ( | int | a2 | ) |
|
static |
|
static |
| void Actor::SummonMinion | ( | int | summonerId | ) |
|
static |
|
static |
| void Actor::UpdateAnimation | ( | ) |
| MonsterType Actor::ally = MONSTER_TYPE_INVALID |
| ActorAttributes Actor::attributes = 0 |
| IndexedArray<SpellBuff, ACTOR_BUFF_FIRST, ACTOR_BUFF_LAST> Actor::buffs |
| ActorAnimation Actor::currentActionAnimation = ANIM_Standing |
| Duration Actor::currentActionLength = 0_ticks |
| Duration Actor::currentActionTime = 0_ticks |
| int16_t Actor::currentHP = 0 |
| bool Actor::donebloodsplat { false } |
| unsigned int Actor::group = 0 |
| Vec3f Actor::guardingPosition |
| uint16_t Actor::height = 128 |
| int Actor::id = -1 |
| Vec3f Actor::initialPosition |
| std::array<Item, 4> Actor::items |
| Pid Actor::lastCharacterIdToHit |
| Duration Actor::massDistortionTime |
| MonsterInfo Actor::monsterInfo |
| uint16_t Actor::moveSpeed = 200 |
| std::string Actor::name |
| int16_t Actor::npcId = 0 |
| uint16_t Actor::pitchAngle = 0 |
| Vec3f Actor::pos |
| uint16_t Actor::radius = 32 |
| std::array<ActorJob, 8> Actor::scheduledJobs |
| int Actor::sectorId = 0 |
| IndexedArray<SoundId, ACTOR_SOUND_FIRST, ACTOR_SOUND_LAST> Actor::soundSampleIds = {{}} |
| IndexedArray<uint16_t, ANIM_First, ANIM_Last> Actor::spriteIds = {{}} |
| Pid Actor::summonerId |
| uint16_t Actor::tetherDistance = 256 |
| int Actor::uniqueNameIndex = 0 |
| Vec3f Actor::velocity |
| int16_t Actor::word_000084_range_attack = 0 |
| MonsterId Actor::word_000086_some_monster_id = MONSTER_INVALID |
| uint16_t Actor::yawAngle = 0 |