mirror of
https://github.com/ZDoom/acc.git
synced 2024-11-23 04:12:32 +00:00
- ACC Changes for morph update.
SVN r988 (trunk)
This commit is contained in:
parent
ce2299396e
commit
60e1004642
4 changed files with 22 additions and 0 deletions
2
pcode.c
2
pcode.c
|
@ -455,6 +455,8 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
|
|||
"PCD_THINGCOUNTSECTOR",
|
||||
"PCD_THINGCOUNTNAMESECTOR",
|
||||
"PCD_CHECKPLAYERCAMERA",
|
||||
"PCD_MORPHACTOR",
|
||||
"PCD_UNMORPHACTOR",
|
||||
};
|
||||
|
||||
// CODE --------------------------------------------------------------------
|
||||
|
|
2
pcode.h
2
pcode.h
|
@ -406,6 +406,8 @@ typedef enum
|
|||
PCD_THINGCOUNTSECTOR,
|
||||
PCD_THINGCOUNTNAMESECTOR,
|
||||
PCD_CHECKPLAYERCAMERA,
|
||||
PCD_MORPHACTOR,
|
||||
PCD_UNMORPHACTOR,
|
||||
|
||||
PCODE_COMMAND_COUNT
|
||||
} pcd_t;
|
||||
|
|
2
symbol.c
2
symbol.c
|
@ -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 }
|
||||
};
|
||||
|
|
16
zdefs.acs
16
zdefs.acs
|
@ -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. ---
|
||||
|
||||
|
|
Loading…
Reference in a new issue