From 423dc083199e9d9ce6a811d045fe824cbfce0fd2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 22 Oct 2006 10:32:41 +0000 Subject: [PATCH] - Added MF5_PIERCEARMOR flag that allows damaging objects that aren't affected by armor. - Added an unfreeze CCMD so that frozen players can be unfrozen for testing. - Added special death states for projectiles hitting actors. - Added ACS SetActorPitch/GetActorPitch functions. - Added cameraheight property for actors. SVN r359 (trunk) --- pcode.c | 3 ++- pcode.h | 2 ++ symbol.c | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pcode.c b/pcode.c index 436837a..8132e47 100644 --- a/pcode.c +++ b/pcode.c @@ -441,7 +441,8 @@ static char *PCDNames[PCODE_COMMAND_COUNT] = "PCD_SECTORDAMAGE", "PCD_REPLACETEXTURES", "PCD_NEGATEBINARY", - + "PCD_GETACTORPITCH", + "PCD_SETACTORPITCH", }; // CODE -------------------------------------------------------------------- diff --git a/pcode.h b/pcode.h index e80d243..b84dfbd 100644 --- a/pcode.h +++ b/pcode.h @@ -391,6 +391,8 @@ typedef enum PCD_SECTORDAMAGE, PCD_REPLACETEXTURES, PCD_NEGATEBINARY, + PCD_GETACTORPITCH, + PCD_SETACTORPITCH, PCODE_COMMAND_COUNT } pcd_t; diff --git a/symbol.c b/symbol.c index 2ba30da..f17d66c 100644 --- a/symbol.c +++ b/symbol.c @@ -177,6 +177,8 @@ static internFuncDef_t InternalFunctions[] = { "changelevel", PCD_NOP, PCD_CHANGELEVEL, 4, 8, 0, NO, NO }, { "sectordamage", PCD_NOP, PCD_SECTORDAMAGE, 5, 0, 0, NO, NO }, { "replacetextures", PCD_NOP, PCD_REPLACETEXTURES, 3, 4, 0, NO, NO }, + { "getactorpitch", PCD_NOP, PCD_GETACTORPITCH, 1, 0, 0, YES, NO }, + { "setactorpitch", PCD_NOP, PCD_SETACTORPITCH, 2, 0, 0, NO, NO }, { NULL, PCD_NOP, PCD_NOP, 0, 0, 0, NO, NO } };