Mercurial > mm7
diff Actor.h @ 1972:3ef25d06b9b0
Actor::special_ability_use_check moved to Actor and cleaned up
author | Grumpy7 |
---|---|
date | Sat, 26 Oct 2013 00:18:52 -0700 |
parents | e45c277da9f1 |
children | 0f62a2b8bd0a |
line wrap: on
line diff
--- a/Actor.h Sat Oct 26 00:09:30 2013 -0700 +++ b/Actor.h Sat Oct 26 00:18:52 2013 -0700 @@ -13,7 +13,6 @@ struct stru319 { int which_player_to_attack(struct Actor *pActor); - int special_ability_use_check(struct Actor *pActor, int a2); int PlayerHitOrMiss(struct Player *pPlayer, struct Actor *pActor, int a3, int a4); bool _4273BB(struct Actor *pActor, struct Actor *a2, int a3, int a4); bool ActorHitOrMiss(struct Actor *pActor, struct Player *pPlayer); @@ -30,7 +29,13 @@ extern stru319 stru_50C198; // idb - +enum ABILITY_INDEX +{ + ABILITY_ATTACK1 = 0, + ABILITY_ATTACK2 = 1, + ABILITY_SPELL1 = 2, + ABILITY_SPELL2 = 3, +}; @@ -249,6 +254,7 @@ void LootActor(); bool _427102_IsOkToCastSpell(signed int a2); + ABILITY_INDEX special_ability_use_check(int a2); char pActorName[32]; signed __int16 sNPC_ID;