- 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

@ -58,6 +58,8 @@
TArray<int> StateParameters;
TArray<FName> JumpParameters;
static TArray<AFuncDesc> AFTable;
static TArray<FState> StateArray;
//==========================================================================
//
@ -65,10 +67,7 @@ TArray<FName> JumpParameters;
//
//==========================================================================
static TArray<AFuncDesc> AFTable;
static TArray<FState> StateArray;
DECLARE_ACTION(A_CallSpecial)
//==========================================================================
//
@ -415,7 +414,7 @@ bool DoActionSpecials(FScanner &sc, FState & state, bool multistate, int * state
{
sc.ScriptError ("Too many arguments to %s", specname.GetChars());
}
state.Action = A_CallSpecial;
state.Action = GET_ACTION(A_CallSpecial);
return true;
}
return false;