comparison Actor.h @ 1859:f135ff4decbb

Actor::AI_SpellAttack finishing cleanup
author Grumpy7
date Mon, 14 Oct 2013 03:17:25 +0200
parents 20223822fabc
children a86c60679949
comparison
equal deleted inserted replaced
1858:d7c028a6a084 1859:f135ff4decbb
229 static void AI_FaceObject(unsigned int uActorID, unsigned int uObjID, int _48, struct AIDirection *a4); 229 static void AI_FaceObject(unsigned int uActorID, unsigned int uObjID, int _48, struct AIDirection *a4);
230 static struct AIDirection *__fastcall GetDirectionInfo(unsigned int uObj1ID, unsigned int uObj2ID, struct AIDirection *pOut, int a4); 230 static struct AIDirection *__fastcall GetDirectionInfo(unsigned int uObj1ID, unsigned int uObj2ID, struct AIDirection *pOut, int a4);
231 static signed int __fastcall Explode(unsigned int uActorID); 231 static signed int __fastcall Explode(unsigned int uActorID);
232 static char __fastcall AI_RangedAttack(unsigned int uActorID, struct AIDirection *a2, int type, char a4); 232 static char __fastcall AI_RangedAttack(unsigned int uActorID, struct AIDirection *a2, int type, char a4);
233 static void __fastcall AI_SpellAttack(unsigned int uActorID, struct AIDirection *pDir, int uSpellID, int a4, unsigned int uSkillLevel); 233 static void __fastcall AI_SpellAttack(unsigned int uActorID, struct AIDirection *pDir, int uSpellID, int a4, unsigned int uSkillLevel);
234
235 static unsigned short GetObjDescId( int spellId );
236
234 static void AggroSurroundingPeasants(unsigned int uActorID, int a2); 237 static void AggroSurroundingPeasants(unsigned int uActorID, int a2);
235 static bool ArePeasantsOfSameFaction(Actor *a1, Actor *a2); 238 static bool ArePeasantsOfSameFaction(Actor *a1, Actor *a2);
236 static bool StealFrom(unsigned int uActorID); 239 static bool StealFrom(unsigned int uActorID);
237 static void GiveItem(signed int uActorID, unsigned int uItemID, unsigned int bGive); 240 static void GiveItem(signed int uActorID, unsigned int uItemID, unsigned int bGive);
238 static void ToggleFlag(signed int uActorID, unsigned int uFlag, int bToggle); 241 static void ToggleFlag(signed int uActorID, unsigned int uFlag, int bToggle);