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 } };