diff --git a/pcode.c b/pcode.c index c2a277d..f07b841 100644 --- a/pcode.c +++ b/pcode.c @@ -448,6 +448,9 @@ static char *PCDNames[PCODE_COMMAND_COUNT] = "PCD_THINGDAMAGE2", "PCD_USEINVENTORY", "PCD_USEACTORINVENTORY", + "PCD_CHECKACTORCEILINGTEXTURE", + "PCD_CHECKACTORFLOORTEXTURE", + "PCD_GETACTORLIGHTLEVEL", }; // CODE -------------------------------------------------------------------- diff --git a/pcode.h b/pcode.h index f235eda..a2b988a 100644 --- a/pcode.h +++ b/pcode.h @@ -399,6 +399,9 @@ typedef enum PCD_THINGDAMAGE2, PCD_USEINVENTORY, PCD_USEACTORINVENTORY, + PCD_CHECKACTORCEILINGTEXTURE, + PCD_CHECKACTORFLOORTEXTURE, + PCD_GETACTORLIGHTLEVEL, PCODE_COMMAND_COUNT } pcd_t; diff --git a/symbol.c b/symbol.c index acafe6c..feb622b 100644 --- a/symbol.c +++ b/symbol.c @@ -183,6 +183,9 @@ static internFuncDef_t InternalFunctions[] = { "thing_damage2", PCD_NOP, PCD_THINGDAMAGE2, 3, 0, 0, YES, NO }, { "useinventory", PCD_NOP, PCD_USEINVENTORY, 1, 0, 0, YES, NO }, { "useactorinventory", PCD_NOP, PCD_USEACTORINVENTORY, 2, 0, 0, YES, NO }, + { "checkactorceilingtexture", PCD_NOP, PCD_CHECKACTORCEILINGTEXTURE, 2, 0, 0, YES, NO }, + { "checkactorfloortexture", PCD_NOP, PCD_CHECKACTORFLOORTEXTURE, 2, 0, 0, YES, NO }, + { "getactorlightlevel", PCD_NOP, PCD_GETACTORLIGHTLEVEL, 1, 0, 0, YES, NO }, { NULL, PCD_NOP, PCD_NOP, 0, 0, 0, NO, NO } };