From 65ed9f744a4d76db6035a7f32097a6ccb5e6f51c Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 7 Dec 2008 02:11:38 +0000 Subject: [PATCH] - Add ClassifyActor pcode to ACC. SVN r1309 (trunk) --- pcode.c | 3 ++- pcode.h | 1 + symbol.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pcode.c b/pcode.c index a8fde01..c70fd58 100644 --- a/pcode.c +++ b/pcode.c @@ -457,7 +457,8 @@ static char *PCDNames[PCODE_COMMAND_COUNT] = "PCD_CHECKPLAYERCAMERA", "PCD_MORPHACTOR", "PCD_UNMORPHACTOR", - "PCD_GETPLAYERINPUT" + "PCD_GETPLAYERINPUT", + "PCD_CLASSIFYACTOR" }; // CODE -------------------------------------------------------------------- diff --git a/pcode.h b/pcode.h index 5c7a950..336a777 100644 --- a/pcode.h +++ b/pcode.h @@ -409,6 +409,7 @@ typedef enum PCD_MORPHACTOR, PCD_UNMORPHACTOR, PCD_GETPLAYERINPUT, + PCD_CLASSIFYACTOR, PCODE_COMMAND_COUNT } pcd_t; diff --git a/symbol.c b/symbol.c index c570cf2..edca3f5 100644 --- a/symbol.c +++ b/symbol.c @@ -193,6 +193,7 @@ static internFuncDef_t InternalFunctions[] = { "morphactor", PCD_NOP, PCD_MORPHACTOR, 7, 2|4|8|16|32|64, 0, YES, NO }, { "unmorphactor", PCD_NOP, PCD_UNMORPHACTOR, 2, 2, 0, YES, NO }, { "getplayerinput", PCD_NOP, PCD_GETPLAYERINPUT, 2, 0, 0, YES, NO }, + { "classifyactor", PCD_NOP, PCD_CLASSIFYACTOR, 1, 0, 0, YES, NO }, { NULL, PCD_NOP, PCD_NOP, 0, 0, 0, NO, NO } };