- Macro-fied all access to action functions.

SVN r1149 (trunk)
This commit is contained in:
Christoph Oelckers 2008-08-10 22:48:37 +00:00
commit 511c9366f7
42 changed files with 163 additions and 635 deletions

View file

@ -32,8 +32,8 @@ void A_SpectralMissile (AActor *self, const char *missilename)
}
}
void A_SpotLightning (AActor *);
void A_Spectre3Attack (AActor *);
DECLARE_ACTION(A_SpotLightning)
DECLARE_ACTION(A_Spectre3Attack)
DEFINE_ACTION_FUNCTION(AActor, A_EntityAttack)
@ -43,7 +43,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_EntityAttack)
switch (pr_entity() % 5)
{
case 0:
A_SpotLightning(self);
CALL_ACTION(A_SpotLightning, self);
break;
case 2:
@ -51,7 +51,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_EntityAttack)
break;
case 3:
A_Spectre3Attack (self);
CALL_ACTION(A_Spectre3Attack, self);
break;
case 4: