Mercurial > mm7
comparison Actor.h @ 1060:b79139c3b5c8
some AI cleaning
author | zipi |
---|---|
date | Thu, 23 May 2013 20:51:27 +0100 |
parents | 3a5c8df8381d |
children | 0dbf6c4dd029 |
comparison
equal
deleted
inserted
replaced
1059:0e0f1192aa57 | 1060:b79139c3b5c8 |
---|---|
189 bool IsNotAlive(); | 189 bool IsNotAlive(); |
190 bool IsPeasant(); | 190 bool IsPeasant(); |
191 | 191 |
192 | 192 |
193 static void _SelectTarget(unsigned int uActorID, int *a2, bool can_target_party); | 193 static void _SelectTarget(unsigned int uActorID, int *a2, bool can_target_party); |
194 static void Pursue3(unsigned int uActorID, unsigned int a2, signed int uActionLength, struct AIDirection *a4); | 194 static void AI_Pursue3(unsigned int uActorID, unsigned int a2, signed int uActionLength, struct AIDirection *a4); |
195 static void Pursue2(unsigned int uActorID, unsigned int a2, signed int uActionLength, struct AIDirection *pDir, int a5); | 195 static void AI_Pursue2(unsigned int uActorID, unsigned int a2, signed int uActionLength, struct AIDirection *pDir, int a5); |
196 static void Flee(unsigned int uActorID, signed int edx0, int uActionLength, struct AIDirection *a4); | 196 static void AI_Flee(unsigned int uActorID, signed int edx0, int uActionLength, struct AIDirection *a4); |
197 static void Pursue1(unsigned int uActorID, unsigned int a2, signed int arg0, signed int uActionLength, struct AIDirection *pDir); | 197 static void AI_Pursue1(unsigned int uActorID, unsigned int a2, signed int arg0, signed int uActionLength, struct AIDirection *pDir); |
198 static void PlaySound(unsigned int uActorID, unsigned int uSoundID); | 198 static void PlaySound(unsigned int uActorID, unsigned int uSoundID); |
199 static void Die(unsigned int uActorID); | 199 static void Die(unsigned int uActorID); |
200 static void Resurrect(unsigned int uActorID); | 200 static void Resurrect(unsigned int uActorID); |
201 static void AI_Bored(unsigned int uActorID, unsigned int uObjID, struct AIDirection *a4); | 201 static void AI_Bored(unsigned int uActorID, unsigned int uObjID, struct AIDirection *a4); |
202 static void Stun(unsigned int uActorID, signed int edx0, int arg0); | 202 static void AI_Stun(unsigned int uActorID, signed int edx0, int arg0); |
203 static char __fastcall _4031C1_update_job(unsigned int uActorID, signed int a2, int a3); | 203 static char __fastcall _4031C1_update_job(unsigned int uActorID, signed int a2, int a3); |
204 static void _4032B2(unsigned int a1, unsigned int a2, int a3, int uActionLength); | 204 static void AI_4032B2(unsigned int a1, unsigned int a2, int a3, int uActionLength); |
205 static void MissileAttack1(unsigned int uActorID, signed int sTargetPid, struct AIDirection *pDir); | 205 static void AI_MissileAttack1(unsigned int uActorID, signed int sTargetPid, struct AIDirection *pDir); |
206 static void MissileAttack2(unsigned int uActorID, signed int sTargetPid, struct AIDirection *pDir); | 206 static void AI_MissileAttack2(unsigned int uActorID, signed int sTargetPid, struct AIDirection *pDir); |
207 static void SpellAttack1(unsigned int uActorID, signed int sTargetPid, struct AIDirection *pDir); | 207 static void AI_SpellAttack1(unsigned int uActorID, signed int sTargetPid, struct AIDirection *pDir); |
208 static void SpellAttack2(unsigned int uActorID, signed int sTargetPid, struct AIDirection *pDir); | 208 static void AI_SpellAttack2(unsigned int uActorID, signed int sTargetPid, struct AIDirection *pDir); |
209 static void MeleeAttack(unsigned int uActorID, signed int sTargetPid, struct AIDirection *arg0); | 209 static void AI_MeleeAttack(unsigned int uActorID, signed int sTargetPid, struct AIDirection *arg0); |
210 static void __fastcall StandAwhile(unsigned int uActorID); | 210 static void __fastcall StandAwhile(unsigned int uActorID); |
211 static void AI_Stand(unsigned int uActorID, unsigned int object_to_face_pid, unsigned int uActionLength, struct AIDirection *a4); | 211 static void AI_Stand(unsigned int uActorID, unsigned int object_to_face_pid, unsigned int uActionLength, struct AIDirection *a4); |
212 static void AI_StandOrBored(unsigned int uActorID, signed int uObjID, int uActionLength, struct AIDirection *a4); | 212 static void AI_StandOrBored(unsigned int uActorID, signed int uObjID, int uActionLength, struct AIDirection *a4); |
213 static void FaceObject(unsigned int uActorID, unsigned int uObjID, int _48, struct AIDirection *a4); | 213 static void AI_FaceObject(unsigned int uActorID, unsigned int uObjID, int _48, struct AIDirection *a4); |
214 static struct AIDirection *__fastcall GetDirectionInfo(unsigned int uObj1ID, unsigned int uObj2ID, struct AIDirection *pOut, int a4); | 214 static struct AIDirection *__fastcall GetDirectionInfo(unsigned int uObj1ID, unsigned int uObj2ID, struct AIDirection *pOut, int a4); |
215 static signed int __fastcall Explode(unsigned int uActorID); | 215 static signed int __fastcall Explode(unsigned int uActorID); |
216 static char __fastcall RangedAttack(unsigned int uActorID, struct AIDirection *a2, int type, char a4); | 216 static char __fastcall AI_RangedAttack(unsigned int uActorID, struct AIDirection *a2, int type, char a4); |
217 static void __fastcall SpellAttack(unsigned int uActorID, struct AIDirection *pDir, int spellnum, int a4, unsigned int uSkillLevel); | 217 static void __fastcall AI_SpellAttack(unsigned int uActorID, struct AIDirection *pDir, int spellnum, int a4, unsigned int uSkillLevel); |
218 static void AggroSurroundingPeasants(unsigned int uActorID, int a2); | 218 static void AggroSurroundingPeasants(unsigned int uActorID, int a2); |
219 static bool ArePeasantsOfSameFaction(Actor *a1, Actor *a2); | 219 static bool ArePeasantsOfSameFaction(Actor *a1, Actor *a2); |
220 static bool StealFrom(unsigned int uActorID); | 220 static bool StealFrom(unsigned int uActorID); |
221 static void GiveItem(signed int uActorID, unsigned int uItemID, unsigned int bGive); | 221 static void GiveItem(signed int uActorID, unsigned int uItemID, unsigned int bGive); |
222 static void ToggleFlag(signed int uActorID, unsigned int uFlag, int bToggle); | 222 static void ToggleFlag(signed int uActorID, unsigned int uFlag, int bToggle); |