- ACC Changes for morph update.

SVN r988 (trunk)
This commit is contained in:
Christoph Oelckers 2008-05-22 19:36:21 +00:00
parent ce2299396e
commit 60e1004642
4 changed files with 22 additions and 0 deletions

View file

@ -455,6 +455,8 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
"PCD_THINGCOUNTSECTOR",
"PCD_THINGCOUNTNAMESECTOR",
"PCD_CHECKPLAYERCAMERA",
"PCD_MORPHACTOR",
"PCD_UNMORPHACTOR",
};
// CODE --------------------------------------------------------------------

View file

@ -406,6 +406,8 @@ typedef enum
PCD_THINGCOUNTSECTOR,
PCD_THINGCOUNTNAMESECTOR,
PCD_CHECKPLAYERCAMERA,
PCD_MORPHACTOR,
PCD_UNMORPHACTOR,
PCODE_COMMAND_COUNT
} pcd_t;

View file

@ -190,6 +190,8 @@ static internFuncDef_t InternalFunctions[] =
{ "thingcountsector", PCD_NOP, PCD_THINGCOUNTSECTOR, 3, 0, 0, YES, NO },
{ "thingcountnamesector", PCD_NOP, PCD_THINGCOUNTNAMESECTOR, 3, 0, 0, YES, NO },
{ "checkplayercamera", PCD_NOP, PCD_CHECKPLAYERCAMERA, 1, 0, 0, YES, NO },
{ "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 },
{ NULL, PCD_NOP, PCD_NOP, 0, 0, 0, NO, NO }
};

View file

@ -236,6 +236,22 @@
#define DAMAGE_IN_AIR 4
#define DAMAGE_SUBCLASSES_PROTECT 8
// Flags for MorphActor -----------------------------------------------------
#define MRF_OLDEFFECTS 0x00000000
#define MRF_ADDSTAMINA 0x00000001
#define MRF_FULLHEALTH 0x00000002
#define MRF_UNDOBYTOMEOFPOWER 0x00000004
#define MRF_UNDOBYCHAOSDEVICE 0x00000008
#define MRF_FAILNOTELEFRAG 0x00000010
#define MRF_FAILNOLAUGH 0x00000020
#define MRF_WHENINVULNERABLE 0x00000040
#define MRF_LOSEACTUALWEAPON 0x00000080
#define MRF_NEWTIDBEHAVIOUR 0x00000100
#define MRF_UNDOBYDEATH 0x00000200
#define MRF_UNDOBYDEATHFORCED 0x00000400
#define MRF_UNDOBYDEATHSAVES 0x00000800
// Shared spawnable things from Hexen. You can spawn these in the other -----
// games if you provide sprites for them, otherwise they'll be invisible. ---