Mercurial > mm7
comparison TurnEngine.cpp @ 2057:b7485a6502f2
AgressorAtackInfo
author | Ritor1 |
---|---|
date | Sun, 01 Dec 2013 20:13:48 +0600 |
parents | 28cb79ae2f6f |
children | f9698295c0bd |
comparison
equal
deleted
inserted
replaced
2054:62a27b2cfcc2 | 2057:b7485a6502f2 |
---|---|
726 { | 726 { |
727 switch (v3) | 727 switch (v3) |
728 { | 728 { |
729 case AIState::AttackingMelee: | 729 case AIState::AttackingMelee: |
730 v19 = pActors[v4].special_ability_use_check(v4); | 730 v19 = pActors[v4].special_ability_use_check(v4); |
731 stru_50FE08.Add( v28->uPackedID, 5120, v5->vPosition.x, v5->vPosition.y, v5->vPosition.z + ((signed int)v5->uActorHeight >> 1), v19, 1); | 731 AgressorAtackInfo.Add( v28->uPackedID, 5120, v5->vPosition.x, v5->vPosition.y, v5->vPosition.z + ((signed int)v5->uActorHeight >> 1), v19, 1); |
732 Actor::AI_Stand(v4, a2a, 0, &a4); | 732 Actor::AI_Stand(v4, a2a, 0, &a4); |
733 break; | 733 break; |
734 case AIState::AttackingRanged1: | 734 case AIState::AttackingRanged1: |
735 Actor::AI_RangedAttack(v4, &a4, v5->pMonsterInfo.uMissleAttack1Type, 0); | 735 Actor::AI_RangedAttack(v4, &a4, v5->pMonsterInfo.uMissleAttack1Type, 0); |
736 Actor::AI_Stand(v4, a2a, 0,&a4); | 736 Actor::AI_Stand(v4, a2a, 0,&a4); |
766 } | 766 } |
767 | 767 |
768 } | 768 } |
769 | 769 |
770 } | 770 } |
771 // 50FE08: using guessed type stru298 stru_50FE08; | 771 // 50FE08: using guessed type stru298 AgressorAtackInfo; |
772 | 772 |
773 //----- (0040680F) -------------------------------------------------------- | 773 //----- (0040680F) -------------------------------------------------------- |
774 void stru262_TurnBased::AI_Action_( int queue_index ) | 774 void stru262_TurnBased::AI_Action_( int queue_index ) |
775 { | 775 { |
776 TurnBased_QueueElem *v2; // eax@1 | 776 TurnBased_QueueElem *v2; // eax@1 |