- Finished the framework for specifying all action functions externally,
including restricting them to particular classes. SVN r403 (trunk)
This commit is contained in:
parent
511e11e8b4
commit
24b5a0b110
14 changed files with 3410 additions and 3297 deletions
|
|
@ -114,6 +114,7 @@ END_DEFAULTS
|
|||
// EXTERNAL FUNCTION PROTOTYPES --------------------------------------------
|
||||
|
||||
void ProcessActor(void (*process)(FState *, int));
|
||||
void ParseClass();
|
||||
void ParseGlobalConst();
|
||||
void FinishThingdef();
|
||||
void InitDecorateTranslations();
|
||||
|
|
@ -335,6 +336,11 @@ static void ParseDecorate (void (*process)(FState *, int))
|
|||
def = DEF_Projectile;
|
||||
SC_MustGetString ();
|
||||
}
|
||||
else if (SC_Compare ("class"))
|
||||
{
|
||||
ParseClass();
|
||||
continue;
|
||||
}
|
||||
else if (SC_Compare ("Const"))
|
||||
{
|
||||
ParseGlobalConst();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue