From 3a126268a84e8a05b22e581ba344d0c0b29c4fc6 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 21 Mar 2008 12:24:13 +0000 Subject: [PATCH] - ACC part of ThingCountSector SVN r829 (trunk) --- pcode.c | 2 ++ pcode.h | 2 ++ symbol.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/pcode.c b/pcode.c index edc860c..8ef0f73 100644 --- a/pcode.c +++ b/pcode.c @@ -452,6 +452,8 @@ static char *PCDNames[PCODE_COMMAND_COUNT] = "PCD_CHECKACTORFLOORTEXTURE", "PCD_GETACTORLIGHTLEVEL", "PCD_SETMUGSHOTSTATE", + "PCD_THINGCOUNTSECTOR", + "PCD_THINGCOUNTNAMESECTOR", }; // CODE -------------------------------------------------------------------- diff --git a/pcode.h b/pcode.h index 26d1c39..b0455e7 100644 --- a/pcode.h +++ b/pcode.h @@ -403,6 +403,8 @@ typedef enum PCD_CHECKACTORFLOORTEXTURE, PCD_GETACTORLIGHTLEVEL, PCD_SETMUGSHOTSTATE, + PCD_THINGCOUNTSECTOR, + PCD_THINGCOUNTNAMESECTOR, PCODE_COMMAND_COUNT } pcd_t; diff --git a/symbol.c b/symbol.c index d918ca5..ee53db7 100644 --- a/symbol.c +++ b/symbol.c @@ -187,6 +187,8 @@ static internFuncDef_t InternalFunctions[] = { "checkactorfloortexture", PCD_NOP, PCD_CHECKACTORFLOORTEXTURE, 2, 0, 0, YES, NO }, { "getactorlightlevel", PCD_NOP, PCD_GETACTORLIGHTLEVEL, 1, 0, 0, YES, NO }, { "setmugshotstate", PCD_NOP, PCD_SETMUGSHOTSTATE, 1, 0, 0, NO, NO }, + { "thingcountsector", PCD_NOP, PCD_THINGCOUNTSECTOR, 3, 0, 0, YES, NO }, + { "thingcountnamesector", PCD_NOP, PCD_THINGCOUNTNAMESECTOR, 3, 0, 0, YES, NO }, { NULL, PCD_NOP, PCD_NOP, 0, 0, 0, NO, NO } };