Mercurial > mm7
comparison TurnEngine.cpp @ 2059:f9698295c0bd
AttackerInfo, MerchandiseTest
author | Ritor1 |
---|---|
date | Sun, 01 Dec 2013 23:43:03 +0600 |
parents | b7485a6502f2 |
children | c4f87fb3cfee |
comparison
equal
deleted
inserted
replaced
2058:e249bd483311 | 2059:f9698295c0bd |
---|---|
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 AgressorAtackInfo.Add( v28->uPackedID, 5120, v5->vPosition.x, v5->vPosition.y, v5->vPosition.z + ((signed int)v5->uActorHeight >> 1), v19, 1); | 731 AttackerInfo.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 AgressorAtackInfo; | 771 // 50FE08: using guessed type stru298 AttackerInfo; |
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 |