Mercurial > mm7
comparison mm7_5.cpp @ 414:d8b3056df4e2
AI_Bored
author | Nomad |
---|---|
date | Sat, 23 Feb 2013 17:15:36 +0200 |
parents | 111f25d1cc04 |
children | 55684f4eda73 |
comparison
equal
deleted
inserted
replaced
413:111f25d1cc04 | 414:d8b3056df4e2 |
---|---|
9719 else | 9719 else |
9720 { | 9720 { |
9721 if ( v6 != 8 ) | 9721 if ( v6 != 8 ) |
9722 goto LABEL_19; | 9722 goto LABEL_19; |
9723 v3 = 0; | 9723 v3 = 0; |
9724 Actor::_403F58(v2->uPackedID >> 3, dword_4F6E08[v2->uPackedID >> 3], 32, 0); | 9724 Actor::AI_StandOrBored(v2->uPackedID >> 3, dword_4F6E08[v2->uPackedID >> 3], 32, 0); |
9725 } | 9725 } |
9726 } | 9726 } |
9727 } | 9727 } |
9728 LABEL_20: | 9728 LABEL_20: |
9729 ++v4; | 9729 ++v4; |
9753 { | 9753 { |
9754 if ( v11 != 17 ) | 9754 if ( v11 != 17 ) |
9755 { | 9755 { |
9756 v12 = dword_4F6E08[v10]; | 9756 v12 = dword_4F6E08[v10]; |
9757 v9->uActionLength = v3; | 9757 v9->uActionLength = v3; |
9758 Actor::_403F58(v10, v12, 32, (AIDirection *)v3); | 9758 Actor::AI_StandOrBored(v10, v12, 32, (AIDirection *)v3); |
9759 } | 9759 } |
9760 } | 9760 } |
9761 } | 9761 } |
9762 } | 9762 } |
9763 ++v8; | 9763 ++v8; |
10097 v15 = v4; | 10097 v15 = v4; |
10098 v23 = &a4; | 10098 v23 = &a4; |
10099 v16 = a2a; | 10099 v16 = a2a; |
10100 if ( !(v14 % 2) ) | 10100 if ( !(v14 % 2) ) |
10101 { | 10101 { |
10102 Actor::_402F87(v4, a2a, &a4); | 10102 Actor::AI_Bored(v4, a2a, &a4); |
10103 return; | 10103 return; |
10104 } | 10104 } |
10105 v21 = 64; | 10105 v21 = 64; |
10106 LABEL_26: | 10106 LABEL_26: |
10107 Actor::AI_Stand(v15, v16, v21, v23); | 10107 Actor::AI_Stand(v15, v16, v21, v23); |
10742 return; | 10742 return; |
10743 } | 10743 } |
10744 if ( rand() % 2 ) | 10744 if ( rand() % 2 ) |
10745 Actor::AI_Stand(uActorID, a2, 0x40u, &a4); | 10745 Actor::AI_Stand(uActorID, a2, 0x40u, &a4); |
10746 else | 10746 else |
10747 Actor::_402F87(uActorID, a2, &a4); | 10747 Actor::AI_Bored(uActorID, a2, &a4); |
10748 } | 10748 } |
10749 } | 10749 } |
10750 } | 10750 } |
10751 } | 10751 } |
10752 } | 10752 } |